diff --git a/src/main/webapp/IMG/logo.png b/src/main/webapp/IMG/logo.png index 760c29cb..de5f522d 100644 Binary files a/src/main/webapp/IMG/logo.png and b/src/main/webapp/IMG/logo.png differ diff --git a/src/main/webapp/IMG/logo1.png b/src/main/webapp/IMG/logo1.png new file mode 100644 index 00000000..760c29cb Binary files /dev/null and b/src/main/webapp/IMG/logo1.png differ diff --git a/src/main/webapp/JS/main/main_js.js b/src/main/webapp/JS/main/main_js.js index 02169e5a..07312a0c 100644 --- a/src/main/webapp/JS/main/main_js.js +++ b/src/main/webapp/JS/main/main_js.js @@ -9,6 +9,82 @@ * @param textId */ function getValue(unitId, mpointCode, valueId, textId) { + // var data = { + // "confirmalarm": "0", + // "parmname": "进水瞬时流量", + // "signaltag": "", + // "soundalarm": "0", + // "remoteup": "0", + // "triggercycle": "0", + // "triggermutation": "0", + // "ledcolor": "1", + // "id": "C_Jsssll", + // "numtail": "0", + // "signaltype": "AI", + // "active": "启用", + // "flowset": 0, + // "unit": "m³/h", + // "sourceType": "auto", + // "mpointcode": "C_Jsssll", + // "triggerequoff": "0", + // "disname": "", + // "valuetype": "sql", + // "directtype": "1", + // "freq": 1, + // "morder": 999, + // "showname": "1", + // "rate": 1, + // "subscriptionStatus": 0, + // "mpointid": "C_Jsssll", + // "valuemeaning": "", + // "mathop": "*", + // "triggeralarm": "1", + // "equipmentid": "", + // "biztype": "", + // "parmvalue": 3551, + // "ledtype": "1", + // "measuredt": "2026-03-11T17:05:43Z", + // "bizid": "0533JS" + // } + // + // $('#' + valueId).html(data.parmvalue);//赋值 + // if (data.unit == undefined) { + // $('#' + textId).html(data.parmname);//赋值名称 + // } else { + // $('#' + textId).html(data.parmname + ' (' + data.unit + ')');//赋值名称+单位 + // } + // $.ajax({ + // type: 'GET', + // url: ext.contextPath + '/work/mpoint/getValue4Es.do?unitId=' + unitId + '&mpointCode=' + mpointCode, + // async: true, + // globle: false, + // error: function () { + // return false; + // }, + // success: function (data) { + // if (data != null && data != '') { + // var data = eval('(' + data + ')'); + // //只限制上限为0.8 下限根据设定值自己设 + // // var maxvalue = data.alarmmax/0.8; + // // var minvalue = data.alarmmin/maxvalue; + // // var acvalue = data.parmvalue/maxvalue*100; + // $('#' + valueId).html(data.parmvalue);//赋值 + // if (data.unit == undefined) { + // $('#' + textId).html(data.parmname);//赋值名称 + // } else { + // $('#' + textId).html(data.parmname + ' (' + data.unit + ')');//赋值名称+单位 + // } + // } + // } + // }); + +} + +/** + * echart饼图--通用 + */ +function echartPie2(unitId, mpointCode, echartId, textId) { + var myChart = echarts.init(document.getElementById(echartId)); $.ajax({ type: 'GET', url: ext.contextPath + '/work/mpoint/getValue4Es.do?unitId=' + unitId + '&mpointCode=' + mpointCode, @@ -19,26 +95,113 @@ function getValue(unitId, mpointCode, valueId, textId) { }, success: function (data) { if (data != null && data != '') { - var data = eval('(' + data + ')'); - //只限制上限为0.8 下限根据设定值自己设 - // var maxvalue = data.alarmmax/0.8; - // var minvalue = data.alarmmin/maxvalue; - // var acvalue = data.parmvalue/maxvalue*100; - $('#' + valueId).html(data.parmvalue);//赋值 - if (data.unit == undefined) { - $('#' + textId).html(data.parmname);//赋值名称 - } else { - $('#' + textId).html(data.parmname + ' (' + data.unit + ')');//赋值名称+单位 + var echart_minvalue = 0.2; + var echart_maxvalue = 0.8; + + // var data = eval('(' + data + ')'); + //180度的上限 + var maxvalue_20 = data.alarmmax * 1.2; + //0度的下限 + var minvalue_20 = data.alarmmin - data.alarmmin * 0.2; + + var maxvalue = data.alarmmax; + var minvalue = data.alarmmin; + + //判断是否需要下限 + if (data.alarmmin == null || data.alarmmin == '') { + minvalue_20 = 0; + minvalue = 0; + echart_minvalue = 0; } + + var parmvalue = data.parmvalue; + var rate = 0; + var unit = ''; + + $('#' + textId).html(data.parmname); + + if (data.unit != undefined && data.unit != null && data.unit != '') { + unit = '(' + data.unit + ')'; + } + + //计算实际值比例 + if (maxvalue_20 <= 1) { + minvalue_20 = minvalue_20 * 100; + maxvalue_20 = maxvalue_20 * 100; + parmvalue = parmvalue * 100; + minvalue = minvalue * 100; + maxvalue = maxvalue * 100; + if (maxvalue != undefined && minvalue != undefined) { + rate = parmvalue / (maxvalue_20 - minvalue_20) * 100; + } else { + rate = parmvalue; + } + + rate += 20; + } else { + if (maxvalue != undefined && minvalue != undefined) { + // rate = parmvalue / maxvalue_20 * 100; + rate = (parmvalue / maxvalue) * 0.8 * 100; + } else { + rate = parmvalue; + } + } + + //计算颜色 + var colorStr = '#6C6C6C'; + if (parmvalue < minvalue) { + colorStr = '#67e0e3'; + } else if (parmvalue > maxvalue) { + colorStr = '#fd666d'; + } else { + colorStr = '#37a2da'; + // 37a2da + } + + console.log(data.parmname + '扩大下限:' + minvalue_20 + '------扩大上限:' + maxvalue_20 + '------实际比率:' + rate + '------实际值:' + parmvalue + '------实际下限:' + minvalue + '------实际上限:' + maxvalue); + + var option = { + toolbox: { //可视化的工具箱 + show: false, feature: { + restore: { //重置 + show: true + }, saveAsImage: {//保存图片 + show: true + } + } + }, series: [{ + name: '业务指标', type: 'gauge', startAngle: 180, endAngle: 0, radius: 70, center: ['50%', '80%'],//设置饼图位置 + axisLine: { + show: true, // 属性lineStyle控制线条样式 + lineStyle: { + width: 15, // color: [[0.2, '#e2e2e2'], [0.8, '#66d99f'], [maxvalue, '#f35a4a']] + color: [[echart_minvalue, '#67e0e3'], [echart_maxvalue, '#37a2da'], [maxvalue_20, '#fd666d']] + } + }, splitLine: { + show: false, + }, axisTick: { + show: false, + }, axisLabel: { + show: false, + }, pointer: { + length: '40px', width: '3px', + }, detail: { + offsetCenter: [0, '20%'], fontSize: 14, color: colorStr, //formatter: data.parmname, + formatter: data.parmvalue + unit//data.parmvalue为实际值 acvalue为计算后的比例 + }, data: [{value: rate}] + }] + }; + myChart.setOption(option); + myChart.resize(); + } } - } }); } /** * echart饼图--通用 */ -function echartPie(unitId, mpointCode, echartId, textId) { +function echartPie1(unitId, mpointCode, echartId, textId) { var myChart = echarts.init(document.getElementById(echartId)); $.ajax({ type: 'GET', @@ -152,6 +315,155 @@ function echartPie(unitId, mpointCode, echartId, textId) { }); } + +/** + * echart饼图--通用 + */ +function echartPie(unitId, mpointCode, echartId, textId) { + var myChart = echarts.init(document.getElementById(echartId)); + var data = { + "confirmalarm": "0", + "parmname": "进水PH", + "signaltag": "", + "soundalarm": "0", + "remoteup": "0", + "triggercycle": "0", + "triggermutation": "0", + "ledcolor": "1", + "id": "D_JinSPH", + "numtail": "0", + "signaltype": "AI", + "active": "启用", + "flowset": 0, + "unit": "mg/l", + "sourceType": "auto", + "mpointcode": "D_JinSPH", + "triggerequoff": "0", + "disname": "", + "valuetype": "sql", + "directtype": "1", + "freq": 1, + "morder": 999, + "showname": "1", + "rate": 1, + "subscriptionStatus": 0, + "mpointid": "D_JinSPH", + "valuemeaning": "", + "mathop": "*", + "triggeralarm": "1", + "equipmentid": "", + "biztype": "", + "parmvalue": 20, + "alarmmax": 14, + "alarmmin": 6, + "ledtype": "1", + "measuredt": "2026-03-11T18:20:27Z", + "bizid": "0533JS" + }; + + + if (data != null && data != '') { + var echart_minvalue = 0.2; + var echart_maxvalue = 0.8; + + // var data = eval('(' + data + ')'); + //180度的上限 + var maxvalue_20 = data.alarmmax * 1.2; + //0度的下限 + var minvalue_20 = data.alarmmin - data.alarmmin * 0.2; + + var maxvalue = data.alarmmax; + var minvalue = data.alarmmin; + + //判断是否需要下限 + if (data.alarmmin == null || data.alarmmin == '') { + minvalue_20 = 0; + minvalue = 0; + echart_minvalue = 0; + } + + var parmvalue = data.parmvalue; + var rate = 0; + var unit = ''; + + $('#' + textId).html(data.parmname); + + if (data.unit != undefined && data.unit != null && data.unit != '') { + unit = '(' + data.unit + ')'; + } + + //计算实际值比例 + if (maxvalue_20 <= 1) { + minvalue_20 = minvalue_20 * 100; + maxvalue_20 = maxvalue_20 * 100; + parmvalue = parmvalue * 100; + minvalue = minvalue * 100; + maxvalue = maxvalue * 100; + if (maxvalue != undefined && minvalue != undefined) { + rate = parmvalue / (maxvalue_20 - minvalue_20) * 100; + } else { + rate = parmvalue; + } + + rate += 20; + } else { + if (maxvalue != undefined && minvalue != undefined) { + // rate = parmvalue / maxvalue_20 * 100; + rate = (parmvalue / maxvalue) * 0.8 * 100; + } else { + rate = parmvalue; + } + } + + //计算颜色 + var colorStr = '#6C6C6C'; + if (parmvalue < minvalue) { + colorStr = '#67e0e3'; + } else if (parmvalue > maxvalue) { + colorStr = '#fd666d'; + } else { + colorStr = '#37a2da'; + // 37a2da + } + + console.log(data.parmname + '扩大下限:' + minvalue_20 + '------扩大上限:' + maxvalue_20 + '------实际比率:' + rate + '------实际值:' + parmvalue + '------实际下限:' + minvalue + '------实际上限:' + maxvalue); + + var option = { + toolbox: { //可视化的工具箱 + show: false, feature: { + restore: { //重置 + show: true + }, saveAsImage: {//保存图片 + show: true + } + } + }, series: [{ + name: '业务指标', type: 'gauge', startAngle: 180, endAngle: 0, radius: 70, center: ['50%', '80%'],//设置饼图位置 + axisLine: { + show: true, // 属性lineStyle控制线条样式 + lineStyle: { + width: 15, // color: [[0.2, '#e2e2e2'], [0.8, '#66d99f'], [maxvalue, '#f35a4a']] + color: [[echart_minvalue, '#67e0e3'], [echart_maxvalue, '#37a2da'], [maxvalue_20, '#fd666d']] + } + }, splitLine: { + show: false, + }, axisTick: { + show: false, + }, axisLabel: { + show: false, + }, pointer: { + length: '40px', width: '3px', + }, detail: { + offsetCenter: [0, '20%'], fontSize: 14, color: colorStr, //formatter: data.parmname, + formatter: data.parmvalue + unit//data.parmvalue为实际值 acvalue为计算后的比例 + }, data: [{value: rate}] + }] + }; + myChart.setOption(option); + myChart.resize(); + } +} + /** * echart折线图--单点 */ @@ -199,83 +511,420 @@ function echartLine(unitId, mpointCode, echartId) { } /** - * echart柱状图--单点 + * echart混合图--双柱状+折线 */ -function echartColumnar(unitId, mpointCode, echartId) { +function echartMixed(unitId, mpointCode, echartId) { var myChart = echarts.init(document.getElementById(echartId)); - $.ajax({ - type: 'GET', - url: ext.contextPath + '/work/mpoint/getValueMonth.do?unitId=' + unitId + '&mpointCode=' + mpointCode, - async: true, - globle: false, - error: function () { - return false; + var datastr = { + "barData1": { + "name": "工业进水量", + "data": [89483, 96870, 85420, 92150, 88960, 95340, 91280] }, - success: function (data) { - var data = eval('(' + data + ')'); - var option = { - color: '#62AEDF', tooltip: { - trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 - type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' - } - }, xAxis: { - type: 'category', - data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31'] - }, yAxis: { - type: 'value' - }, title: [{ - left: 'center', text: data.name - }], grid: { - left: '3%', right: '4%', bottom: '3%', containLabel: true - }, series: [{ - data: data.datalist, type: 'bar', showBackground: true - // backgroundStyle: { - // //color: '#62AEDF' - // } - }] - }; - myChart.setOption(option); - myChart.resize(); - } - }); + "barData2": { + "name": "工业出水量", + "data": [87297, 88460, 82100, 89500, 85600, 91200, 88500] + }, + "barData3": { + "name": "生活进水量", + "data": [89483, 96870, 85420, 92150, 88960, 95340, 91280] + }, + "barData4": { + "name": "生活出水量", + "data": [87297, 88460, 82100, 89500, 85600, 91200, 88500] + }, + "lineData": { + "name": "累计水量", + "data": [176780, 185330, 167520, 181650, 174560, 186540, 179780] + }, + "timeJson": [ + "2026-03-10", + "2026-03-11", + "2026-03-12", + "2026-03-13", + "2026-03-14", + "2026-03-15", + "2026-03-16" + ] + }; + + var option = { + color: ['#67D89F', '#FFBB00', '#5B8FF9', '#F6903D', '#EE6666'], + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'cross' + } + }, + legend: { + data: [datastr.barData1.name, datastr.barData2.name, datastr.barData3.name, datastr.barData4.name, datastr.lineData.name] + }, + xAxis: [{ + type: 'category', + axisLabel: { + interval: 0 + }, + data: datastr.timeJson + }], + yAxis: [{ + type: 'value', + name: '水量(m³)', + position: 'left' + }], + grid: { + left: '2%', + right: '5%', + bottom: '3%', + containLabel: true + }, + series: [ + { + name: datastr.barData1.name, + type: 'bar', + barWidth: 20, + data: datastr.barData1.data + }, + { + name: datastr.barData2.name, + type: 'bar', + barWidth: 20, + data: datastr.barData2.data + }, + { + name: datastr.barData3.name, + type: 'bar', + barWidth: 20, + data: datastr.barData3.data + }, + { + name: datastr.barData4.name, + type: 'bar', + barWidth: 20, + data: datastr.barData4.data + }, + { + name: datastr.lineData.name, + type: 'line', + smooth: true, + symbol: 'circle', + symbolSize: 6, + lineStyle: { + width: 2 + }, + data: datastr.lineData.data + } + ] + }; + myChart.setOption(option); + myChart.resize(); +} + +/** + * echart曲线图--单点 + */ +function echartLine2(unitId, mpointCode, echartId) { + var myChart = echarts.init(document.getElementById(echartId)); + + var datastr = { + "dataJson": [ + { + "data": [ + 89483.1, + 96870.97, + 85420.5, + 92150.3, + 88960.8, + 95340.2, + 91280.6 + ], + "name": "每日进水出水总量", + "type": "line", + "smooth": true, + "symbol": "circle", + "symbolSize": 6, + "lineStyle": { + "width": 2 + }, + "areaStyle": { + "opacity": 0.1 + } + }, + ], + "timeJson": [ + "2026-03-10", + "2026-03-11", + "2026-03-12", + "2026-03-13", + "2026-03-14", + "2026-03-15", + "2026-03-16" + ] + } + + var data1 = datastr.dataJson; + var data2 = datastr.timeJson; + + var option = { + color: ['#67D89F', '#5B8FF9'], + tooltip: { + trigger: 'axis' + }, + legend: {}, + xAxis: [{ + type: 'category', + boundaryGap: false, + axisLabel: { + interval: 0 + }, + data: data2 + }], + yAxis: [{ + type: 'value' + }], + grid: { + left: '2%', + right: '5%', + bottom: '3%', + containLabel: true + }, + series: data1 + }; + myChart.setOption(option); + myChart.resize(); +} + +/** + * echart柱状图--单点 + */ +function echartColumnar2(unitId, mpointCode, echartId) { + var myChart = echarts.init(document.getElementById(echartId)); + + var datastr = { + "dataJson": [ + { + "barWidth": 30, + "stack": "total", + "data": [ + 89483.1, + 96870.97, + 0, + 0, + 0, + 0, + 0 + ], + "name": "每日进水量", + "label": { + "show": "true" + }, + "type": "bar" + }, + { + "barWidth": 30, + "stack": "total", + "data": [ + 87297.59, + 88460.4, + 0, + 0, + 0, + 0, + 0 + ], + "name": "每日出水量", + "label": { + "show": "true" + }, + "type": "bar" + } + + ], + "timeJson": [ + "2026-03-10", + "2026-03-11", + "2026-03-12", + "2026-03-13", + "2026-03-14", + "2026-03-15", + "2026-03-16" + ] + } + + var data1 = datastr.dataJson; + var data2 = datastr.timeJson; + + var option = { + color: ['#67D89F', '#FFBB00'], legend: {}, calculable: true, xAxis: [{ + type: 'category', axisLabel: { + interval: 0,//代表显示所有x轴标签显示 + }, data: data2 + }], yAxis: [{ + type: 'value' + }], grid: { + left: '2%', right: '5%', bottom: '3%', containLabel: true + }, series: data1 + }; + myChart.setOption(option); + myChart.resize(); + + // $.ajax({ + // type: 'GET', + // url: ext.contextPath + '/work/mpoint/getValueMonth.do?unitId=' + unitId + '&mpointCode=' + mpointCode, + // async: true, + // globle: false, + // error: function () { + // return false; + // }, + // success: function (data) { + // var data = eval('(' + data + ')'); + // var option = { + // color: '#62AEDF', tooltip: { + // trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 + // type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' + // } + // }, xAxis: { + // type: 'category', + // data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31'] + // }, yAxis: { + // type: 'value' + // }, title: [{ + // left: 'center', text: data.name + // }], grid: { + // left: '3%', right: '4%', bottom: '3%', containLabel: true + // }, series: [{ + // data: data.datalist, type: 'bar', showBackground: true + // // backgroundStyle: { + // // //color: '#62AEDF' + // // } + // }] + // }; + // myChart.setOption(option); + // myChart.resize(); + // } + // }); } /** * echart柱状图--多点 */ -function echartColumnar2(unitId, mpointCode, echartId) { +function echartColumnar1(unitId, mpointCode, echartId) { var myChart = echarts.init(document.getElementById(echartId)); - $.ajax({ - type: 'GET', - url: ext.contextPath + '/work/mpoint/getValueWeekS.do?unitId=' + unitId + '&mpointCode=' + mpointCode, - async: true, - globle: false, - error: function () { - return false; - }, - success: function (data) { - var datastr = eval('(' + data + ')'); - var data1 = datastr.dataJson; - var data2 = datastr.timeJson; + var datastr = { + "dataJson": [ + { + "barWidth": 30, + "stack": "total", + "data": [ + 89483.1, + 96870.97, + 0, + 0, + 0, + 0, + 0 + ], + "name": "每日进水量", + "label": { + "show": "true" + }, + "type": "bar" + }, + { + "barWidth": 30, + "stack": "total", + "data": [ + 87297.59, + 88460.4, + 0, + 0, + 0, + 0, + 0 + ], + "name": "每日出水量", + "label": { + "show": "true" + }, + "type": "bar" + } - var option = { - color: ['#67D89F', '#FFBB00'], legend: {}, calculable: true, xAxis: [{ - type: 'category', axisLabel: { - interval: 0,//代表显示所有x轴标签显示 - }, data: data2 - }], yAxis: [{ - type: 'value' - }], grid: { - left: '2%', right: '5%', bottom: '3%', containLabel: true - }, series: data1 - }; - myChart.setOption(option); - myChart.resize(); - } - }); + ], + "timeJson": [ + "2026-03-10", + "2026-03-11", + "2026-03-12", + "2026-03-13", + "2026-03-14", + "2026-03-15", + "2026-03-16" + ] + } + + var data1 = datastr.dataJson; + var data2 = datastr.timeJson; + + // var option = { + // color: ['#67D89F', '#FFBB00'], legend: {}, calculable: true, xAxis: [{ + // type: 'category', axisLabel: { + // interval: 0,//代表显示所有x轴标签显示 + // }, data: data2 + // }], yAxis: [{ + // type: 'value' + // }], grid: { + // left: '2%', right: '5%', bottom: '3%', containLabel: true + // }, series: data1 + // }; + // myChart.setOption(option); + // myChart.resize(); + + + + var option = { + color: ['#67D89F', '#FFBB00'], legend: {}, calculable: true, xAxis: [{ + type: 'category', axisLabel: { + interval: 0,//代表显示所有x轴标签显示 + }, data: data2 + }], yAxis: [{ + type: 'value' + }], grid: { + left: '2%', right: '5%', bottom: '3%', containLabel: true + }, series: data1 + }; + myChart.setOption(option); + myChart.resize(); + + + // $.ajax({ + // type: 'GET', + // url: ext.contextPath + '/work/mpoint/getValueWeekS.do?unitId=' + unitId + '&mpointCode=' + mpointCode, + // async: true, + // globle: false, + // error: function () { + // return false; + // }, + // success: function (data) { + // var datastr = eval('(' + data + ')'); + // + // var data1 = datastr.dataJson; + // var data2 = datastr.timeJson; + // + // var option = { + // color: ['#67D89F', '#FFBB00'], legend: {}, calculable: true, xAxis: [{ + // type: 'category', axisLabel: { + // interval: 0,//代表显示所有x轴标签显示 + // }, data: data2 + // }], yAxis: [{ + // type: 'value' + // }], grid: { + // left: '2%', right: '5%', bottom: '3%', containLabel: true + // }, series: data1 + // }; + // myChart.setOption(option); + // myChart.resize(); + // } + // }); } /** @@ -327,4 +976,6 @@ function proDatavisualFrame(unitId, proDatavisualFrameId) { if (proDatavisualFrameId != null && proDatavisualFrameId != undefined && proDatavisualFrameId != '') { parent.addTab(proDatavisualFrameId, '工艺可视化', 'process/dataVisualFrame/view.do?frameId=' + proDatavisualFrameId + '&unitId=' + unitId); } -} \ No newline at end of file +} + + diff --git a/src/main/webapp/jsp/inc.jsp b/src/main/webapp/jsp/inc.jsp index 124865e5..51763259 100644 --- a/src/main/webapp/jsp/inc.jsp +++ b/src/main/webapp/jsp/inc.jsp @@ -166,9 +166,8 @@ $.widget.bridge('uibutton', $.ui.button); - - - + + diff --git a/src/main/webapp/jsp/main_JS_Company.jsp b/src/main/webapp/jsp/main_JS_Company.jsp index 74367925..9b43976d 100644 --- a/src/main/webapp/jsp/main_JS_Company.jsp +++ b/src/main/webapp/jsp/main_JS_Company.jsp @@ -14,409 +14,816 @@ - <%= ServerObject.atttable.get("TOPTITLE")%> - + <%= ServerObject.atttable.get("TOPTITLE")%> - + - -
- -<%--
--%> -<%--
--%> -<%--
--%> -<%-- <%–图片–%>--%> -<%-- --%> -<%-- --%> -<%--
--%> -<%--
--%> -<%--
--%> - -
-
-
-
- 上海金山卫污水公司 -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
+
+ +
+ +
+
进水累计
+
+
+
+
+ 工业当日总量 +
+ -- +
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
-
-
-
- - -
-
+
+
+
+ 生活当日总量 +
+ -- +
-
-
-
-
- 水量及电耗 -
-
- -
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ + +
+
进水流量7天日趋势
+
+
- +
+
设备运行
+
+
+
+
+
+ + +
+ +
+
工艺列表展示
+
+ + + + + + + + + + + +
工艺段名称关键参数1关键参数2关键参数3设备ID
+
+ +
+ + +
+
实时告警列表
+
+ + + + + + + + + +
报警工艺段名称报警状态时间
+
+ +
+
+ + +
+
+
泵站详情
+
+
- -->
-
- \ No newline at end of file + diff --git a/src/main/webapp/jsp/main_JS_Company2.jsp b/src/main/webapp/jsp/main_JS_Company2.jsp new file mode 100644 index 00000000..5b063486 --- /dev/null +++ b/src/main/webapp/jsp/main_JS_Company2.jsp @@ -0,0 +1,839 @@ +<%@ page language="java" pageEncoding="UTF-8" %> +<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> +<%@ page import="com.sipai.entity.base.ServerObject" %> +<%@ taglib uri="http://www.springsecurity.org/jsp" prefix="security" %> + +<%@ page import="com.sipai.entity.base.MainConfig" %> +<% request.setAttribute("type_pro", MainConfig.type_pro); %> +<% request.setAttribute("type_safe", MainConfig.type_safe); %> +<% request.setAttribute("type_eff", MainConfig.type_eff); %> +<% request.setAttribute("type_pic", MainConfig.type_pic); %> + + + + + <%= ServerObject.atttable.get("TOPTITLE")%> + + + + + + + + + + + + + + +
+ +
+ +
+
+
+ 金山卫污水厂 +
+
+ +
+
+
+
进水瞬时流量(m³/h)
+
3551
+
+
+
出水瞬时流量(m³/h)
+
3551
+
+
+
+
进水瞬时流量(m³/h)
+
3551
+
+
+
出水瞬时流量(m³/h)
+
3551
+
+
+ +
+ +
+ 工业污水质量指标 +
+ +
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+ +
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+ +
+ 生活污水质量指标 + +
+ +
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+ +
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
-
+
+
+
+
+
+
+
+ +
+
+
+ 水量及电耗 +
+
+
+
16532
+
工业进水量 (m3)
+
+
+
16532
+
工业出水量 (m3)
+
+
+
16532
+
生活进水量 (m3)
+
+
+
16532
+
生活出水量 (m3)
+
+
+
+
+<%--
--%> +<%--
--%> +
+
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/src/main/webapp/jsp/top.jsp b/src/main/webapp/jsp/top.jsp index 8ca5586a..1f9cada6 100644 --- a/src/main/webapp/jsp/top.jsp +++ b/src/main/webapp/jsp/top.jsp @@ -1062,12 +1062,12 @@ diff --git a/污水处理管理平台_v7.html b/污水处理管理平台_v7.html new file mode 100644 index 00000000..6f8f35c6 --- /dev/null +++ b/污水处理管理平台_v7.html @@ -0,0 +1,459 @@ + + + + + + +智水云 - 污水处理全流程监控一张图 + + + + + + + +
+
+ +
+

智水云 · 全流程数字化管控平台

+

SYSTEM STATUS: 2026-03-22 10:45:00

+
+
+
+
+ 运行中: 24h +负荷: 78% +能效: 0.32 kW·h/m³ +
+
+
+

值班主管

+

王建国 (A组)

+
+
+
+
+
+ +
+
+
+ +工业进水累计 +
+
+
+

当日总量

+

10,867

+
+
+

环比

+

+2.4% ↑

+
+
+
+
+
+ +生活进水累计 +
+
+
+

当日总量

+

7,569

+
+
+

环比

+

-1.8% ↓

+
+
+
+
+
+ +进水流量7日趋势 (m³/d) +
+ +
+ +
+
+ +
+
+设备运行异常 +实时监控 +
+
+
+
03
+
Active Alarms
+
+
+
待处理: 03
+
已闭环: 12/今日
+
+
+
+
+ +
+
+
+
+ +

全流程生产工艺实时数据概览

+
+
+ 生产正常 +更新时间: 2026-03-22 10:15:30 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
工艺段名称状态瞬时流量 (m³/h)关键参数 1关键参数 2关键参数 3设备ID
01. 细格栅与提升运行中1,245.8液位:1.8mpH:7.2主泵:2#P101
02. 曝气沉砂池运行中1,238.2DO:2.5mg/L速:35Hz油:0.2D205
03. 初次沉淀池运行中1,232.0SS:180mg/L泥位:0.8m刮泥:ONS302
04. A/A/O 生物反应器运行中1,230.5厌氧ORP:-180mVMLSS:3250回流:100%B401
05. 二次沉淀池组故障告警1,228.1出水SS:22.4泥层:1.2m泵组:ERRS204
06. 磁混凝高效沉淀运行中1,225.0投药:12.5mg/L磁粉:保持浊度:4.2M501
07. V型滤池运行中1,210.6滤速:6.5m/h水头失:1.2m反冲:4:30F602
08. 紫外消毒/次氯酸钠运行中1,208.5强度:35mW余氯:0.45运行:12hV501
09. 核心鼓风机房运行中254 m³压:58kPa温:62℃功率:185kWM601
10. 总出水在线监测达标运行18.5kCOD:22.4NH3:0.24TP:0.08OUT-M
11. 污泥脱水系统运行中--含水:78.2%产泥:12.5t药量:4.2W701
+
+
+
系统就绪,当前生产效率:92%
+
+ + +
+
+
+ +
+
+
+ +实时告警列表 +
+
+ + +
+
+
+ +
+
+Critical +10:42:15 +
+
鼓风机房 #2 离心风机
+
+ + 运行电流过载 (45.2A > 40.0A) +
+
+ + +
+
+ +
+
+Warning +10:05:21 +
+
2# 二沉池 吸泥机
+
+ + 转速异常波动 (+/- 15%) +
+
+ +
+
+ +
+
+Info +09:12:05 +
+
加药间 PAC 储罐
+
+ + 低液位预警 (剩余 15%) +
+
+ +
+
+
+ +
+
+
+

© 2026 智水云污水处理管理有限公司

+

江苏省南通市华东第二污水处理厂

+
+
+

云端数据实时同步中 (25ms)

+

生产智脑 V4.2.0-PROD

+
+
+ + + \ No newline at end of file