From c73b13f83a6850d687506c4c9e24c715a9f75605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=90=8C=E5=AD=A6?= Date: Fri, 17 Oct 2025 09:47:40 +0800 Subject: [PATCH] =?UTF-8?q?UPDATE:=20=E5=88=A0=E9=99=A4=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/plan/planList/index.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/views/plan/planList/index.vue b/frontend/src/views/plan/planList/index.vue index 4cd2ecc..81b1fa7 100644 --- a/frontend/src/views/plan/planList/index.vue +++ b/frontend/src/views/plan/planList/index.vue @@ -43,7 +43,7 @@ v-auth.plan="'analysis'" icon="DataLine" :disabled="!scope.isSelected" - v-if=" modeStore.currentMode != '比对式'" + v-if="modeStore.currentMode != '比对式'" @click="statisticalAnalysisMore(scope.selectedListIds, scope.selectedList)" > 统计分析 @@ -95,7 +95,6 @@ icon="Cpu" @click="openChildrenPlan(scope.row)" v-if="modeStore.currentMode == '比对式' && scope.row.importFlag == 1" - v-auth.plan="'import_subplan'" > 被检设备 @@ -207,13 +206,11 @@ onMounted(async () => { //假分页后用data刷新 const refreshTable = async () => { try { - patternId.value = dictStore.getDictData('Pattern').find(item => item.name === modeStore.currentMode)?.id const result = await getPlanList({ patternId: patternId.value }) tableData.value = buildTree(result.data as any[]) pageTotal.value = tableData.value.length updateCurrentPageData(tableData.value) - } catch (error) { tableData.value = [] ElMessage.error('获取计划列表失败') @@ -225,7 +222,6 @@ watch( () => tableData.value, newVal => { if (childrenPlanView.value && newVal) { - childrenPlanView.value.handleTableDataUpdate?.(newVal) updateCurrentPageData(newVal) } @@ -309,7 +305,6 @@ const updateCurrentPageData = (data = tableData.value) => { const start = (currentPage.value - 1) * pageSize.value const end = start + pageSize.value currentPageData.value = data.slice(start, end) - } const dataSourceType = computed(() => {