Bläddra i källkod

中继线上传

sunyize 2 år sedan
förälder
incheckning
074285873c
1 ändrade filer med 188 tillägg och 94 borttagningar
  1. 188 94
      src/views/truckCheck/TaskUploadData.vue

+ 188 - 94
src/views/truckCheck/TaskUploadData.vue

@@ -17,18 +17,18 @@
             <span>1.请选择客户类型</span>
           </div>
           <a-radio-group style="position: relative;left: 30px"
-                         @change="controlChange" v-model:value="infoModel.customType">
-            <a-radio :value="'0'">一类客户(党政军、大型企事业单位)</a-radio>
-            <a-radio :value="'1'">二类客户(其余用户)</a-radio>
+                         @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;"
-                           @change="controlChange" v-model:value="infoModel.scene">
-              <a-radio :value="'0'">办公自用</a-radio>
-              <a-radio :value="'1'">自用型呼叫中心</a-radio>
-              <a-radio :value="'2'">经营型呼叫中心</a-radio>
-              <a-radio :value="'3'">经营型会议电话</a-radio>
+                           @change="controlChange" v-model:value="infoModel.scene"  prop='scene'>
+              <a-radio :value="0">办公自用</a-radio>
+              <a-radio :value="1">自用型呼叫中心</a-radio>
+              <a-radio :value="2">经营型呼叫中心</a-radio>
+              <a-radio :value="3">经营型会议电话</a-radio>
             </a-radio-group>
           </div>
         </a-card>
@@ -50,9 +50,14 @@
                 <a-input :disabled='true'  v-model="infoModel.staffNo" placeholder="用户发展员工"  ></a-input>
               </a-form-model-item>
             </a-col>
+<!--            <a-col :span="6">-->
+<!--              <a-form-model-item label="用户号码" prop="userCode" v-bind="labelCol4">-->
+<!--                <a-input :disabled='true'  v-model="infoModel.userCode" placeholder="用户号码"  ></a-input>-->
+<!--              </a-form-model-item>-->
+<!--            </a-col>-->
             <a-col :span="6">
-              <a-form-model-item label="用户号码" prop="userCode" v-bind="labelCol4">
-                <a-input :disabled='true'  v-model="infoModel.userCode" placeholder="用户号码"  ></a-input>
+              <a-form-model-item label="用户号"  v-bind="labelCol4" >
+                <a-input   v-model="infoModel.userNo" placeholder="用户编号" :disabled='true'></a-input>
               </a-form-model-item>
             </a-col>
             <a-col :span="6">
@@ -145,8 +150,8 @@
               </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-form-model-item label="经营型呼叫中心增值许可证到期日 " prop="zzbusinessLicenseDate" v-bind="labelCol4">
+                <a-date-picker     style="width: 210px" v-model="infoModel.zzbusinessLicenseDate"
                                    format="YYYY-MM-DD"
                                    showTime valueFormat="YYYY-MM-DD"/>
               </a-form-model-item>
@@ -178,7 +183,7 @@
       <a-button @click="submitAuditLot" style="width: 100%;position: relative;top: 10px" type="primary">提交申请</a-button>
     </a-card>
     <!--    入网申请签报 -->
-   <a-card v-if="steps.currentId === 'applySign'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+   <a-card v-if="steps.currentId === 'applySign'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">入网申请签报</span>
         <!--        操作按钮-->
@@ -197,7 +202,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.applySignRemark"
                         @change="textareaChange('applySign','applySignRemark')"
@@ -225,7 +230,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'applySign')">移除
@@ -300,7 +305,7 @@
 
     </a-card>
     <!--    三张现场照片 -->
-    <a-card v-if="steps.currentId === 'threePhotos'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <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>
         <!--        操作按钮-->
@@ -319,7 +324,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.threePhotosRemark"
                         @change="textareaChange('threePhotos','threePhotosRemark')"
@@ -347,7 +352,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'threePhotos')">移除
@@ -422,7 +427,7 @@
 
     </a-card>
     <!--    责任承诺书-->
-    <a-card v-if="steps.currentId === 'commitmentBook'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'commitmentBook'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">责任承诺书</span>
         <!--        操作按钮-->
@@ -440,7 +445,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.commitmentBookRemark"
                         @change="textareaChange('commitmentBook','commitmentBookRemark')"
@@ -468,7 +473,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'commitmentBook')">移除
@@ -543,7 +548,7 @@
 
     </a-card>
     <!--    突破客户经理管控价是否有固网价格审批-->
