Commit c2d8bac1 authored by xinzhedeai's avatar xinzhedeai

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

parent 2f3cace3
......@@ -2243,92 +2243,90 @@ var reqApis = function () {
name: '历史记录',
Dict: {
baseInfo: {
"equipname": { name: "设备名称", must: true, disabled: true },
"equipno": { name: "设备ID", must: true, disabled: true },
"onelevelalarm": {
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": {
"equipname": { name: "类别", must: true, disabled: true },
// "equipno": { name: "设备ID", must: true, disabled: true },
"bluealarm": {
name: "蓝色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val + ' (' + this.unit + ')'
}
},
"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 + ')') : ''
return val
}
},
"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 + ')') : ''
"yellowalarm": {
name: "黄色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val
}
},
"hthree": {
name: "1小时位移速率黄色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
"orangealarm": {
name: "橙色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val
}
},
"hfour": {
name: "1小时位移速率蓝色报警", must: false, type: 'tableFormat', tableFormat: function (val) {
return val ? (val + ' (' + this.unit + ')') : ''
"redalarm": {
name: "红色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
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: {},
},
......
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