feat(mini): add ETC vehicle recharge apply for drivers and escorts
Add menu SQL, workbench entry, mineVehicles API client, and list/form pages styled like fuel register. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
48aef9f233
commit
c70b17f8ca
8 files changed
+1149
-2
No files matched your search
@@ -85,6 +85,8 @@ export const PAGE_PATHS = {
|
||||
bxWfReimburse: '/pages/bx/admin/wf-reimburse',
|
||||
plFuelRegister: '/pages/pl/fuel-register/list',
|
||||
plFuelRegisterForm: '/pages/pl/fuel-register/form',
|
||||
plVehicleRechargeApply: '/pages/pl/vehicle-recharge-apply/list',
|
||||
plVehicleRechargeApplyForm: '/pages/pl/vehicle-recharge-apply/form',
|
||||
plTransportPlan: '/pages/pl/transport-plan/list',
|
||||
plTransportPlanDetail: '/pages/pl/transport-plan/detail',
|
||||
plDriverPlan: '/pages/pl/driver-plan/list',
|
||||
@@ -108,6 +110,7 @@ export const WORKBENCH_ROUTE_MAP = {
|
||||
'bx-wf-advance': PAGE_PATHS.bxWfAdvance,
|
||||
'bx-wf-reimburse': PAGE_PATHS.bxWfReimburse,
|
||||
'pl-fuel-register': PAGE_PATHS.plFuelRegister,
|
||||
'pl-vehicle-recharge-apply': PAGE_PATHS.plVehicleRechargeApply,
|
||||
'pl-transport-plan': PAGE_PATHS.plTransportPlan,
|
||||
'pl-driver-plan': PAGE_PATHS.plDriverPlan,
|
||||
'pl-plan-webview': PAGE_PATHS.mpWebview + '?path=' + encodeURIComponent('/m/pl/plan')
|
||||
|
||||
@@ -56,7 +56,7 @@ export const WORKBENCH_MODULES = [
|
||||
{
|
||||
key: 'pl',
|
||||
title: '运输管理',
|
||||
desc: '加油登记 · 现场运输计划单 · 运输计划 · 司机运输计划单',
|
||||
desc: '加油登记 · ETC充值申请 · 现场运输计划单 · 运输计划 · 司机运输计划单',
|
||||
iconText: '运输',
|
||||
visible: true,
|
||||
menus: [
|
||||
@@ -67,6 +67,13 @@ export const WORKBENCH_MODULES = [
|
||||
icon: '⛽',
|
||||
perms: 'mini:pl:fuelRegister:list'
|
||||
},
|
||||
{
|
||||
name: 'ETC加油充值申请',
|
||||
enabled: true,
|
||||
code: 'pl-vehicle-recharge-apply',
|
||||
icon: '💳',
|
||||
perms: 'mini:pl:vehicleRechargeApply:list'
|
||||
},
|
||||
{
|
||||
name: '现场运输计划单',
|
||||
enabled: true,
|
||||
|
||||
Reference in new issue
Block a user