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

+ 2 - 2
config/dev.env.js

@@ -5,8 +5,8 @@ const prodEnv = require('./prod.env')
 module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG:'"dev"',
-  BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
-  // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
+  // BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
+  BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.253:8082/"',//田智
   // BASE_URL: '"http:///192.168.0.253:8082/"',//田智

+ 6 - 15
src/views/Letter/Letter.vue

@@ -1563,7 +1563,6 @@
                   :data="anshengInsuranceData1"
                   border
                   v-if="anshengInsurancetype"
-                  @row-click="ASDrivingChange"
                   ref="RsTable"
                   highlight-current-row
                   :header-cell-style="{ background: '#F2F7FC', fontWeight: '700', color: '#ee7000' }"
@@ -5689,17 +5688,6 @@ else{
     RSDrivingChange(row){
       this.renshouaccidentalDrivingVo=row;
     },
-    //安盛驾意险选择
-    ASDrivingChange(row){
-      if(this.AStemplateSelection==row.productCode){
-        this.AStemplateSelection=null;
-        this.anshengaccidentalDrivingVo={};
-      }else{
-        this.AStemplateSelection=row.productCode;
-        this.anshengaccidentalDrivingVo.productCode=row.productCode;
-        this.anshengaccidentalDrivingVo.productName=row.productName;
-      }
-    },
     //众安驾意险选择
     ZADrivingChange(row){
       this.zhonganaccidentalDrivingVo=row;
@@ -5710,8 +5698,11 @@ else{
     HBDrivingRadio(row){
       this.HBDrivingChange(row)
     },
+    //安盛驾意险选择
     ASDrivingRadio(row){
-      this.ASDrivingChange(row)
+      this.AStemplateSelection=row.productCode;
+      this.anshengaccidentalDrivingVo.productCode=row.productCode;
+      this.anshengaccidentalDrivingVo.productName=row.productName;
     },
     ZADrivingRadio(row){
       this.ZADrivingChange(row)
@@ -5729,8 +5720,8 @@ else{
             val.clauseName=val.clauses
             val.clauseContent=val.clausesContext
           })
-            this.zijinengageListData = res.data;
-          });
+          this.zijinengageListData = res.data;
+        });
     },
     //紫金特约选择
     zijinengageChange(select, row) {