14 Commits 26a31944f7 ... a37e2e295c

Author SHA1 Message Date
  baiyanting a37e2e295c Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power 10 months ago
  baiyanting 3b61811e76 系统效率分析数据展示错误修复 10 months ago
  baiyanting f941687af7 Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power 10 months ago
  baiyanting c7b8ccfe2a 健康总览图表单位修改 10 months ago
  baiyanting 0f1e745cb0 Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power 11 months ago
  baiyanting 8ec1965552 更新牛家岭朱坑升压站文件 11 months ago
  baiyanting 8fdb4a77e1 Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power 11 months ago
  baiyanting 6e0f8b7797 更新升压站文件 11 months ago
  baiyanting 74d762a147 更新风电和光伏升压站文件 11 months ago
  baiyanting 58491241ea Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power 1 year ago
  baiyanting 8ec3ee837f 打开agc页面,检查agc接口并优化展示效果 1 year ago
  baiyanting 7833b7f656 Merge branch 'baiyanting1' of http://124.70.43.205:3000/xieshengjie/jn_sis_zhfx into new-power 1 year ago
  baiyanting 7bd6971498 阳泉城新电站假数据 1 year ago
  baiyanting 35cd4be603 s首页数据五秒刷新机制打开 1 year ago
32 changed files with 5128 additions and 47093 deletions
  1. 10 2
      src/components/chart/pie/dual-pie-chart.vue
  2. 11 10
      src/router/index.js
  3. 3575 0
      src/utills/mock-yangquandianzhan.js
  4. 2 2
      src/views/HealthControl/healthManagement/overview/index.vue
  5. 3 3
      src/views/Home/components/map.vue
  6. 8 2
      src/views/economicsOperation/photovoltaicAnalyse/prAnalyse/index.vue
  7. 14 10
      src/views/stateMonitor/Agc/Agc.vue
  8. 1 1
      src/views/stateMonitor/Agc/components/agc-panel.vue
  9. 7 1
      src/views/stateMonitor/factoryMonitor/components/headerButton.vue
  10. 227 10382
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/fangshansunjiashan.vue
  11. 3 3
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/fanshijunran.vue
  12. 20 15
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/huairenchuchen.vue
  13. 349 23581
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/shanyinrongxin.vue
  14. 43 19
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/tianzhenxusheng.vue
  15. 283 12786
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/tunliuwuyuan.vue
  16. 9 7
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/yanggaoweijiabao.vue
  17. 7 3
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/yingxianjinghui.vue
  18. 11 3
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/youyuyouwei.vue
  19. 26 18
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix/index.vue
  20. 14 5
      src/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor/index.vue
  21. 110 180
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/BHB.vue
  22. 315 0
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/BHB3.vue
  23. 7 7
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/DJY.vue
  24. 10 6
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/GJY.vue
  25. 3 3
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/HSM.vue
  26. 3 3
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/NJL.vue
  27. 8 4
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/PDL.vue
  28. 11 7
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/XWT.vue
  29. 12 8
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/YF.vue
  30. 4 4
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/YLZ.vue
  31. 5 3
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/YTY.vue
  32. 17 15
      src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/ZK.vue

+ 10 - 2
src/components/chart/pie/dual-pie-chart.vue

@@ -39,6 +39,7 @@ export default {
       default: true,
     },
     title: { type: String, default: "" },
