cuixq преди 4 години
родител
ревизия
2fef5c2aaa
променени са 2 файла, в които са добавени 36 реда и са изтрити 31 реда
  1. 2 2
      front-vue/src/views/system/company/certification.vue
  2. 34 29
      front-vue/src/views/system/fundSide/fundSide.vue

+ 2 - 2
front-vue/src/views/system/company/certification.vue

@@ -1127,7 +1127,7 @@ export default {
             }
             if (response.data.list.scyStatus == "03") {
                     this.active = 1;
-            } else if (response.data.list.scyStatus == "04") {
+            } else if (response.data.list.scyStatus == "05") {
               this.$set(
                 this.form,
                 "pbaiBankaccountId",
@@ -1148,7 +1148,7 @@ export default {
               if (response.data) {
               }
               this.active = 2;
-            } else if (response.data.list.scyStatus == "05") {
+            } else if (response.data.list.scyStatus == "04") {
               this.$set(this.form, "phone", response.data.user.userName);
               this.$set(this.form, "handler", response.data.user.nickName);
               this.$set(

+ 34 - 29
front-vue/src/views/system/fundSide/fundSide.vue

@@ -261,7 +261,7 @@
             v-model="form.smiContractPhone"
             style="width: 215px"
             placeholder="请输入联系人电话"
-            maxlength="15"
+            maxlength="11"
             :disabled="disabled"
           />
         </el-form-item>
@@ -274,7 +274,7 @@
             style="width: 558px"
           ></el-input>
         </el-form-item>
-             <el-form-item label="合作协议">
+        <el-form-item label="合作协议">
           <el-upload
             ref="upload"
             class="upload-demo"
@@ -297,13 +297,13 @@
             >
           </el-upload>
         </el-form-item>
-           <el-button
-              style="margin-left: 10px"
-              size="small"
-              type="success"
-              @click="submitUpload"
-              >上传到服务器</el-button
-            >
+        <el-button
+          style="margin-left: 10px"
+          size="small"
+          type="success"
+          @click="submitUpload"
+          >上传到服务器</el-button
+        >
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="submitForm">确 定</el-button>
@@ -339,9 +339,9 @@ export default {
       //图片预览
       sfzImageUrl: "",
       sfzVisible: false,
-       showBtnImg: false,
-       noneBtnImg: false,
-       limitCountImg: 1,
+      showBtnImg: false,
+      noneBtnImg: false,
+      limitCountImg: 1,
       // id隐藏
       isShow: false,
       // 遮罩层
@@ -398,6 +398,11 @@ export default {
             message: "资金方名称不能为空",
             trigger: ["change", "blur"],
           },
+          {
+            pattern: /^[\u2E80-\u9FFF]|\w|[,,\.。]+$/,
+            message: "客户经理不能含有特殊字符",
+            trigger: "blur",
+          },
         ],
         smiAddress: [
           {
@@ -406,7 +411,7 @@ export default {
             trigger: ["change", "blur"],
           },
         ],
-          smiType: [
+        smiType: [
           {
             required: true,
             message: "资金方类型不能为空",
@@ -433,11 +438,11 @@ export default {
             message: "客户经理不能为空",
             trigger: ["change", "blur"],
           },
-             {
+          {
             pattern: /^[\u2E80-\u9FFF]|\w|[,,\.。]+$/,
             message: "客户经理不能含有特殊字符",
             trigger: "blur",
-          }
+          },
         ],
         smiContract: [
           {
@@ -445,11 +450,11 @@ export default {
             message: "联系人姓名不能为空",
             trigger: ["change", "blur"],
           },
-             {
+          {
             pattern: /^[\u2E80-\u9FFF]|\w|[,,\.。]+$/,
             message: "联系人姓名不能含有特殊字符",
             trigger: "blur",
-          }
+          },
         ],
         smiContractPhone: [
           {
@@ -509,7 +514,7 @@ export default {
         ssId: null,
         ssName: null,
       };
-       this.noneBtnImg = false;
+      this.noneBtnImg = false;
       this.enclosureList = [];
       this.sfzList = [];
       this.resetForm("form");
@@ -556,12 +561,12 @@ export default {
       getFund(scyId).then((response) => {
         console.log(response);
         this.form = response.data.list[0];
-        if (response.data.data&&response.data.data.length!=0) {
+        if (response.data.data && response.data.data.length != 0) {
           this.sfzList.push({
             name: "合作协议",
             url: response.data.data[0].pfiUrl + "/" + getToken(),
           });
-             this.noneBtnImg = true;
+          this.noneBtnImg = true;
         }
         this.open = true;
         this.disableds = false;
@@ -573,15 +578,15 @@ export default {
     handleDetail(row) {
       this.reset();
       const scyId = row.scyId || this.ids;
-    getFund(scyId).then((response) => {
+      getFund(scyId).then((response) => {
         console.log(response);
         this.form = response.data.list[0];
-          if(response.data.data&&response.data.data.length!=0) {
+        if (response.data.data && response.data.data.length != 0) {
           this.sfzList.push({
             name: "合作协议",
             url: response.data.data[0].pfiUrl + "/" + getToken(),
           });
-             this.noneBtnImg = true;
+          this.noneBtnImg = true;
         }
         this.open = true;
         this.disableds = true;
@@ -591,8 +596,8 @@ export default {
     /** 提交按钮 */
     submitForm() {
       this.$refs["form"].validate((valid) => {
-       this.form.smiAgreement = this.sfzList;
-       console.log(this.form.smiAgreement)
+        this.form.smiAgreement = this.sfzList;
+        console.log(this.form.smiAgreement);
         if (valid) {
           if (this.form.scyId != null) {
             const loading = this.$loading({
@@ -650,7 +655,7 @@ export default {
           row.scyStatus = row.scyStatus === "00" ? "01" : "00";
         });
     },
-   //文件移除提示
+    //文件移除提示
     beforeRemove(file, byzList) {
       for (let i = 0; i < this.byzList.length; i++) {
         if (file.uid == this.byzList[i].uid) {
@@ -663,12 +668,12 @@ export default {
     handleExceed(file, sfzList) {
       this.$message.warning(`当前限制选择 20 个文件`);
     },
-        //图片预览
+    //图片预览
     handlePictureCardPreview(file) {
       this.sfzImageUrl = file.url;
       this.sfzVisible = true;
     },
-      dealImgChange(file, sfzList) {
+    dealImgChange(file, sfzList) {
       this.noneBtnImg = sfzList.length >= this.limitCountImg;
     },
     //上传
@@ -676,7 +681,7 @@ export default {
       this.$refs.upload.submit();
     },
     //手动上传文件触发
-        sfzRequest(param) {
+    sfzRequest(param) {
       let fileObj = param.file; // 相当于input里取得的files
       let fd = new FormData(); // FormData 对象
       fd.append("file", fileObj); // 文件对象