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({