提交 853f3faa 编写于 作者: 张磊's avatar 张磊

Merge branch 'feature/zl' into 'develop'

save

See merge request com.pica.cloud.education.frontend/pica.cloud.web-education-admin!370
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<span> <span>
{{curmbSecond}} {{curmbSecond}}
</span> </span>
<span v-if="certifyStatus > 1" class="verify-status" style="margin-left: 20px">{{ certifyStatus | storeStatusFormat}}</span> <span v-if="certifyStatus > 1" class="verify-status" :class="certifyStatusColor" style="margin-left: 20px">{{ certifyStatus | storeStatusFormat}}</span>
</p> </p>
</el-col> </el-col>
<el-col :span="4" style="text-align: right"> <el-col :span="4" style="text-align: right">
...@@ -1658,6 +1658,9 @@ export default { ...@@ -1658,6 +1658,9 @@ export default {
}; };
}, },
computed: { computed: {
certifyStatusColor () {
return `certifyStatusColor${this.certifyStatus}`;
}
}, },
watch: { watch: {
"formData.certifyReq.bizScope": { "formData.certifyReq.bizScope": {
...@@ -1741,7 +1744,8 @@ export default { ...@@ -1741,7 +1744,8 @@ export default {
const {certifyLicenseImgList, certifyReportImgList} = this.formData.certifyReq; const {certifyLicenseImgList, certifyReportImgList} = this.formData.certifyReq;
this.formData.imgUrlC1Date = [licenseValidDateBegin, licenseValidDateEnd]; this.formData.imgUrlC1Date = [licenseValidDateBegin, licenseValidDateEnd];
this.formData.imgUrlC5Date = [assignorValidDateBegin, assignorValidDateEnd]; this.formData.imgUrlC5Date = [assignorValidDateBegin, assignorValidDateEnd];
this.formData.imgUrlC5Date = [legalValidDateBegin, legalValidDateEnd]; this.formData.imgUrlC3Date = [legalValidDateBegin, legalValidDateEnd];
// imgUrlC3Date
(certifyReportImgList || []).concat(certifyLicenseImgList).map(i => { (certifyReportImgList || []).concat(certifyLicenseImgList).map(i => {
const n = `imgUrlP${i.imageType}Date`; const n = `imgUrlP${i.imageType}Date`;
const m = `imgUrlP${i.imageType}`; const m = `imgUrlP${i.imageType}`;
...@@ -2452,6 +2456,7 @@ export default { ...@@ -2452,6 +2456,7 @@ export default {
}, },
//新增管理员 //新增管理员
addItem(index) { addItem(index) {
if(this.disabledFORM){return false;}
if ( if (
this.formData.adminList != null && this.formData.adminList != null &&
this.formData.adminList.length >= 5 this.formData.adminList.length >= 5
...@@ -2468,6 +2473,7 @@ export default { ...@@ -2468,6 +2473,7 @@ export default {
}, },
//删除管理员 //删除管理员
deleteItem(index) { deleteItem(index) {
if(this.disabledFORM){return false;}
if (this.formData.adminList.length == 1 && index == 0) { if (this.formData.adminList.length == 1 && index == 0) {
this.$message.warning("最少需要1位管理员哦!"); this.$message.warning("最少需要1位管理员哦!");
return; return;
...@@ -3108,5 +3114,15 @@ export default { ...@@ -3108,5 +3114,15 @@ export default {
color: #606266; color: #606266;
} }
} }
.certifyStatusColor4{
color: #FF4B33;
}
.certifyStatusColor2{
color: #FF720C;
}
.certifyStatusColor3{
color: #f6ffed;
}
} }
</style> </style>
...@@ -111,16 +111,15 @@ ...@@ -111,16 +111,15 @@
</el-table-column> </el-table-column>
<el-table-column prop="storeType" label="审核状态" min-width="100" align="center"> <el-table-column prop="storeType" label="审核状态" min-width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span :class="scope.row.tradeStore.certifyStatus == 3 ? 'red' : 'green'"> <span :class="scope.row.tradeStore.certifyStatus == 4 ? 'red' : 'green'">
{{ scope.row.tradeStore.certifyStatus | storeStatusFormat}} {{ scope.row.tradeStore.certifyStatus | storeStatusFormat}}
</span> </span>
<el-popover <el-popover
placement="top-start" placement="top-start"
title="标题"
width="200" width="200"
trigger="hover" trigger="hover"
:content="certificateInfoRespContent(scope.row.certificateInfoResp)"> :content="certificateInfoRespContent(scope.row.certificateInfoResp)">
<i v-if="scope.row.tradeStore.certifyStatus == 3" slot="reference" class="el-icon-warning-outline red"></i> <i v-if="scope.row.tradeStore.certifyStatus == 4" slot="reference" class="el-icon-warning-outline red"></i>
</el-popover> </el-popover>
</template> </template>
...@@ -658,8 +657,9 @@ ...@@ -658,8 +657,9 @@
}, },
certificateInfoRespContent (c) { certificateInfoRespContent (c) {
let v =''; let v ='';
if( c && c.length > 0) { const b = c ? c.certifyValidDtoList : [];
c.map( (i, j)=> { if( b.length > 0) {
b.map( (i, j)=> {
if(j <= 3){ if(j <= 3){
v = v + i.refuseContent; v = v + i.refuseContent;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册