sunyize vor 2 Jahren
Ursprung
Commit
abb75f7e29

+ 1 - 1
src/views/truckCheck/TaskUploadData.vue

@@ -307,7 +307,7 @@
     <!--    三张现场照片 -->
     <a-card v-if="steps.currentId === 'threePhotos'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
-        <span style="float: left;position: relative;top: 4px">客户营业执照</span>
+        <span style="float: left;position: relative;top: 4px">三张现场照片</span>
         <!--        操作按钮-->
         <div style="position: relative;left: 10px">
           <!--          <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->

+ 167 - 71
src/views/truckCheck/modules/TaskCheckAudit.vue

@@ -31,7 +31,11 @@
         <a-descriptions-item label="营业执照到期时间">{{ infoModel.businessLicenseDate==="" ?"长期": infoModel.businessLicenseDate}}</a-descriptions-item>
         <a-descriptions-item label="房屋租赁合同到期时间">{{ infoModel.houseDate }}</a-descriptions-item>
         <a-descriptions-item label="经营型呼叫中心增值许可证到期日">{{ infoModel.zZBusinessLicenseDate }}</a-descriptions-item>
-        <a-descriptions-item label="风险评估等级">{{ infoModel.riskGrade }}</a-descriptions-item>
+
+        <a-descriptions-item v-if='infoModel.riskGrade==="0"'  label="风险评估等级">较低风险</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.riskGrade==="1"' label="风险评估等级">低风险</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.riskGrade==="2"' label="风险评估等级">中风险</a-descriptions-item>
+        <a-descriptions-item v-if='infoModel.riskGrade==="3"' label="风险评估等级">高风险</a-descriptions-item>
       </a-descriptions>
       <hr>
       <div style="width: 100%;float:left;margin-left: 20%">
@@ -42,7 +46,7 @@
                 <div>
                   <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                   <div style="float:left;margin: 50px 10px;" >
-                    <a-radio-group  button-style="solid"  @change='sizeColor' v-model='infoModel.infoResult'>
+                    <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change='sizeColor' v-model='infoModel.infoResult'>
                       <a-radio :value="'1'">是</a-radio>
                       <a-radio :value="'2'">否</a-radio>
                     </a-radio-group>
@@ -51,8 +55,8 @@
               </a-col>
               <a-col :span="18" >
                 <div style="clear: both"></div>
-                <a-form-model-item label="稽核结果备注" prop="basicCheckNote" style="float:left;margin: 50px 10px;" :labelCol="{ span: 5 }" :wrapperCol="{ span: 15 }" >
-                  <a-textarea v-model=infoModel.infoResultRemark  placeholder="请输入上述信息的稽核结果" style="float:left;margin: 3px 3px;height:50px; width: 300px;"   />
+                <a-form-model-item label="稽核结果备注" prop="basicCheckNote" style="float:left;margin: 50px 10px;" :labelCol="{ span: 5 }" :wrapperCol="{ span: 15 }" >
+                  <a-textarea v-model=infoModel.infoResultRemark :disabled="checkState===2?false:true" placeholder="请输入上述信息的稽核结果" style="float:left;margin: 3px 3px;height:50px; width: 300px;"   />
                 </a-form-model-item>
 
               </a-col>
@@ -104,7 +108,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.applySignResult)" v-model='infoModel.applySignResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.applySignResult)" v-model='infoModel.applySignResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -118,17 +122,17 @@
         <div style="width: 85%;float:left;">
           <div>
             <a-form-model-item style="left: 15%;width: 70%;" label="稽核结果备注:" v-bind="labelCol1Note">
-              <a-textarea style="height: 77px"
+              <a-textarea style="height: 77px" 
                           v-model="infoModel.applySignResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </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"
                           v-model="infoModel.applySignRemark"
                           @change="textareaChange('applySign','applySignRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -201,7 +205,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -229,7 +233,7 @@
       <!--    三张现场照片 -->
       <a-card v-if="steps.currentId === 'threePhotos'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
         <div slot="title">
-          <span style="float: left;position: relative;top: 4px">客户营业执照</span>
+          <span style="float: left;position: relative;top: 4px">三张现场照片</span>
           <!--        操作按钮-->
           <div style="position: relative;left: 10px">
             <!--          <a-button v-if="current < steps.length - 1" type="primary" @click="nextSteps">下一步</a-button>-->
