1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| /*
| * 运行时业务字典。
| * 发布后可直接修改部署目录中的 dist/dict.js,刷新页面即可生效,无需重新构建前端。
| */
| window.__APP_DICT__ = {
| taskStatuses: {
| UNREPORTED: { text: '未上报', type: 'info' },
| REPORTED_XCB: { text: '已上报rk_XCB', type: 'warning' },
| RETURNED: { text: '上级打回', type: 'danger' },
| XCB_REVIEWED: { text: 'rk_XCB助理审核完成', type: 'primary' },
| CMB_APPROVED: { text: 'rk_CMB领导审批完成', type: 'success' },
| JCC_ASSISTANT_APPROVED: { text: 'rk_JCC助理审批完成', type: 'success' },
| JCC_DIRECTOR_APPROVED: { text: 'rk_JCC处长已阅', type: 'success' },
| DISPATCHED: { text: '已派单', type: 'primary' },
| CANCELLED: { text: '已销项', type: 'info' }
| },
| completionStatuses: {
| UNFINISHED: { text: '未完工', type: 'info' },
| WAIT_PARTS: { text: '待备件', type: 'warning' },
| WAIT_TEST: { text: '完工待试验', type: 'primary' },
| COMPLETED: { text: '完工', type: 'success' }
| },
| acceptanceStatuses: {
| APPLICATION_PENDING: { text: '待提交验收申请', type: 'warning' },
| QUALITY_INSPECTOR_PENDING: { text: '待质检员验收', type: 'primary' },
| QUALITY_LEADER_PENDING: { text: '待质检负责人验收', type: 'primary' },
| PRINT_PENDING: { text: '待打印输出', type: 'warning' },
| RATING_PENDING: { text: '待修后质量评级', type: 'warning' },
| COMPLETED: { text: '验收完成', type: 'success' },
| RETURNED_APPLICATION: { text: '已打回验收申请', type: 'danger' },
| RETURNED_INSPECTOR: { text: '已打回质检员验收', type: 'danger' }
| }
| }
|
|