Explorar o código

驾意险保单

lihongxiao %!s(int64=2) %!d(string=hai) anos
pai
achega
8a4966f3bc
Modificáronse 3 ficheiros con 9 adicións e 5 borrados
  1. 2 2
      config/dev.env.js
  2. 1 0
      src/views/Letter/Letter.vue
  3. 6 3
      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.115:8080/"' //凯森
+  BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.106:8080/"',//田智
 })
 

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

@@ -5320,6 +5320,7 @@ export default {
                     })
                     this.imgList3.push(res.data[keys]);
                     break;
+                    
                   case 'D02':
                     this.imageList2.push({
                       imageId: res.data[keys].imageId,

+ 6 - 3
src/views/Letter/Orderlist.vue

@@ -2587,12 +2587,15 @@ export default {
                       fileurl: res.data.syxPolicyUrl,
                     });
                   }
-                  if (res.data.jyxPolicyUrl) {
-                    this.oldfileList.push({
+                  if (res.data.jyxInfoList && res.data.jyxInfoList.length>0) {
+                    res.data.jyxInfoList.forEach(val=>{
+                      this.oldfileList.push({
                       fileTitle: "驾意险保单",
                       filename: 'xxxxxxxxxxxxxxxxxxxxxx',
-                      fileurl: res.data.jyxPolicyUrl,
+                      fileurl: val.jyx_policy_url,
                     });
+                    })
+                   
                   }
                 })
               }