feat: 初始化静态镜像站点仓库
BIN
__mirror/runtime/hc-etms-dashboard/branchOfficeManage-v2.png
Normal file
|
After Width: | Height: | Size: 245 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/companyInfo-v2.png
Normal file
|
After Width: | Height: | Size: 316 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/companyInfo-v3.png
Normal file
|
After Width: | Height: | Size: 322 KiB |
3
__mirror/runtime/hc-etms-dashboard/cookie-seed.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"language": "zh"
|
||||
}
|
||||
BIN
__mirror/runtime/hc-etms-dashboard/current-companyInfo.png
Normal file
|
After Width: | Height: | Size: 316 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/financeData-summary-debug.png
Normal file
|
After Width: | Height: | Size: 371 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/financeData-v2.png
Normal file
|
After Width: | Height: | Size: 195 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/financeData-v3.png
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/financeData-v4.png
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/financeData-v5.png
Normal file
|
After Width: | Height: | Size: 187 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/financeData-v6.png
Normal file
|
After Width: | Height: | Size: 187 KiB |
44
__mirror/runtime/hc-etms-dashboard/index.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>企业服务平台 - 运行态镜像</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
|
||||
background: #0c1424;
|
||||
color: #eef4ff;
|
||||
}
|
||||
|
||||
#mirror-loading {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
#mirror-loading small {
|
||||
color: #9aabc7;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mirror-loading">
|
||||
<div>正在启动企业服务平台运行态镜像…</div>
|
||||
<small>会预置本地存储、会话和接口 mock</small>
|
||||
</div>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
(function () {
|
||||
var script = document.createElement("script");
|
||||
script.src = "./runtime-bootstrap.js" + (location.search || "");
|
||||
document.body.appendChild(script);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
BIN
__mirror/runtime/hc-etms-dashboard/institution-v1.png
Normal file
|
After Width: | Height: | Size: 170 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/institution-v2.png
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/institution-v3.png
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/institution-v4.png
Normal file
|
After Width: | Height: | Size: 241 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/member-v1.png
Normal file
|
After Width: | Height: | Size: 170 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/member-v2.png
Normal file
|
After Width: | Height: | Size: 415 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/member-v3.png
Normal file
|
After Width: | Height: | Size: 412 KiB |
812
__mirror/runtime/hc-etms-dashboard/menu-seed.json
Normal file
@@ -0,0 +1,812 @@
|
||||
[
|
||||
{
|
||||
"id": 2,
|
||||
"menuName": "点击进入【项目运营平台】",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/404",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"menuName": "运营指数",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/404",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"menuName": "人事看板",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/404",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"menuName": "财务看板",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/microbrain/finance",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"menuName": "设备看板",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/microbrain/equipment",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"menuName": "车场看板",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/microbrain/parkingLot",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"menuName": "物业费报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/propertyFeeReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"menuName": "车场报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/parkingLotReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"menuName": "全年收入报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/404",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"menuName": "全员收费报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/404",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"menuName": "收入考核报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/404",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"menuName": "计划工单报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/planTaskReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"menuName": "非计划工单报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/workOrderReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"menuName": "工单耗时统计",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/dataReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"menuName": "耗能报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/consumeReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"menuName": "作业网格台账报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/jobGridReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"menuName": "合同保障报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/contractGuaranteeReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"menuName": "合同保障明细报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/detailedContractGuaranteeReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"menuName": "合同计划执行报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/contractPlanReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"menuName": "体检统计报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/404",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"menuName": "公众号拉新报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/officialAccount",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"menuName": "催收跟踪报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/collectionTracking",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 25,
|
||||
"menuName": "企业收费项报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/collectionRate",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 26,
|
||||
"menuName": "拜访工作报表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/cloudData/visitWorkReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 27,
|
||||
"menuName": "月收入考核",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/r2cockpit/assessment/monthly",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"menuName": "企业信息",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/companyInfo",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"menuName": "成员",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/member",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"menuName": "组织架构",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/institution",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"menuName": "企微通讯录",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/organizational",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 32,
|
||||
"menuName": "分公司管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/branchOfficeManage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"menuName": "物料规范",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/materialStandard",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"menuName": "社区动力方程",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/communityDynamic",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"menuName": "财务规范",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/financeStandard",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"menuName": "审批模板",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/approveMan",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"menuName": "商户配置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/merchant",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 38,
|
||||
"menuName": "资质管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/qualificationMan",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 39,
|
||||
"menuName": "企业收费项",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/feeItem",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"menuName": "满意度权重配置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/satisfactionWeight",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 41,
|
||||
"menuName": "财务数据",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/companyMetadata/financeData",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 42,
|
||||
"menuName": "人才测评",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/assessment",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 43,
|
||||
"menuName": "招聘管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/recruitManage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 44,
|
||||
"menuName": "人事档案",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/personnelFiles",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 45,
|
||||
"menuName": "资质匹配",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/qualification",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 46,
|
||||
"menuName": "培训管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/trainingManage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 47,
|
||||
"menuName": "考勤管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/checkWorkManage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 48,
|
||||
"menuName": "薪酬管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/payManage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 49,
|
||||
"menuName": "工资发放",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/salaryPayment",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 50,
|
||||
"menuName": "员工离任报告",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/employeeQuitReport",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 51,
|
||||
"menuName": "人事绩效管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/humanEffectManage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 52,
|
||||
"menuName": "价值换算",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/laborValue",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 53,
|
||||
"menuName": "离职管控",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/leaveControl",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 54,
|
||||
"menuName": "法务纠纷",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/legalDispute",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 55,
|
||||
"menuName": "工伤人员",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/personnelMerits/injuredPersonnel",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 56,
|
||||
"menuName": "供应商库",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/supplierManage/supplierStock",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 57,
|
||||
"menuName": "合同管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/supplierManage/contractManage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 58,
|
||||
"menuName": "供应商微脑",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/supplierManage/supplierMicrobrain",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 59,
|
||||
"menuName": "调查题库",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/satisfaction/questionBank",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 60,
|
||||
"menuName": "调查问卷",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/satisfaction/questionnaire",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"menuName": "调查报告",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/satisfaction/report",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"menuName": "整改跟踪",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/satisfaction/tracking",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"menuName": "应用列表",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/appStore/applicationList",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"menuName": "我的权益",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/appStore/myRights",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 65,
|
||||
"menuName": "短信通道",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/appStore/shortMessage",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 66,
|
||||
"menuName": "运营活动",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/appStore/operational",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 67,
|
||||
"menuName": "合同管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/appStore/saasContract",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 68,
|
||||
"menuName": "首页配置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/Miniprogram/homeSet",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 69,
|
||||
"menuName": "邻里配置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/Miniprogram/NBHConfig",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 70,
|
||||
"menuName": "服务配置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/Miniprogram/serviceConfig",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 71,
|
||||
"menuName": "小程序用户",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/operateMan/miniprogramUser",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 72,
|
||||
"menuName": "活跃运营",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/operateMan/activeStatistics",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 73,
|
||||
"menuName": "智能催收",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/operateMan/intelligentCollection",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 74,
|
||||
"menuName": "安全生产",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/operateMan/safeProduction",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 75,
|
||||
"menuName": "作业工单",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/operateMan/workOrder",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 76,
|
||||
"menuName": "项目拜访配置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/operateMan/smsVisitConfig",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 77,
|
||||
"menuName": "催收委案",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/operateMan/collectionCaseAssignment",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 78,
|
||||
"menuName": "微信客户",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/customerOperations/WeChatList",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 79,
|
||||
"menuName": "标签管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/customerOperations/tagList",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 80,
|
||||
"menuName": "通知公告",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/contentOperations/noticeAnnouncement",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 81,
|
||||
"menuName": "知识图谱应用",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/trainingPush/knowledge",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 82,
|
||||
"menuName": "品质抽样",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/trainingPush/sampling",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 83,
|
||||
"menuName": "人事设置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/systemManage/personnelSetting",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 84,
|
||||
"menuName": "角色权限管理",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/systemManage/permissions",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 85,
|
||||
"menuName": "操作日志",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/systemManage/operationLog",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 86,
|
||||
"menuName": "高级设置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/systemManage/advancedSetting",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 87,
|
||||
"menuName": "驾驶舱设置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/systemManage/cockpitConfig",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 88,
|
||||
"menuName": "指数设置",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/systemManage/indexConfig",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 89,
|
||||
"menuName": "审核记录",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/government/auditRecords",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 90,
|
||||
"menuName": "企业档案",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/government/information/enterpriseArchives",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 91,
|
||||
"menuName": "从业人员",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/government/information/practitioner",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
},
|
||||
{
|
||||
"id": 92,
|
||||
"menuName": "项目档案",
|
||||
"menuType": 3,
|
||||
"menuUrl": "/government/projectArchive",
|
||||
"disableds": "Y",
|
||||
"lastLeaf": 0,
|
||||
"menuChildren": []
|
||||
}
|
||||
]
|
||||
BIN
__mirror/runtime/hc-etms-dashboard/permissions-v1.png
Normal file
|
After Width: | Height: | Size: 170 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/permissions-v2.png
Normal file
|
After Width: | Height: | Size: 174 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/permissions-v3.png
Normal file
|
After Width: | Height: | Size: 248 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/personnelFiles-v1.png
Normal file
|
After Width: | Height: | Size: 432 KiB |
BIN
__mirror/runtime/hc-etms-dashboard/personnelFiles-v2.png
Normal file
|
After Width: | Height: | Size: 441 KiB |
682
__mirror/runtime/hc-etms-dashboard/route-map.json
Normal file
@@ -0,0 +1,682 @@
|
||||
{
|
||||
"/404": {
|
||||
"src": "/hc-etms.sqygj.cn/404/",
|
||||
"title": "体检统计报表"
|
||||
},
|
||||
"/r2cockpit/microbrain/finance": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/microbrain/finance/",
|
||||
"title": "财务看板"
|
||||
},
|
||||
"/r2cockpit/microbrain/equipment": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/microbrain/equipment/",
|
||||
"title": "设备看板"
|
||||
},
|
||||
"/r2cockpit/microbrain/parkingLot": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/microbrain/parkingLot/",
|
||||
"title": "车场看板"
|
||||
},
|
||||
"/r2cockpit/cloudData/propertyFeeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/propertyFeeReport/",
|
||||
"title": "物业费报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/parkingLotReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/parkingLotReport/",
|
||||
"title": "车场报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/planTaskReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/planTaskReport/",
|
||||
"title": "计划工单报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/workOrderReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/workOrderReport/",
|
||||
"title": "非计划工单报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/dataReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/dataReport/",
|
||||
"title": "工单耗时统计"
|
||||
},
|
||||
"/r2cockpit/cloudData/consumeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/consumeReport/",
|
||||
"title": "耗能报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/jobGridReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/jobGridReport/",
|
||||
"title": "作业网格台账报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/contractGuaranteeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/contractGuaranteeReport/",
|
||||
"title": "合同保障报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/detailedContractGuaranteeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/detailedContractGuaranteeReport/",
|
||||
"title": "合同保障明细报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/contractPlanReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/contractPlanReport/",
|
||||
"title": "合同计划执行报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/officialAccount": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/officialAccount/",
|
||||
"title": "公众号拉新报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/collectionTracking": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/collectionTracking/",
|
||||
"title": "催收跟踪报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/collectionRate": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/collectionRate/",
|
||||
"title": "企业收费项报表"
|
||||
},
|
||||
"/r2cockpit/cloudData/visitWorkReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/visitWorkReport/",
|
||||
"title": "拜访工作报表"
|
||||
},
|
||||
"/r2cockpit/assessment/monthly": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/assessment/monthly/",
|
||||
"title": "月收入考核"
|
||||
},
|
||||
"/companyMetadata/companyInfo": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/companyInfo/",
|
||||
"title": "企业信息"
|
||||
},
|
||||
"/companyMetadata/member": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/member/",
|
||||
"title": "成员"
|
||||
},
|
||||
"/companyMetadata/institution": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/institution/",
|
||||
"title": "组织架构"
|
||||
},
|
||||
"/companyMetadata/organizational": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/organizational/",
|
||||
"title": "企微通讯录"
|
||||
},
|
||||
"/companyMetadata/branchOfficeManage": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/branchOfficeManage/",
|
||||
"title": "分公司管理"
|
||||
},
|
||||
"/companyMetadata/materialStandard": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/materialStandard/",
|
||||
"title": "物料规范"
|
||||
},
|
||||
"/companyMetadata/communityDynamic": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/communityDynamic/",
|
||||
"title": "社区动力方程"
|
||||
},
|
||||
"/companyMetadata/financeStandard": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/financeStandard/",
|
||||
"title": "财务规范"
|
||||
},
|
||||
"/companyMetadata/approveMan": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/approveMan/",
|
||||
"title": "审批模板"
|
||||
},
|
||||
"/companyMetadata/merchant": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/merchant/",
|
||||
"title": "商户配置"
|
||||
},
|
||||
"/companyMetadata/qualificationMan": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/qualificationMan/",
|
||||
"title": "资质管理"
|
||||
},
|
||||
"/companyMetadata/feeItem": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/feeItem/",
|
||||
"title": "企业收费项"
|
||||
},
|
||||
"/companyMetadata/satisfactionWeight": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/satisfactionWeight/",
|
||||
"title": "满意度权重配置"
|
||||
},
|
||||
"/companyMetadata/financeData": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/financeData/",
|
||||
"title": "财务数据"
|
||||
},
|
||||
"/personnelMerits/assessment": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/assessment/",
|
||||
"title": "人才测评"
|
||||
},
|
||||
"/personnelMerits/recruitManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/recruitManage/",
|
||||
"title": "招聘管理"
|
||||
},
|
||||
"/personnelMerits/personnelFiles": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/personnelFiles/",
|
||||
"title": "人事档案"
|
||||
},
|
||||
"/personnelMerits/qualification": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/qualification/",
|
||||
"title": "资质匹配"
|
||||
},
|
||||
"/personnelMerits/trainingManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/trainingManage/",
|
||||
"title": "培训管理"
|
||||
},
|
||||
"/personnelMerits/checkWorkManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/checkWorkManage/",
|
||||
"title": "考勤管理"
|
||||
},
|
||||
"/personnelMerits/payManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/payManage/",
|
||||
"title": "薪酬管理"
|
||||
},
|
||||
"/personnelMerits/salaryPayment": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/salaryPayment/",
|
||||
"title": "工资发放"
|
||||
},
|
||||
"/personnelMerits/employeeQuitReport": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/employeeQuitReport/",
|
||||
"title": "员工离任报告"
|
||||
},
|
||||
"/personnelMerits/humanEffectManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/humanEffectManage/",
|
||||
"title": "人事绩效管理"
|
||||
},
|
||||
"/personnelMerits/laborValue": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/laborValue/",
|
||||
"title": "价值换算"
|
||||
},
|
||||
"/personnelMerits/leaveControl": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/leaveControl/",
|
||||
"title": "离职管控"
|
||||
},
|
||||
"/personnelMerits/legalDispute": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/legalDispute/",
|
||||
"title": "法务纠纷"
|
||||
},
|
||||
"/personnelMerits/injuredPersonnel": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/injuredPersonnel/",
|
||||
"title": "工伤人员"
|
||||
},
|
||||
"/supplierManage/supplierStock": {
|
||||
"src": "/hc-etms.sqygj.cn/supplierManage/supplierStock/",
|
||||
"title": "供应商库"
|
||||
},
|
||||
"/supplierManage/contractManage": {
|
||||
"src": "/hc-etms.sqygj.cn/supplierManage/contractManage/",
|
||||
"title": "合同管理"
|
||||
},
|
||||
"/supplierManage/supplierMicrobrain": {
|
||||
"src": "/hc-etms.sqygj.cn/supplierManage/supplierMicrobrain/",
|
||||
"title": "供应商微脑"
|
||||
},
|
||||
"/satisfaction/questionBank": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/questionBank/",
|
||||
"title": "调查题库"
|
||||
},
|
||||
"/satisfaction/questionnaire": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/questionnaire/",
|
||||
"title": "调查问卷"
|
||||
},
|
||||
"/satisfaction/report": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/report/",
|
||||
"title": "调查报告"
|
||||
},
|
||||
"/satisfaction/tracking": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/tracking/",
|
||||
"title": "整改跟踪"
|
||||
},
|
||||
"/appStore/applicationList": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/applicationList/",
|
||||
"title": "应用列表"
|
||||
},
|
||||
"/appStore/myRights": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/myRights/",
|
||||
"title": "我的权益"
|
||||
},
|
||||
"/appStore/shortMessage": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/shortMessage/",
|
||||
"title": "短信通道"
|
||||
},
|
||||
"/appStore/operational": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/operational/",
|
||||
"title": "运营活动"
|
||||
},
|
||||
"/appStore/saasContract": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/saasContract/",
|
||||
"title": "合同管理"
|
||||
},
|
||||
"/Miniprogram/homeSet": {
|
||||
"src": "/hc-etms.sqygj.cn/Miniprogram/homeSet/",
|
||||
"title": "首页配置"
|
||||
},
|
||||
"/Miniprogram/NBHConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/Miniprogram/NBHConfig/",
|
||||
"title": "邻里配置"
|
||||
},
|
||||
"/Miniprogram/serviceConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/Miniprogram/serviceConfig/",
|
||||
"title": "服务配置"
|
||||
},
|
||||
"/operateMan/miniprogramUser": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/miniprogramUser/",
|
||||
"title": "小程序用户"
|
||||
},
|
||||
"/operateMan/activeStatistics": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/activeStatistics/",
|
||||
"title": "活跃运营"
|
||||
},
|
||||
"/operateMan/intelligentCollection": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/intelligentCollection/",
|
||||
"title": "智能催收"
|
||||
},
|
||||
"/operateMan/safeProduction": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/safeProduction/",
|
||||
"title": "安全生产"
|
||||
},
|
||||
"/operateMan/workOrder": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/workOrder/",
|
||||
"title": "作业工单"
|
||||
},
|
||||
"/operateMan/smsVisitConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/smsVisitConfig/",
|
||||
"title": "项目拜访配置"
|
||||
},
|
||||
"/operateMan/collectionCaseAssignment": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/collectionCaseAssignment/",
|
||||
"title": "催收委案"
|
||||
},
|
||||
"/customerOperations/WeChatList": {
|
||||
"src": "/hc-etms.sqygj.cn/customerOperations/WeChatList/",
|
||||
"title": "微信客户"
|
||||
},
|
||||
"/customerOperations/tagList": {
|
||||
"src": "/hc-etms.sqygj.cn/customerOperations/tagList/",
|
||||
"title": "标签管理"
|
||||
},
|
||||
"/contentOperations/noticeAnnouncement": {
|
||||
"src": "/hc-etms.sqygj.cn/contentOperations/noticeAnnouncement/",
|
||||
"title": "通知公告"
|
||||
},
|
||||
"/trainingPush/knowledge": {
|
||||
"src": "/hc-etms.sqygj.cn/trainingPush/knowledge/",
|
||||
"title": "知识图谱应用"
|
||||
},
|
||||
"/trainingPush/sampling": {
|
||||
"src": "/hc-etms.sqygj.cn/trainingPush/sampling/",
|
||||
"title": "品质抽样"
|
||||
},
|
||||
"/systemManage/personnelSetting": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/personnelSetting/",
|
||||
"title": "人事设置"
|
||||
},
|
||||
"/systemManage/permissions": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/permissions/",
|
||||
"title": "角色权限管理"
|
||||
},
|
||||
"/systemManage/operationLog": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/operationLog/",
|
||||
"title": "操作日志"
|
||||
},
|
||||
"/systemManage/advancedSetting": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/advancedSetting/",
|
||||
"title": "高级设置"
|
||||
},
|
||||
"/systemManage/cockpitConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/cockpitConfig/",
|
||||
"title": "驾驶舱设置"
|
||||
},
|
||||
"/systemManage/indexConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/indexConfig/",
|
||||
"title": "指数设置"
|
||||
},
|
||||
"/government/auditRecords": {
|
||||
"src": "/hc-etms.sqygj.cn/government/auditRecords/",
|
||||
"title": "审核记录"
|
||||
},
|
||||
"/government/information/enterpriseArchives": {
|
||||
"src": "/hc-etms.sqygj.cn/government/information/enterpriseArchives/",
|
||||
"title": "企业档案"
|
||||
},
|
||||
"/government/information/practitioner": {
|
||||
"src": "/hc-etms.sqygj.cn/government/information/practitioner/",
|
||||
"title": "从业人员"
|
||||
},
|
||||
"/government/projectArchive": {
|
||||
"src": "/hc-etms.sqygj.cn/government/projectArchive/",
|
||||
"title": "项目档案"
|
||||
},
|
||||
"/dashboard": {
|
||||
"src": "/hc-etms.sqygj.cn/dashboard/__query_3cc8885b97/",
|
||||
"title": "首页"
|
||||
},
|
||||
"/": {
|
||||
"src": "/hc-etms.sqygj.cn/dashboard/__query_3cc8885b97/",
|
||||
"title": "首页"
|
||||
},
|
||||
"/goToProject": {
|
||||
"src": "/__mirror/runtime/hc-pos-dashboard/#/dashboard",
|
||||
"title": "点击进入【项目运营平台】"
|
||||
},
|
||||
"/finance": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/microbrain/finance/",
|
||||
"title": "财务看板"
|
||||
},
|
||||
"/equipment": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/microbrain/equipment/",
|
||||
"title": "设备看板"
|
||||
},
|
||||
"/parkingLot": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/microbrain/parkingLot/",
|
||||
"title": "车场看板"
|
||||
},
|
||||
"/propertyFeeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/propertyFeeReport/",
|
||||
"title": "物业费报表"
|
||||
},
|
||||
"/parkingLotReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/parkingLotReport/",
|
||||
"title": "车场报表"
|
||||
},
|
||||
"/planTaskReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/planTaskReport/",
|
||||
"title": "计划工单报表"
|
||||
},
|
||||
"/workOrderReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/workOrderReport/",
|
||||
"title": "非计划工单报表"
|
||||
},
|
||||
"/dataReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/dataReport/",
|
||||
"title": "工单耗时统计"
|
||||
},
|
||||
"/consumeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/consumeReport/",
|
||||
"title": "耗能报表"
|
||||
},
|
||||
"/jobGridReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/jobGridReport/",
|
||||
"title": "作业网格台账报表"
|
||||
},
|
||||
"/contractGuaranteeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/contractGuaranteeReport/",
|
||||
"title": "合同保障报表"
|
||||
},
|
||||
"/detailedContractGuaranteeReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/detailedContractGuaranteeReport/",
|
||||
"title": "合同保障明细报表"
|
||||
},
|
||||
"/contractPlanReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/contractPlanReport/",
|
||||
"title": "合同计划执行报表"
|
||||
},
|
||||
"/officialAccount": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/officialAccount/",
|
||||
"title": "公众号拉新报表"
|
||||
},
|
||||
"/collectionTracking": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/collectionTracking/",
|
||||
"title": "催收跟踪报表"
|
||||
},
|
||||
"/collectionRate": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/collectionRate/",
|
||||
"title": "企业收费项报表"
|
||||
},
|
||||
"/visitWorkReport": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/cloudData/visitWorkReport/",
|
||||
"title": "拜访工作报表"
|
||||
},
|
||||
"/monthly": {
|
||||
"src": "/hc-etms.sqygj.cn/r2cockpit/assessment/monthly/",
|
||||
"title": "月收入考核"
|
||||
},
|
||||
"/companyInfo": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/companyInfo/",
|
||||
"title": "企业信息"
|
||||
},
|
||||
"/member": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/member/",
|
||||
"title": "成员"
|
||||
},
|
||||
"/institution": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/institution/",
|
||||
"title": "组织架构"
|
||||
},
|
||||
"/organizational": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/organizational/",
|
||||
"title": "企微通讯录"
|
||||
},
|
||||
"/branchOfficeManage": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/branchOfficeManage/",
|
||||
"title": "分公司管理"
|
||||
},
|
||||
"/materialStandard": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/materialStandard/",
|
||||
"title": "物料规范"
|
||||
},
|
||||
"/communityDynamic": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/communityDynamic/",
|
||||
"title": "社区动力方程"
|
||||
},
|
||||
"/financeStandard": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/financeStandard/",
|
||||
"title": "财务规范"
|
||||
},
|
||||
"/approveMan": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/approveMan/",
|
||||
"title": "审批模板"
|
||||
},
|
||||
"/merchant": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/merchant/",
|
||||
"title": "商户配置"
|
||||
},
|
||||
"/qualificationMan": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/qualificationMan/",
|
||||
"title": "资质管理"
|
||||
},
|
||||
"/feeItem": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/feeItem/",
|
||||
"title": "企业收费项"
|
||||
},
|
||||
"/satisfactionWeight": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/satisfactionWeight/",
|
||||
"title": "满意度权重配置"
|
||||
},
|
||||
"/financeData": {
|
||||
"src": "/hc-etms.sqygj.cn/companyMetadata/financeData/",
|
||||
"title": "财务数据"
|
||||
},
|
||||
"/assessment": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/assessment/",
|
||||
"title": "人才测评"
|
||||
},
|
||||
"/recruitManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/recruitManage/",
|
||||
"title": "招聘管理"
|
||||
},
|
||||
"/personnelFiles": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/personnelFiles/",
|
||||
"title": "人事档案"
|
||||
},
|
||||
"/qualification": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/qualification/",
|
||||
"title": "资质匹配"
|
||||
},
|
||||
"/trainingManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/trainingManage/",
|
||||
"title": "培训管理"
|
||||
},
|
||||
"/checkWorkManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/checkWorkManage/",
|
||||
"title": "考勤管理"
|
||||
},
|
||||
"/payManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/payManage/",
|
||||
"title": "薪酬管理"
|
||||
},
|
||||
"/salaryPayment": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/salaryPayment/",
|
||||
"title": "工资发放"
|
||||
},
|
||||
"/employeeQuitReport": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/employeeQuitReport/",
|
||||
"title": "员工离任报告"
|
||||
},
|
||||
"/humanEffectManage": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/humanEffectManage/",
|
||||
"title": "人事绩效管理"
|
||||
},
|
||||
"/laborValue": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/laborValue/",
|
||||
"title": "价值换算"
|
||||
},
|
||||
"/leaveControl": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/leaveControl/",
|
||||
"title": "离职管控"
|
||||
},
|
||||
"/legalDispute": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/legalDispute/",
|
||||
"title": "法务纠纷"
|
||||
},
|
||||
"/injuredPersonnel": {
|
||||
"src": "/hc-etms.sqygj.cn/personnelMerits/injuredPersonnel/",
|
||||
"title": "工伤人员"
|
||||
},
|
||||
"/supplierStock": {
|
||||
"src": "/hc-etms.sqygj.cn/supplierManage/supplierStock/",
|
||||
"title": "供应商库"
|
||||
},
|
||||
"/contractManage": {
|
||||
"src": "/hc-etms.sqygj.cn/supplierManage/contractManage/",
|
||||
"title": "合同管理"
|
||||
},
|
||||
"/supplierMicrobrain": {
|
||||
"src": "/hc-etms.sqygj.cn/supplierManage/supplierMicrobrain/",
|
||||
"title": "供应商微脑"
|
||||
},
|
||||
"/questionBank": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/questionBank/",
|
||||
"title": "调查题库"
|
||||
},
|
||||
"/questionnaire": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/questionnaire/",
|
||||
"title": "调查问卷"
|
||||
},
|
||||
"/report": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/report/",
|
||||
"title": "调查报告"
|
||||
},
|
||||
"/tracking": {
|
||||
"src": "/hc-etms.sqygj.cn/satisfaction/tracking/",
|
||||
"title": "整改跟踪"
|
||||
},
|
||||
"/applicationList": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/applicationList/",
|
||||
"title": "应用列表"
|
||||
},
|
||||
"/myRights": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/myRights/",
|
||||
"title": "我的权益"
|
||||
},
|
||||
"/shortMessage": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/shortMessage/",
|
||||
"title": "短信通道"
|
||||
},
|
||||
"/operational": {
|
||||
"src": "/hc-etms.sqygj.cn/appStore/operational/",
|
||||
"title": "运营活动"
|
||||
},
|
||||
"/saasContract": {
|
||||
"src": "/hc-etms.sqygj.cn/supplierManage/contractManage/",
|
||||
"title": "合同管理"
|
||||
},
|
||||
"/homeSet": {
|
||||
"src": "/hc-etms.sqygj.cn/Miniprogram/homeSet/",
|
||||
"title": "首页配置"
|
||||
},
|
||||
"/NBHConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/Miniprogram/NBHConfig/",
|
||||
"title": "邻里配置"
|
||||
},
|
||||
"/serviceConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/Miniprogram/serviceConfig/",
|
||||
"title": "服务配置"
|
||||
},
|
||||
"/miniprogramUser": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/miniprogramUser/",
|
||||
"title": "小程序用户"
|
||||
},
|
||||
"/activeStatistics": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/activeStatistics/",
|
||||
"title": "活跃运营"
|
||||
},
|
||||
"/intelligentCollection": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/intelligentCollection/",
|
||||
"title": "智能催收"
|
||||
},
|
||||
"/safeProduction": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/safeProduction/",
|
||||
"title": "安全生产"
|
||||
},
|
||||
"/workOrder": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/workOrder/",
|
||||
"title": "作业工单"
|
||||
},
|
||||
"/smsVisitConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/smsVisitConfig/",
|
||||
"title": "项目拜访配置"
|
||||
},
|
||||
"/collectionCaseAssignment": {
|
||||
"src": "/hc-etms.sqygj.cn/operateMan/collectionCaseAssignment/",
|
||||
"title": "催收委案"
|
||||
},
|
||||
"/WeChatList": {
|
||||
"src": "/hc-etms.sqygj.cn/customerOperations/WeChatList/",
|
||||
"title": "微信客户"
|
||||
},
|
||||
"/tagList": {
|
||||
"src": "/hc-etms.sqygj.cn/customerOperations/tagList/",
|
||||
"title": "标签管理"
|
||||
},
|
||||
"/noticeAnnouncement": {
|
||||
"src": "/hc-etms.sqygj.cn/contentOperations/noticeAnnouncement/",
|
||||
"title": "通知公告"
|
||||
},
|
||||
"/knowledge": {
|
||||
"src": "/hc-etms.sqygj.cn/trainingPush/knowledge/",
|
||||
"title": "知识图谱应用"
|
||||
},
|
||||
"/sampling": {
|
||||
"src": "/hc-etms.sqygj.cn/trainingPush/sampling/",
|
||||
"title": "品质抽样"
|
||||
},
|
||||
"/personnelSetting": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/personnelSetting/",
|
||||
"title": "人事设置"
|
||||
},
|
||||
"/permissions": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/permissions/",
|
||||
"title": "角色权限管理"
|
||||
},
|
||||
"/operationLog": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/operationLog/",
|
||||
"title": "操作日志"
|
||||
},
|
||||
"/advancedSetting": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/advancedSetting/",
|
||||
"title": "高级设置"
|
||||
},
|
||||
"/cockpitConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/cockpitConfig/",
|
||||
"title": "驾驶舱设置"
|
||||
},
|
||||
"/indexConfig": {
|
||||
"src": "/hc-etms.sqygj.cn/systemManage/indexConfig/",
|
||||
"title": "指数设置"
|
||||
},
|
||||
"/auditRecords": {
|
||||
"src": "/hc-etms.sqygj.cn/government/auditRecords/",
|
||||
"title": "审核记录"
|
||||
},
|
||||
"/enterpriseArchives": {
|
||||
"src": "/hc-etms.sqygj.cn/government/information/enterpriseArchives/",
|
||||
"title": "企业档案"
|
||||
},
|
||||
"/practitioner": {
|
||||
"src": "/hc-etms.sqygj.cn/government/information/practitioner/",
|
||||
"title": "从业人员"
|
||||
},
|
||||
"/projectArchive": {
|
||||
"src": "/hc-etms.sqygj.cn/government/projectArchive/",
|
||||
"title": "项目档案"
|
||||
}
|
||||
}
|
||||
3213
__mirror/runtime/hc-etms-dashboard/runtime-bootstrap.js
Normal file
5
__mirror/runtime/hc-etms-dashboard/session-seed.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"language": "zh",
|
||||
"Account": "13686801296",
|
||||
"CToken": "mock-ctoken-hc-etms"
|
||||
}
|
||||
9
__mirror/runtime/hc-etms-dashboard/storage-seed.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"boardInfo": "{\"login\":1,\"org\":1,\"company\":1,\"activation\":1,\"cockpit\":1,\"projectCount\":94,\"houseCount\":4686,\"floorageCount\":2888556.18}",
|
||||
"companyInfo": "{\"id\":74,\"corpUuid\":\"bfe41d86-d2ad-40a8-b2e4-539a7344314c\",\"fullName\":\"深圳市美好循环科技有限公司\",\"abbreviation\":\"循环科技企业管理后台\",\"contactPeople\":\"社区云\",\"jobName\":\"经理\",\"phoneNumber\":\"13686801296\",\"createDate\":null,\"createBy\":1894,\"updateDate\":\"2026-03-19 16:40:08\",\"updateBy\":12455,\"updateName\":\"万雅颂\",\"status\":1,\"updateSource\":2,\"openAnAccountPerson\":null,\"openAnAccountBank\":null,\"bankAccount\":null,\"osId\":421,\"osUuid\":\"92115dc9-09a2-42da-b9bb-60352c900a53\",\"level\":1,\"logo\":\"https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/company/2053_1634872802864.jpg\",\"creditCode\":\"123456789\",\"corporationIdCard\":\"\",\"businessLicence\":null,\"referrer\":\"\",\"legalPerson\":\"社区云 \",\"mobile\":\"13712345678\",\"weixinCorpId\":\"wpr5LtCwAA-l9KHwrl7vReK55ExYqKGg\",\"weixinCorpName\":null,\"weixinSecret\":\"DiXokh95U5Rx_tT-G1fcqyBcn4PtvWaAMGJiONYK_8M\",\"miniCode\":\"https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/company/20220305_1646480923898.jpg\",\"sealImages\":null,\"hrQrcode\":null,\"hrUrl\":null,\"useCockpit\":1,\"postalCode\":12,\"payer\":\"丁思雨\",\"payerMobile\":\"19912341233\",\"publicBank\":\"测试\",\"publicBankNo\":\"125544411111\",\"address\":\"2222222222222222222222222222222222222222222\",\"wxAppid\":null,\"invoiceStatus\":1,\"invoiceKey\":\"456\",\"invoiceSecret\":\"123\",\"discountScope\":\"POINT\",\"pointCopartnerIds\":\"27,34,99\",\"pointCopartnerNames\":null}",
|
||||
"fromPhone": "13686801296",
|
||||
"memberId": "12547",
|
||||
"memberInfor": "{\"id\":12547,\"uuid\":\"f1aee78c-8f95-4985-a67d-3e163db856c2\",\"codeNumber\":\"q7fsx5d0\",\"name\":\"郭晓\",\"phoneNumber\":\"15972712560\",\"accountUuid\":\"f212ba36-2910-4b8d-87e7-57a2bf5f6534\",\"postUuid\":152,\"postName\":\"环境管家-外围\",\"hrPostName\":null,\"sex\":1,\"province\":\"\",\"city\":\"\",\"area\":\"\",\"detailAddress\":\"\",\"idNumber\":\"430121200412272816\",\"birthday\":\"2004-12-27\",\"createDate\":\"2026-03-27 15:40:45\",\"createBy\":null,\"updateDate\":\"2026-03-27 15:40:45\",\"updateBy\":null,\"isStop\":1,\"companyId\":421,\"englishName\":\"\",\"country\":\"\",\"nation\":\"\",\"nativePlace\":\"\",\"maritalStatus\":null,\"height\":\"\",\"weight\":\"\",\"constellation\":null,\"zodiacSign\":null,\"healthCondition\":\"\",\"politicCountenance\":null,\"email\":\"\",\"expertise\":\"\",\"hobby\":\"\",\"urgentPerson\":\"\",\"urgentPhone\":\"\",\"archivesSource\":3,\"blacklist\":0,\"osId\":598,\"osName\":\"博万物\",\"certificateType\":1,\"certificateAddress\":null,\"education\":5,\"school\":null,\"major\":null,\"remark\":null,\"creatorName\":null,\"updaterName\":null,\"fileUrl\":null,\"accountNumber\":null,\"bankName\":null,\"branch\":null,\"source\":null,\"accountName\":null,\"appId\":null,\"operatorId\":null,\"operatorUuid\":null,\"operatorName\":null,\"operatingTime\":null}",
|
||||
"roleId": "97",
|
||||
"userInfo": "{\"id\":1893,\"uuid\":\"f4183b10-db0a-41fa-bb54-5a35659c0ee2\",\"accountName\":\"13686801296\",\"accountPassword\":\"d2fe469654fe4722a3c185edded3d75d\",\"passwordUpdateTime\":null,\"openid\":null,\"token\":null,\"retoken\":null,\"isDelete\":0,\"createDate\":null,\"createBy\":null,\"updateDate\":null,\"updateBy\":null}"
|
||||
}
|
||||
236
__mirror/runtime/hc-etms-dashboard/sw.js
Normal file
@@ -0,0 +1,236 @@
|
||||
const MENU_FILE = "./menu-seed.json";
|
||||
const STORAGE_FILE = "./storage-seed.json";
|
||||
|
||||
let menuPromise = null;
|
||||
let storagePromise = null;
|
||||
|
||||
self.addEventListener("install", (event) => {
|
||||
self.skipWaiting();
|
||||
event.waitUntil(Promise.all([loadMenu(), loadStorage()]));
|
||||
});
|
||||
|
||||
self.addEventListener("activate", (event) => {
|
||||
event.waitUntil(self.clients.claim());
|
||||
});
|
||||
|
||||
self.addEventListener("fetch", (event) => {
|
||||
const url = new URL(event.request.url);
|
||||
if (!(url.pathname.startsWith("/hakocompany/") || url.pathname.startsWith("/company/") || url.hostname.includes("app-company-be.sqygj.cn"))) {
|
||||
return;
|
||||
}
|
||||
event.respondWith(handleApiRequest(event.request));
|
||||
});
|
||||
|
||||
async function loadMenu() {
|
||||
if (menuPromise) {
|
||||
return menuPromise;
|
||||
}
|
||||
menuPromise = fetch(MENU_FILE, { cache: "no-store" })
|
||||
.then((response) => (response.ok ? response.json() : []))
|
||||
.catch(() => []);
|
||||
return menuPromise;
|
||||
}
|
||||
|
||||
async function loadStorage() {
|
||||
if (storagePromise) {
|
||||
return storagePromise;
|
||||
}
|
||||
storagePromise = fetch(STORAGE_FILE, { cache: "no-store" })
|
||||
.then((response) => (response.ok ? response.json() : {}))
|
||||
.catch(() => ({}));
|
||||
return storagePromise;
|
||||
}
|
||||
|
||||
function ok(data) {
|
||||
return {
|
||||
data,
|
||||
code: 0,
|
||||
message: "mock success.",
|
||||
ok: true
|
||||
};
|
||||
}
|
||||
|
||||
function paged(records = []) {
|
||||
return ok({
|
||||
rowsCount: records.length,
|
||||
pageNumber: 1,
|
||||
pageSize: 10,
|
||||
pageCount: records.length ? 1 : 0,
|
||||
records
|
||||
});
|
||||
}
|
||||
|
||||
function parseJsonMaybe(value, fallback = {}) {
|
||||
try {
|
||||
return JSON.parse(value || "{}");
|
||||
} catch (_error) {
|
||||
return fallback;
|
||||
}
|
||||
}
|
||||
|
||||
async function handleApiRequest(request) {
|
||||
if (request.method === "OPTIONS") {
|
||||
return new Response("", {
|
||||
status: 200,
|
||||
headers: corsHeaders("text/plain;charset=utf-8")
|
||||
});
|
||||
}
|
||||
|
||||
const storage = await loadStorage();
|
||||
const menu = await loadMenu();
|
||||
const companyInfo = parseJsonMaybe(storage.companyInfo);
|
||||
const userInfo = parseJsonMaybe(storage.userInfo);
|
||||
const boardInfo = parseJsonMaybe(storage.boardInfo);
|
||||
const memberInfo = parseJsonMaybe(storage.memberInfor);
|
||||
|
||||
const url = new URL(request.url);
|
||||
const path = url.pathname;
|
||||
|
||||
if (path.includes("/hakocompany/account/")) {
|
||||
return json(ok({
|
||||
companyAuthApplyOrderRespDTOS: [companyInfo],
|
||||
menuSelectAllResponseDTOS: menu,
|
||||
companyAuthApplyOrderRespDTO: companyInfo
|
||||
}));
|
||||
}
|
||||
|
||||
if (path.includes("/company/member/findById")) {
|
||||
return json(ok(memberInfo));
|
||||
}
|
||||
|
||||
if (path.includes("/company/organizationalStructure/statusBoard")) {
|
||||
return json(ok({
|
||||
login: boardInfo.login || 1,
|
||||
org: boardInfo.org || 1,
|
||||
company: boardInfo.company || 1,
|
||||
activation: boardInfo.activation || 1,
|
||||
cockpit: boardInfo.cockpit || 1,
|
||||
projectCount: boardInfo.projectCount || 94,
|
||||
houseCount: boardInfo.houseCount || 4686,
|
||||
floorageCount: boardInfo.floorageCount || 2888556.18
|
||||
}));
|
||||
}
|
||||
|
||||
if (path.includes("/company/organizationalStructure/dueNum")) {
|
||||
return json(ok({
|
||||
projectGoodsDueNum: 3,
|
||||
smsSurplusNum: 11042,
|
||||
contractDueNum: 1,
|
||||
memberCertificateDueNum: 0
|
||||
}));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/RightsProject/expireSchemeDetail")) {
|
||||
return json(ok({
|
||||
projectGoodsDueNum: 3,
|
||||
smsSurplusNum: 11042,
|
||||
contractDueNum: 1,
|
||||
memberCertificateDueNum: 0
|
||||
}));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/PlatformMessage/noticePageList")) {
|
||||
return json(paged([
|
||||
{ id: 1, title: "企业平台通知", createTime: "2026-04-01 22:00:00", content: "这是企业服务平台的本地 mock 通知。" }
|
||||
]));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/PlatformMessage/checkMessage")) {
|
||||
return json(ok(false));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/AgentConfig/getAgentUrl")) {
|
||||
return json(ok("https://example.com/mock-etms-agent"));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/SatisfactionEvaluate/checkEvaluateTime")) {
|
||||
return json(ok(false));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/OperationalGuidance/pageList")) {
|
||||
return json(paged([
|
||||
{ id: 1, title: "合同管理", tag: "操作指引" },
|
||||
{ id: 2, title: "事务报表", tag: "操作指引" },
|
||||
{ id: 3, title: "财务—常规配置", tag: "操作指引" }
|
||||
]));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/TrainingInfo/pageList")) {
|
||||
return json(paged([]));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/Company/") || path.includes("/company/Company/")) {
|
||||
return json(ok(companyInfo));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/FsSubject/")) {
|
||||
return json(ok([]));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/OrderContract/pageList")) {
|
||||
return json(paged([]));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/WeightConfig") || path.includes("/hakocompany/Satisfaction")) {
|
||||
return json(paged([]));
|
||||
}
|
||||
|
||||
if (path.includes("/hakocompany/Board") || path.includes("/hakocompany/Cockpit")) {
|
||||
return json(ok(boardInfo));
|
||||
}
|
||||
|
||||
if (path.includes("/pageList")) {
|
||||
return json(paged([]));
|
||||
}
|
||||
|
||||
if (path.includes("/listBy") || path.includes("/selectAll") || path.endsWith("/list")) {
|
||||
return json(ok([]));
|
||||
}
|
||||
|
||||
if (
|
||||
path.includes("/create") ||
|
||||
path.includes("/update") ||
|
||||
path.includes("/delete") ||
|
||||
path.includes("/save") ||
|
||||
path.includes("/edit") ||
|
||||
path.includes("/sync") ||
|
||||
path.includes("/batch")
|
||||
) {
|
||||
return json(ok(true));
|
||||
}
|
||||
|
||||
if (path.includes("/findBy") || path.includes("/detail")) {
|
||||
return json(ok({
|
||||
companyInfo,
|
||||
userInfo,
|
||||
memberInfo,
|
||||
boardInfo
|
||||
}));
|
||||
}
|
||||
|
||||
if (path.includes("/report") || path.includes("/statistics") || path.includes("/count") || path.includes("/total")) {
|
||||
return json(ok({
|
||||
projectCount: boardInfo.projectCount || 0,
|
||||
houseCount: boardInfo.houseCount || 0,
|
||||
floorageCount: boardInfo.floorageCount || 0
|
||||
}));
|
||||
}
|
||||
|
||||
return json(ok({}));
|
||||
}
|
||||
|
||||
function json(payload) {
|
||||
return new Response(JSON.stringify(payload), {
|
||||
status: 200,
|
||||
headers: corsHeaders("application/json;charset=utf-8")
|
||||
});
|
||||
}
|
||||
|
||||
function corsHeaders(contentType) {
|
||||
return {
|
||||
"Content-Type": contentType,
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Allow-Methods": "GET,POST,PUT,PATCH,DELETE,OPTIONS",
|
||||
"Access-Control-Allow-Headers": "*"
|
||||
};
|
||||
}
|
||||
BIN
__mirror/runtime/hc-etms-dashboard/topbar-hcetms-latest.png
Normal file
|
After Width: | Height: | Size: 248 KiB |