Browse Source

修改产品费率样式

silent 4 years ago
parent
commit
aec6d91649
1 changed files with 43 additions and 28 deletions
  1. 43 28
      src/views/ldt_product_fee/productfee.vue

+ 43 - 28
src/views/ldt_product_fee/productfee.vue

@@ -20,7 +20,8 @@
                @on-load="onLoad">
       <template slot="operate" slot-scope="row">
         <a v-if="row.applicationStatus===AGREEMENT_SIGNING" target="_blank">{{row.agreementSignUrl}}</a>
-        <p v-if="row.applicationStatus===REVIEW_BACK || row.applicationStatus===COMPLETED" target="_blank">{{row.agreementSignUrl}}</p>
+        <p v-if="row.applicationStatus===REVIEW_BACK || row.applicationStatus===COMPLETED">{{row.agreementSignUrl}}</p>
+        <p v-if="row.applicationStatus===AUTHENTICITY_VERIFYING" v-text="progressDescriptionSwitch(row.progressDescription)"></p>
       </template>
     </avue-crud>
   </basic-container>
@@ -153,33 +154,33 @@
             //     trigger: "blur"
             //   }]
             // },
-            {
-              label: "入网进度说明",
-              prop: "progressDescription",
-              dicData: [
-                {
-                  label: "待邮箱验证",
-                  value: "EMAIL_VERIFY"
-                },
-                {
-                  label: "待短信验证",
-                  value: "MOBILE_VERIFY"
-                },
-                {
-                  label: "待短信邮箱验证",
-                  value: "MOBILE_VERIFY"
-                },
-                {
-                  label: "待打款验资",
-                  value: "REMIT_AUTH"
-                }
-              ],
-              rules: [{
-                required: true,
-                message: "请输入入网进度说明",
-                trigger: "blur"
-              }]
-            },
+            // {
+            //   label: "入网进度说明",
+            //   prop: "progressDescription",
+            //   dicData: [
+            //     {
+            //       label: "待邮箱验证",
+            //       value: "EMAIL_VERIFY"
+            //     },
+            //     {
+            //       label: "待短信验证",
+            //       value: "MOBILE_VERIFY"
+            //     },
+            //     {
+            //       label: "待短信邮箱验证",
+            //       value: "MOBILE_VERIFY"
+            //     },
+            //     {
+            //       label: "待打款验资",
+            //       value: "REMIT_AUTH"
+            //     }
+            //   ],
+            //   rules: [{
+            //     required: true,
+            //     message: "请输入入网进度说明",
+            //     trigger: "blur"
+            //   }]
+            // },
           ]
         },
         data: []
@@ -269,6 +270,20 @@
             this.$refs.crud.toggleSelection();
           });
       },
+      progressDescriptionSwitch(value){
+        switch (value){
+          case "EMAIL_VERIFY":
+            return "待邮箱验证";
+          case "MOBILE_VERIFY":
+            return "待短信验证";
+          case "MOBILE_VERIFY":
+            return "待短信邮箱验证";
+          case "REMIT_AUTH":
+            return "待打款验资";
+          default:
+            return "";
+        }
+      },
       beforeOpen(done, type) {
         if (["edit", "view"].includes(type)) {
           getDetail(this.form.id).then(res => {