diff --git a/.env.development b/.env.development index 15f9210..4010a4c 100644 --- a/.env.development +++ b/.env.development @@ -7,13 +7,13 @@ VITE_APP_ENV = 'development' # 开发环境 # VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 李陈杰 209 -# VITE_APP_BASE_API = 'http://192.168.110.209:8899' +VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 李陈杰 209 # VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 曾涛 -VITE_APP_BASE_API = 'http://192.168.110.180:8899' +# VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 罗成 -# VITE_APP_BASE_API = 'http://192.168.110.209:8899' +# VITE_APP_BASE_API = 'http://192.168.110.188:8899' # 朱银 # VITE_APP_BASE_API = 'http://192.168.110.149:8899' #曾涛 diff --git a/src/api/project/constructionUser/index.ts b/src/api/project/constructionUser/index.ts index 9c20a99..aad0902 100644 --- a/src/api/project/constructionUser/index.ts +++ b/src/api/project/constructionUser/index.ts @@ -186,7 +186,7 @@ export const dowloadConstructionUserTemplate = (query: ConstructionUserTemplateF */ export const delConstructionUserMember = (data: ConstructionUserMembeForm) => { return request({ - url: '/contractor/projectTeamMember/', + url: '/project/projectTeamMember/', method: 'delete', data }); diff --git a/src/views/materials/purchaseDoc/index.vue b/src/views/materials/purchaseDoc/index.vue index 546339b..b7decbf 100644 --- a/src/views/materials/purchaseDoc/index.vue +++ b/src/views/materials/purchaseDoc/index.vue @@ -421,6 +421,7 @@ const handleDetail = async (row?: PurchaseDocVO) => { /** 表单重置 */ const reset = () => { form.value = { ...initFormData }; + planList.value = []; purchaseDocFormRef.value?.resetFields(); form.value.projectId = currentProject.value?.id; }; @@ -494,7 +495,7 @@ const submitForm = () => { purchaseDocFormRef.value?.validate(async (valid: boolean) => { if (valid) { buttonLoading.value = true; - form.value.associationList = selectPlanList.value; + form.value.associationList = JSON.parse(JSON.stringify(selectPlanList.value)); form.value.associationList.forEach((item: any) => { item.planId = item.id; delete item.id; diff --git a/src/views/progress/plan/index.vue b/src/views/progress/plan/index.vue index 433cb9b..6cab6da 100644 --- a/src/views/progress/plan/index.vue +++ b/src/views/progress/plan/index.vue @@ -1,14 +1,12 @@