+    type: { type: Number, default: 0 },
   },
   data() {
     return {
@@ -53,7 +54,8 @@ export default {
       //   let legend1 = this.innerData.map((v) => v.name);
       //   let legend2 = this.outerData.map((v) => v.name);
       //   let legendData = [...legend1, ...legend2];
-
+      let type = this.type;
+     
       let option = {
         title: {
           text: this.title,
@@ -67,7 +69,13 @@ export default {
         tooltip: {
           trigger: "item",
           formatter: function (params) {
-            return params.marker + params.name + " " + params.value + "%";
+            return (
+              params.marker +
+              params.name +
+              " " +
+              params.value +
+              (type == 1 ? "次" : "%")
+            );
           },
         },
         legend: {

+ 11 - 10
src/router/index.js

@@ -271,16 +271,7 @@ export const asyncRoutes = [
           },
         ],
       },
-      //   {
-      //     path: "agc",
-      //     component: () => import("@/views/stateMonitor/Agc/Agc.vue"),
-      //     name: "agc",
-      //     meta: {
-      //       title: "agc",
-      //       icon: "svg-s指标列表",
-      //       permissions: ["jn_fdcz_sjzb"],
-      //     },
-      //   },
+
       {
         path: "lightmatrix", // 基础矩阵
         name: "LightMatrix",
@@ -322,6 +313,16 @@ export const asyncRoutes = [
         },
       },
       {
+        path: "agc",
+        component: () => import("@/views/stateMonitor/Agc/Agc.vue"),
+        name: "agc",
+        meta: {
+          title: "Agc矩阵",
+          icon: "svg-s指标列表",
+          permissions: ["jn_fdcz_sjzb"],
+        },
+      },
+      {
         path: "zhzb", // 综合指标统计
         name: "zhzb",
         component: () =>

File diff suppressed because it is too large
+ 3575 - 0
src/utills/mock-yangquandianzhan.js


+ 2 - 2
src/views/HealthControl/healthManagement/overview/index.vue

@@ -54,7 +54,7 @@
             :outerData="healPieData"
             :height="'150px'"
           /> -->
-          <dual-pie-chart :series="healPieData" :height="'150px'" />
+          <dual-pie-chart :series="healPieData" :height="'150px'" :type="1"/>
         </panel>
       </Col>
       <Col :span="12">
@@ -64,7 +64,7 @@
             :outerData="stopPieData"
             :height="'150px'"
           /> -->
-          <dual-pie-chart :series="stopPieData" :height="'150px'" />
+          <dual-pie-chart :series="stopPieData" :height="'150px'" :type="1"/>
         </panel>
       </Col>
       <!-- <Col :span="16">

+ 3 - 3
src/views/Home/components/map.vue

@@ -1459,9 +1459,9 @@ export default {
         wpId.includes("FDC") || wpId.includes("GDC") ? wpId : wpId + activeTab;
       this.requestData();
       this.findProjectPlan();
-      //   this.timmer = setInterval(() => {
-      //     this.requestData();
-      //   }, 5000);
+        this.timmer = setInterval(() => {
+          this.requestData();
+        }, 5000);
 
       this.timmer2 = setInterval(() => {
         this.findProjectPlan(); //发电量

+ 8 - 2
src/views/economicsOperation/photovoltaicAnalyse/prAnalyse/index.vue

@@ -226,8 +226,14 @@ export default {
           this.tableData = res.data.map((i) => {
             return {
               ...i,
-              prhbzzl: i.prhbzzl ? i.prhbzzl.toFixed(2) : i.prhbzzl,
-              prtbzzl: i.prtbzzl ? i.prtbzzl.toFixed(2) : i.prtbzzl,
+              prhbzzl:
+                i.prhbzzl && typeof i.prhbzzl == "number"
+                  ? i.prhbzzl.toFixed(2)
+                  : i.prhbzzl,
+              prtbzzl:
+                i.prtbzzl && typeof i.prtbzzl == "number"
+                  ? i.prtbzzl.toFixed(2)
+                  : i.prtbzzl,
             };
           });
         }

+ 14 - 10
src/views/stateMonitor/Agc/Agc.vue

@@ -18,7 +18,7 @@
 <script>
 import AgcPanel from "./components/agc-panel.vue";
 import { getAgcDatas } from "@/api/monitor/index.js";
-import HeaderNav from "@/components/headerNav/index.vue";
+import HeaderNav from "@/components/headerNavSta/index.vue";
 export default {
   // 名称
   name: "Agc", //agc监视
@@ -33,7 +33,7 @@ export default {
       timmer: null, // 计时器
       datas: [],
       activeTab: "all",
-      tabIndex: 0,
+      tabIndex: -1,
       enterpriseIndex: "all",
     };
   },
@@ -44,9 +44,14 @@ export default {
       this.activeTab = activeTab;
       this.tabIndex = activeTab == "all" ? 0 : activeTab == "fc" ? -1 : -2;
       this.enterpriseIndex = enterpriseIndex;
-      this.$nextTick(() => {
+      this.BASE.showLoading();
+      this.datas = [];
+      this.requestData();
+      clearInterval(this.timmer);
+      this.timmer = null;
+      this.timmer = setInterval(() => {
         this.requestData();
-      });
+      }, 5000);
     },
     // 请求服务
     requestData() {
@@ -55,6 +60,7 @@ export default {
           this.enterpriseIndex == "all" ? "0" : this.enterpriseIndex.toString(),
         type: this.tabIndex.toString(),
       }).then((res) => {
+        this.BASE.closeLoading();
         if (res.data) {
           this.datas = res.data.data;
         } else {
@@ -63,18 +69,16 @@ export default {
       });
     },
   },
-  watch: {},
   created() {
     let that = this;
     that.$nextTick(() => {
+      //   this.loading = true;
       that.requestData();
+      that.timmer = setInterval(() => {
+        that.requestData();
+      }, 5000);
     });
   },
-  mounted() {
-    this.timmer = setInterval(() => {
-      this.requestData();
-    }, 5000);
-  },
   unmounted() {
     clearInterval(this.timmer);
     this.timmer = null;

+ 1 - 1
src/views/stateMonitor/Agc/components/agc-panel.vue

@@ -1,5 +1,5 @@
 <template>
-  <div :class="$store.state.themeName == 'dark' ? 'dark-grid' : 'light-grid'">
+  <div class="dark-grid">
     <div
       class="grid-content"
       style="width: 443px"

+ 7 - 1
src/views/stateMonitor/factoryMonitor/components/headerButton.vue

@@ -244,7 +244,13 @@ export default {
         type: this.type,
       });
       if (data.data.length) {
-        this.allPowerStation = data.data;
+        this.allPowerStation =
+          this.type == -2
+            ? [
+                ...data.data,
+                { aname: "阳泉城新电站",nemCode:'SXJ_KGDL_CX_GDC_STA' },
+              ]
+            : data.data;
         let index = Object.keys(this.localWpinfo).length
           ? this.allPowerStation.findIndex(
               (item) => item.nemCode == this.localWpinfo.wpid

File diff suppressed because it is too large
+ 227 - 10382
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/fangshansunjiashan.vue


File diff suppressed because it is too large
+ 3 - 3
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/fanshijunran.vue


File diff suppressed because it is too large
+ 20 - 15
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/huairenchuchen.vue


File diff suppressed because it is too large
+ 349 - 23581
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/shanyinrongxin.vue


File diff suppressed because it is too large
+ 43 - 19
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/tianzhenxusheng.vue


File diff suppressed because it is too large
+ 283 - 12786
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/tunliuwuyuan.vue


File diff suppressed because it is too large
+ 9 - 7
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/yanggaoweijiabao.vue


File diff suppressed because it is too large
+ 7 - 3
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/yingxianjinghui.vue


File diff suppressed because it is too large
+ 11 - 3
src/views/stateMonitor/factoryMonitor/photovoltaic/lightBoosterStation/components/youyuyouwei.vue


+ 26 - 18
src/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrix/index.vue

@@ -715,27 +715,35 @@ export default {
     // 获取单场站矩阵数据
     getSingleMatrix(first) {
       if (first) {
-        this.BASE.showLoading();
+        if (this.stationCode == "SXJ_KGDL_CX_GDC_STA") {
+          this.BASE.closeLoading();
+        } else {
+          this.BASE.showLoading();
+        }
       }
       if (this.stationCode) {
-        api
-          .matrixSinglePushFL({ wpid: this.stationCode, type: this.tab })
-          .then(({ data }) => {
-            if (
-              Object.keys(data).indexOf(`${this.tab.toLowerCase()}zqsl`) !=
-                -1 &&
-              data.qtsj.czid == this.stationCode
-            ) {
-              this.BASE.closeLoading();
-              this.matrixState = data.mxzt;
-              this.matrixOther = data.qtsj;
-              this.singleMatrixInfo = data.ZQ;
-              if (this.current) {
-                this.handleClick(this.current);
+        if (this.stationCode == "SXJ_KGDL_CX_GDC_STA") {
+          this.singleMatrixInfo = {};
+        } else {
+          api
+            .matrixSinglePushFL({ wpid: this.stationCode, type: this.tab })
+            .then(({ data }) => {
+              if (
+                Object.keys(data).indexOf(`${this.tab.toLowerCase()}zqsl`) !=
+                  -1 &&
+                data.qtsj.czid == this.stationCode
+              ) {
+                this.BASE.closeLoading();
+                this.matrixState = data.mxzt;
+                this.matrixOther = data.qtsj;
+                this.singleMatrixInfo = data.ZQ;
+                if (this.current) {
+                  this.handleClick(this.current);
+                }
               }
-            }
-            // this.BASE.closeLoading();
-          });
+              // this.BASE.closeLoading();
+            });
+        }
       }
     },
     // 点击左侧数据弹出详情

+ 14 - 5
src/views/stateMonitor/factoryMonitor/photovoltaic/lightMatrixMonitor/index.vue

@@ -316,6 +316,7 @@ import SvgIcon from "@com/coms/icon/svg-icon.vue";
 import LightDetail from "@/components/lightDetial/index.vue";
 import api from "@/api/cockpit/matrix/index.js";
 import dayjs from "dayjs";
+import { dataObj } from "@/utills/mock-yangquandianzhan.js";
 import { deepClone, findUpColor } from "@/utills/func.js";
 export default {
   name: "lightMatrixMonitor",
@@ -327,6 +328,7 @@ export default {
   },
   data() {
     return {
+      dataObj,
       units: [],
       unitDatas: [{ flag: false, min: 0, max: 0, codex: 0 }],
       color: [
@@ -703,13 +705,20 @@ export default {
     // 获取单场站矩阵数据
     getSingleMatrix() {
       if (this.stationCode) {
-        api.matrixSinglePush({ wpid: this.stationCode }).then(({ data }) => {
-          let resData = data.data;
-          this.singleMatrixInfo = resData;
+        if (this.stationCode == "SXJ_KGDL_CX_GDC_STA") {
+          this.singleMatrixInfo = this.dataObj;
           if (this.current) {
             this.handleClick(this.current);
           }
-        });
+        } else {
+          api.matrixSinglePush({ wpid: this.stationCode }).then(({ data }) => {
+            let resData = data.data;
+            this.singleMatrixInfo = resData;
+            if (this.current) {
+              this.handleClick(this.current);
+            }
+          });
+        }
       }
     },
     // 点击左侧数据弹出曲线
@@ -1635,7 +1644,7 @@ p {
           height: 50px;
 
           .card-left {
-            width: 50px;
+            width: 65px;
             height: 100%;
             display: flex;
             flex-direction: column;

File diff suppressed because it is too large
+ 110 - 180
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/BHB.vue


File diff suppressed because it is too large
+ 315 - 0
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/BHB3.vue


File diff suppressed because it is too large
+ 7 - 7
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/DJY.vue


File diff suppressed because it is too large
+ 10 - 6
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/GJY.vue


File diff suppressed because it is too large
+ 3 - 3
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/HSM.vue


File diff suppressed because it is too large
+ 3 - 3
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/NJL.vue


File diff suppressed because it is too large
+ 8 - 4
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/PDL.vue


File diff suppressed because it is too large
+ 11 - 7
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/XWT.vue


File diff suppressed because it is too large
+ 12 - 8
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/YF.vue


File diff suppressed because it is too large
+ 4 - 4
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/YLZ.vue


File diff suppressed because it is too large
+ 5 - 3
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/YTY.vue


File diff suppressed because it is too large
+ 17 - 15
src/views/stateMonitor/factoryMonitor/windPowerPlant/boosterStation/components/ZK.vue