From f45287234207e359d660547630ab9a6717ebffbd Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 6 Feb 2024 15:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E6=B0=B4=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 + .env.production | 3 +++ src/views/contract/components/editorContract.vue | 7 ++++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index 254c09f..f4e6773 100644 --- a/.env.development +++ b/.env.development @@ -9,3 +9,4 @@ VUE_APP_UPLOAD=http://hdcontract.ali251.langye.net/api/admin/upload-file #VUE_APP_UPLOAD=http://192.168.60.99:9003/api/admin/upload-file VUE_APP_OUT_URL = http://192.168.60.18:2021 +#VUE_APP_OUT_URL = http://suzhouhedaooa.langye.net diff --git a/.env.production b/.env.production index 788deaf..2d81aaf 100644 --- a/.env.production +++ b/.env.production @@ -6,3 +6,6 @@ VUE_APP_DOMIAN=http://192.168.60.99:9003/ VUE_APP_BASE_API = '' VUE_APP_OUT_URL = http://192.168.60.18:2021 VUE_APP_UPLOAD=http://192.168.60.99:9003/api/admin/upload-file +#VUE_APP_DOMIAN=http://hdcontract.ali251.langye.net/ +#VUE_APP_BASE_API = '' +#VUE_APP_UPLOAD=http://hdcontract.ali251.langye.net/api/admin/upload-file diff --git a/src/views/contract/components/editorContract.vue b/src/views/contract/components/editorContract.vue index 549c670..007b106 100644 --- a/src/views/contract/components/editorContract.vue +++ b/src/views/contract/components/editorContract.vue @@ -510,9 +510,10 @@ const oaFlow = res.data.flow.data[0] console.log('oaFlow',oaFlow) updateContract({ - out_contract_id: this.detail.id, - flow_type: flow_type.get(key), - status: oaFlow.status + out_contract_id: this.contrantId, + flow_type: flow_type.get(table), + status: oaFlow.status, + flow_id: this.oaFlow[table] }) } else { this.$message({