@@ -252,7 +256,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.threePhotosResult)" v-model='infoModel.threePhotosResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.threePhotosResult)" v-model='infoModel.threePhotosResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -269,14 +273,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.threePhotosResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.threePhotosRemark"
                           @change="textareaChange('threePhotos','threePhotosRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -349,7 +353,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -399,7 +403,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.commitmentBookResult)" v-model='infoModel.commitmentBookResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.commitmentBookResult)" v-model='infoModel.commitmentBookResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -416,14 +420,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.commitmentBookResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.commitmentBookRemark"
                           @change="textareaChange('commitmentBook','commitmentBookRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -496,7 +500,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -546,7 +550,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.isPriceApprovalResult)" v-model='infoModel.isPriceApprovalResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.isPriceApprovalResult)" v-model='infoModel.isPriceApprovalResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -563,14 +567,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.isPriceApprovalResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.isPriceApprovalRemark"
                           @change="textareaChange('isPriceApproval','isPriceApprovalRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -643,7 +647,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -694,7 +698,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.legalIdCardResult)" v-model='infoModel.legalIdCardResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.legalIdCardResult)" v-model='infoModel.legalIdCardResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -711,14 +715,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.legalIdCardResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.legalIdCardRemark"
                           @change="textareaChange('legalIdCard','legalIdCardRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -791,7 +795,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -841,7 +845,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.operatorIdCardResult)" v-model='infoModel.operatorIdCardResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.operatorIdCardResult)" v-model='infoModel.operatorIdCardResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -858,14 +862,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.operatorIdCardResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.operatorIdCardRemark"
                           @change="textareaChange('operatorIdCard','operatorIdCardRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -938,7 +942,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -988,7 +992,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.authorizeBookResult)" v-model='infoModel.authorizeBookResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.authorizeBookResult)" v-model='infoModel.authorizeBookResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -1005,14 +1009,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.authorizeBookResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.authorizeBookRemark"
                           @change="textareaChange('authorizeBook','authorizeBookRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1085,7 +1089,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1135,7 +1139,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.zZBusinessLicenseResult)" v-model='infoModel.zZBusinessLicenseResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.zZBusinessLicenseResult)" v-model='infoModel.zZBusinessLicenseResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -1152,14 +1156,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.zZBusinessLicenseResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.zZBusinessLicenseRemark"
                           @change="textareaChange('zZBusinessLicense','zZBusinessLicenseRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1232,7 +1236,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1283,7 +1287,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.centerBusinessResult)" v-model='infoModel.centerBusinessResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.centerBusinessResult)" v-model='infoModel.centerBusinessResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -1300,14 +1304,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.centerBusinessResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.centerBusinessRemark"
                           @change="textareaChange('centerBusiness','centerBusinessRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1380,7 +1384,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1431,7 +1435,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.contractOrProveResult)" v-model='infoModel.contractOrProveResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.contractOrProveResult)" v-model='infoModel.contractOrProveResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -1448,14 +1452,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.contractOrProveResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.contractOrProveRemark"
                           @change="textareaChange('contractOrProve','contractOrProveRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1528,7 +1532,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1579,7 +1583,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.riskTableResult)" v-model='infoModel.riskTableResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.riskTableResult)" v-model='infoModel.riskTableResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -1596,14 +1600,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.riskTableResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.riskTableRemark"
                           @change="textareaChange('riskTable','riskTableRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1676,7 +1680,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1726,7 +1730,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.trunkTableResult)" v-model='infoModel.trunkTableResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.trunkTableResult)" v-model='infoModel.trunkTableResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -1743,14 +1747,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.trunkTableResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.trunkTableRemark"
                           @change="textareaChange('trunkTable','trunkTableRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1823,7 +1827,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -1874,7 +1878,7 @@
                   <div>
                     <div style="float:left;margin: 50px 3px;" id="directRequirements">稽核是否通过</div>
                     <div style="float:left;margin: 50px 10px;" >
-                      <a-radio-group  button-style="solid"  @change="basicCheckClick(infoModel.trunkContractResult)" v-model='infoModel.trunkContractResult'>
+                      <a-radio-group  button-style="solid" :disabled="checkState===2?false:true" @change="basicCheckClick(infoModel.trunkContractResult)" v-model='infoModel.trunkContractResult'>
                         <a-radio :value="'1'">是</a-radio>
                         <a-radio :value="'2'">否</a-radio>
                       </a-radio-group>
@@ -1891,14 +1895,14 @@
               <a-textarea style="height: 77px"
                           v-model="infoModel.trunkContractResultRemark"
 
-                          placeholder="请输入稽核结果"
+                          placeholder="请输入稽核结果" :disabled="checkState===2?false:true"
               />
             </a-form-model-item>
-            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+            <a-form-model-item style="left: 15%;width: 70%;margin-top: 20px" label="上传资料备注:"   v-bind="labelCol1Note">
               <a-textarea style="height: 77px"
                           v-model="infoModel.trunkContractRemark"
                           @change="textareaChange('trunkContract','trunkContractRemark')"
