From e7980f0d014f56c777a92f46cdfd062067d27df2 Mon Sep 17 00:00:00 2001 From: Teo <2642673902@qq.com> Date: Sun, 14 Sep 2025 17:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E8=81=94=E7=B3=BB=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +- src/api/project/constructionUser/index.ts | 2 +- src/views/materials/purchaseDoc/index.vue | 3 +- src/views/progress/plan/index.vue | 114 ++++++++++++------ src/views/progress/progressCategory/index.vue | 80 +++++++----- src/views/project/attendance/index.vue | 23 ++-- .../projectTeam/component/UserListDialog.vue | 17 ++- src/views/project/projectTeam/index.vue | 12 +- src/views/tender/supplierInput/index.vue | 2 + 9 files changed, 163 insertions(+), 96 deletions(-) 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 @@