Sfoglia il codice sorgente

稽核图标修改

sunyize 2 anni fa
parent
commit
227df16e34

+ 1 - 0
src/assets/checkUpdateStep.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1698215790831" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9721" width="48" height="48" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M684.202667 117.248c15.893333-15.872 42.154667-15.36 58.922666 1.408l90.517334 90.517333c16.661333 16.661333 17.344 42.986667 1.429333 58.922667l-445.653333 445.653333c-7.936 7.914667-23.104 16.746667-34.218667 19.776l-143.701333 39.253334c-21.909333 5.994667-35.114667-7.104-29.568-28.949334l37.248-146.773333c2.773333-10.944 11.562667-26.346667 19.392-34.176l445.653333-445.653333zM268.736 593.066667c-2.901333 2.901333-8.106667 12.074667-9.130667 16.021333l-29.12 114.773333 111.957334-30.570666c4.437333-1.216 13.632-6.549333 16.810666-9.728l445.653334-445.653334-90.517334-90.496-445.653333 445.653334zM682.794667 178.986667l90.517333 90.517333-30.186667 30.186667-90.496-90.517334 30.165334-30.165333z m-362.026667 362.048l90.496 90.517333-30.165333 30.165333-90.517334-90.496 30.165334-30.186666zM170.666667 874.666667c0-11.776 9.429333-21.333333 21.461333-21.333334h661.077333a21.333333 21.333333 0 1 1 0 42.666667H192.128A21.333333 21.333333 0 0 1 170.666667 874.666667z" fill="#52c41a" p-id="9722"></path></svg>

+ 50 - 3
src/views/smscheck/modules/TaskCheckCheck.vue

@@ -34,6 +34,20 @@
 
         <a-descriptions-item label="增值业务许可证到期时间">{{ infoModel.permitDateDate==="" ?"长期": infoModel.permitDateDate }}</a-descriptions-item>
        </a-descriptions>
+      <a-button  style="display: block;position: relative;left:auto;margin-top: 10px;border-color: #1890FF;color: #1890FF" @click="historys">整改历史
+      </a-button>
+      <div>
+        <a-modal v-model:open="open" title="修改历史"   @ok="handleOk"  :width="700">
+          <template slot="footer" >
+            <a-button type="primary" style="display:block;margin:0 auto"
+                      @click="handleOk" >关闭</a-button>
+          </template>
+          <a-table :columns="columns" :data-source="dataList" :scroll="{ x: 300, y: 500 }" :pagination="false"     >
+            <template #bodyCell="{ column }">
+            </template>
+          </a-table>
+        </a-modal>
+      </div>
       <hr>
       <div style="width: 100%;float:left;margin-left: 20%">
         <a-list size="large"  >
@@ -66,7 +80,11 @@
     <!--    步骤条-->
     <a-card style="margin-bottom:10px;width: 15%;float: left">
       <a-steps direction="vertical" :current="steps.current" size="small" @change="stepsClick">
-        <a-step v-for="item in steps.stepsNow" :key="item.title" :title="item.title" :status="item.status"/>
+        <a-step v-for="item in steps.stepsNow" :key="item.title" :title="item.title" :status="item.status">
+          <a-icon v-if="item.solution" style='color: #faad14;' :type="item.type"  :slot="item.slot" />
+          <a-icon v-if="item.solutionGreen" style='color: #52c41a;' :type="item.type"  :slot="item.slot" />
+        </a-step>
+
       </a-steps>
        <a-button @click="submitAuditLot" style="width: 100%;position: relative;top: 10px" type="primary">提交稽核</a-button>
     </a-card>
