From 09691bdbe60c98e3dc18e4e931a2fd22084b2d77 Mon Sep 17 00:00:00 2001 From: ljx <15723110242@139.com> Date: Fri, 29 Aug 2025 10:36:16 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B91111?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project/project/index.ts | 2 -- src/views/biddingManagemen/appointment/index.vue | 2 +- src/views/project/project/index.vue | 10 +++++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/api/project/project/index.ts b/src/api/project/project/index.ts index 04d5b65..cd3d1d7 100644 --- a/src/api/project/project/index.ts +++ b/src/api/project/project/index.ts @@ -96,8 +96,6 @@ export const addProjectFacilities = (data: any) => { * @param data */ export const addProjectPilePoint = (data: any) => { - console.log('🚀 ~ addProjectPilePoint ~ data:', data); - return request({ url: '/facility/photovoltaicPanelPoint/parts/geoJson', method: 'post', diff --git a/src/views/biddingManagemen/appointment/index.vue b/src/views/biddingManagemen/appointment/index.vue index c71349c..835b495 100644 --- a/src/views/biddingManagemen/appointment/index.vue +++ b/src/views/biddingManagemen/appointment/index.vue @@ -25,7 +25,7 @@ placeholder="请选择招投标专员" class="w-full transition-all duration-300 border-gray-300 focus:border-blue-400 focus:ring-1 focus:ring-blue-400" > - + diff --git a/src/views/project/project/index.vue b/src/views/project/project/index.vue index 31a0bbd..04ec6b7 100644 --- a/src/views/project/project/index.vue +++ b/src/views/project/project/index.vue @@ -46,7 +46,9 @@ diff --git a/src/views/materials/appointment/index.vue b/src/views/materials/appointment/index.vue index cda181e..710abb2 100644 --- a/src/views/materials/appointment/index.vue +++ b/src/views/materials/appointment/index.vue @@ -10,7 +10,7 @@ @click="isDisabled = false" class="px-8 py-2.5 transition-all duration-300 font-medium" v-if="isDisabled" - v-hasPermi="['ailiaoshebei:purchaseUser:byProject']" + v-hasPermi="['cailiaoshebei:purchaseUser:addOrUpdate']" > 点击编辑 @@ -38,7 +38,7 @@ @click="submitForm" icon="Check" class="px-8 py-2.5 transition-all duration-300 transform hover:scale-105 bg-blue-500 hover:bg-blue-600 text-white font-medium" - v-hasPermi="['cailiaoshebei:purchaseUser:add']" + v-hasPermi="['cailiaoshebei:purchaseUser:addOrUpdate']" > 确认提交 @@ -121,6 +121,7 @@ const designUser = async () => { return; } Object.assign(form, res.data); + // form.userId = res.data.userId; isDisabled.value = true; } } catch (error) { diff --git a/src/views/tender/plan/index.vue b/src/views/tender/plan/index.vue index dfc29b3..63a4eff 100644 --- a/src/views/tender/plan/index.vue +++ b/src/views/tender/plan/index.vue @@ -167,10 +167,7 @@ - 一键展开 - - - 一键收起 + {{ isExpandAll ? '一键收起' : '一键展开' }} @@ -514,11 +511,12 @@ const changeSheet = () => { getTreeList(); }; -const toggleExpandAll = (isExpand: boolean) => { +const toggleExpandAll = () => { + isExpandAll.value = !isExpandAll.value; + console.log(isExpandAll.value); treeData.value.forEach((row) => { - treeTableRef.value.toggleRowExpansion(row, isExpand); + treeTableRef.value.toggleRowExpansion(row, isExpandAll.value); }); - isExpandAll.value = isExpand; }; //打开获取表数据 const getTreeList = async () => {