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' }