sunyize 2 лет назад
Родитель
Сommit
7f1a0f210b
1 измененных файлов с 217 добавлено и 92 удалено
  1. 217 92
      src/views/truckCheck/modules/TaskCheckAudit.vue

+ 217 - 92
src/views/truckCheck/modules/TaskCheckAudit.vue

@@ -43,14 +43,14 @@
         <div>
           <span>1.请选择客户类型</span>
         </div>
-        <a-radio-group style="position: relative;left: 30px"
+        <a-radio-group style="position: relative;left: 30px"  :disabled="infoModel.infoResult==='1'?true:false"
                        @change="controlChange" prop='customType' v-model:value="infoModel.customType">
           <a-radio :value="0">一类客户(党政军、大型企事业单位)</a-radio>
           <a-radio :value="1">二类客户(其余用户)</a-radio>
         </a-radio-group>
         <div>
           <span style="display: block">2.请选择使用场景</span>
-          <a-radio-group style="position: relative;left: 30px;"
+          <a-radio-group style="position: relative;left: 30px;" :disabled="infoModel.infoResult==='1'?true:false"
                          @change="controlChange" v-model:value="infoModel.scene"  prop='scene'>
             <a-radio :value="0">办公自用</a-radio>
             <a-radio :value="1">自用型呼叫中心</a-radio>
@@ -110,35 +110,35 @@
           </a-col>
           <a-col :span="6">
             <a-form-model-item label="客户名称(全)" prop="customerName" v-bind="labelCol4">
-              <a-input    v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
+              <a-input  :disabled="infoModel.infoResult==='1'?true:false"  v-model="infoModel.customerName" placeholder="客户名称/使用人名称"></a-input>
             </a-form-model-item>
           </a-col>
           <a-col :span="6">
             <a-form-model-item label="楼宇名称" prop="floorName" v-bind="labelCol4">
-              <a-input  v-model="infoModel.floorName" placeholder="楼宇名称"></a-input>
+              <a-input :disabled="infoModel.infoResult==='1'?true:false" v-model="infoModel.floorName" placeholder="楼宇名称"></a-input>
             </a-form-model-item>
           </a-col>
           <a-col :span="6">
             <a-form-model-item label="楼宇编号" prop="floorCode" v-bind="labelCol4">
-              <a-input  v-model="infoModel.floorCode" placeholder="楼宇编号"></a-input>
+              <a-input :disabled="infoModel.infoResult==='1'?true:false"  v-model="infoModel.floorCode" placeholder="楼宇编号"></a-input>
             </a-form-model-item>
           </a-col>
 
           <a-col :span="6">
             <a-form-model-item label="客户经理手机号" prop="managePhone" v-bind="labelCol4">
-              <a-input   v-model="infoModel.managePhone" placeholder="客户经理手机号"></a-input>
+              <a-input  :disabled="infoModel.infoResult==='1'?true:false" v-model="infoModel.managePhone" placeholder="客户经理手机号"></a-input>
             </a-form-model-item>
           </a-col>
 
           <a-col :span="6">
             <a-form-model-item label="实际装机地址" prop="installationAddress" v-bind="labelCol4">
-              <a-input   v-model="infoModel.installationAddress" placeholder="实际装机地址"></a-input>
+              <a-input :disabled="infoModel.infoResult==='1'?true:false"  v-model="infoModel.installationAddress" placeholder="实际装机地址"></a-input>
             </a-form-model-item>
           </a-col>
 
           <a-col :span="7" v-if='infoModel.contractDateIs==="" || infoModel.contractDateIs===null || infoModel.contractDateIs==="1" '>
             <a-form-model-item label="合同到期时间是否长期" prop="contractDateIs" v-bind="labelCol5">
-              <a-radio-group  v-model="infoModel.contractDateIs" button-style="solid" >
+              <a-radio-group  v-model="infoModel.contractDateIs" button-style="solid" :disabled="infoModel.infoResult==='1'?true:false">
                 <a-radio-button value="0">否</a-radio-button>
                 <a-radio-button value="1">是</a-radio-button>
               </a-radio-group>
