lihongxiao 3 лет назад
Родитель
Сommit
f37c4ad9fa
2 измененных файлов с 5 добавлено и 6 удалено
  1. 2 2
      config/dev.env.js
  2. 3 4
      src/views/Letter/Letter.vue

+ 2 - 2
config/dev.env.js

@@ -7,6 +7,6 @@ module.exports = merge(prodEnv, {
   ENV_CONFIG:'"dev"',
   // 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.115:8080/"' //凯森
+  BASE_URL: '"http://192.168.0.111:8080/"' //大哥
+  // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
 })

+ 3 - 4
src/views/Letter/Letter.vue

@@ -3052,8 +3052,6 @@ export default {
     },
     //动态函数
     ToolClickFun(MethodName, Parameter, companyId) {
-      console.log(MethodName, Parameter, companyId,11111111)
-
       this[`${MethodName}`](Parameter, companyId);
     },
     //更新图片
@@ -3134,6 +3132,7 @@ export default {
             if (ele.checked) {
               //动态调用报价接口
               ele.quoteCode = 1;
+
               this.ToolClickFun(ele.cnName, index, ele.id);
             }
           });
@@ -3381,7 +3380,7 @@ export default {
         cqryCdeSy: this.cqryCdeSy,
         renewalCodeJq: this.renewalCodeJq,
         renewalCodeSy: this.renewalCodeSy,
-        agreementId: this.accidentForm.agreementId
+        agreementId: this.totalCompanyList[num].agreementId,
       };
       this.$api.letter.yongchengquote(params).then(res => {
         this.totalCompanyList[num].msg = res.msg;
@@ -3471,7 +3470,7 @@ export default {
         cqryCdeSy: this.cqryCdeSy,
         renewalCodeJq: this.renewalCodeJq,
         renewalCodeSy: this.renewalCodeSy,
-        agreementId: this.accidentForm.agreementId
+        agreementId: this.totalCompanyList[num].agreementId,
       };
       this.$api.letter.guorenquote(params).then(res => {
         this.totalCompanyList[num].msg = res.msg;