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

修改协议费用审核分页问题

wuguojie 1 éve
szülő
commit
5f3e15e157

+ 2 - 2
config/dev.env.js

@@ -5,7 +5,7 @@ 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://test.baoxianzhanggui.com/web-api"',//测试服务器
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"',//正式服务器
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"', //凯森
@@ -18,7 +18,7 @@ module.exports = merge(prodEnv, {
   // BASE_URL: '"http://192.168.0.250:8080/"',//
   //  BASE_URL: '"http:///192.168.0.103:8080/"',//霍续亮
   // BASE_URL: '"http://192.168.0.52:8080/"',//贺礼霄
-  BASE_URL: '"http:///192.168.0.55:8080/"',// 董鑫
+  // BASE_URL: '"http:///192.168.0.55:8080/"',// 董鑫
   CONSOLE_BASE_URL: '"http://localhost:8080/"', //控制台测试服务器
   // CONSOLE_BASE_URL: '"https://test.baoxianzhanggui.com/console-api"' //控制台正式服务器
   APP_BASE_URL: '"https://pre.baoxianzhanggui.com/web-api"',    // app打包上传地址

+ 5 - 3
src/views/AgreementManage/CarInsurance/ProductCostExamine.vue

@@ -12,7 +12,7 @@
 
       <el-form-item label="协议选择">
         <el-select size="small" multiple clearable collapse-tags filterable v-model="productpageRequest.agreementIdList" :placeholder="'请输入'">
-          <el-option v-for="(s, i) in agreementList" :key="i" 
+          <el-option v-for="(s, i) in agreementList" :key="i"
           :label="s.agreementTitle + '-' + (s.businessDescription || ' ') + '-' + (s.jobDescription || '  ')" :value="s.id"></el-option>
         </el-select>
       </el-form-item>
@@ -692,8 +692,10 @@ export default {
         });
     },
     agreementIdFormatter(row, column) {
-      return this.allAgreementList.find((val) => val.id == row.agreementId)
-        .agreementName;
+      let allAgreementItem = this.allAgreementList.find((val) => val.id == row.agreementId)
+      if(allAgreementItem) {
+        return allAgreementItem.agreementName;
+      }
     },
   },
   // 计算属性