- //固定字典
- export const fixDict = {
- // 根据因子的单位来匹配,扩展'#3ba272', '#fc8452', '#9a60b4', '#ea7ccc'
- propsColorYs: [
- { label: '(米)', color: '#5470c6', value: 'm' },
- { label: '(米/秒)', color: '#91cc75', value: 'm/s' },
- { label: '(度)', color: '#fac858', value: 'mg/L' },
- { label: '(立方米/小时)', color: '#ee6666', value: 'm³/h' },
- { label: '(立方米/秒)', color: '#3ba272', value: 'm³/s' },
- { label: '(立方米)', color: '#73c0de', value: 'm³' },
- { label: '(毫米)', color: '#fc8452', value: 'mm' },
- { label: '(毫克/升)', color: '#ea7ccc', value: 'mg/l' },
- { label: '(摄氏度)', color: '#3ba272', value: '℃' },
- { label: '(微西门/厘米)', color: '#9a60b4', value: 'us/cm' },
- ],
- //站点类型
- siteTypes: [
- { label: '水位', value: 'water_level' },
- { label: '流量', value: 'flow' },
- { label: '降雨', value: 'rain' },
- { label: '水质', value: 'quality' },
- ],
- //高程系统/坐标系
- elevationSystemTypes: [
- { label: '黄海', value: 'yellow_sea' },
- { label: '85国标', value: '85' },
- { label: '吴淞', value: 'wusong' },
- ],
- //监测对象类型
- monitorTargetTypes: [
- { label: '河道断面', value: 'river' },
- { label: '内涝点', value: 'waterlogging' },
- { label: '管网', value: 'pipeline' },
- { label: '雨量站', value: 'rainfall' },
- { label: '典型项目', value: 'typical_land' },
- { label: '海绵设施', value: 'drain_outlet' },
- ],
- //建设方式
- buildTypes: [
- { label: '自建', value: 'owner' },
- { label: '共享', value: 'share' },
- ],
- //在线状态
- onlineStatus: [
- { label: '在线', value: 'online', elTagType: 'primary' },
- { label: '离线', value: 'offline', elTagType: 'info' },
- ],
- //故障状态
- faultStatus: [
- { label: '正常', value: 'normal', elTagType: 'primary' },
- { label: '低电压', value: 'low_battery', elTagType: 'warning' },
- { label: '低信号', value: 'low_signal', elTagType: '' },
- { label: '异常值', value: 'exception', elTagType: 'danger' },
- { label: '离线', value: 'offline', elTagType: 'info' },
- ],
- // 事件处理状态
- eventStatusType: [
- { label: '待处理', value: 'unprocess' },
- { label: '已忽略', value: 'ignore' },
- // { label: '核查中', value: 'checking' },
- // { label: '核查完成', value: 'check_completed' },
- { label: '转案件处理', value: 'case_handling' },
- { label: '待维修', value: 'unrepair' },
- { label: '维修完成', value: 'repaired' },
- { label: '已结案', value: 'case_closed' },
- ],
- // 工单操作事件状态
- orderStatusType: [
- { label: '创建', value: 'create' },
- { label: '修改', value: 'update' },
- { label: '忽略', value: 'ignore' },
- { label: '核查中', value: 'checking' },
- { label: '核查完成', value: 'check_completed' },
- { label: '转案件处理', value: 'case_handling' },
- { label: '待维修', value: 'unrepair' },
- { label: '维修完成', value: 'repaired' },
- { label: '已结案', value: 'case_closed' },
- ],
- // 事件紧急程度
- urgencyType: [
- { label: '一般', value: 'general' },
- { label: '严重', value: 'serious' },
- { label: '紧急', value: 'urgent' },
- ],
- // 事件类型
- eventTypes: [
- { label: '电话投诉', value: 'phone' },
- { label: '网上投诉', value: 'internet' },
- { label: '微信公众投诉', value: 'weChat' },
- ],
- };