From ac51cbd5d2a83c1502546c986c435c417651e028 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 9 Feb 2026 11:10:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/planMange/dailyPlan/edit.vue | 2 +- src/views/planMange/dailyPlan/index.vue | 3 ++- src/views/planMange/monthlyPlan/edit.vue | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/planMange/dailyPlan/edit.vue b/src/views/planMange/dailyPlan/edit.vue index f7ef3cb..7bd1ab7 100644 --- a/src/views/planMange/dailyPlan/edit.vue +++ b/src/views/planMange/dailyPlan/edit.vue @@ -191,7 +191,7 @@ const { proxy } = getCurrentInstance() const { options: personnelCommonOptions } = useOptions( 'personnelCommonOptions', getPersonnelCommonListAPI, - { inspectionStationId: route.query?.inspectionStationId || '123' }, + { inspectionStationId: route.query?.inspectionStationId || '' }, ) const mode = computed(() => route.query.mode || 'edit') diff --git a/src/views/planMange/dailyPlan/index.vue b/src/views/planMange/dailyPlan/index.vue index 767be99..b320d11 100644 --- a/src/views/planMange/dailyPlan/index.vue +++ b/src/views/planMange/dailyPlan/index.vue @@ -246,7 +246,8 @@ const actionColumns = computed(() => [ type: 'danger', link: true, permission: ['plan:dailyPlan:remove'], // 权限控制:使用 v-hasPermi 指令控制按钮显示 - disabled: (row) => isBeforeToday(row.dayPlan), // 当日期为今天之前时禁用 + // disabled: (row) => isBeforeToday(row.dayPlan), // 当日期为今天之前时禁用 + disabled: false, handler: (row) => { proxy.$modal.confirm('是否确认删除该日计划?').then(async () => { const result = await delDailyPlanAPI({ dayPlanId: row.dayPlanId }) diff --git a/src/views/planMange/monthlyPlan/edit.vue b/src/views/planMange/monthlyPlan/edit.vue index 6e96c5d..2330eff 100644 --- a/src/views/planMange/monthlyPlan/edit.vue +++ b/src/views/planMange/monthlyPlan/edit.vue @@ -143,10 +143,10 @@ >