|
|
|
|
declare namespace PageRoute {
|
|
|
|
|
/**
|
|
|
|
|
* the root route key
|
|
|
|
|
* @translate 根路由
|
|
|
|
|
*/
|
|
|
|
|
type RootRouteKey = 'root';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* the not found route, which catch the invalid route path
|
|
|
|
|
* @translate 未找到路由(捕获无效路径的路由)
|
|
|
|
|
*/
|
|
|
|
|
type NotFoundRouteKey = 'not-found';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* the route key
|
|
|
|
|
* @translate 页面路由
|
|
|
|
|
*/
|
|
|
|
|
type RouteKey =
|
|
|
|
|
| '403'
|
|
|
|
|
| '404'
|
|
|
|
|
| '500'
|
|
|
|
|
| 'constant-page'
|
|
|
|
|
| 'loading'
|
|
|
|
|
| 'login'
|
|
|
|
|
| 'not-found'
|
|
|
|
|
| 'board'
|
|
|
|
|
| 'board_kanBan'
|
|
|
|
|
| 'board_wms'
|
|
|
|
|
| 'client'
|
|
|
|
|
| 'client_analyse'
|
|
|
|
|
| 'client_contactPerson'
|
|
|
|
|
| 'client_information'
|
|
|
|
|
| 'client_information_archives'
|
|
|
|
|
| 'client_interviewRecord'
|
|
|
|
|
| 'device'
|
|
|
|
|
| 'device_equipmentLedger'
|
|
|
|
|
| 'device_facilityCategorySet'
|
|
|
|
|
| 'device_facilityFaultCategory'
|
|
|
|
|
| 'device_facilityKnowledgeBase'
|
|
|
|
|
| 'device_facilityPartsSet'
|
|
|
|
|
| 'device_oee'
|
|
|
|
|
| 'device_pointInspection'
|
|
|
|
|
| 'device_pointInspection_classifySet'
|
|
|
|
|
| 'device_pointInspection_classifySetItem'
|
|
|
|
|
| 'device_pointInspection_group'
|
|
|
|
|
| 'device_pointInspection_groupEquipment'
|
|
|
|
|
| 'device_pointInspection_maintain'
|
|
|
|
|
| 'device_pointInspection_spotCheckPlan'
|
|
|
|
|
| 'device_pointInspection_spotCheckRecord'
|
|
|
|
|
| 'device_pointInspection_upkeepPlan'
|
|
|
|
|
| 'device_pointInspection_upkeepRecord'
|
|
|
|
|
| 'device_pointInspection_waitSpotCheckPlan'
|
|
|
|
|
| 'device_pointInspection_waitUpkeepPlan'
|
|
|
|
|
| 'device_repairForm'
|
|
|
|
|
| 'device_updateAccessoryRecord'
|
|
|
|
|
| 'energy'
|
|
|
|
|
| 'energy_electricity'
|
|
|
|
|
| 'energy_electricity_collect'
|
|
|
|
|
| 'energy_electricity_dosage'
|
|
|
|
|
| 'energy_electrovalence'
|
|
|
|
|
| 'energy_energyDevice'
|
|
|
|
|
| 'energy_eneryCostanalyse'
|
|
|
|
|
| 'energy_machineEnergy'
|
|
|
|
|
| 'energy_onTimeEnergy'
|
|
|
|
|
| 'hiprint'
|
|
|
|
|
| 'home'
|
|
|
|
|
| 'md'
|
|
|
|
|
| 'md_accessory'
|
|
|
|
|
| 'md_accessorySupplier'
|
|
|
|
|
| 'md_classify'
|
|
|
|
|
| 'md_ingredients'
|
|
|
|
|
| 'md_ingredients_manufacturer'
|
|
|
|
|
| 'md_ingredients_productName'
|
|
|
|
|
| 'md_ingredients_traders'
|
|
|
|
|
| 'md_itemlist'
|
|
|
|
|
| 'md_itemtype'
|
|
|
|
|
| 'md_list'
|
|
|
|
|
| 'md_plant'
|
|
|
|
|
| 'md_plant_plantChangeLog'
|
|
|
|
|
| 'md_plant_plantList'
|
|
|
|
|
| 'md_plant_plantOutinLog'
|
|
|
|
|
| 'md_plant_plantPrint'
|
|
|
|
|
| 'md_plant_plantSupplier'
|
|
|
|
|
| 'md_plant_plantType'
|
|
|
|
|
| 'md_printTemplate'
|
|
|
|
|
| 'md_unit'
|
|
|
|
|
| 'md_workbench'
|
|
|
|
|
| 'md_workbench_enamelling'
|
|
|
|
|
| 'md_workbench_weighMachine'
|
|
|
|
|
| 'md_workbench_wiredrawing'
|
|
|
|
|
| 'md_workbench_workbenchType'
|
|
|
|
|
| 'md_workgroup'
|
|
|
|
|
| 'md_workgrouporganization'
|
|
|
|
|
| 'md_workshop'
|
|
|
|
|
| 'moid'
|
|
|
|
|
| 'moid_awaitReturn'
|
|
|
|
|
| 'moid_basicsMessage'
|
|
|
|
|
| 'moid_drawing'
|
|
|
|
|
| 'moid_drawing_basics'
|
|
|
|
|
| 'moid_gaugeChangeForm'
|
|
|
|
|
| 'moid_joinWarehouse'
|
|
|
|
|
| 'moid_lifeCycleReport'
|
|
|
|
|
| 'moid_maintenance'
|
|
|
|
|
| 'moid_maintenance_basics'
|
|
|
|
|
| 'moid_outWarehouse'
|
|
|
|
|
| 'moid_outWarehouse_exitMold'
|
|
|
|
|
| 'moid_purchase'
|
|
|
|
|
| 'moid_reform'
|
|
|
|
|
| 'moid_scrap'
|
|
|
|
|
| 'moid_sortManagement'
|
|
|
|
|
| 'moid_supplier'
|
|
|
|
|
| 'moid_upkeepPlan'
|
|
|
|
|
| 'moid_upkeepPlan_list'
|
|
|
|
|
| 'moid_upkeepPlan_list_maintainList'
|
|
|
|
|
| 'moid_upkeepPlan_plan'
|
|
|
|
|
| 'moid_upkeepPlan_record'
|
|
|
|
|
| 'moid_upkeepPlan_set'
|
|
|
|
|
| 'monitor'
|
|
|
|
|
| 'monitor_connectSocket'
|
|
|
|
|
| 'monitor_job'
|
|
|
|
|
| 'monitor_jobLog'
|
|
|
|
|
| 'monitor_online'
|
|
|
|
|
| 'monitor_reportDesign'
|
|
|
|
|
| 'mould'
|
|
|
|
|
| 'mould_classify'
|
|
|
|
|
| 'mould_position'
|
|
|
|
|
| 'plan'
|
|
|
|
|
| 'plan_drawingWorkOrder'
|
|
|
|
|
| 'plan_enamelEoverPlanAdmin'
|
|
|
|
|
| 'plan_paintJobOrder'
|
|
|
|
|
| 'plan_produceOrder'
|
|
|
|
|
| 'procure'
|
|
|
|
|
| 'procure_procureManage'
|
|
|
|
|
| 'procure_procureOrder'
|
|
|
|
|
| 'procure_procureOrderDetail'
|
|
|
|
|
| 'procure_saleReturnRecord'
|
|
|
|
|
| 'produce'
|
|
|
|
|
| 'produce_carryRecords'
|
|
|
|
|
| 'produce_feed'
|
|
|
|
|
| 'produce_feedRecords'
|
|
|
|
|
| 'produce_processOrder'
|
|
|
|
|
| 'produce_report'
|
|
|
|
|
| 'produce_reprintRecord'
|
|
|
|
|
| 'produce_workOrderArrange'
|
|
|
|
|
| 'produce_workRecords'
|
|
|
|
|
| 'quality'
|
|
|
|
|
| 'quality_customerComplaint'
|
|
|
|
|
| 'quality_dailyInspectionPlan'
|
|
|
|
|
| 'quality_drawingProcessCheckRecord'
|
|
|
|
|
| 'quality_enamelCoverRecord'
|
|
|
|
|
| 'quality_enamellingProcessCheckRecord'
|
|
|
|
|
| 'quality_flawClassify'
|
|
|
|
|
| 'quality_flawSet'
|
|
|
|
|
| 'quality_oilPaintRecord'
|
|
|
|
|
| 'quality_pinholeRecord'
|
|
|
|
|
| 'quality_qcDefect'
|
|
|
|
|
| 'quality_qualityInspectionClassify'
|
|
|
|
|
| 'quality_qualityInspectionItem'
|
|
|
|
|
| 'quality_questionRepository'
|
|
|
|
|
| 'quality_rawMaterialDetail'
|
|
|
|
|
| 'quality_rawMaterialSummary'
|
|
|
|
|
| 'quality_statisticAnalysis'
|
|
|
|
|
| 'quality_surfaceFlawSet'
|
|
|
|
|
| 'quality_testItemSet'
|
|
|
|
|
| 'quality_trayRecord'
|
|
|
|
|
| 'rapidmining'
|
|
|
|
|
| 'rapidmining_deviceCategory'
|
|
|
|
|
| 'rapidmining_deviceRealtime'
|
|
|
|
|
| 'sale'
|
|
|
|
|
| 'sale_saleOrder'
|
|
|
|
|
| 'scm'
|
|
|
|
|
| 'scm_accessorySupplier'
|
|
|
|
|
| 'storage'
|
|
|
|
|
| 'storage_auxiliaryProduceinfo'
|
|
|
|
|
| 'storage_copperWire'
|
|
|
|
|
| 'storage_earlyWarning'
|
|
|
|
|
| 'storage_enamelCover'
|
|
|
|
|
| 'storage_finishedProductInventory'
|
|
|
|
|
| 'storage_finishedProductWarning'
|
|
|
|
|
| 'storage_ingredients'
|
|
|
|
|
| 'storage_materialstock'
|
|
|
|
|
| 'storage_productInventory'
|
|
|
|
|
| 'storage_rawMaterial'
|
|
|
|
|
| 'storage_rawProduceIn'
|
|
|
|
|
| 'storage_semiProduct'
|
|
|
|
|
| 'storage_stockControl'
|
|
|
|
|
| 'storage_stockTaking'
|
|
|
|
|
| 'storage_warehouseSet'
|
|
|
|
|
| 'storage_weightAdmin'
|
|
|
|
|
| 'storage_weightAdmin_component'
|
|
|
|
|
| 'system'
|
|
|
|
|
| 'system_autoCodeDetail'
|
|
|
|
|
| 'system_autoCodeRule'
|
|
|
|
|
| 'system_dept'
|
|
|
|
|
| 'system_dict'
|
|
|
|
|
| 'system_dictData'
|
|
|
|
|
| 'system_dictionary'
|
|
|
|
|
| 'system_dispacthRole'
|
|
|
|
|
| 'system_dispacthUser'
|
|
|
|
|
| 'system_log'
|
|
|
|
|
| 'system_log_login'
|
|
|
|
|
| 'system_log_operate'
|
|
|
|
|
| 'system_menu'
|
|
|
|
|
| 'system_notice'
|
|
|
|
|
| 'system_post'
|
|
|
|
|
| 'system_role'
|
|
|
|
|
| 'system_user'
|
|
|
|
|
| 'technology'
|
|
|
|
|
| 'technology_clientStandard'
|
|
|
|
|
| 'technology_internalControlStandard'
|
|
|
|
|
| 'technology_nationalStandard'
|
|
|
|
|
| 'technology_operatingSpecification'
|
|
|
|
|
| 'technology_operationInstruction'
|
|
|
|
|
| 'technology_technologyEnter'
|
|
|
|
|
| 'technology_technologyExamine'
|
|
|
|
|
| 'technology_technologyLine'
|
|
|
|
|
| 'technology_technologySearch'
|
|
|
|
|
| 'technology_technologySetting'
|
|
|
|
|
| 'test2'
|
|
|
|
|
| 'test2_test1'
|
|
|
|
|
| 'tool'
|
|
|
|
|
| 'userinfo'
|
|
|
|
|
| 'wms'
|
|
|
|
|
| 'wms_materialstock';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* last degree route key, which has the page file
|
|
|
|
|
* @translate 最后一级路由(该级路有对应的页面文件)
|
|
|
|
|
*/
|
|
|
|
|
type LastDegreeRouteKey = Extract<
|
|
|
|
|
RouteKey,
|
|
|
|
|
| '403'
|
|
|
|
|
| '404'
|
|
|
|
|
| '500'
|
|
|
|
|
| 'constant-page'
|
|
|
|
|
| 'loading'
|
|
|
|
|
| 'login'
|
|
|
|
|
| 'not-found'
|
|
|
|
|
| 'board_kanBan'
|
|
|
|
|
| 'board_wms'
|
|
|
|
|
| 'client_analyse'
|
|
|
|
|
| 'client_contactPerson'
|
|
|
|
|
| 'client_information_archives'
|
|
|
|
|
| 'client_information'
|
|
|
|
|
| 'client_interviewRecord'
|
|
|
|
|
| 'device_equipmentLedger'
|
|
|
|
|
| 'device_facilityCategorySet'
|
|
|
|
|
| 'device_facilityFaultCategory'
|
|
|
|
|
| 'device_facilityKnowledgeBase'
|
|
|
|
|
| 'device_facilityPartsSet'
|
|
|
|
|
| 'device_oee'
|
|
|
|
|
| 'device_pointInspection_classifySet'
|
|
|
|
|
| 'device_pointInspection_classifySetItem'
|
|
|
|
|
| 'device_pointInspection_group'
|
|
|
|
|
| 'device_pointInspection_groupEquipment'
|
|
|
|
|
| 'device_pointInspection_maintain'
|
|
|
|
|
| 'device_pointInspection_spotCheckPlan'
|
|
|
|
|
| 'device_pointInspection_spotCheckRecord'
|
|
|
|
|
| 'device_pointInspection_upkeepPlan'
|
|
|
|
|
| 'device_pointInspection_upkeepRecord'
|
|
|
|
|
| 'device_pointInspection_waitSpotCheckPlan'
|
|
|
|
|
| 'device_pointInspection_waitUpkeepPlan'
|
|
|
|
|
| 'device_repairForm'
|
|
|
|
|
| 'device_updateAccessoryRecord'
|
|
|
|
|
| 'energy_electricity_collect'
|
|
|
|
|
| 'energy_electricity_dosage'
|
|
|
|
|
| 'energy_electrovalence'
|
|
|
|
|
| 'energy_energyDevice'
|
|
|
|
|
| 'energy_eneryCostanalyse'
|
|
|
|
|
| 'energy_machineEnergy'
|
|
|
|
|
| 'energy_onTimeEnergy'
|
|
|
|
|
| 'hiprint'
|
|
|
|
|
| 'home'
|
|
|
|
|
| 'md_accessory'
|
|
|
|
|
| 'md_accessorySupplier'
|
|
|
|
|
| 'md_classify'
|
|
|
|
|
| 'md_ingredients_manufacturer'
|
|
|
|
|
| 'md_ingredients_productName'
|
|
|
|
|
| 'md_ingredients_traders'
|
|
|
|
|
| 'md_itemlist'
|
|
|
|
|
| 'md_itemtype'
|
|
|
|
|
| 'md_list'
|
|
|
|
|
| 'md_plant_plantChangeLog'
|
|
|
|
|
| 'md_plant_plantList'
|
|
|
|
|
| 'md_plant_plantOutinLog'
|
|
|
|
|
| 'md_plant_plantPrint'
|
|
|
|
|
| 'md_plant_plantSupplier'
|
|
|
|
|
| 'md_plant_plantType'
|
|
|
|
|
| 'md_printTemplate'
|
|
|
|
|
| 'md_unit'
|
|
|
|
|
| 'md_workbench_enamelling'
|
|
|
|
|
| 'md_workbench_weighMachine'
|
|
|
|
|
| 'md_workbench_wiredrawing'
|
|
|
|
|
| 'md_workbench_workbenchType'
|
|
|
|
|
| 'md_workgroup'
|
|
|
|
|
| 'md_workgrouporganization'
|
|
|
|
|
| 'md_workshop'
|
|
|
|
|
| 'moid_awaitReturn'
|
|
|
|
|
| 'moid_basicsMessage'
|
|
|
|
|
| 'moid_drawing_basics'
|
|
|
|
|
| 'moid_drawing'
|
|
|
|
|
| 'moid_gaugeChangeForm'
|
|
|
|
|
| 'moid_joinWarehouse'
|
|
|
|
|
| 'moid_lifeCycleReport'
|
|
|
|
|
| 'moid_maintenance_basics'
|
|
|
|
|
| 'moid_maintenance'
|
|
|
|
|
| 'moid_outWarehouse_exitMold'
|
|
|
|
|
| 'moid_outWarehouse'
|
|
|
|
|
| 'moid_purchase'
|
|
|
|
|
| 'moid_reform'
|
|
|
|
|
| 'moid_scrap'
|
|
|
|
|
| 'moid_sortManagement'
|
|
|
|
|
| 'moid_supplier'
|
|
|
|
|
| 'moid_upkeepPlan_list'
|
|
|
|
|
| 'moid_upkeepPlan_list_maintainList'
|
|
|
|
|
| 'moid_upkeepPlan_plan'
|
|
|
|
|
| 'moid_upkeepPlan_record'
|
|
|
|
|
| 'moid_upkeepPlan_set'
|
|
|
|
|
| 'monitor_connectSocket'
|
|
|
|
|
| 'monitor_job'
|
|
|
|
|
| 'monitor_jobLog'
|
|
|
|
|
| 'monitor_online'
|
|
|
|
|
| 'monitor_reportDesign'
|
|
|
|
|
| 'mould_classify'
|
|
|
|
|
| 'mould_position'
|
|
|
|
|
| 'plan_drawingWorkOrder'
|
|
|
|
|
| 'plan_enamelEoverPlanAdmin'
|
|
|
|
|
| 'plan_paintJobOrder'
|
|
|
|
|
| 'plan_produceOrder'
|
|
|
|
|
| 'procure_procureManage'
|
|
|
|
|
| 'procure_procureOrder'
|
|
|
|
|
| 'procure_procureOrderDetail'
|
|
|
|
|
| 'procure_saleReturnRecord'
|
|
|
|
|
| 'produce_carryRecords'
|
|
|
|
|
| 'produce_feed'
|
|
|
|
|
| 'produce_feedRecords'
|
|
|
|
|
| 'produce_processOrder'
|
|
|
|
|
| 'produce_report'
|
|
|
|
|
| 'produce_reprintRecord'
|
|
|
|
|
| 'produce_workOrderArrange'
|
|
|
|
|
| 'produce_workRecords'
|
|
|
|
|
| 'quality_customerComplaint'
|
|
|
|
|
| 'quality_dailyInspectionPlan'
|
|
|
|
|
| 'quality_drawingProcessCheckRecord'
|
|
|
|
|
| 'quality_enamelCoverRecord'
|
|
|
|
|
| 'quality_enamellingProcessCheckRecord'
|
|
|
|
|
| 'quality_flawClassify'
|
|
|
|
|
| 'quality_flawSet'
|
|
|
|
|
| 'quality_oilPaintRecord'
|
|
|
|
|
| 'quality_pinholeRecord'
|
|
|
|
|
| 'quality_qcDefect'
|
|
|
|
|
| 'quality_qualityInspectionClassify'
|
|
|
|
|
| 'quality_qualityInspectionItem'
|
|
|
|
|
| 'quality_questionRepository'
|
|
|
|
|
| 'quality_rawMaterialDetail'
|
|
|
|
|
| 'quality_rawMaterialSummary'
|
|
|
|
|
| 'quality_statisticAnalysis'
|
|
|
|
|
| 'quality_surfaceFlawSet'
|
|
|
|
|
| 'quality_testItemSet'
|
|
|
|
|
| 'quality_trayRecord'
|
|
|
|
|
| 'rapidmining_deviceCategory'
|
|
|
|
|
| 'rapidmining_deviceRealtime'
|
|
|
|
|
| 'sale_saleOrder'
|
|
|
|
|
| 'scm_accessorySupplier'
|
|
|
|
|
| 'storage_auxiliaryProduceinfo'
|
|
|
|
|
| 'storage_copperWire'
|
|
|
|
|
| 'storage_earlyWarning'
|
|
|
|
|
| 'storage_enamelCover'
|
|
|
|
|
| 'storage_finishedProductInventory'
|
|
|
|
|
| 'storage_finishedProductWarning'
|
|
|
|
|
| 'storage_ingredients'
|
|
|
|
|
| 'storage_materialstock'
|
|
|
|
|
| 'storage_productInventory'
|
|
|
|
|
| 'storage_rawMaterial'
|
|
|
|
|
| 'storage_rawProduceIn'
|
|
|
|
|
| 'storage_semiProduct'
|
|
|
|
|
| 'storage_stockControl'
|
|
|
|
|
| 'storage_stockTaking'
|
|
|
|
|
| 'storage_warehouseSet'
|
|
|
|
|
| 'storage_weightAdmin_component'
|
|
|
|
|
| 'storage_weightAdmin'
|
|
|
|
|
| 'system_autoCodeDetail'
|
|
|
|
|
| 'system_autoCodeRule'
|
|
|
|
|
| 'system_dept'
|
|
|
|
|
| 'system_dict'
|
|
|
|
|
| 'system_dictData'
|
|
|
|
|
| 'system_dictionary'
|
|
|
|
|
| 'system_dispacthRole'
|
|
|
|
|
| 'system_dispacthUser'
|
|
|
|
|
| 'system_log_login'
|
|
|
|
|
| 'system_log_operate'
|
|
|
|
|
| 'system_menu'
|
|
|
|
|
| 'system_notice'
|
|
|
|
|
| 'system_post'
|
|
|
|
|
| 'system_role'
|
|
|
|
|
| 'system_user'
|
|
|
|
|
| 'technology_clientStandard'
|
|
|
|
|
| 'technology_internalControlStandard'
|
|
|
|
|
| 'technology_nationalStandard'
|
|
|
|
|
| 'technology_operatingSpecification'
|
|
|
|
|
| 'technology_operationInstruction'
|
|
|
|
|
| 'technology_technologyEnter'
|
|
|
|
|
| 'technology_technologyExamine'
|
|
|
|
|
| 'technology_technologyLine'
|
|
|
|
|
| 'technology_technologySearch'
|
|
|
|
|
| 'technology_technologySetting'
|
|
|
|
|
| 'test2_test1'
|
|
|
|
|
| 'tool'
|
|
|
|
|
| 'userinfo'
|
|
|
|
|
| 'wms_materialstock'
|
|
|
|
|
>;
|
|
|
|
|
}
|