-    <a-card v-if="steps.currentId === 'isPriceApproval'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'isPriceApproval'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">突破客户经理管控价是否有固网价格审批</span>
         <!--        操作按钮-->
@@ -561,7 +566,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.isPriceApprovalRemark"
                         @change="textareaChange('isPriceApproval','isPriceApprovalRemark')"
@@ -589,7 +594,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'isPriceApproval')">移除
@@ -664,7 +669,7 @@
 
     </a-card>
     <!--    法人身份证-->
-    <a-card v-if="steps.currentId === 'legalIdCard'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'legalIdCard'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">法人身份证</span>
         <!--        操作按钮-->
@@ -683,7 +688,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.legalIdCardRemark"
                         @change="textareaChange('legalIdCard','legalIdCardRemark')"
@@ -711,7 +716,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'legalIdCard')">移除
@@ -786,7 +791,7 @@
 
     </a-card>
     <!--    经办人身份证-->
-    <a-card v-if="steps.currentId === 'operatorIdCard'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'operatorIdCard'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">经办人身份证</span>
         <!--        操作按钮-->
@@ -804,7 +809,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.operatorIdCardRemark"
                         @change="textareaChange('operatorIdCard','operatorIdCardRemark')"
@@ -832,7 +837,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'operatorIdCard')">移除
@@ -907,7 +912,7 @@
 
     </a-card>
     <!--    授权函-->
-    <a-card v-if="steps.currentId === 'authorizeBook'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'authorizeBook'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">授权函</span>
         <!--        操作按钮-->
@@ -925,7 +930,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.authorizeBookRemark"
                         @change="textareaChange('authorizeBook','authorizeBookRemark')"
@@ -953,7 +958,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'authorizeBook')">移除
@@ -1028,7 +1033,7 @@
 
     </a-card>
     <!--    经营性呼叫中心增值业务许可证-->
-    <a-card v-if="steps.currentId === 'zZBusinessLicense'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'zzbusinessLicense'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">经营性呼叫中心增值业务许可证</span>
         <!--        操作按钮-->
@@ -1046,10 +1051,10 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
-                        v-model="infoModel.zZBusinessLicenseRemark"
-                        @change="textareaChange('zZBusinessLicense','zZBusinessLicenseRemark')"
+                        v-model="infoModel.zzbusinessLicenseRemark"
+                        @change="textareaChange('zzbusinessLicense','zzbusinessLicenseRemark')"
                         placeholder="如没有上传资料备注,需要说明原因"
             />
             <!--            :auto-size="{ minRows: 3, maxRows: 5 }"-->
@@ -1064,7 +1069,7 @@
               :options="swiperOptionTop"
               ref="swiperTop"
             >
-              <swiper-slide class="slide-1" v-for="(item, index) in infoModel.zZBusinessLicense" :key="item.id">
+              <swiper-slide class="slide-1" v-for="(item, index) in infoModel.zzbusinessLicense" :key="item.id">
                 <iframe
                   v-if="item.urlBase"
                   frameborder="1"
@@ -1074,10 +1079,10 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
-                          danger @click="removeFile(item,'zZBusinessLicense')">移除
+                          danger @click="removeFile(item,'zzbusinessLicense')">移除
                 </a-button>
 
               </swiper-slide>
@@ -1099,7 +1104,7 @@
               <swiper-slide
                 class="slide"
                 style="width:100px;height:100px;"
-                v-for="(item, index) in infoModel.zZBusinessLicense"
+                v-for="(item, index) in infoModel.zzbusinessLicense"
                 :key="item.id"
               >
                 <div v-if="item.urlBase" style="width: 100%;height: 96px;background: rgb(68,142,247);color: white">
@@ -1117,7 +1122,7 @@
                   name="file"
                   :multiple="false"
                   :action="importMinioUploadAction"
-                  :customRequest="e => selfUploadContract(e, 'zZBusinessLicense')"
+                  :customRequest="e => selfUploadContract(e, 'zzbusinessLicense')"
                   :headers="tokenHeader"
                   :showUploadList="false"
                   :beforeUpload="importBeforeUpload"
@@ -1149,7 +1154,7 @@
 
     </a-card>
     <!--    呼叫中心业务说明-->
-    <a-card v-if="steps.currentId === 'centerBusiness'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'centerBusiness'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">呼叫中心业务说明</span>
         <!--        操作按钮-->
@@ -1168,7 +1173,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.centerBusinessRemark"
                         @change="textareaChange('centerBusiness','centerBusinessRemark')"
@@ -1196,7 +1201,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'centerBusiness')">移除
@@ -1271,7 +1276,7 @@
 
     </a-card>
     <!--    房屋租赁合同或房产证明-->
