Commit c2d8bac1 authored by xinzhedeai's avatar xinzhedeai

报警管理-预警值设置 列表字段调整

parent 2f3cace3
...@@ -2243,92 +2243,90 @@ var reqApis = function () { ...@@ -2243,92 +2243,90 @@ var reqApis = function () {
name: '历史记录', name: '历史记录',
Dict: { Dict: {
baseInfo: { baseInfo: {
"equipname": { name: "设备名称", must: true, disabled: true }, "equipname": { name: "类别", must: true, disabled: true },
"equipno": { name: "设备ID", must: true, disabled: true }, // "equipno": { name: "设备ID", must: true, disabled: true },
"onelevelalarm": { "bluealarm": {
name: "红色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val + ' (' + this.unit + ')'
}
},
"twolevelalarm": {
name: "橙色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val + ' (' + this.unit + ')'
}
},
"threelevelalarm": {
name: "黄色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val + ' (' + this.unit + ')'
}
},
"fourlevelalarm": {
name: "蓝色报警", must: true, type: 'tableFormat', tableFormat: function (val) { name: "蓝色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val + ' (' + this.unit + ')' return val
}
},
"fivedayone": {
name: "5天位移速率红色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
}
},
"fivedaytwo": {
name: "5天位移速率橙色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
}
},
"fivedaythree": {
name: "5天位移速率黄色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
}
},
"fivedayfour": {
name: "5天位移速率蓝色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
} }
}, },
"dayone": { "yellowalarm": {
name: "1天位移速率红色报警", must: false, type: 'tableFormat', tableFormat: function (val) { name: "黄色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : '' return val
}
},
"daytwo": {
name: "1天位移速率橙色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
}
},
"daythree": {
name: "1天位移速率黄色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
}
},
"dayfour": {
name: "1天位移速率蓝色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
}
},
"hone": {
name: "1小时位移速率红色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
}
},
"htwo": {
name: "1小时位移速率橙色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
} }
}, },
"hthree": { "orangealarm": {
name: "1小时位移速率黄色报警", must: false, type: 'tableFormat', tableFormat: function (val) { name: "橙色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : '' return val
} }
}, },
"hfour": { "redalarm": {
name: "1小时位移速率蓝色报警", must: false, type: 'tableFormat', tableFormat: function (val) { name: "红色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : '' return val
} }
}, },
// "fivedayone": {
// name: "5天位移速率红色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "fivedaytwo": {
// name: "5天位移速率橙色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "fivedaythree": {
// name: "5天位移速率黄色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "fivedayfour": {
// name: "5天位移速率蓝色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "dayone": {
// name: "1天位移速率红色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "daytwo": {
// name: "1天位移速率橙色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "daythree": {
// name: "1天位移速率黄色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "dayfour": {
// name: "1天位移速率蓝色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "hone": {
// name: "1小时位移速率红色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "htwo": {
// name: "1小时位移速率橙色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "hthree": {
// name: "1小时位移速率黄色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
// "hfour": {
// name: "1小时位移速率蓝色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
// return val ? (val + ' (' + this.unit + ')') : ''
// }
// },
}, },
selectList: {}, selectList: {},
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment