feat: add vehicle recharge approval workflow and pending UI

Wire configurable workflow config, approval todo with approve/reject/disburse, apply submit and history, and block disburse board for in-approval rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-09-26 21:05:57 +08:00
1 parent a1fbbac370
commit 7b99040f9c
9 files changed
+1166 -9

No files matched your search

+28
View File
@@ -119,6 +119,13 @@ export const plRoutes: AppRouteRecord[] = [
component: '/pl/vehicle-recharge-apply/index',
meta: { title: 'ETC/加油充值申请', keepAlive: false, menuCode: 'pl:vehicle-recharge-apply:list' }
},
{
id: 'PL_VEH_RECHARGE_APPROVAL',
name: 'PlVehicleRechargeApproval',
path: 'vehicle-recharge-approval',
component: '/pl/vehicle-recharge-approval/index',
meta: { title: '充值审批', keepAlive: false, menuCode: 'pl:vehicle-recharge-approval:list' }
},
{
id: 'PL_VEH_RECHARGE_RECORD',
name: 'PlVehicleRechargeRecord',
@@ -126,6 +133,13 @@ export const plRoutes: AppRouteRecord[] = [
component: '/pl/vehicle-recharge-record/index',
meta: { title: 'ETC/加油充值发放登记', keepAlive: false, menuCode: 'pl:vehicle-recharge-record:list' }
},
{
id: 'PL_VEH_RECHARGE_WF',
name: 'PlVehicleRechargeWorkflow',
path: 'vehicle-recharge-workflow',
component: '/pl/vehicle-recharge-workflow/index',
meta: { title: '充值审批流程', keepAlive: false, menuCode: 'pl:vehicle-recharge-workflow:list' }
},
{
id: 'PL_VEH_MAINT_APPLY',
name: 'PlVehicleMaintenanceApply',
@@ -412,6 +426,20 @@ export const plRoutes: AppRouteRecord[] = [
redirect: '/pl/vehicle-mgmt/vehicle-recharge-record',
meta: { title: 'ETC/加油充值发放登记', isHide: true }
},
{
id: 'PL_REDIRECT_VEH_RECHARGE_APPROVAL',
name: 'PlVehicleRechargeApprovalRedirect',
path: 'vehicle-recharge-approval',
redirect: '/pl/vehicle-mgmt/vehicle-recharge-approval',
meta: { title: '充值审批', isHide: true }
},
{
id: 'PL_REDIRECT_VEH_RECHARGE_WORKFLOW',
name: 'PlVehicleRechargeWorkflowRedirect',
path: 'vehicle-recharge-workflow',
redirect: '/pl/vehicle-mgmt/vehicle-recharge-workflow',
meta: { title: '充值审批流程配置', isHide: true }
},
{
id: 'PL_REDIRECT_VEH_MAINT_APPLY',
name: 'PlVehicleMaintenanceApplyRedirect',