lianghanqiang 4 anos atrás
pai
commit
892148cd4f

+ 1 - 1
src/page/login/userlogin.vue

@@ -249,7 +249,7 @@
       getTenant() {
         let domain = getTopUrl();
         // 临时指定域名,方便测试
-        //domain = "https://bladex.vip";
+        // domain = "https://bladex.vip";
         info(domain).then(res => {
           const data = res.data;
           if (data.success && data.data.tenantId) {

+ 6 - 4
src/views/ldt_mall/comps/mall_audit.vue

@@ -124,7 +124,7 @@
     <div style="display: flex;justify-content: flex-end;margin-top: 50px">
       <el-button v-if="active!=1" @click="active--">上一步</el-button>
       <el-button v-if="active!=totalStep" type="primary" @click="next">下一步</el-button>
-      <el-button v-else type="primary" @click="next">确认</el-button>
+      <el-button :disabled="confirm" v-else type="primary" @click="next">确认</el-button>
     </div>
 
   </div>
@@ -157,6 +157,7 @@
     data() {
       return {
         active: 1,
+        confirm: false,
         totalStep: 4,
         mallDetail: {},
         //审核表单
@@ -482,8 +483,7 @@
             Object.keys(this.merchantSubjectForm).forEach((key) => {this.merchantSubjectForm[key] = data[key];});
             Object.keys(this.businessAddressForm).forEach((key) => {this.businessAddressForm[key] = data[key];});
             Object.keys(this.settlementAccountForm).forEach((key) => {this.settlementAccountForm[key] = data[key];});
-            this.processInstanceId = data.processInstanceId;
-            this.auditForm.id = data.id;
+            this.auditForm = data;
           }
         })
       },
@@ -613,6 +613,7 @@
         this.$refs[formName].resetFields();
       },
       async submit() {
+        this.confirm = true;
         Object.assign(this.auditForm, this.merchantCorporationForm,
           this.merchantContactForm, this.merchantSubjectForm,
           this.businessAddressForm)
@@ -639,6 +640,7 @@
                   type: "success",
                   message: "修改成功!"
                 });
+                this.$emit("finish",{});
               })
             }
         }else{
@@ -648,8 +650,8 @@
                   message: "修改成功!"
                 });
               }) 
+              this.$emit("finish",{});
         }
-        this.$emit(finish,{});
       },
       /**
        * 上传法人身份证正面照

+ 0 - 1
src/views/ldt_mall/mall.vue

@@ -468,7 +468,6 @@ export default {
       console.log(row);
       getAudit({entityId: row.id}).then(res => {
         let audit = res.data.data;
-        console.log(audit.processInstanceId, row.id)
         this.$router.push(`/work/process/shop/handle/${audit.processInstanceId}/${audit.id}`)
       })
     },

+ 3 - 1
vue.config.js

@@ -26,7 +26,9 @@ module.exports = {
     proxy: {
       '/api': {
         //本地服务接口地址
-        target: 'http://localhost:2366',
+        // target: 'http://localhost:2366',
+        target: 'https://ldt.guosen-fumao.cn/api',
+        
         //远程演示服务地址,可用于直接启动项目
         //target: 'https://saber.bladex.vip/api',
         ws: true,