Commit c6927552 authored by xinzhedeai's avatar xinzhedeai

fix: 页面字段修改 exp:报警等级

parent 461278fc
......@@ -5,8 +5,8 @@ ENV = 'production'
# 如果接口是 http 形式, wss 需要改为 ws
# 山西柳林安泰洗煤边坡 ------------------------
VUE_APP_BASE_API = 'http://192.168.26.8:9045'
VUE_APP_LOCAL_API = 'http://192.168.26.8:9001'
# VUE_APP_BASE_API = 'http://192.168.26.8:9045'
# VUE_APP_LOCAL_API = 'http://192.168.26.8:9001'
# 冯克贞 ------------------------
#VUE_APP_BASE_API = 'http://192.168.27.147:9045'
......@@ -25,4 +25,8 @@ VUE_APP_LOCAL_API = 'http://192.168.26.8:9001'
#VUE_APP_LOCAL_API = 'http://192.168.4.61:9000'
#VUE_APP_LOCAL_API2 = 'http://192.168.4.61:9000'
#VUE_APP_LOCAL_b3dms = 'http://192.168.1.3:8045'
\ No newline at end of file
#VUE_APP_LOCAL_b3dms = 'http://192.168.1.3:8045'
# 马力沟 ------------------------
VUE_APP_BASE_API = 'http://192.168.10.10:9045'
VUE_APP_LOCAL_API = 'http://192.168.10.10:9001'
\ No newline at end of file
......@@ -405,9 +405,14 @@ var reqApis = function () {
baseInfo: {
"sensorname": { name: "设备名称" },
"sensorid": { name: "设备ID" },
"dispx": { name: "x变化量(mm)" },
"dispy": { name: "y变化量(mm)" },
"disph": { name: "z变化量(mm)" },
// "velocityx": { name: "x形变速率(mm/h)" },
// "dispx": { name: "x累计位移(mm)" },
// "velocityy": { name: "y形变速率(mm/h)" },
// "dispy": { name: "y累计位移(mm)" },
// "velocityh": { name: "z形变速率(mm/h)" },
// "disph": { name: "z累计位移(mm)" },
"disph": { name: "监测值(mm)" },
/* "cartesianX": { name: "大地坐标X" },
"cartesianY": { name: "大地坐标Y" },
"cartesianZ": { name: "大地坐标Z" }, */
......@@ -529,8 +534,8 @@ var reqApis = function () {
"sensorname": { name: "设备名称" },
"sensorid": { name: "设备ID" },
"lenth": { name: "长度(m)" },
"safeheight": { name: "坡度(度)" },
"angle": { name: "高程(m)" },
// "safeheight": { name: "坡度(度)" },
// "angle": { name: "高程(m)" },
"time": {
name: "监测时间", form: 0, type: "tableFormat", tableFormat: function (val) {
return Tools.Dates.format.call(new Date(val), 'yyyy-MM-dd HH:mm:ss')
......@@ -1001,8 +1006,14 @@ var reqApis = function () {
baseInfo: {
"sensorname": { name: "设备名称" },
"sensorid": { name: "设备ID" },
"rainfall": { name: "监测值" },
"danwei": { name: "单位" },
// "rainfall": { name: "监测值" },
// "danwei": { name: "单位" },
"rainfall": { name: "瞬时雨量(mm/h)" },
"threerainfall": { name: "3小时内雨量(mm)" },
"sixrainfall": { name: "6小时内雨量(mm)" },
"twelverainfall": { name: "12小时内雨量(mm)" },
"dayrainfall": { name: "日累计雨量" },
"state": { name: "是否报警", type: 'select', },
"time": {
name: "监测时间", form: 0, type: "tableFormat", tableFormat: function (val) {
......@@ -1197,9 +1208,9 @@ var reqApis = function () {
baseInfo: {
"sensorname": { name: "设备名称" },
"sensorid": { name: "设备ID" },
"dispA": { name: "a轴变化量(mm)" },
"dispB": { name: "b轴变化量(mm)" },
"cjvalue": { name: "沉降(mm)" },
// "dispA": { name: "a轴变化量(mm)" },
"dispB": { name: "监测值(mm)" },
// "cjvalue": { name: "沉降(mm)" },
"state": { name: "是否报警", type: 'select' },
"time": {
name: "监测时间", form: 0, type: "tableFormat", tableFormat: function (val) {
......@@ -1407,8 +1418,8 @@ var reqApis = function () {
baseInfo: {
"sensorname": { name: "设备名称" },
"sensorid": { name: "设备ID" },
"pslvalue": { name: "监测值(m³)" },
"psssvalue": { name: "瞬时流量(m³)" },
"pslvalue": { name: "流速(m³/h)" },
// "psssvalue": { name: "瞬时流量(m³)" },
"state": { name: "是否报警", type: 'select', },
"time": {
name: "监测时间", form: 0, type: "tableFormat", tableFormat: function (val) {
......@@ -2239,28 +2250,110 @@ 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 + ')'
"equipname": { name: "类别", must: true, disabled: true },
// "equipno": { name: "设备ID", must: true, disabled: true },
// "bluealarm": {
// name: "蓝色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
// return val
// }
// },
// "yellowalarm": {
// name: "黄色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
// return val
// }
// },
// "orangealarm": {
// name: "橙色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
// return val
// }
// },
// "redalarm": {
// name: "红色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
// return val
// }
// },
"fourlevelalarm": {
name: "蓝色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val
}
},
"threelevelalarm": {
name: "黄色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val + ' (' + this.unit + ')'
return val
}
},
"fourlevelalarm": {
name: "色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val + ' (' + this.unit + ')'
"twolevelalarm": {
name: "色报警", must: true, type: 'tableFormat', tableFormat: function (val) {
return val
}
},
"onelevelalarm": {
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