From b211b86f77c5964c21d4af10f217e6a62806fe1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=84=E9=94=90=E6=B3=A2?= <10549902+zhuangruibo@user.noreply.gitee.com> Date: Mon, 1 Jun 2026 19:09:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E6=B3=95=E7=AB=AF-=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../router/enforcement-app/enf-main-router.js | 17 ++++- .../enforcement/my/plan/cp_plan_edit.vue | 46 +++++++++----- .../enforcement/my/plan/cp_plan_list.vue | 62 ++++++++++--------- .../enforcement/my/plan/cp_plan_mine.vue | 5 +- .../enforcement/my/plan/cp_plan_other.vue | 28 ++++++++- 5 files changed, 112 insertions(+), 46 deletions(-) diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js b/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js index 61992f0e..a113ae4a 100644 --- a/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js @@ -134,14 +134,29 @@ const routes = [ isKeepAlive: true, }, }, - // 执法端-计划列表 + // 执法端-计划列表(嵌套路由:我的计划 / 其他计划) { path: "/enforcement/plan", name: "cpPlanList", component: () => import("@/views/enforcement/my/plan/cp_plan_list.vue"), + redirect: "/enforcement/plan/mine", meta: { isKeepAlive: false, }, + children: [ + { + path: "mine", + name: "cpPlanMine", + component: () => import("@/views/enforcement/my/plan/cp_plan_mine.vue"), + meta: { isKeepAlive: false }, + }, + { + path: "other", + name: "cpPlanOther", + component: () => import("@/views/enforcement/my/plan/cp_plan_other.vue"), + meta: { isKeepAlive: false }, + }, + ], }, // pdf预览 { diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/plan/cp_plan_edit.vue b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/plan/cp_plan_edit.vue index e503c8a2..eb4fcd1b 100644 --- a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/plan/cp_plan_edit.vue +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/my/plan/cp_plan_edit.vue @@ -40,14 +40,15 @@ placeholder="请选择时间" required readonly - is-link - @click="showDatePicker = true" + :is-link="!isPrefillMode" + :disabled="isPrefillMode" + @click="!isPrefillMode && (showDatePicker = true)" /> - +