integrated_traffic_vue/src/assets/js/constant.js

31 lines
855 B
JavaScript
Raw Normal View History

2024-01-04 09:02:38 +08:00
// 将常用的值储存成常量,防止重复使用写错
// 头部导航条切换的model
export const MODEL = {
1: "prevention",
2: "educationAndTraining",
3: "highRisk",
4: "monitor",
5: "comprehensive",
2024-02-21 10:41:40 +08:00
6: "positioning",
2024-01-04 09:02:38 +08:00
};
// 头部导航条
export const MENU = [
{ title: "双重预防", model: MODEL["1"] },
{ title: "教育培训", model: MODEL["2"] },
{ title: "特殊作业", model: MODEL["3"] },
2024-01-04 09:02:38 +08:00
{ title: "监测预警", model: MODEL["4"] },
{ title: "综合管理", model: MODEL["5"] },
{ 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",
];