integrated_traffic_vue/src/assets/js/constant.js

30 lines
792 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",
};
// 头部导航条
export const MENU = [
{ title: "双重预防", model: MODEL["1"] },
{ title: "教育培训", model: MODEL["2"] },
{ title: "高危作业管理", model: MODEL["3"] },
{ title: "监测预警", model: MODEL["4"] },
{ title: "综合管理", model: MODEL["5"] },
];
export const styleText =
'<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",
];