-    <a-card v-if="steps.currentId === 'contractOrProve'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'contractOrProve'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">房屋租赁合同或房产证明</span>
         <!--        操作按钮-->
@@ -1290,7 +1295,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.contractOrProveRemark"
                         @change="textareaChange('contractOrProve','contractOrProveRemark')"
@@ -1318,7 +1323,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'contractOrProve')">移除
@@ -1393,7 +1398,7 @@
 
     </a-card>
     <!--    风险评估表-->
-    <a-card v-if="steps.currentId === 'riskTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'riskTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">风险评估表</span>
         <!--        操作按钮-->
@@ -1412,7 +1417,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.riskTableRemark"
                         @change="textareaChange('riskTable','riskTableRemark')"
@@ -1440,7 +1445,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'riskTable')">移除
@@ -1515,7 +1520,7 @@
 
     </a-card>
     <!--    中继线预审表-->
-    <a-card v-if="steps.currentId === 'trunkTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'trunkTable'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">中继线预审表</span>
         <!--        操作按钮-->
@@ -1533,7 +1538,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.trunkTableRemark"
                         @change="textareaChange('trunkTable','trunkTableRemark')"
@@ -1561,7 +1566,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 70%;height: 70%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'trunkTable')">移除
@@ -1636,7 +1641,7 @@
 
     </a-card>
     <!--    中继线合同-->
-    <a-card v-if="steps.currentId === 'trunkContract'" style="margin-bottom:10px; float: left;width: 83%;left: 2%">
+    <a-card v-if="steps.currentId === 'trunkContract'" style="margin-bottom:10px; float: left;width: 83%;left: 2%; ">
       <div slot="title">
         <span style="float: left;position: relative;top: 4px">中继线合同</span>
         <!--        操作按钮-->
@@ -1655,7 +1660,7 @@
       </div>
       <div style="width: 85%;float:left;">
         <div>
-          <a-form-model-item style="left: 5%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
+           <a-form-model-item style="left: 10%;margin-top: 20px" label="上传资料备注:" v-bind="labelCol1Note">
             <a-textarea style="height: 77px"
                         v-model="infoModel.trunkContractRemark"
                         @change="textareaChange('trunkContract','trunkContractRemark')"
@@ -1683,7 +1688,7 @@
                   height="445px"
                   scrolling="auto">
                 </iframe>
-                <img style="width: 68%;height: 68%;border: 1px solid;"
+                <img style="width:800px;height: 300px;border: 1px solid;"
                      v-if="!item.urlBase" :src="noDataPng" border="1">
                 <a-button v-if="item.urlBase" style="display: block;margin-top: 10px;border-color: red;color: red"
                           danger @click="removeFile(item,'trunkContract')">移除
@@ -1766,7 +1771,7 @@
 
 <script>
 
-import {httpAction, postAction} from '@api/manage'
+import { getAction, httpAction, postAction } from '@api/manage'
 /*无数据图片*/
 import noDataPng from '@/assets/nodata.png'
 import {JeecgListMixin} from '@/mixins/JeecgListMixin'
