From 2993090b64efe848b1d51bed2bbb59dfa2a73369 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 4 Jul 2023 15:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B0=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 16 ++++++++-------- src/views/stocks/component/detailContract.vue | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.env.production b/.env.production index 55c7919..c66d5c7 100644 --- a/.env.production +++ b/.env.production @@ -2,15 +2,15 @@ ENV = 'production' # base api -#VUE_APP_BASE_API = http://192.168.60.99:9004/ -#VUE_APP_UPLOAD_API = http://192.168.60.99:9004/api/admin/upload-file -#VUE_APP_OA_URL = http://192.168.60.18:2021 -#VUE_APP_OA_URL_TYPE = '{"领用":"37","处置":"38","应急":"39"}' +VUE_APP_BASE_API = http://192.168.60.99:9004/ +VUE_APP_UPLOAD_API = http://192.168.60.99:9004/api/admin/upload-file +VUE_APP_OA_URL = http://192.168.60.18:2021 +VUE_APP_OA_URL_TYPE = '{"领用":"37","处置":"38","应急":"39"}' -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 -VUE_APP_OA_URL= http://suzhouhedaooa.langye.net -VUE_APP_OA_URL_TYPE = '{"领用":"31","处置":"32","应急":"33"}' +#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 +#VUE_APP_OA_URL= http://suzhouhedaooa.langye.net +#VUE_APP_OA_URL_TYPE = '{"领用":"31","处置":"32","应急":"33"}' diff --git a/src/views/stocks/component/detailContract.vue b/src/views/stocks/component/detailContract.vue index 01692de..23d70b8 100644 --- a/src/views/stocks/component/detailContract.vue +++ b/src/views/stocks/component/detailContract.vue @@ -245,7 +245,7 @@ } let res = await getOatoken() let url = - `${process.env.VUE_APP_OUT_URL}/admin/flow/view/${this.detail.purchase_last_flow_id}?oatoken=${res.oatoken}` + `${process.env.VUE_APP_OA_URL}/admin/flow/view/${this.detail.purchase_last_flow_id}?oatoken=${res.oatoken}` let seeBuy = window.open(url, 'seeBuy', `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0` ) @@ -261,7 +261,7 @@ } let res = await getOatoken() let url = - `${process.env.VUE_APP_OUT_URL}/admin/flow/view/${this.detail.invite_last_flow_id}?oatoken=${res.oatoken}` + `${process.env.VUE_APP_OA_URL}/admin/flow/view/${this.detail.invite_last_flow_id}?oatoken=${res.oatoken}` let seeBidding = window.open(url, 'seeBidding', `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0` ) @@ -277,7 +277,7 @@ } let res = await getOatoken() let url = - `${process.env.VUE_APP_OUT_URL}/admin/flow/view/${this.detail.join_last_flow_id}?oatoken=${res.oatoken}` + `${process.env.VUE_APP_OA_URL}/admin/flow/view/${this.detail.join_last_flow_id}?oatoken=${res.oatoken}` let seeSign = window.open(url, 'seeSign', `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0` ) @@ -294,7 +294,7 @@ } let res = await getOatoken() let url = - `${process.env.VUE_APP_OUT_URL}/admin/flow/view/${this.detail.req_last_flow_id}?oatoken=${res.oatoken}` + `${process.env.VUE_APP_OA_URL}/admin/flow/view/${this.detail.req_last_flow_id}?oatoken=${res.oatoken}` let seeAsk = window.open(url, 'seeAsk', `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0` )