From c628770d30a74de315af35b150915acaa69bcbaa Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 21 Jun 2023 14:19:20 +0800 Subject: [PATCH] up --- .env.development | 2 ++ .env.production | 2 ++ src/api/contract.js | 2 +- src/views/inventorys/index.vue | 3 ++- src/views/outbounds/index.vue | 3 ++- src/views/stocks/index.vue | 3 ++- 6 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index fdbdc16..9b6cfc6 100644 --- a/.env.development +++ b/.env.development @@ -2,6 +2,8 @@ ENV='development' # base api +#VUE_APP_BASE_API = http://192.168.60.100:9002/ +#VUE_APP_UPLOAD_API = http://192.168.60.100:9002/api/admin/upload-file VUE_APP_BASE_API = http://hd-wuziguanli-test.ali251.langye.net/ VUE_APP_UPLOAD_API = http://hd-wuziguanli-test.ali251.langye.net/api/admin/upload-file diff --git a/.env.production b/.env.production index e4fe6a9..7e9e9dc 100644 --- a/.env.production +++ b/.env.production @@ -2,5 +2,7 @@ ENV = 'production' # base api +#VUE_APP_BASE_API = http://192.168.60.100:9002/ +#VUE_APP_UPLOAD_API = http://192.168.60.100:9002/api/admin/upload-file VUE_APP_BASE_API = http://hd-wuziguanli-test.ali251.langye.net/ VUE_APP_UPLOAD_API = http://hd-wuziguanli-test.ali251.langye.net/api/admin/upload-file diff --git a/src/api/contract.js b/src/api/contract.js index de7e3af..1c08905 100644 --- a/src/api/contract.js +++ b/src/api/contract.js @@ -2,7 +2,7 @@ import request from '@/utils/request' export function index(params) { return request({ - url: 'http://192.168.60.100:9002/api/admin/other/contract', + url: '/api/admin/other/contract', method: 'get', params:params }) diff --git a/src/views/inventorys/index.vue b/src/views/inventorys/index.vue index d545150..8c6e465 100644 --- a/src/views/inventorys/index.vue +++ b/src/views/inventorys/index.vue @@ -249,7 +249,8 @@ }, pageChange(e) { - this.select.pageIndex = e + this.select.pageIndex = e + this.getindex() }, editorRuku(id,type){ this.$refs['addRuku'].id = id diff --git a/src/views/outbounds/index.vue b/src/views/outbounds/index.vue index 906ea52..8af48ff 100644 --- a/src/views/outbounds/index.vue +++ b/src/views/outbounds/index.vue @@ -141,7 +141,8 @@ }, pageChange(e) { - this.select.pageIndex = e + this.select.pageIndex = e + this.getIndex() }, editorRuku(id, type) { this.$refs['addoutbounds'].id = id diff --git a/src/views/stocks/index.vue b/src/views/stocks/index.vue index 95105f6..a8adedf 100644 --- a/src/views/stocks/index.vue +++ b/src/views/stocks/index.vue @@ -148,7 +148,8 @@ }, pageChange(e) { - this.select.pageIndex = e + this.select.pageIndex = e + this.getIndex() }, editorRuku(id, type) { this.$refs['addRuku'].id = id