Explorar o código

已经把上传路径加上stage-api

JXDS18FUJT %!s(int64=2) %!d(string=hai) anos
pai
achega
7990c288c2

+ 1 - 1
src/views/price/controller/index.vue

@@ -51,7 +51,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/xxgl-admin/controller/info/import"
+          action="http://xxgl.zzxcx.net/stage-api/controller/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/engine/index.vue

@@ -239,7 +239,7 @@ emissionStandard">
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/xxgl-admin/engine/info/import"
+          action="http://xxgl.zzxcx.net/stage-api/engine/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/gallery/index.vue

@@ -5,7 +5,7 @@
             <el-col :span="1.5">
                 <el-upload :show-file-list="false" class="upload-demo" with-credentials :headers="{
                     'Authorization': 'Bearer ' + token
-                }" action="http://xxgl.zzxcx.net/xxgl-admin/file/info" :data="{
+                }" action="http://xxgl.zzxcx.net/stage-api/file/info" :data="{
     id: priceId,
     type: type
 

+ 1 - 1
src/views/price/generator/hz50/index.vue

@@ -168,7 +168,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/xxgl-admin/fdj50/info/import"
+          action="http://xxgl.zzxcx.net/stage-api/fdj50/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/generator/hz60/index.vue

@@ -168,7 +168,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/xxgl-admin/fdj60/info/import"
+          action="http://xxgl.zzxcx.net/stage-api/fdj60/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 1 - 1
src/views/price/manage/hz50/index.vue

@@ -184,7 +184,7 @@
             :headers="{
               Authorization: 'Bearer ' + token,
             }"
-            action="http://xxgl.zzxcx.net/xxgl-admin/price/info/import"
+            action="http://xxgl.zzxcx.net/stage-api/price/info/import"
             :on-success="handleSuccess"
             multiple
             accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"

+ 2 - 1
src/views/price/manage/hz60/index.vue

@@ -184,13 +184,14 @@
             :headers="{
               Authorization: 'Bearer ' + token,
             }"
-            action="http://xxgl.zzxcx.net/xxgl-admin/price/info/import"
+            action="http://xxgl.zzxcx.net/stage-api/price/info/import"
             :on-success="handleSuccess"
             multiple
             accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"
             :file-list="fileList"
           >
             <el-button
+            
               type="warning"
               icon="el-icon-bottom"
               size="mini"

+ 1 - 1
src/views/price/manage/index.vue

@@ -184,7 +184,7 @@
           :headers="{
             Authorization: 'Bearer ' + token,
           }"
-          action="http://xxgl.zzxcx.net/xxgl-admin/price/info/import"
+          action="http://xxgl.zzxcx.net/stage-api/price/info/import"
           :on-success="handleSuccess"
           multiple
           accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"