forked from integrated_whb/integrated_whb_vue
147 lines
3.5 KiB
JavaScript
147 lines
3.5 KiB
JavaScript
// 将常用的值储存成常量,防止重复使用写错
|
|
|
|
// 头部导航条切换的model
|
|
export const MODEL = {
|
|
1: "corpManagement",
|
|
2: "mechanicalMaintenanceArchives",
|
|
3: "prevention",
|
|
4: "educationAndTraining",
|
|
5: "comprehensive",
|
|
6: "positioning",
|
|
};
|
|
// 头部导航条
|
|
export const MENU = [
|
|
{ title: "企业信息", model: MODEL["1"] },
|
|
{ title: "机务档案", model: MODEL["2"] },
|
|
{ title: "双重预防", model: MODEL["3"] },
|
|
{ title: "教育培训", model: MODEL["4"] },
|
|
{ title: "综合管理", model: MODEL["5"] },
|
|
// { title: "定位管理", model: MODEL["6"] },
|
|
];
|
|
// 安全生成及电子运单管理
|
|
export const PRACTITIONERMENU = [
|
|
{ id: "李某某", name: "1" },
|
|
{ id: "张某某", name: "2" },
|
|
{ id: "刘某某", name: "3" },
|
|
];
|
|
export const TRUCKMENU = [
|
|
{ id: "货AA3537", name: "1" },
|
|
{ id: "货B73752", name: "2" },
|
|
{ id: "货C87376", name: "3" },
|
|
];
|
|
export const CUSTOMERTYPEMENU = [
|
|
{ id: "委托方", name: "1" },
|
|
{ id: "确认方", name: "2" },
|
|
];
|
|
export const MEETINGTYPEMENU = [
|
|
{ id: "安全生产例会", name: "1" },
|
|
{ id: "安全生产委员会会议", name: "2" },
|
|
];
|
|
export const LOCATIONTYPEMENU = [
|
|
{ id: "起运地", name: "1" },
|
|
{ id: "目的地", name: "2" },
|
|
];
|
|
|
|
export const PENALTYMETHODMENU = [
|
|
{ id: "罚款", name: "1" },
|
|
{ id: "罚钱", name: "2" },
|
|
{ id: "赔礼道歉", name: "3" },
|
|
];
|
|
|
|
export const EDUCATIONALMENU = [
|
|
{ id: "专科", name: "1" },
|
|
{ id: "本科", name: "2" },
|
|
{ id: "博士", name: "3" },
|
|
];
|
|
|
|
export const ACCIDENTNATUREMENU = [
|
|
{ id: "火灾", name: "1" },
|
|
{ id: "车祸", name: "2" },
|
|
{ id: "天灾", name: "3" },
|
|
];
|
|
|
|
export const PRINT_STYLE =
|
|
'<style type="text/css" media="print">\n' +
|
|
" @page { size: landscape; }\n" +
|
|
"</style>";
|
|
|
|
export const SPECIAL_ENTERPRISES = [
|
|
"fe58b51278094635800b944e4ae3a871",
|
|
"0fa689dd674546b69ebd77728ffd1caa",
|
|
"13cf0f4ec77e4d98ae8cdd9c3386ae0c",
|
|
];
|
|
|
|
export const OPERATING_VEHICLE_TYPE_LIST = [
|
|
// 运营车型
|
|
{ ID: "1", NAME: "运输车辆" },
|
|
{ ID: "2", NAME: "货运挂车" },
|
|
];
|
|
|
|
export const INSURANCEMENU = [
|
|
// 运营车型
|
|
{ ID: "1", NAME: "太平洋保险公司" },
|
|
{ ID: "2", NAME: "中国人保" },
|
|
];
|
|
|
|
export const DUE_STATUS_LIST = [
|
|
// 到期状态
|
|
{ ID: "1", NAME: "未到期" },
|
|
{ ID: "0", NAME: "已到期" },
|
|
{ ID: "2", NAME: "即将到期" },
|
|
];
|
|
|
|
export const REMINDER_STATUS_LIST = [
|
|
// 提醒状态
|
|
{ ID: "1", NAME: "开启" },
|
|
{ ID: "0", NAME: "关闭" },
|
|
];
|
|
|
|
export const DISPOSE_STATUS_LIST = [
|
|
// 处理状态
|
|
{ ID: "1", NAME: "处理中" },
|
|
{ ID: "0", NAME: "处理完成" },
|
|
];
|
|
|
|
export const TAXES_PERIOD = [
|
|
// 税费周期
|
|
{ ID: "1", NAME: "12个月", NUM: "12" },
|
|
{ ID: "0", NAME: "6个月", NUM: "6" },
|
|
];
|
|
|
|
export const EXPIRE_STATUS = [
|
|
// 到期状态
|
|
{ ID: "1", NAME: "未到期" },
|
|
{ ID: "0", NAME: "已到期" },
|
|
];
|
|
|
|
export const MAINTENANCE_LEVEL_LIST = [
|
|
// 维保等级
|
|
{ ID: "1", NAME: "一级维保" },
|
|
{ ID: "2", NAME: "二级维保" },
|
|
];
|
|
export const NETWORK_STATE = [
|
|
// 入网状态
|
|
{ ID: "0", NAME: "已入网" },
|
|
{ ID: "1", NAME: "未入网" },
|
|
{ ID: "2", NAME: "超时入网" },
|
|
];
|
|
|
|
export const REMINDER_STATUS = [
|
|
// 提醒状态
|
|
{ ID: "0", NAME: "开启" },
|
|
{ ID: "1", NAME: "关闭" },
|
|
];
|
|
|
|
export const REMIND_DAYS = [
|
|
// 提醒天数
|
|
{ ID: "0", NAME: "30天", NUM: "30" },
|
|
{ ID: "1", NAME: "45天", NUM: "45" },
|
|
{ ID: "2", NAME: "90天", NUM: "90" },
|
|
];
|
|
|
|
// export const MAINTENANCE_LEVEL_LIST = [
|
|
// //维保等级
|
|
// {ID:'1',NAME:'一级维保'},
|
|
// {ID:'2',NAME:'二级维保'},
|
|
// ]
|