@@ -1788,7 +1793,9 @@ export default {
       previewImage: "",
       previewVisible: false,
       url: {
+        "getInfoDataById": "/smsCheck/customerInfo/queryById",
         updateFile: "/smsCheck/customerData/updateFile",
+        "getInfoDataByInfoId": "/smsTurck/customerData/query/infoId",
         minioUpload: "/smsCheck/customerData/uploadMinio",
         list: "/smsCheck/customerData/list",
         addOrEdit: "/smsTurck/customerData/edit/info"
@@ -1842,7 +1849,7 @@ export default {
           {
             title: '经营性呼叫中心增值业务许可证',
             content: 'First-content',
-            id: "zZBusinessLicense",
+            id: "zzbusinessLicense",
           },
           //不分类型与场景
           {
@@ -1905,7 +1912,7 @@ export default {
           {
             title: '经营性呼叫中心增值业务许可证',
             content: 'First-content',
-            id: "zZBusinessLicense",
+            id: "zzbusinessLicense",
           },
           //中心业务是否有说明  自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
           {
@@ -1974,7 +1981,7 @@ export default {
           {
             title: '经营性呼叫中心增值业务许可证',
             content: 'First-content',
-            id: "zZBusinessLicense",
+            id: "zzbusinessLicense",
           },
           //中心业务是否有说明  自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
           {
@@ -2049,7 +2056,7 @@ export default {
           {
             title: '经营性呼叫中心增值业务许可证',
             content: 'First-content',
-            id: "zZBusinessLicense",
+            id: "zzbusinessLicense",
           },
           //房屋租赁合同或房产证明   二类客户需具备
           {
@@ -2118,7 +2125,7 @@ export default {
           {
             title: '经营性呼叫中心增值业务许可证',
             content: 'First-content',
-            id: "zZBusinessLicense",
+            id: "zzbusinessLicense",
           },
           //中心业务是否有说明  自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
           {
@@ -2198,7 +2205,7 @@ export default {
           {
             title: '经营性呼叫中心增值业务许可证',
             content: 'First-content',
-            id: "zZBusinessLicense",
+            id: "zzbusinessLicense",
           },
           //中心业务是否有说明  自用型呼叫中心、经营型呼叫中心、经营型会议电话均需提供
           {
@@ -2229,13 +2236,19 @@ export default {
       },
       uploading: false,
       rules:{
+        scene: [
+          {required: true, message: '必须输入'},
+        ],
+        customType: [
+          {required: true, message: '必须输入'},
+        ],
         customerName: [
           {required: true, message: '必须输入'},
         ],
         houseDate:[
           {required: true, message: '必须输入'},
         ],
-        zZBusinessLicenseDate:[
+        zzbusinessLicenseDate:[
           {required: true, message: '必须输入'},
         ],
         businessLicenseDateIs:[
@@ -2294,13 +2307,14 @@ export default {
         ],
       },
       infoModel:{
+        infoId:"",
         managePhone:"",
         //客户类型
-        customType: "0",
+        customType: 0,
         //使用场景
-        scene: "0",
+        scene: 0,
         houseDate:"",
-        zZBusinessLicenseDate:"",
+        zzbusinessLicenseDate:"",
         businessLicenseDateIs:"",
         businessLicenseDate:"",
         contractDate:"",
@@ -2341,8 +2355,8 @@ export default {
         authorizeBook:[{}],
         authorizeBookRemark:"",
         //经营性呼叫中心增值业务许可证.
-        zZBusinessLicense:[{}],
-        zZBusinessLicenseRemark:"",
+        zzbusinessLicense:[{}],
+        zzbusinessLicenseRemark:"",
         //呼叫中心业务说明.
         centerBusiness:[{}],
         centerBusinessRemark:"",
@@ -2473,7 +2487,11 @@ export default {
   created() {
     this.infoId = this.$route.query.id;
     this.steps.stepsNow = this.steps.steps00;
-    this.steps.currentId = this.steps.stepsNow[0].id
+    this.steps.currentId = this.steps.stepsNow[0].id;
+
+    this.infoModel.infoId = this.$route.query.id;
+    this.getInfoDataById(this.$route.query.id);
+    this.getInfoDataByInfoId(this.$route.query.id)
   },
   computed: {
     importMinioUploadAction() {
@@ -2518,6 +2536,70 @@ export default {
     // this.steps = this.steps00;
   },
   methods: {
+    getInfoDataByInfoId(infoId) {
+      var that = this;
+      if (infoId) {
+        var data = {
+          "infoId": infoId,
+        }
+        postAction(this.url.getInfoDataByInfoId, data).then((res) => {
+          if (res.success) {
+            let result = res.result;
+           // result=this.getInfoDataById(infoId,result)
+            that.infoModel=result;
+            that.infoModel.applySign= JSON.parse(result.applySign);
+            that.infoModel.threePhotos= JSON.parse(result.threePhotos);
+            that.infoModel.commitmentBook= JSON.parse(result.commitmentBook);
+            that.infoModel.isPriceApproval= JSON.parse(result.isPriceApproval);
+            that.infoModel.legalIdCard= JSON.parse(result.legalIdCard);
+            that.infoModel.operatorIdCard= JSON.parse(result.operatorIdCard);
+            that.infoModel.authorizeBook= JSON.parse(result.authorizeBook);
+            that.infoModel.zzbusinessLicense= JSON.parse(result.zzbusinessLicense);
+            that.infoModel.centerBusiness= JSON.parse(result.centerBusiness);
+            that.infoModel.contractOrProve= JSON.parse(result.contractOrProve);
+            that.infoModel.riskTable= JSON.parse(result.riskTable);
+            that.infoModel.trunkTable= JSON.parse(result.trunkTable);
+            that.infoModel.trunkContract= JSON.parse(result.trunkContract);
+            for (var i in that.steps.stepsNow) {
+              for (var j in result[that.steps.stepsNow[i].id]){
+                if (result[that.steps.stepsNow[i].id][0].urlBase!==undefined){
+                  that.steps.stepsNow[i].status = "finish"
+                }
+                if (result[that.steps.stepsNow[i].id+'Remark'][0]!==undefined){
+                  that.steps.stepsNow[i].status = "finish"
+                }
+              }
+            }
+
+          }
+        })
+      }
+    },
+    /**获取客户信息*/
+    getInfoDataById(id,resultA) {
+      var that = this;
+      if (id) {
+        var data = {
+          "id": id,
+        }
+        getAction(this.url.getInfoDataById, data).then((res) => {
+          if (res.success) {
+            let result = res.result;
+            //用户状态
+            that.infoModel.userState =result.userState;
+            //用户发展员工
+            that.infoModel.staffNo =result.staffNo;
+            that.infoModel.customerNo =result.customerNo;
+            that.infoModel.userNo =result.userNo;
+            that.infoModel.networkAccessTime =result.networkAccessTime;
+            that.infoModel.firstActivationDate =result.firstActivationDate;
+            that.infoModel.userCode =result.userCode;
+            that.infoModel.accountCode =result.accountCode;
+          }
+        })
+      }
+      return resultA
+    },
     /**备注坚听*/
     textareaChange(name, nameRemark) {
       if (this.infoModel[nameRemark].length > 0) {
@@ -2551,7 +2633,7 @@ export default {
       var that = this;
       var data=that.infoModel ;
       //data =this.dataListToStr(data);
-      postAction("/smsCheck/customerData/addIsStaging", data).then((res) => {
+      postAction("/smsTurck/customerData/addIsStaging", data).then((res) => {
         if (res.success) {
           this.uploading = false;
           this.$message.success("提交成功", 3);
@@ -2592,11 +2674,10 @@ export default {
         }
       }
 
-      if (this.infoModel.isCsp==='1'){
-        if ((this.infoModel.permitDateDate==="" ||this.infoModel.permitDateDate===null
-        ) && (this.infoModel.permitDateDateIs==="" ||this.infoModel.permitDateDateIs===null ||this.infoModel.permitDateDateIs==='0') ){
+      if (this.infoModel.customType===1){
+        if (this.infoModel.houseDate==="" ||this.infoModel.houseDate===null){
           info="no";
-          this.$message.warn( "增值业务许可证到期时间未填写!!!");
+          this.$message.warn( "房屋租赁合同到期时间 未填写!!!");
         }
       }
       var stringToHTML = function (str) {
@@ -2607,13 +2688,6 @@ export default {
       };
       console.log(stringToHTML('<h1>Hello world!</h1><p>How are you today?</p>'));
       if (info==="no"){
-        //  this.$warning({
-        //    title: '提示',
-        //    dangerouslyUseHTMLString:true,
-        //    content: ( <p>确定要删除及其内容吗?<br />请谨慎操作!</p >),
-        // // content: ( text),
-        //    // content: ( text),
-        //  })
         this.$warning({
           title: '提示',
           dangerouslyUseHTMLString: true,
@@ -2630,7 +2704,7 @@ export default {
       var that = this;
       var data=that.infoModel ;
       //data =this.dataListToStr(data);
-      postAction("/smsCheck/customerData/add", data).then((res) => {
+      postAction("/smsTurck/customerData/add", data).then((res) => {
         if (res.success) {
           this.uploading = false;
           this.$message.success("提交成功", 3);
@@ -2656,35 +2730,55 @@ export default {
       this.steps.currentId = "trunkContract";
       let customType = this.infoModel.customType;
       let scene = this.infoModel.scene;
-      if (customType == '0') {
-        if (scene == '0') {
+      if (customType ===0) {
+        if (scene ===0) {
           this.steps.stepsNow = this.steps.steps00
         }
-        if (scene == '1') {
+        if (scene ===1) {
           this.steps.stepsNow = this.steps.steps01
         }
-        if (scene == '2') {
+        if (scene ===2) {
           this.steps.stepsNow= this.steps.steps02
         }
-        if (scene == '3') {
+        if (scene ===3) {
           this.steps.stepsNow = this.steps.steps02
         }
       }
-      if (customType == '1') {
-        if (scene == '0') {
+      if (customType ===1) {
+        if (scene ===0) {
           this.steps.stepsNow = this.steps.steps10
         }
-        if (scene == '1') {
+        if (scene ===1) {
           this.steps.stepsNow = this.steps.steps11
         }
-        if (scene == '2') {
+        if (scene ===2) {
           this.steps.stepsNow = this.steps.steps12
         }
-        if (scene == '3') {
+        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"
+      //     }
+      // }
+
     },
     /**移除文件*/
     removeFile(fileData, fileAttribute) {