@@ -2018,6 +2036,12 @@ export default {
   },
   data() {
     return {
+      open:false,
+      columns:[
+        { title: '编辑时间', width: 100, dataIndex: 'updateDate', key: 'updateDate'  },
+        { title: '修改字段', width: 100, dataIndex: 'updateField', updateField: 'age'  },
+        { title: '修改内容', width: 100, dataIndex: 'context', key: 'context' },
+      ],
       //缩略与大图数据源
       swiperId: 1,
       //轮播配置
@@ -2070,6 +2094,8 @@ export default {
       },
       userState:"",
       // 客户资料信息
+      history:"",
+      dataList:[],
       infoModel: {
         filingsDateDate:"",
         codeNumberDateDate :"",
@@ -2394,6 +2420,15 @@ export default {
     // });
   },
   methods: {
+    showModal() {
+      this.open = true;
+    },
+    handleOk() {
+      this.open = false;
+    },
+    historys() {
+      this.showModal()
+    },
     jumpUrl(url){
       var a = document.createElement("a");
       a.setAttribute("href", url);
@@ -2415,8 +2450,15 @@ export default {
       let boolean = state == "1" ? true : false;
       if (boolean) {
         this.steps.stepsNow[this.steps.current]["status"] = "finish";
+        this.steps.stepsNow[this.steps.current].solutionGreen = true;
+        this.steps.stepsNow[this.steps.current].slot="icon"
+        this.steps.stepsNow[this.steps.current].type="solution"
+        this.steps.stepsNow[this.steps.current].solution = false;
       } else {
+        this.steps.stepsNow[this.steps.current].solution = false;
+        this.steps.stepsNow[this.steps.current].slot=""
         this.steps.stepsNow[this.steps.current].status = "error";
+        this.steps.stepsNow[this.steps.current].type=""
       }
     },
     dataListToStr(data){
@@ -2565,7 +2607,8 @@ export default {
           if (res.success) {
             let result = res.result;
             that.infoModel=result;
-            result=this.getInfoDataById(infoId,result)
+            result=this.getInfoDataById(infoId,result);
+            that.dataList=result.history;
             that.infoModel.contractDate= JSON.parse(result.contractDate);
             that.infoModel.businessLicenseDate= result.businessLicenseDate===''?'':JSON.parse(result.businessLicenseDate);
             that.infoModel.codeNumberDate= result.codeNumberDate===''?'':JSON.parse(result.codeNumberDate);
@@ -2589,7 +2632,11 @@ export default {
                     that.steps.stepsNow[i].status = "finish"
 
                   }else {
-                    that.steps.stepsNow[i].status = "error"
+                    //that.steps.stepsNow[i].status = "error"
+                    that.steps.stepsNow[i].type="solution"
+                    that.steps.stepsNow[i].slot="icon"
+                    that.steps.stepsNow[i].status = "final"
+                    that.steps.stepsNow[i].solution = true;
                   }
                 }
               }

+ 32 - 0
src/views/smscheck/modules/TaskUploadDataSelect.vue

@@ -34,6 +34,20 @@
 
         <a-descriptions-item label="增值业务许可证到期时间">{{ infoModel.permitDateDate==="" ?"长期": infoModel.permitDateDate }}</a-descriptions-item>
       </a-descriptions>
+      <a-button  style="display: block;position: relative;left:auto;margin-top: 10px;border-color: #1890FF;color: #1890FF" @click="historys">整改历史
+      </a-button>
+      <div>
+        <a-modal v-model:open="open" title="修改历史"   @ok="handleOk"  :width="700">
+          <template slot="footer" >
+            <a-button type="primary" style="display:block;margin:0 auto"
+                      @click="handleOk" >关闭</a-button>
+          </template>
+          <a-table :columns="columns" :data-source="dataList" :scroll="{ x: 300, y: 500 }" :pagination="false"     >
+            <template #bodyCell="{ column }">
+            </template>
+          </a-table>
+        </a-modal>
+      </div>
       <hr>
       <div style="width: 100%;float:left;margin-left: 20%">
         <a-list size="large"  >
@@ -2370,6 +2384,12 @@ export default {
   },
   data() {
     return {
+      open:false,
+      columns:[
+        { title: '编辑时间', width: 100, dataIndex: 'updateDate', key: 'updateDate'  },
+        { title: '修改字段', width: 100, dataIndex: 'updateField', updateField: 'age'  },
+        { title: '修改内容', width: 100, dataIndex: 'context', key: 'context' },
+      ],
       //缩略与大图数据源
       swiperId: 1,
       //轮播配置
@@ -2421,6 +2441,8 @@ export default {
         data: {},
       },
       isShow:true,
+      history:"",
+      dataList:[],
       // 客户资料信息
       infoModel: {
         customerNo :"",
@@ -2844,6 +2866,15 @@ export default {
     // });
   },
   methods: {
+    showModal() {
+      this.open = true;
+    },
+    handleOk() {
+      this.open = false;
+    },
+    historys() {
+      this.showModal()
+    },
     /**备注坚听*/
     textareaChange(name, nameRemark) {
       if (this.infoModel[nameRemark].length > 0) {
@@ -3164,6 +3195,7 @@ export default {
             let result = res.result;
             result=this.getInfoDataById(infoId,result)
             that.infoModel=result;
+            that.dataList=result.history;
             that.infoModel.contractDate= JSON.parse(result.contractDate);
             that.infoModel.businessLicenseDate= JSON.parse(result.businessLicenseDate);
             that.infoModel.codeNumberDate= JSON.parse(result.codeNumberDate);

+ 19 - 17
src/views/smscheck/modules/TaskUploadDataZG.vue

@@ -288,7 +288,8 @@
     <a-card style="margin-bottom:10px;width: 15%;float: left">
       <a-steps direction="vertical" :current="steps.current" size="small" @change="stepsClick">
         <a-step v-for="item in steps.stepsNow" :key="item.title" :title="item.title" :status="item.status" >
-          <a-icon  :type="item.type" :slot="item.slot"   />
+<!--          <a-icon  :type="item.type" :slot="item.slot"   />-->
+          <a-icon v-if="item.solution" style='color: #faad14;' :type="item.type"  :slot="item.slot" />
         </a-step>
       </a-steps>
       <a-button @click="addIsStaging" style="width: 100%" type="warn">暂存</a-button>
@@ -365,7 +366,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.contractDateResult ==='2'"
+              <a-button v-if="infoModel.contractDateResult ==='2' && infoModel.contractDate.length && item.urlBase"
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'contractDate')">移除
               </a-button>
@@ -511,7 +512,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.businessLicenseDateResult ==='2'"
+              <a-button v-if="infoModel.businessLicenseDateResult ==='2' && infoModel.businessLicenseDate.length && item.urlBase"
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'businessLicenseDate')">移除
               </a-button>
@@ -655,7 +656,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.codeNumberDateResult ==='2'"
+              <a-button v-if="infoModel.codeNumberDateResult ==='2' && infoModel.codeNumberDate.length && item.urlBase"
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'codeNumberDate')">移除
               </a-button>
@@ -799,7 +800,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.filingsDateResult ==='2'  "
+              <a-button v-if="infoModel.filingsDateResult ==='2'&&infoModel.filingsDate.length && item.urlBase  "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'filingsDate')">移除
               </a-button>
@@ -943,7 +944,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.permitDateResult ==='2'  "
+              <a-button v-if="infoModel.permitDateResult ==='2'&&infoModel.permitDate.length && item.urlBase  "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'permitDate')">移除
               </a-button>
@@ -1087,7 +1088,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.corporationCardResult ==='2'  "
+              <a-button v-if="infoModel.corporationCardResult ==='2'&&infoModel.corporationCard.length && item.urlBase  "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'corporationCard')">移除
               </a-button>
@@ -1232,7 +1233,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.personResponsibleResult ==='2'  "
+              <a-button v-if="infoModel.personResponsibleResult ==='2' &&infoModel.personResponsible.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'personResponsible')">移除
               </a-button>
@@ -1376,7 +1377,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.operatorCardResult ==='2' "
+              <a-button v-if="infoModel.operatorCardResult ==='2' &&infoModel.operatorCard.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'operatorCard')">移除
               </a-button>
@@ -1520,7 +1521,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.operatorCardPhoneResult ==='2' "
+              <a-button v-if="infoModel.operatorCardPhoneResult ==='2' &&infoModel.operatorCardPhone.length && item.urlBas "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'operatorCardPhone')">移除
               </a-button>
@@ -1665,7 +1666,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.devicePhoneResult ==='2' "
+              <a-button v-if="infoModel.devicePhoneResult ==='2'&&infoModel.devicePhone.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'devicePhone')">移除
               </a-button>
@@ -1810,7 +1811,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.textMessageResult ==='2'  "
+              <a-button v-if="infoModel.textMessageResult ==='2' &&infoModel.textMessage.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'textMessage')">移除
               </a-button>
@@ -1954,7 +1955,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.textMessageBookResult ==='2'  "
+              <a-button v-if="infoModel.textMessageBookResult ==='2' &&infoModel.textMessageBook.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'textMessageBook')">移除
               </a-button>
@@ -2099,7 +2100,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.secureBookResult ==='2'  "
+              <a-button v-if="infoModel.secureBookResult ==='2' &&infoModel.secureBook.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'secureBook')">移除
               </a-button>
@@ -2243,7 +2244,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.specialResult ==='2'  "
+              <a-button v-if="infoModel.specialResult ==='2' &&infoModel.special.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'special')">移除
               </a-button>
@@ -2387,7 +2388,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.networkAccessResult ==='2'  "
+              <a-button v-if="infoModel.networkAccessResult ==='2' &&infoModel.networkAccess.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'networkAccess')">移除
               </a-button>
@@ -2531,7 +2532,7 @@
               </iframe>
               <img style="width: 70%;height: 70%;border: 1px solid;"
                    v-if="!item.urlBase" :src="noDataPng" border="1">
-              <a-button v-if="infoModel.groupPriceApprovalResult ==='2'  "
+              <a-button v-if="infoModel.groupPriceApprovalResult ==='2' && infoModel.groupPriceApproval.length && item.urlBase "
                        style="display: block;margin-top: 10px;border-color: red;color: red;float: left"
                         danger @click="removeFile(item,'groupPriceApproval')">移除
               </a-button>
@@ -3182,6 +3183,7 @@ export default {
         this.steps.stepsNow[this.steps.current].type="solution",
           this.steps.stepsNow[this.steps.current].slot="icon"
         this.steps.stepsNow[this.steps.current].status = "final"
+        this.steps.stepsNow[this.steps.current].solution = true;
       }
     },
     // 步骤条动态变化

+ 6 - 2
src/views/specialApply/TaskUploadData.vue

@@ -173,8 +173,12 @@
     <!--    步骤条-->
     <a-card style="margin-bottom:10px;width: 15%;float: left">
       <a-steps direction="vertical" :current="steps.current" size="small" @change="stepsClick">
-        <a-step v-for="item in steps.stepsNow" :key="item.title" :title="item.title" :status="item.status">
-          <a-icon v-if="item.solution" type="solution" slot="icon" />
+        <a-step v-for="item in steps.stepsNow" :key="item.title"  :title='item.title' :status="item.status">
+<!--          <a-icon v-if="item.solution" type="solution" slot="icon" />-->
+          <a-icon v-if="item.solution" style='color: #faad14;' type="solution" slot="icon" />
+          <a-icon v-if="item.solution" style='color: #52c41a;' type="solution" slot="icon" />
+<!--          <img  slot="icon" v-if="item.solution" src="../../assets/checkUpdateStep.svg"/>-->
+<!--          <span style='color: #00DB00' slot='title'>{{item.title}}</span>-->
         </a-step>
       </a-steps>
       <a-button v-if="!rectification" @click="stagingAuditLot" style="width: 100%" type="warn">暂存</a-button>