Tiroble 3 éve
szülő
commit
65129d59a0

+ 2 - 1
build/utils.js

@@ -18,7 +18,8 @@ const devPathSrc = path.resolve(__dirname, '../../../src'); // node_modules应
 
 
 
- let devModules = ['all']
+//  let devModules = ['all']
+let devModules = ['index','RMS']
 // let devModules = ['index','TMS','SporadicManage']
 //  let devModules = ['index','WMS','sale','TMS','inward','SporadicManage']
 // let devModules = ['index','SporadicManage','TMS','statisticalReport','RMS'];

+ 2 - 2
config/index.js

@@ -64,9 +64,9 @@ let proxyTable = {
   },
   // 所有数据的请求域名地址
   "/api/v1": {
-   // target: "http://172.16.33.166:8080",
+    target: "http://172.16.33.166:8080",
     // target: "http://localhost:8080",
-     target: "http://localhost:8019",
+    // target: "http://localhost:8019",
     // target: "http://192.168.1.107:8019",
     ws: true,
     pathRewrite: {

+ 6 - 6
src/views/RMS/components/addCarrier.vue

@@ -35,7 +35,7 @@
     <el-upload
       class="upload-demo"
       ref="upload1"
-      action="http://localhost:8014/api/v1/rms/rmscarrier/uploadCarrier1"
+      action="http://172.16.33.166:8060/api/v1/rms/rmscarrier/uploadCarrier1"
       :before-upload="beforeUpload"
       :multiple="false"
       list-type="picture"
@@ -58,7 +58,7 @@
     <el-upload
       class="upload-demo"
       ref="upload2"
-      action="http://localhost:8014/api/v1/rms/rmscarrier/uploadCarrier1"
+      action="http://172.16.33.166:8060/api/v1/rms/rmscarrier/uploadCarrier1"
       :before-upload="beforeUpload"
       :multiple="false"
       list-type="picture"
@@ -81,7 +81,7 @@
     <el-upload
       class="upload-demo"
       ref="upload3"
-      action="http://localhost:8014/api/v1/rms/rmscarrier/uploadCarrier1"
+      action="http://172.16.33.166:8060/api/v1/rms/rmscarrier/uploadCarrier1"
       :before-upload="beforeUpload"
       :multiple="false"
       list-type="picture"
@@ -196,15 +196,15 @@ export default {
         if (this.num == 1) {
           this.shippingCertificate = null;
           this.imageUrl1 = null;
-          this.$message.error("上传失败");
+          // this.$message.error("上传失败");
         } else if (this.num == 2) {
           this.businessLicense = null;
           this.imageUrl2 = null;
-          this.$message.error("上传失败");
+          // this.$message.error("上传失败");
         } else if (this.num == 3) {
           this.businessLicense1 = null;
           this.imageUrl3 = null;
-          this.$message.error("上传失败");
+          // this.$message.error("上传失败");
         }
       }
     },

+ 1 - 1
src/views/RMS/components/showCarrier.vue

@@ -1,7 +1,7 @@
 <template>
   <!-- 修改承运商信息 -->
   <div id="contractDetails">
-    <page-title>编辑</page-title>
+    <page-title>查看详情</page-title>
     <div class="main">
     </div>
     <div class="contractimage">