@@ -146,7 +146,7 @@
           </a-col>
           <a-col :span="7"  v-if='infoModel.contractDateIs==="0" ' >
             <a-form-model-item label="合同到期时间" prop="contractDate" v-bind="labelCol6">
-              <a-date-picker   :style="{width:'100%'}" v-model="infoModel.contractDate"
+              <a-date-picker   :style="{width:'100%'}" v-model="infoModel.contractDate" :disabled="infoModel.infoResult==='1'?true:false"
                                format="YYYY-MM-DD"
                                showTime valueFormat="YYYY-MM-DD"/>
             </a-form-model-item>
@@ -154,7 +154,7 @@
 
           <a-col :span="7" v-if='infoModel.businessLicenseDateIs==="" || infoModel.businessLicenseDateIs===null || infoModel.businessLicenseDateIs==="1" '>
             <a-form-model-item label="营业执照有效期是否长期" prop="businessLicenseDateIs" v-bind="labelCol5">
-              <a-radio-group    v-model="infoModel.businessLicenseDateIs" button-style="solid"  >
+              <a-radio-group :disabled="infoModel.infoResult==='1'?true:false"   v-model="infoModel.businessLicenseDateIs" button-style="solid"  >
                 <a-radio-button value="0">否</a-radio-button>
                 <a-radio-button value="1">是</a-radio-button>
               </a-radio-group>
@@ -162,7 +162,7 @@
           </a-col>
           <a-col :span="7" v-if='infoModel.businessLicenseDateIs==="0"'>
             <a-form-model-item label="营业执照到期时间" prop="businessLicenseDate" v-bind="labelCol4">
-              <a-date-picker     style="width: 210px" v-model="infoModel.businessLicenseDate"
+              <a-date-picker  :disabled="infoModel.infoResult==='1'?true:false"   style="width: 210px" v-model="infoModel.businessLicenseDate"
                                  format="YYYY-MM-DD"
                                  showTime valueFormat="YYYY-MM-DD"/>
             </a-form-model-item>
@@ -171,14 +171,14 @@
           <!--        (第一类客户办公自用除外,不需提供)-->
           <a-col :span="10">
             <a-form-model-item label="房屋租赁合同到期时间" :prop='infoModel.customType===0 && infoModel.scene===0 ?"houseDate":""'   v-bind="labelCol4">
-              <a-date-picker     style="width: 210px" v-model="infoModel.houseDate"
+              <a-date-picker :disabled="infoModel.infoResult==='1'?true:false"    style="width: 210px" v-model="infoModel.houseDate"
                                  format="YYYY-MM-DD"
                                  showTime valueFormat="YYYY-MM-DD"/>
             </a-form-model-item>
           </a-col>
           <a-col :span="11">
             <a-form-model-item label="经营型呼叫中心增值许可证到期日 " prop="zZBusinessLicenseDate" v-bind="labelCol4">
-              <a-date-picker     style="width: 210px" v-model="infoModel.zZBusinessLicenseDate"
+              <a-date-picker  :disabled="infoModel.infoResult==='1'?true:false"   style="width: 210px" v-model="infoModel.zZBusinessLicenseDate"
                                  format="YYYY-MM-DD"
                                  showTime valueFormat="YYYY-MM-DD"/>
             </a-form-model-item>
@@ -186,7 +186,7 @@
           <!--风险评估等级(非办公自用需提供)-->
           <a-col :span="13">
             <a-form-model-item label="风险评估等级(非办公自用需提供)" prop="riskGrade"   v-bind="labelCol4">
-              <a-radio-group  v-model="infoModel.riskGrade" button-style="solid"  >
+              <a-radio-group  v-model="infoModel.riskGrade" button-style="solid" :disabled="infoModel.infoResult==='1'?true:false" >
                 <a-radio-button value="0">较低风险</a-radio-button>
                 <a-radio-button value="1">低风险</a-radio-button>
                 <a-radio-button value="2">中风险</a-radio-button>
@@ -200,7 +200,7 @@
       </a-card>
 
 
-      <a-button  style="display: block;position: relative;left:auto;margin-top: 10px;border-color: #1890FF;color: #1890FF" @click="historys">整改历史
+      <a-button v-if='checkState!==4' 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">
@@ -214,7 +214,7 @@
           </a-table>
         </a-modal>
       </div>
