From a5bf4252b9ae789891b17793819b0c85ed63303e Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Mon, 12 Oct 2026 18:10:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20rename=20payment-confirm=20menu=20to?= =?UTF-8?q?=20=E7=BC=B4=E8=B4=B9=E8=B4=A2=E5=8A=A1=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- backend/app/api/menu.py | 2 +- .../2026-10-12-rename-payment-confirm-menu.sql | 15 +++++++++++++++ web-admin/src/router/modules/sqxp.ts | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 docs/sql/migrations/2026-10-12-rename-payment-confirm-menu.sql diff --git a/backend/app/api/menu.py b/backend/app/api/menu.py index 35f0186d..bc75e29d 100644 --- a/backend/app/api/menu.py +++ b/backend/app/api/menu.py @@ -105,7 +105,7 @@ STATIC_MENU_TREE = [ "name": "CellStoragePaymentConfirm", "path": "payment-confirm", "component": "/cell-storage/payment-confirm/index", - "meta": {"title": "缴费财务确认及开票", "keepAlive": True, "menuCode": "biz:cellStoragePaymentConfirm:list"}, + "meta": {"title": "缴费财务确认", "keepAlive": True, "menuCode": "biz:cellStoragePaymentConfirm:list"}, }, # 市场侧入库放行审核(总览)暂下线:改由生产/质检入口审核 # { diff --git a/docs/sql/migrations/2026-10-12-rename-payment-confirm-menu.sql b/docs/sql/migrations/2026-10-12-rename-payment-confirm-menu.sql new file mode 100644 index 00000000..22efea22 --- /dev/null +++ b/docs/sql/migrations/2026-10-12-rename-payment-confirm-menu.sql @@ -0,0 +1,15 @@ +-- ============================================================================= +-- 菜单改名:缴费财务确认及开票 → 缴费财务确认 +-- id: 50000000000000000000000000000004 +-- perms: biz:cellStoragePaymentConfirm:list +-- ============================================================================= + +UPDATE sys_menu +SET menu_name = '缴费财务确认', + update_time = NOW() +WHERE del_flag = 0 + AND ( + id = '50000000000000000000000000000004' + OR perms = 'biz:cellStoragePaymentConfirm:list' + ) + AND menu_name <> '缴费财务确认'; diff --git a/web-admin/src/router/modules/sqxp.ts b/web-admin/src/router/modules/sqxp.ts index 53328c96..5483ca74 100644 --- a/web-admin/src/router/modules/sqxp.ts +++ b/web-admin/src/router/modules/sqxp.ts @@ -121,7 +121,7 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [ path: 'payment-confirm', component: '/cell-storage/payment-confirm/index', meta: { - title: '缴费财务确认及开票', + title: '缴费财务确认', keepAlive: true, menuCode: 'biz:cellStoragePaymentConfirm:list' }