数字化排涝抗旱辅助及检修辅助决策

@@ -799,7 +799,14 @@ export default {
realTimeAlarmShow: false, //实时报警弹窗
modelOthers: false,
componentShow: "",
- CompanyInfo: {},
+ CompanyInfo: {
+ pdxl:'3.4%',
+ xlcd:'0.01%',
+ pdxl:'3.4%',
+ pdxl:'3.4%',
+ pdxl:'3.4%',
+ pdxl:'3.4%'
+ },
tableData: [],
btnArr: ["总览", "环网柜", "分支箱", "箱变", "开闭所"],
btnActive: 0,
@@ -928,105 +935,105 @@ export default {
this.roseCharts()
this.detailen1();
// 盐都区供电公司概况
- getCompanyInfo().then((res) => {
- // console.log(res,'....');
- this.CompanyInfo = res.data.data;
- });
+ // getCompanyInfo().then((res) => {
+ // // console.log(res,'....');
+ // this.CompanyInfo = res.data.data;
+ // });
- // 查询总线路
- getLine({ action: "all" }).then((res) => {
- if (res.data != "") {
- this.options = Object.keys(res.data.data).map((item, index) => {
- return {
- value: res.data.data[index].line_code,
- label: res.data.data[index].line_name,
- };
- });
- }
- });
+ // // 查询总线路
+ // getLine({ action: "all" }).then((res) => {
+ // if (res.data != "") {
+ // this.options = Object.keys(res.data.data).map((item, index) => {
+ // return {
+ // value: res.data.data[index].line_code,
+ // label: res.data.data[index].line_name,
+ // };
+ // });
+ // }
+ // });
//周查询班组
- this.getbanzhu();
- this.timer = window.setInterval(() => {
- getBanzugz({
- action: "detail",
- }).then((res) => {
- console.log(res, "班组故障详情");
- for (let i = 0; i < res.data.data.length; i++) {
- if (res.data.data[i].gz_time_deal) {
- let date = new Date(res.data.data[i].gz_time_deal);
- res.data.data[i].gz_time_deal =
- this.$moment(date).format("YYYY-MM-DD HH:mm");
- // console.log(res.data.data[i].gz_time_deal,'转换后');
- }
- if (res.data.data[i].gz_time) {
- let time = new Date(res.data.data[i].gz_time);
- res.data.data[i].gz_time =
- this.$moment(time).format("YYYY-MM-DD HH:mm");
- }
- this.tableData.push(res.data.data[i]);
- }
- });
- }, 60000);
+ // this.getbanzhu();
+ // this.timer = window.setInterval(() => {
+ // getBanzugz({
+ // action: "detail",
+ // }).then((res) => {
+ // console.log(res, "班组故障详情");
+ // for (let i = 0; i < res.data.data.length; i++) {
+ // if (res.data.data[i].gz_time_deal) {
+ // let date = new Date(res.data.data[i].gz_time_deal);
+ // res.data.data[i].gz_time_deal =
+ // this.$moment(date).format("YYYY-MM-DD HH:mm");
+ // // console.log(res.data.data[i].gz_time_deal,'转换后');
+ // }
+ // if (res.data.data[i].gz_time) {
+ // let time = new Date(res.data.data[i].gz_time);
+ // res.data.data[i].gz_time =
+ // this.$moment(time).format("YYYY-MM-DD HH:mm");
+ // }
+ // this.tableData.push(res.data.data[i]);
+ // }
+ // });
+ // }, 60000);
//工单统计action:'tongji'
- this.getGongdan();
- this.timer = window.setInterval(() => {
- getGdtj({ action: "tongji" }).then((res) => {
- console.log(res, "工单统计数据");
- let dataList = res.data.data;
+ // this.getGongdan();
+ // this.timer = window.setInterval(() => {
+ // getGdtj({ action: "tongji" }).then((res) => {
+ // console.log(res, "工单统计数据");
+ // let dataList = res.data.data;
- for (let i = 0; i < this.gongdanList.length; i++) {
- for (let j = 0; j < res.data.data.length; j++) {
- if (
- this.gongdanList[i].gd_type_name == res.data.data[j].gd_type_name
- ) {
- this.gongdanList[i].total = res.data.data[j].total;
- this.gongdanList[i].gd_type_id = res.data.data[j].gd_type_id;
- }
- }
- }
- // this.gongdanList = res.data.data;
- this.detailedThree(dataList);
- // this.$nextTick(() => {
- // this.detailedThree(dataList);
- // setInterval(() => {
- // this.doing();
- // }, 200);
- // });
- });
- }, 60000);
+ // for (let i = 0; i < this.gongdanList.length; i++) {
+ // for (let j = 0; j < res.data.data.length; j++) {
+ // if (
+ // this.gongdanList[i].gd_type_name == res.data.data[j].gd_type_name
+ // ) {
+ // this.gongdanList[i].total = res.data.data[j].total;
+ // this.gongdanList[i].gd_type_id = res.data.data[j].gd_type_id;
+ // }
+ // }
+ // }
+ // // this.gongdanList = res.data.data;
+ // this.detailedThree(dataList);
+ // // this.$nextTick(() => {
+ // // this.detailedThree(dataList);
+ // // setInterval(() => {
+ // // this.doing();
+ // // }, 200);
+ // // });
+ // });
+ // }, 60000);
//年度查询班组
- getBanzugz({
- action: "year",
- }).then((res) => {
- console.log(res, "年数据");
- this.dataGzList = res.data.data;
- // console.log(this.dataGzList,'年度查询班组数据');
- for (let i = 0; i < this.dataGzList.length; i++) {
- for (let j = 0; j < res.data.data.length; j++) {
- if (this.dataGzList[i].bz == res.data.data[j].bz) {
- this.dataGzList[i].chbc = res.data.data[j].chbc;
- this.dataGzList[i].chcg = res.data.data[j].chcg;
- this.dataGzList[i].jd = res.data.data[j].jd;
- this.dataGzList[i].total = res.data.data[j].total;
- this.dataGzList[i].wchz = res.data.data[j].wchz;
- }
- }
- }
- this.detailedFour(this.dataGzList);
- });
- //本周故障
- getDwbzgz().then((res) => {
- let dataBzgz = [];
- dataBzgz = res.data.data;
- this.detailedOne(dataBzgz);
- });
- //供电质量统计
- getGdsgdzl().then((res) => {
- let dataGdzl = [];
- dataGdzl = res.data.data;
- // this.detailedTwo(dataGdzl);
- });
+ // getBanzugz({
+ // action: "year",
+ // }).then((res) => {
+ // console.log(res, "年数据");
+ // this.dataGzList = res.data.data;
+ // // console.log(this.dataGzList,'年度查询班组数据');
+ // for (let i = 0; i < this.dataGzList.length; i++) {
+ // for (let j = 0; j < res.data.data.length; j++) {
+ // if (this.dataGzList[i].bz == res.data.data[j].bz) {
+ // this.dataGzList[i].chbc = res.data.data[j].chbc;
+ // this.dataGzList[i].chcg = res.data.data[j].chcg;
+ // this.dataGzList[i].jd = res.data.data[j].jd;
+ // this.dataGzList[i].total = res.data.data[j].total;
+ // this.dataGzList[i].wchz = res.data.data[j].wchz;
+ // }
+ // }
+ // }
+ // this.detailedFour(this.dataGzList);
+ // });
+ // //本周故障
+ // getDwbzgz().then((res) => {
+ // let dataBzgz = [];
+ // dataBzgz = res.data.data;
+ // this.detailedOne(dataBzgz);
+ // });
+ // //供电质量统计
+ // getGdsgdzl().then((res) => {
+ // let dataGdzl = [];
+ // dataGdzl = res.data.data;
+ // // this.detailedTwo(dataGdzl);
+ // });
// //配变停运
// getPbtyqk({
// action:"week"
@@ -1055,63 +1062,63 @@ export default {
// })
this.handleDate(0);
let that = this;
- window.addEventListener("message", function (e) {
- var res = e.data;
- if (res.val != null) {
- that.modelOthers = true;
- that.componentShow = "ringMainUnit";
- that.device = res.val;
- }
- });
+ // window.addEventListener("message", function (e) {
+ // var res = e.data;
+ // if (res.val != null) {
+ // that.modelOthers = true;
+ // that.componentShow = "ringMainUnit";
+ // that.device = res.val;
+ // }
+ // });
//历史故障接口
let faultData = {
token: localStorage.getItem("token"),
pageSize: "500",
page: "1",
};
- getfaultReportList(faultData).then((res) => {
- // this.alarmInformationData = res.data.data.data;
- });
- window.setInterval(() => {
- let endDate = this.$moment(new Date()).format("YYYY-MM-DD HH:mm:ss");
- let startDate = this.$moment(new Date())
- .subtract(1, "h")
- .format("YYYY-MM-DD HH:mm:ss");
- let cabData = {
- token: localStorage.getItem("token"),
- pageSize: 50,
- page: 1,
- sn: "",
- startDate: startDate,
- endDate: endDate,
- confirm: "",
- };
- getCabinetAlarmList(cabData).then((res) => {
- let event_desc = ''
- if (res.data.data.data != null) {
- res.data.data.data.forEach((item, index) => {
- if (item.event_desc.indexOf("开关") != -1) {
- event_desc = item.event_desc.replace('开关', '间隔')
- } else {
- event_desc = item.event_desc
- }
- });
- this.emergencyList = res.data.data.data.filter(item => {
- return item.event_desc.indexOf("通讯状态") == -1
- });
- this.emergencyList.forEach((item, index) => {
- item.event_desc = event_desc
- });
- this.totals = this.emergencyList.length;
- let dataList = this.emergencyList;
- if (dataList.length != 0) {
- this.rowTime = dataList[0].created_at;
- } else {
- return false;
- }
- }
- });
- }, 10000);
+ // getfaultReportList(faultData).then((res) => {
+ // // this.alarmInformationData = res.data.data.data;
+ // });
+ // window.setInterval(() => {
+ // let endDate = this.$moment(new Date()).format("YYYY-MM-DD HH:mm:ss");
+ // let startDate = this.$moment(new Date())
+ // .subtract(1, "h")
+ // .format("YYYY-MM-DD HH:mm:ss");
+ // let cabData = {
+ // token: localStorage.getItem("token"),
+ // pageSize: 50,
+ // page: 1,
+ // sn: "",
+ // startDate: startDate,
+ // endDate: endDate,
+ // confirm: "",
+ // };
+ // getCabinetAlarmList(cabData).then((res) => {
+ // let event_desc = ''
+ // if (res.data.data.data != null) {
+ // res.data.data.data.forEach((item, index) => {
+ // if (item.event_desc.indexOf("开关") != -1) {
+ // event_desc = item.event_desc.replace('开关', '间隔')
+ // } else {
+ // event_desc = item.event_desc
+ // }
+ // });
+ // this.emergencyList = res.data.data.data.filter(item => {
+ // return item.event_desc.indexOf("通讯状态") == -1
+ // });
+ // this.emergencyList.forEach((item, index) => {
+ // item.event_desc = event_desc
+ // });
+ // this.totals = this.emergencyList.length;
+ // let dataList = this.emergencyList;
+ // if (dataList.length != 0) {
+ // this.rowTime = dataList[0].created_at;
+ // } else {
+ // return false;
+ // }
+ // }
+ // });
+ // }, 10000);
},
// beforeDestroy() {
// this.dataDestroy(); // 页面摧毁前,关闭定时器
@@ -1126,6 +1133,27 @@ export default {
if (data == '盐城地区分布光伏运行监测') {
this.$router.push("/stationBuilding");
}
+ if (data == '盐都东台区供电所数字化分析') {
+ this.$router.push("/twentyKV");
+ }
+ if (data == '配网工程全过程物资审计') {
+ this.$router.push("/thirtyFiveKV");
+ }
+ if (data == '盐城供电公司配网电能质量管控') {
+ this.$router.push("/powerQualityControl");
+ }
+ if (data == '乡村振兴电力综合指数') {
+ this.$router.push("/ruralRevitalizationPower");
+ }
+ if (data == '两高行业企业污染监测') {
+ this.$router.push("/enterprisePollutionMonitoring");
+ }
+ if (data == '农村生活污水治理设备电量分析') {
+ this.$router.push("/ruralDomesticSewageTreatment");
+ }
+ if (data == '数字化排涝抗旱辅助及检修辅助决策') {
+ this.$router.push("/digitalFloodDrainageDroughtRelief");
+ }
},
detailen1() {
var fontColor = "#30eee9";
diff --git a/src/views/powerQualityControl.vue b/src/views/powerQualityControl.vue
new file mode 100644
index 00000000..7a008191
--- /dev/null
+++ b/src/views/powerQualityControl.vue
@@ -0,0 +1,1562 @@
+
+
+
+
+
+
+

+
预计年/月变化趋势
+

+
+
+
+
+
+

+
2022
+
+
+
+
+
+
+
+
+

+
年/月总投资变化趋势
+

+
+
+
+
+
+

+
2022
+
+
+
+
+
+
+
+
+
+
+

+
县公司预算统计
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+

+
项目数
+
+
+ 9.279 万
+
+
+
+
+
+
+
+
+

+
预算费用总和
+
+
+ 118.5万
+
+
+
+
+
+
+
+
+

+
计划数
+
+
44
+
+
+
+
+
+
+
+

+
物科数
+
+
10
+
+
+
+
+
+
+
+
+
+
+
+

+
县物项目总投资比
+

+
+
+
+
+
+
+
+

+
县物资占比分配
+

+
+
+
+
+
+
+
+
+
+

+
县公司预算统计
+

+
+
+
+
+
+
+
+ 县公司名称 |
+ 物科数量 |
+ 计划数量 |
+
+
+
+
+ {{ item.name }} |
+ {{ item.stationNumber }} |
+ {{ item.alternatorNumber }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ruralDomesticSewageTreatment.vue b/src/views/ruralDomesticSewageTreatment.vue
new file mode 100644
index 00000000..7a008191
--- /dev/null
+++ b/src/views/ruralDomesticSewageTreatment.vue
@@ -0,0 +1,1562 @@
+
+
+
+
+
+
+

+
预计年/月变化趋势
+

+
+
+
+
+
+

+
2022
+
+
+
+
+
+
+
+
+

+
年/月总投资变化趋势
+

+
+
+
+
+
+

+
2022
+
+
+
+
+
+
+
+
+
+
+

+
县公司预算统计
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+

+
项目数
+
+
+ 9.279 万
+
+
+
+
+
+
+
+
+

+
预算费用总和
+
+
+ 118.5万
+
+
+
+
+
+
+
+
+

+
计划数
+
+
44
+
+
+
+
+
+
+
+

+
物科数
+
+
10
+
+
+
+
+
+
+
+
+
+
+
+

+
县物项目总投资比
+

+
+
+
+
+
+
+
+

+
县物资占比分配
+

+
+
+
+
+
+
+
+
+
+

+
县公司预算统计
+

+
+
+
+
+
+
+
+ 县公司名称 |
+ 物科数量 |
+ 计划数量 |
+
+
+
+
+ {{ item.name }} |
+ {{ item.stationNumber }} |
+ {{ item.alternatorNumber }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/ruralRevitalizationPower.vue b/src/views/ruralRevitalizationPower.vue
new file mode 100644
index 00000000..7a008191
--- /dev/null
+++ b/src/views/ruralRevitalizationPower.vue
@@ -0,0 +1,1562 @@
+
+
+
+
+
+
+

+
预计年/月变化趋势
+

+
+
+
+
+
+

+
2022
+
+
+
+
+
+
+
+
+

+
年/月总投资变化趋势
+

+
+
+
+
+
+

+
2022
+
+
+
+
+
+
+
+
+
+
+

+
县公司预算统计
+

+
+
+
+
+
+
+
+

+
+
+
+
+
+
+

+
项目数
+
+
+ 9.279 万
+
+
+
+
+
+
+
+
+

+
预算费用总和
+
+
+ 118.5万
+
+
+
+
+
+
+
+
+

+
计划数
+
+
44
+
+
+
+
+
+
+
+

+
物科数
+
+
10
+
+
+
+
+
+
+
+
+
+
+
+

+
县物项目总投资比
+

+
+
+
+
+
+
+
+

+
县物资占比分配
+

+
+
+
+
+
+
+
+
+
+

+
县公司预算统计
+

+
+
+
+
+
+
+
+ 县公司名称 |
+ 物科数量 |
+ 计划数量 |
+
+
+
+
+ {{ item.name }} |
+ {{ item.stationNumber }} |
+ {{ item.alternatorNumber }} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/stationBuilding.vue b/src/views/stationBuilding.vue
index 0ebad1f9..b5138009 100644
--- a/src/views/stationBuilding.vue
+++ b/src/views/stationBuilding.vue
@@ -65,29 +65,37 @@