Commit 7cd2fa2a authored by 黄媛媛's avatar 黄媛媛

update

parent b9d89687
<template> <template>
<div class="CertificationDetail"> <div class="CertificationDetail">
<div> <viewer :options="imageOptions" @inited="inited" class="viewer" :images="images">
<img v-for="item in images" :src="item"/>
</viewer>
<div>
<div <div
:class="{salesApprovalLayercontentDiv:showlayer,rightZero:isTransition}" :class="{salesApprovalLayercontentDiv:showlayer,rightZero:isTransition}"
class="ownScrollbarStyle" class="ownScrollbarStyle"
...@@ -12,9 +15,13 @@ ...@@ -12,9 +15,13 @@
<div class="item" v-for="item in answerDetailList" style="margin:0"> <div class="item" v-for="item in answerDetailList" style="margin:0">
<div class="topMsg"> <div class="topMsg">
<!-- <img v-if="!item.photo" src="../../assets/img/litheader.png"> <!-- <img v-if="!item.photo" src="../../assets/img/litheader.png">
<img v-if="item.photo" :onerror="defaultImg" :src="item.photo"> --> <img v-if="item.photo" :onerror="defaultImg" :src="item.photo">-->
<p>{{item.CustomerName}} <p>
<span v-if="item.ApplyState === 0" class="_status_str _status_str_y">审核中</span> {{item.CustomerName}}
<span
v-if="item.ApplyState === 0"
class="_status_str _status_str_y"
>审核中</span>
<span v-if="item.ApplyState === 1" class="_status_str _status_str_g">已通过</span> <span v-if="item.ApplyState === 1" class="_status_str _status_str_g">已通过</span>
<span v-if="item.ApplyState === 2" class="_status_str _status_str_r">已拒绝</span> <span v-if="item.ApplyState === 2" class="_status_str _status_str_r">已拒绝</span>
</p> </p>
...@@ -27,19 +34,19 @@ ...@@ -27,19 +34,19 @@
>{{item.ContactPhone}}</span> >{{item.ContactPhone}}</span>
</p> </p>
<p class="fz12 color999 mt5">{{item.Addres}}</p> <p class="fz12 color999 mt5">{{item.Addres}}</p>
</div> </div>
<p class="fz16 color666"> <p class="fz16 color666">
<i class="iconfont icon-ico-renwuyaoqiu fz14 color999"></i>&nbsp;认证信息 <i class="iconfont icon-ico-renwuyaoqiu fz14 color999"></i>&nbsp;认证信息
</p> </p>
<div class="salesApprovalLayercontentBtn"> <div class="salesApprovalLayercontentBtn">
<p class="fz12 color999 mt5">认证方式:{{item.ApplyType==1?"三证合一":"身份证+名片"}}</p> <p class="fz12 color999 mt5">认证方式:{{item.ApplyType==1?"三证合一":"身份证+名片"}}</p>
<p class="fz12 color999 mt5">申请时间:{{item.CreateDateStr}}</p> <p class="fz12 color999 mt5">申请时间:{{item.CreateDateStr}}</p>
<div v-if="item.CertificationPics&&item.CertificationPics.length>0" class="mt10"> <div v-if="item.CertificationPics&&item.CertificationPics.length>0" class="mt10">
<div v-for="picItem in item.CertificationPics" class="img_box"> <div v-for="picItem in item.CertificationPics" class="img_box">
<img v-if="!picItem" src="../../assets/img/litheader.png"> <img v-if="!picItem" src="../../assets/img/litheader.png" />
<img v-if="picItem" :src="picItem"></div> <img @click="imgPrev(picItem)" v-if="picItem" :src="picItem" />
</div> </div>
</div>
<div> <div>
<span class="fz14 color333">审批意见</span> <span class="fz14 color333">审批意见</span>
</div> </div>
...@@ -47,9 +54,21 @@ ...@@ -47,9 +54,21 @@
<el-input v-if="item.ApplyState === 0" type="textarea" v-model="Reason"></el-input> <el-input v-if="item.ApplyState === 0" type="textarea" v-model="Reason"></el-input>
<span v-else>Reason</span> <span v-else>Reason</span>
</p> </p>
<input type="button" class="hollowFixedBtn mt20 fr" value="取消" @click="closeLayer"> <input type="button" class="hollowFixedBtn mt20 fr" value="取消" @click="closeLayer" />
<input type="button" class="normalBtn mt20 fr" v-if="item.ApplyState === 0" value="通过" @click="saveIdea(item,1)"> <input
<input type="button" class="normalBtn mt20 fr" v-if="item.ApplyState === 0" value="拒绝" @click="saveIdea(item,2)"> type="button"
class="normalBtn mt20 fr"
v-if="item.ApplyState === 0"
value="通过"
@click="saveIdea(item,1)"
/>
<input
type="button"
class="normalBtn mt20 fr"
v-if="item.ApplyState === 0"
value="拒绝"
@click="saveIdea(item,2)"
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -83,17 +102,18 @@ ...@@ -83,17 +102,18 @@
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('system.query_company')}}</em> <em>{{$t('system.query_company')}}</em>
<el-select filterable v-model='msg.RB_Branch_Id' > <el-select filterable v-model="msg.RB_Branch_Id">
<el-option :value="-2" :label="$t('pub.unlimitedSel')"></el-option> <el-option :value="-2" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in CompanyList' <el-option
:label='item.BName' v-for="item in CompanyList"
:value='item.Id' :label="item.BName"
:key='item.Id'> :value="item.Id"
</el-option> :key="item.Id"
</el-select> ></el-option>
</el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>状态</em> <em>状态</em>
...@@ -111,7 +131,7 @@ ...@@ -111,7 +131,7 @@
class="hollowFixedBtn" class="hollowFixedBtn"
value="查询" value="查询"
@click="resetPageIndex(),getList()" @click="resetPageIndex(),getList()"
> />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -156,7 +176,7 @@ ...@@ -156,7 +176,7 @@
class="normalBtn" class="normalBtn"
style="margin-left: 0;" style="margin-left: 0;"
@click="getDetail(item)" @click="getDetail(item)"
> />
</td> </td>
</tr> </tr>
</table> </table>
...@@ -175,6 +195,11 @@ ...@@ -175,6 +195,11 @@
export default { export default {
data() { data() {
return { return {
imageOptions: {
navbar: false,
title: false
},
images: [''],
layerShow: false, layerShow: false,
msg: { msg: {
pageIndex: 1, pageIndex: 1,
...@@ -182,9 +207,10 @@ export default { ...@@ -182,9 +207,10 @@ export default {
SDate: "", SDate: "",
EDate: "", EDate: "",
ApplyState: "-1", ApplyState: "-1",
RB_Branch_Id: -2, RB_Branch_Id: -2
}, },
Reason:"", viewerObj: null,
Reason: "",
showlayer: false, showlayer: false,
loading: false, loading: false,
isTransition: false, isTransition: false,
...@@ -193,20 +219,37 @@ export default { ...@@ -193,20 +219,37 @@ export default {
answerDetailList: [], answerDetailList: [],
list: [], list: [],
CompanyList: [], CompanyList: [],
getCompanyMsg:{ // 公司 getCompanyMsg: {
RB_Group_Id:'0', // 公司
Status:'0', RB_Group_Id: "0",
}, Status: "0"
}
}; };
}, },
methods: { methods: {
getCompanyList(){ //获取公司列表 inited(viewer) {
this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{ this.viewerObj = viewer;
if(res.data.resultCode==1){ },
this.CompanyList=res.data.data; imgPrev(url) {
}else{} this.$set(this.images, 0, url);
},err=>{}) setTimeout(() => {
this.viewerObj.show();
}, 1000);
},
getCompanyList() {
//获取公司列表
this.apipost(
"admin_get_BranchGetList",
this.getCompanyMsg,
res => {
if (res.data.resultCode == 1) {
this.CompanyList = res.data.data;
} else {
}
}, },
err => {}
);
},
// 结束日期不能大于开始日期 // 结束日期不能大于开始日期
dataDui() { dataDui() {
if (this.msg.SDate > this.msg.EDate && this.msg.EDate !== "") { if (this.msg.SDate > this.msg.EDate && this.msg.EDate !== "") {
...@@ -220,12 +263,12 @@ export default { ...@@ -220,12 +263,12 @@ export default {
_this.showlayer = false; _this.showlayer = false;
}, 300); }, 300);
this.isTransition = false; this.isTransition = false;
this.Reason= ""; this.Reason = "";
}, },
saveIdea(obj,applyState) { saveIdea(obj, applyState) {
console.log(obj,"sdsdsd"); console.log(obj, "sdsdsd");
obj.applyState=applyState; obj.applyState = applyState;
obj.Reason=this.Reason; obj.Reason = this.Reason;
this.apipost( this.apipost(
"app_customer_UpdateCertification", "app_customer_UpdateCertification",
obj, obj,
...@@ -265,7 +308,7 @@ export default { ...@@ -265,7 +308,7 @@ export default {
_this.showlayer = false; _this.showlayer = false;
}, 300); }, 300);
this.isTransition = false; this.isTransition = false;
this.Reason='' this.Reason = "";
}, },
getDetail(obj) { getDetail(obj) {
this.showlayer = true; this.showlayer = true;
...@@ -275,8 +318,8 @@ export default { ...@@ -275,8 +318,8 @@ export default {
{ ID: obj.ID }, { ID: obj.ID },
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.answerDetailList = res.data.data; this.answerDetailList = res.data.data;
this.Reason = this.answerDetailList[0].Reason; this.Reason = this.answerDetailList[0].Reason;
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
...@@ -294,10 +337,10 @@ export default { ...@@ -294,10 +337,10 @@ export default {
} }
}, },
mounted() { mounted() {
let userInfo=this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id= userInfo.RB_Group_id; //集团ID this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
this.getList(); this.getList();
this.getCompanyList() this.getCompanyList();
} }
}; };
</script> </script>
...@@ -409,28 +452,28 @@ export default { ...@@ -409,28 +452,28 @@ export default {
right: 0; right: 0;
background-color: white; background-color: white;
transition: all linear 0.5s; transition: all linear 0.5s;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
} }
.salesApprovalLayercontentDiv { .salesApprovalLayercontentDiv {
width: 450px !important; width: 450px !important;
} }
.salesApprovalLayercontentBtn .img_box img{ .salesApprovalLayercontentBtn .img_box img {
height: 120px; height: 120px;
} }
._status_str{ ._status_str {
float: right; float: right;
} }
._status_str_y{ ._status_str_y {
color: #E6A23C; color: #e6a23c;
} }
._status_str_g{ ._status_str_g {
color: #67C23A; color: #67c23a;
} }
._status_str_r{ ._status_str_r {
color: #F56C6C; color: #f56c6c;
} }
td ._status_str{ td ._status_str {
float: initial float: initial;
} }
</style> </style>
\ No newline at end of file
This diff is collapsed.
import login from '../components/Login' import login from '../components/Login'
import index from '../components/index' import index from '../components/index'
import clientConfirm from '../components/clientConfirm' import clientConfirm from '../components/clientConfirm'
import SignName from '../components/SignName'
import supplierLogin from '../components/SupplierLogin' import supplierLogin from '../components/SupplierLogin'
import supplierIndex from '../components/SupplierIndex' import supplierIndex from '../components/SupplierIndex'
export default { export default {
...@@ -3822,6 +3823,11 @@ export default { ...@@ -3822,6 +3823,11 @@ export default {
name: 'clientConfirm', name: 'clientConfirm',
component: clientConfirm component: clientConfirm
}, },
{
path: '/SignName',
name: 'SignName',
component: SignName
},
{ {
path: '/leaderPay2', //领队报账 path: '/leaderPay2', //领队报账
name: 'leaderPay2', name: 'leaderPay2',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment