lxf před 1 rokem
rodič
revize
1b1de73f41

+ 12 - 12
.env.development

@@ -4,19 +4,19 @@ ENV = 'development'
 # 尔泓/开发环境
 VUE_APP_BASE_API = '/api'
 
-# VUE_APP_ACTION_URL='http://www.printmat.cn:8181/api/blade-resource/local/file/upload'
-# VUE_APP_EXPRESSAGE_URL='http://www.printmat.cn:8181/api/saas-production/saas/production/expressagereconciliation/save'
-# VUE_APP_ACTION_PRODUCT_URL='http://www.printmat.cn:8181/api/saas-group/saas/group/product/excel/product/import'
-# VUE_APP_IMG_URL='http://www.printmat.cn:8181/file'
-# VUE_APP_FILE_PREFIX='ftp://www.printmat.cn/'
-# VUE_APP_MESSAGE_URL='ws://www.printmat.cn:8181/api'
+VUE_APP_ACTION_URL='http://www.printmat.cn:8181/api/blade-resource/local/file/upload'
+VUE_APP_EXPRESSAGE_URL='http://www.printmat.cn:8181/api/saas-production/saas/production/expressagereconciliation/save'
+VUE_APP_ACTION_PRODUCT_URL='http://www.printmat.cn:8181/api/saas-group/saas/group/product/excel/product/import'
+VUE_APP_IMG_URL='http://www.printmat.cn:8181/file'
+VUE_APP_FILE_PREFIX='ftp://www.printmat.cn/'
+VUE_APP_MESSAGE_URL='ws://www.printmat.cn:8181/api'
 
-VUE_APP_ACTION_URL='http://192.168.1.164/api/blade-resource/local/file/upload'
-VUE_APP_EXPRESSAGE_URL='http://192.168.1.164/api/saas-production/saas/production/expressagereconciliation/save'
-VUE_APP_ACTION_PRODUCT_URL='http://192.168.1.164/api/saas-group/saas/group/product/excel/product/import'
-VUE_APP_IMG_URL='http://192.168.1.164/file'
-VUE_APP_FILE_PREFIX='ftp://192.168.1.89/'
-VUE_APP_MESSAGE_URL='ws://192.168.1.164/api'
+# VUE_APP_ACTION_URL='http://192.168.1.164/api/blade-resource/local/file/upload'
+# VUE_APP_EXPRESSAGE_URL='http://192.168.1.164/api/saas-production/saas/production/expressagereconciliation/save'
+# VUE_APP_ACTION_PRODUCT_URL='http://192.168.1.164/api/saas-group/saas/group/product/excel/product/import'
+# VUE_APP_IMG_URL='http://192.168.1.164/file'
+# VUE_APP_FILE_PREFIX='ftp://192.168.1.89/'
+# VUE_APP_MESSAGE_URL='ws://192.168.1.164/api'
 
 
 VUE_APP_TIME = 3000000

+ 1 - 1
src/views/shengde/productionSystem/productionOperation/batching/stay.vue

@@ -300,7 +300,7 @@ export default {
       this.loading = true
       API.list(this.queryParams).then(
         (res) => {
-          this.tableList = res.data.data.records
+          this.tableList = Object.freeze(res.data.data.records)
           this.total = res.data.data.total
           this.loading = false
         },

+ 2 - 2
vue.config.js

@@ -57,9 +57,9 @@ module.exports = {
     proxy: {
       [process.env.VUE_APP_BASE_API]: {
         //本地服务接口地址
-        // target: 'http://www.printmat.cn:8866',
+        target: 'http://www.printmat.cn:8866',
         // target: 'http://116.205.162.119:8866',
-        target: 'http://192.168.1.164:8866',
+        // target: 'http://192.168.1.164:8866',
         changeOrigin: true,
         pathRewrite: {
           [`^${process.env.VUE_APP_BASE_API}`]: '/',