-                          placeholder="如没有上传资料备注,需要说明原因"
+                          placeholder="如没有上传资料备注,需要说明原因" :disabled="checkState===2 || checkState===5?true:false"
               />
               <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
             </a-form-model-item>
@@ -1971,7 +1975,7 @@
                     :beforeUpload="importBeforeUpload"
                     @change="importHandleChange"
                   >
-                    <div>
+                    <div v-if='checkState!==2 && checkState!==3 && checkState!==5'>
                       <a-icon type="plus"/>
                       <div class="ant-upload-text">点我上传</div>
                     </div>
@@ -2059,6 +2063,7 @@ export default {
         }
       },
       taskId:"",
+      checkState:"",
       infoModel:{
         applySignResult:"",
         applySignResultRemark:"",
@@ -2668,6 +2673,11 @@ export default {
       ]
     }
   },
+  computed: {
+    importMinioUploadAction() {
+      return window._CONFIG['domianURL'] + this.url.minioUpload;
+    },
+  },
   components: {},
   created() {
     this.infoId = this.$route.query.id;
@@ -2679,6 +2689,89 @@ export default {
     this.getInfoDataByInfoId(this.$route.query.id)
   },
   methods: {
+    /**移除文件*/
+    removeFile(fileData, fileAttribute) {
+      let that = this.infoModel;
+      //处理轮播数据
+      let swiperImg = that[fileAttribute];
+      if (swiperImg) {
+        let number = swiperImg.indexOf(fileData);
+        swiperImg.splice(number, 1)
+        if (swiperImg.length == 0) {
+          swiperImg.push({})
+          let textId = fileAttribute + "Remark";
+          if (this.infoModel[textId].trim() > 0) {
+            this.steps.stepsNow[this.steps.current].status = "finish"
+          } else {
+            this.steps.stepsNow[this.steps.current].status = "wait"
+          }
+        } else {
+          this.steps.stepsNow[this.steps.current].status = "finish"
+        }
+        that[fileAttribute] = swiperImg
+      }
+    },
+
+    //文件格式限制
+    importBeforeUpload(file) {
+      var fileType = file.type;
+      if (fileType === 'image') {
+        if (fileType.indexOf('image') < 0) {
+          this.$message.warning('请上传图片');
+          return false;
+        }
+      } else if (fileType === 'file') {
+        if (fileType.indexOf('image') >= 0) {
+          this.$message.warning('请上传文件');
+          return false;
+        }
+      }
+      return true
+    },
+    //文件上传成功后回调
+    importHandleChange(info) {
+
+    },
+    /**自定义的上传文件方法*/
+    selfUploadContract(data, fileAttribute) {
+      var that = this;
+      if (data.file) {
+        let formData = new FormData();
+        formData.append('file', data.file)
+        postAction(this.url.minioUpload, formData).then((res) => {
+          if (res.success) {
+            that.swiperId = that.swiperId + 1;
+            console.log(that.swiperId)
+            //文件链接
+            let filePath = res.message;
+            let swipData = {
+              id: that.swiperId,
+              urlBase: window._CONFIG['onlinePreviewDomainURL'] + '?url='
+                + encodeURIComponent(
+                  Base64.encode(
+                    (filePath)
+                  )),
+              url: filePath,
+              fileName: data.file.name
+            }
+            if (that.infoModel[fileAttribute][0].urlBase) {
+              that.infoModel[fileAttribute].push(swipData)
+            } else {
+              that.infoModel[fileAttribute] = []
+              //数据发生变化
+              that.infoModel[fileAttribute][0] = swipData;
+            }
+            // 改变步骤条状态
+            if (that.infoModel[fileAttribute].length > 0) {
+              that.steps.stepsNow[that.steps.current].status = "finish"
+            } else {
+              that.steps.stepsNow[that.steps.current].status = "wait"
+            }
+          }
+
+        })
+      }
+    },
     /**备注坚听*/
     textareaChange(name, nameRemark) {
       if (this.infoModel[nameRemark].length > 0) {
@@ -2707,6 +2800,9 @@ export default {
       postAction(this.url.getTask, data).then((res) => {
         if (res.success) {
           that.taskId=res.result.taskId;
+          /** 稽核状态 0:未处理;1:未完善;2:待稽核;3:已整改;4:待整改;5:稽核通过; */
+          that.checkState=res.result.checkState;
+
         }
       })
     },
@@ -2785,7 +2881,7 @@ export default {
         }
       }
       if (this.infoModel.infoResult==="" || this.infoModel.infoResult===null){
-        this.$message.warn( "行短基本信息未进行稽核...");
+        this.$message.warn( "中继线基本信息未进行稽核...");
         info="no";
       }
       if (info==="no"){