瀏覽代碼

电子保单显示

lihongxiao 2 年之前
父節點
當前提交
846cb49263
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      config/dev.env.js
  2. 1 1
      src/views/Letter/Orderlist.vue

+ 2 - 2
config/dev.env.js

@@ -6,8 +6,8 @@ module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   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.115:8080/"' //凯森
+  BASE_URL:'"http://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.36:8080/"',//靖燕龙
 })

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

@@ -2013,7 +2013,7 @@ export default {
                   this.$api.letter.pythongetPolicyPrint({
                     subOrderNo: item.id,
                   }).then(res => {
-                    if (res.code==500 && res.data) {  
+                    if (res.code==200 && res.data) {  
                       if (res.data.jqxPolicyUrl) {
                         this.oldfileList.push({
                           fileTitle: "交强电子保单",