integrated_traffic_vue/src/assets/js/constant.js

31 lines
883 B
JavaScript
Raw Normal View History

2024-01-04 09:02:38 +08:00
// 将常用的值储存成常量,防止重复使用写错
// 头部导航条切换的model
export const MODEL = {
2024-02-22 16:18:58 +08:00
1: "corpManagement",
2: "mechanicalMaintenanceArchives",
3: "prevention",
4: "educationAndTraining",
2024-01-04 09:02:38 +08:00
5: "comprehensive",
2024-02-21 10:41:40 +08:00
6: "positioning",
2024-01-04 09:02:38 +08:00
};
// 头部导航条
export const MENU = [
2024-02-22 16:18:58 +08:00
{ title: "企业信息", model: MODEL["1"] },
{ title: "机务档案", model: MODEL["2"] },
{ title: "双重预防", model: MODEL["3"] },
{ title: "教育培训", model: MODEL["4"] },
2024-01-04 09:02:38 +08:00
{ title: "综合管理", model: MODEL["5"] },
2024-02-22 09:16:01 +08:00
{ title: "定位管理", model: MODEL["6"] },
2024-01-04 09:02:38 +08:00
];
2024-01-10 13:52:16 +08:00
export const PRINT_STYLE =
2024-01-04 09:02:38 +08:00
'<style type="text/css" media="print">\n' +
" @page { size: landscape; }\n" +
"</style>";
2024-01-09 18:02:04 +08:00
export const SPECIAL_ENTERPRISES = [
"fe58b51278094635800b944e4ae3a871",
"0fa689dd674546b69ebd77728ffd1caa",
"13cf0f4ec77e4d98ae8cdd9c3386ae0c",
];