Forráskód Böngészése

修改紫金点击撤单无反应

lihongxiao 2 éve
szülő
commit
be9abc569d
3 módosított fájl, 9 hozzáadás és 4 törlés
  1. 2 2
      config/dev.env.js
  2. 0 1
      src/views/Letter/Letter.vue
  3. 7 1
      src/views/Letter/Orderlist.vue

+ 2 - 2
config/dev.env.js

@@ -5,9 +5,9 @@ const prodEnv = require('./prod.env')
 module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG:'"dev"',
-  BASE_URL: '"http://39.98.239.48/web-api"',//测试服务器
+  // BASE_URL: '"http://39.98.239.48/web-api"',//测试服务器
   // BASE_URL:'"http://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
-  // BASE_URL: '"http://192.168.0.111:8080/"' //大哥
+  BASE_URL: '"http://192.168.0.111:8080/"' //大哥
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
 })
 

+ 0 - 1
src/views/Letter/Letter.vue

@@ -4673,7 +4673,6 @@ export default {
       this.companyId = data.result.companyId;
       this.apiType = data.apiType;
       this.hbsubmitdialogVisible = true;
-      console.log(data.namesimple,1111111111)
       if(data.namesimple=='紫金财险'){
         this.$api.letter.zijinqueryClauseData({ companyId: this.companyId }).then(res => {
             this.zijinengageListData = res.data;

+ 7 - 1
src/views/Letter/Orderlist.vue

@@ -1584,7 +1584,13 @@ export default {
     },
     cancelorder(item) {
       this.$api.letter.zijincancelorder({ companyId: item.id }).then(res => {
-
+        if(res.code==200){
+          this.$message({
+          message: res.msg,
+          type: 'success'
+        });
+        this.findPage()
+        }
       })
     },
     //二维码