-      <hr>
+      <hr  v-if='checkState!==4'>
       <div style="width: 100%;float:left;margin-left: 20%">
         <a-list size="large"  >
           <template>
@@ -315,10 +315,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px"  :disabled="(checkState===4 && infoModel.applySignResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.applySignRemark"
                           @change="textareaChange('applySign','applySignRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -399,7 +399,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.applySignResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -471,10 +471,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px"  :disabled="(checkState===4 && infoModel.threePhotosResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.threePhotosRemark"
                           @change="textareaChange('threePhotos','threePhotosRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -508,7 +508,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.threePhotosResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'threePhotos')">移除
                   </a-button>
 
@@ -555,7 +555,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.threePhotosResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -626,10 +626,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px"  :disabled="(checkState===4 && infoModel.commitmentBookResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.commitmentBookRemark"
                           @change="textareaChange('commitmentBook','commitmentBookRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -663,7 +663,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.commitmentBookResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'commitmentBook')">移除
                   </a-button>
 
@@ -710,7 +710,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.commitmentBookResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -781,10 +781,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.isPriceApprovalResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.isPriceApprovalRemark"
                           @change="textareaChange('isPriceApproval','isPriceApprovalRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -818,7 +818,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.isPriceApprovalResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'isPriceApproval')">移除
                   </a-button>
 
@@ -865,7 +865,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.isPriceApprovalResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -937,10 +937,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.legalIdCardResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.legalIdCardRemark"
                           @change="textareaChange('legalIdCard','legalIdCardRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -974,7 +974,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.legalIdCardResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'legalIdCard')">移除
                   </a-button>
 
@@ -1021,7 +1021,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.legalIdCardResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1092,10 +1092,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.operatorIdCardResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.operatorIdCardRemark"
                           @change="textareaChange('operatorIdCard','operatorIdCardRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1129,7 +1129,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.operatorIdCardResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'operatorIdCard')">移除
                   </a-button>
 
@@ -1176,7 +1176,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.operatorIdCardResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1247,10 +1247,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.authorizeBookResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.authorizeBookRemark"
                           @change="textareaChange('authorizeBook','authorizeBookRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1284,7 +1284,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.authorizeBookResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'authorizeBook')">移除
                   </a-button>
 
@@ -1331,7 +1331,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.authorizeBookResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1402,10 +1402,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.zZBusinessLicenseResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.zZBusinessLicenseRemark"
                           @change="textareaChange('zZBusinessLicense','zZBusinessLicenseRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1439,7 +1439,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.zZBusinessLicenseResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'zZBusinessLicense')">移除
                   </a-button>
 
@@ -1486,7 +1486,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.zZBusinessLicenseResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1558,10 +1558,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.centerBusinessResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.centerBusinessRemark"
                           @change="textareaChange('centerBusiness','centerBusinessRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1595,7 +1595,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.centerBusinessResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'centerBusiness')">移除
                   </a-button>
 
@@ -1642,7 +1642,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.centerBusinessResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1714,10 +1714,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.contractOrProveResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.contractOrProveRemark"
                           @change="textareaChange('contractOrProve','contractOrProveRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1751,7 +1751,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.contractOrProveResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'contractOrProve')">移除
                   </a-button>
 
@@ -1798,7 +1798,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.contractOrProveResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1870,10 +1870,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.riskTableResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.riskTableRemark"
                           @change="textareaChange('riskTable','riskTableRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1907,7 +1907,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.riskTableResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'riskTable')">移除
                   </a-button>
 
@@ -1954,7 +1954,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.riskTableResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -2025,10 +2025,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.trunkTableResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.trunkTableRemark"
                           @change="textareaChange('trunkTable','trunkTableRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -2062,7 +2062,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.trunkTableResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'trunkTable')">移除
                   </a-button>
 
@@ -2109,7 +2109,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.trunkTableResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -2181,10 +2181,10 @@
               />
             </a-form-model-item>
             <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" :disabled="(checkState===4 && infoModel.trunkContractResult  ==='1' ) || (checkState===2|| checkState===5) ?true:false"
                           v-model="infoModel.trunkContractRemark"
                           @change="textareaChange('trunkContract','trunkContractRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
+                          placeholder="如没有上传资料备注,需要说明原因"  
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -2218,7 +2218,7 @@
                          v-if=" item.urlBase "
                          @click="jumpUrl(item.urlBase)">预览
               </a-button>
-                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5" style="display: block;margin-top: 10px;border-color: red;color: red"
+                  <a-button v-if="item.urlBase&& checkState!==2  &&checkState!==5 && infoModel.trunkContractResult==='2'" style="display: block;margin-top: 10px;border-color: red;color: red"
                             danger @click="removeFile(item,'trunkContract')">移除
                   </a-button>
 
@@ -2265,7 +2265,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
+                    <div v-if='checkState===4 && infoModel.trunkContractResult==="2"'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -2311,6 +2311,36 @@ export default {
   inject:['closeCurrent'],
   data() {
     return {
+      labelCol6: {
+        labelCol: {
+          xs: {span: 24},
+          sm: {span:10},
+        },
+        wrapperCol: {
+          xs: {span: 24},
+          sm: {span: 12},
+        }
+      },
+      labelCol5: {
+        labelCol: {
+          xs: {span: 24},
+          sm: {span: 12},
+        },
+        wrapperCol: {
+          xs: {span: 24},
+          sm: {span: 12},
+        }
+      },
+      labelCol4: {
+        labelCol: {
+          xs: {span: 24},
+          sm: {span: 10},
+        },
+        wrapperCol: {
+          xs: {span: 24},
+          sm: {span: 12},
+        }
+      },
       open:false,
       columns:[
         { title: '编辑时间', width: 100, dataIndex: 'updateDate', key: 'updateDate'  },
@@ -2987,6 +3017,62 @@ export default {
     this.getInfoDataByInfoId(this.$route.query.id)
   },
   methods: {
+    //客户类型与使用场景监听
+    controlChange(a, event) {
+      this.current = 0;
+      this.steps.currentId = "trunkContract";
+      let customType = this.infoModel.customType;
+      let scene = this.infoModel.scene;
+      if (customType ===0) {
+        if (scene ===0) {
+          this.steps.stepsNow = this.steps.steps00
+        }
+        if (scene ===1) {
+          this.steps.stepsNow = this.steps.steps01
+        }
+        if (scene ===2) {
+          this.steps.stepsNow= this.steps.steps02
+        }
+        if (scene ===3) {
+          this.steps.stepsNow = this.steps.steps02
+        }
+      }
+      if (customType ===1) {
+        if (scene ===0) {
+          this.steps.stepsNow = this.steps.steps10
+        }
+        if (scene ===1) {
+          this.steps.stepsNow = this.steps.steps11
+        }
+        if (scene ===2) {
+          this.steps.stepsNow = this.steps.steps12
+        }
+        if (scene ===3) {
+          this.steps.stepsNow = this.steps.steps12
+        }
+      }
+
+      for (var i in this.steps.stepsNow) {
+        for (var j in this.infoModel[this.steps.stepsNow[i].id]){
+          if (this.infoModel[this.steps.stepsNow[i].id][0].urlBase!==undefined){
+            this.steps.stepsNow[i].status = "finish"
+          }
+          if (this.infoModel[this.steps.stepsNow[i].id+'Remark'][0]!==undefined){
+            this.steps.stepsNow[i].status = "finish"
+          }
+        }
+      }
+      //
+      // for (var i in this.steps.stepsNow) {
+      //     if ( this.steps.stepsNow[i].urlBase!==undefined){
+      //       this.steps.stepsNow[i].status = "finish"
+      //     }
+      //     if ( this.steps.stepsNow[i][this.steps.stepsNow.id+'Remark']!==undefined){
+      //       this.steps.stepsNow[i].status = "finish"
+      //     }
+      // }
+
+    },
     showModal() {
       this.open = true;
     },
@@ -3083,10 +3169,16 @@ export default {
             }
             // 改变步骤条状态
             if (that.infoModel[fileAttribute].length > 0) {
-              that.steps.stepsNow[that.steps.current].status = "finish"
-            } else {
-              that.steps.stepsNow[that.steps.current].status = "wait"
+              if (that.steps.stepsNow[that.steps.current].status === "error"){
+                that.steps.stepsNow[this.steps.current].type="solution",
+                  that.steps.stepsNow[this.steps.current].slot="icon"
+                that.steps.stepsNow[that.steps.current].status = "final"
+                this.steps.stepsNow[this.steps.current].solution = true;
+              }else {
+                that.steps.stepsNow[that.steps.current].status = "wait"
+              }
             }
+
           }
 
         })
@@ -3159,6 +3251,38 @@ export default {
             that.infoModel.riskTable= JSON.parse(result.riskTable);
             that.infoModel.trunkTable= JSON.parse(result.trunkTable);
             that.infoModel.trunkContract= JSON.parse(result.trunkContract);
+            that.infoModel.customType= result.customType ;
+            that.infoModel.scene= result.scene ;
+            var customType =result.customType;
+            var scene =result.scene;
+            if (customType ===0) {
+              if (scene ===0) {
+                that.steps.stepsNow = that.steps.steps00
+              }
+              if (scene ===1) {
+                that.steps.stepsNow = that.steps.steps01
+              }
+              if (scene ===2) {
+                that.steps.stepsNow= that.steps.steps02
+              }
+              if (scene ===3) {
+                that.steps.stepsNow = that.steps.steps02
+              }
+            }
+            if (customType ===1) {
+              if (scene ===0) {
+                that.steps.stepsNow = that.steps.steps10
+              }
+              if (scene ===1) {
+                that.steps.stepsNow = that.steps.steps11
+              }
+              if (scene ===2) {
+                that.steps.stepsNow = that.steps.steps12
+              }
+              if (scene ===3) {
+                this.that.stepsNow = that.steps.steps12
+              }
+            }
             //待稽核
             if (that.checkState===2 || that.checkState===5 ){
               for (var i in that.steps.stepsNow) {
@@ -3213,6 +3337,7 @@ export default {
               }
             }
 
+
           }
         })
       }
@@ -3254,10 +3379,10 @@ export default {
 
         for (var i in this.steps.stepsNow) {
           if (this.checkState===2){
-            if (this.steps.stepsNow[i].status === "wait"   ) {
-              this.$message.warn( this.steps.stepsNow[i].title +"未进行稽核...");
-              info="no";
-              }
+            // if (this.steps.stepsNow[i].status === "wait"   ) {
+            //   this.$message.warn( this.steps.stepsNow[i].title +"未进行稽核...");
+            //   info="no";
+            //   }
               if (this.infoModel.infoResult==="" || this.infoModel.infoResult===null){
                 this.$message.warn( "中继线基本信息未进行稽核...");
                 info="no";
@@ -3501,32 +3626,32 @@ export default {
           let customType = that.truckData.customType;
           let scene = that.truckData.scene;
           //步骤条数据源
-          if (customType == '0') {
-            if (scene == '0') {
-              this.steps = this.steps00
+          if (customType ===0) {
+            if (scene ===0) {
+              this.steps.stepsNow = this.steps.steps00
             }
-            if (scene == '1') {
-              this.steps = this.steps01
+            if (scene ===1) {
+              this.steps.stepsNow = this.steps.steps01
             }
-            if (scene == '2') {
-              this.steps = this.steps02
+            if (scene ===2) {
+              this.steps.stepsNow= this.steps.steps02
             }
-            if (scene == '3') {
-              this.steps = this.steps02
+            if (scene ===3) {
+              this.steps.stepsNow = this.steps.steps02
             }
           }
-          if (customType == '1') {
-            if (scene == '0') {
-              this.steps = this.steps10
+          if (customType ===1) {
+            if (scene ===0) {
+              this.steps.stepsNow = this.steps.steps10
             }
-            if (scene == '1') {
-              this.steps = this.steps11
+            if (scene ===1) {
+              this.steps.stepsNow = this.steps.steps11
             }
-            if (scene == '2') {
-              this.steps = this.steps12
+            if (scene ===2) {
+              this.steps.stepsNow = this.steps.steps12
             }
-            if (scene == '3') {
-              this.steps = this.steps12
+            if (scene ===3) {
+              this.steps.stepsNow = this.steps.steps12
             }
           }