소스 검색

冲突修改

Koishi 4 년 전
부모
커밋
d7cb057515

+ 1 - 3
package.json

@@ -14,12 +14,10 @@
     "@arcgis/core": "^4.19.3",
     "animate.css": "3.5",
     "axios": "^0.21.1",
-    "babel-polyfill": "^6.26.0",
     "core-js": "^3.6.5",
     "echarts": "^5.1.1",
     "echarts-gl": "^2.0.4",
-    "element-plus": "^1.1.0-beta.7",
-    "es6-promise": "^4.2.8",
+    "element-plus": "^1.1.0-beta.4",
     "file-saver": "^2.0.5",
     "font-awesome": "^4.7.0",
     "html2canvas": "^1.0.0-rc.7",

+ 97 - 27
src/App.vue

@@ -2,7 +2,18 @@
   <div v-if="isLogined" class="main">
     <div class="header-body">
       <div class="header-title">
-        <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16.667vh" height="3.704vh" viewBox="0 0 377.437 91.615" enable-background="new 0 0 377.437 91.615" xml:space="preserve">
+        <svg
+          version="1.1"
+          xmlns="http://www.w3.org/2000/svg"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          x="0px"
+          y="0px"
+          width="16.667vh"
+          height="3.704vh"
+          viewBox="0 0 377.437 91.615"
+          enable-background="new 0 0 377.437 91.615"
+          xml:space="preserve"
+        >
           <g id="图层_1">
             <g>
               <path
@@ -10,17 +21,39 @@
                 fill="#FFF"
                 d="M148.946,81.252c-6.114,0-10.656-4.561-10.656-10.33v-0.061c0-5.708,4.448-10.389,10.833-10.389c3.919,0,6.269,1.265,8.197,3.103l-2.912,3.241c-1.602-1.407-3.233-2.266-5.315-2.266c-3.503,0-6.025,2.811-6.025,6.256v0.055c0,3.444,2.463,6.313,6.025,6.313c2.378,0,3.833-0.915,5.468-2.35l2.909,2.84C155.329,79.877,152.955,81.252,148.946,81.252z"
               />
-              <polygon id="XMLID_488_" fill="#FFF" points="173.271,60.817 173.271,68.472 164.839,68.472 164.839,60.817 160.263,60.817 160.263,80.907 164.839,80.907 164.839,72.547 173.271,72.547 173.271,80.907 177.843,80.907 177.843,60.817" />
-              <path id="XMLID_486_" fill="#FFF" d="M195.929,80.907l-10.063-12.77v12.77h-4.516v-20.09h4.214l9.743,12.373V60.817h4.514v20.09H195.929z" />
+              <polygon
+                id="XMLID_488_"
+                fill="#FFF"
+                points="173.271,60.817 173.271,68.472 164.839,68.472 164.839,60.817 160.263,60.817 160.263,80.907 164.839,80.907 164.839,72.547 173.271,72.547 173.271,80.907 177.843,80.907 177.843,60.817"
+              />
+              <path
+                id="XMLID_486_"
+                fill="#FFF"
+                d="M195.929,80.907l-10.063-12.77v12.77h-4.516v-20.09h4.214l9.743,12.373V60.817h4.514v20.09H195.929z"
+              />
               <path
                 id="XMLID_484_"
                 fill="#FFF"
                 d="M304.535,81.252c-6.47,0-10.928-4.39-10.928-10.33v-0.061c0-5.708,4.606-10.389,10.901-10.389c3.741,0,5.992,0.845,8.429,2.482l-2.564,3.243c-1.789-1.208-3.028-1.694-6.012-1.646c-3.325,0.055-5.967,2.839-5.967,6.256v0.055c0,3.676,2.607,6.374,6.291,6.374c1.664,0,3.146-0.401,4.307-1.206v-2.871h-2.908v-3.817h7.332v8.725C311.277,79.817,308.336,81.252,304.535,81.252z"
               />
-              <path id="XMLID_482_" fill="#FFF" d="M245.533,80.907l-10.063-12.77v12.77h-4.515v-20.09h4.213l9.744,12.373V60.817h4.513v20.09H245.533z" />
-              <path id="XMLID_480_" fill="#FFF" d="M321.476,80.907v-8.793l-6.949-11.297h5.346l4.361,7.936l4.397-7.936h5.196l-6.951,11.238v8.853H321.476z" />
-              <polygon fill="#FFF" points="228.012,64.895 228.012,60.817 211.357,60.817 211.357,80.907 228.012,80.907 228.012,76.83 215.967,76.83 215.967,72.831 226.732,72.831 226.732,68.753 215.967,68.753 215.967,64.895 " />
-              <polygon fill="#FFF" points="269.557,64.895 269.557,60.817 252.902,60.817 252.902,80.907 269.557,80.907 269.557,76.83 257.511,76.83 257.511,72.831 268.277,72.831 268.277,68.753 257.511,68.753 257.511,64.895 " />
+              <path
+                id="XMLID_482_"
+                fill="#FFF"
+                d="M245.533,80.907l-10.063-12.77v12.77h-4.515v-20.09h4.213l9.744,12.373V60.817h4.513v20.09H245.533z"
+              />
+              <path
+                id="XMLID_480_"
+                fill="#FFF"
+                d="M321.476,80.907v-8.793l-6.949-11.297h5.346l4.361,7.936l4.397-7.936h5.196l-6.951,11.238v8.853H321.476z"
+              />
+              <polygon
+                fill="#FFF"
+                points="228.012,64.895 228.012,60.817 211.357,60.817 211.357,80.907 228.012,80.907 228.012,76.83 215.967,76.83 215.967,72.831 226.732,72.831 226.732,68.753 215.967,68.753 215.967,64.895 "
+              />
+              <polygon
+                fill="#FFF"
+                points="269.557,64.895 269.557,60.817 252.902,60.817 252.902,80.907 269.557,80.907 269.557,76.83 257.511,76.83 257.511,72.831 268.277,72.831 268.277,68.753 257.511,68.753 257.511,64.895 "
+              />
               <path
                 fill="#FFF"
                 d="M291.333,80.907l-3.983-7.74c2.177-1.005,3.696-3.265,3.696-5.896v0c0-3.564-2.784-6.454-6.22-6.454H272.98v20.09h4.57v-7.182h5.515l3.695,7.182H291.333z M277.55,64.895h6.774c1.265,0,2.29,1.064,2.29,2.376v0c0,1.312-1.025,2.376-2.29,2.376h-6.774V64.895z"
@@ -53,7 +86,11 @@ v3.861h7.686v6.282h-8.758v3.976h23.04V39.067z"
                   d="M236.358,27.874c-0.485-0.513-1.212-0.773-2.16-0.773h-11.46c-2.727,0-2.758,2.355-2.758,2.379v19.587h4.861v-6.638h7.269v2.625h-4.913v3.937l6.701-0.002c2.039,0,3.072-0.957,3.072-2.843l-0.001-16.651C236.971,29.456,237.012,28.565,236.358,27.874z M232.11,30.884v2.218h-7.269v-2.218H232.11z M232.11,36.658v2.215h-7.269v-2.215
 H232.11z"
                 />
-                <path id="XMLID_470_" fill="#FFF" d="M242.25,30.455l13.047,0.002v-4.014h-10.943V25.07c7.277-2.622,11.396-9.303,11.396-9.303h-5.433c0,0-2.434,3.517-5.964,4.758v-5.864h-5.064l0.002,13.225C239.291,29.519,240.369,30.455,242.25,30.455z" />
+                <path
+                  id="XMLID_470_"
+                  fill="#FFF"
+                  d="M242.25,30.455l13.047,0.002v-4.014h-10.943V25.07c7.277-2.622,11.396-9.303,11.396-9.303h-5.433c0,0-2.434,3.517-5.964,4.758v-5.864h-5.064l0.002,13.225C239.291,29.519,240.369,30.455,242.25,30.455z"
+                />
                 <path
                   id="XMLID_469_"
                   fill="#FFF"
@@ -65,8 +102,16 @@ H232.11z"
                 d="M183.913,20.6h25.993v5.788h4.901l-0.001-6.153c0-2.054-1.338-3.382-3.409-3.382h-11.566v-2.773h-5.542v2.773h-11.27c-2.447,0-3.967,1.296-3.967,3.382v6.153h4.861L183.913,20.6z M206.875,37.054h2.163l4.669-9.237H208.6l-3.441,6.245c-0.656-1.251-1.267-2.746-1.791-4.375h-2.899c-0.464-0.776-1.154-1.718-1.886-2.574c0.149-0.216,0.356-0.573,0.622-1.043l0.016-0.028h9.064v-3.709h-22.71v3.709h7.542c-3.771,2.954-11.774,4.27-13.435,4.518v4.199c1.49-0.195,9.366-1.363,15.546-4.938c0.19,0.258,0.519,0.775,0.69,1.048c-4.112,4.071-14.113,5.95-16.236,6.312v4.247c1.536-0.243,10.602-1.82,17.617-6.536c0.08,0.459,0.094,0.901,0.158,1.861c-4.899,3.313-9.952,5.405-17.775,7.207v4.28c1.733-0.309,11.518-2.4,17.775-6.687v2.684c0,0.691-0.642,1.331-1.338,1.321h-5.732v3.891h7.327c2.973,0,4.516-1.455,4.516-4.354v-7.226c2.196,3.848,6.276,8.845,13.004,10.846v-4.457C213.257,43.436,208.773,40.441,206.875,37.054z"
               />
               <g>
-                <polygon id="XMLID_468_" fill="#FFF" points="268.998,32.332 264.811,23.662 259.317,23.662 263.189,32.332" />
-                <polygon id="XMLID_467_" fill="#FFF" points="268.756,22.309 264.964,14.394 259.558,14.394 263.006,22.309 " />
+                <polygon
+                  id="XMLID_468_"
+                  fill="#FFF"
+                  points="268.998,32.332 264.811,23.662 259.317,23.662 263.189,32.332"
+                />
+                <polygon
+                  id="XMLID_467_"
+                  fill="#FFF"
+                  points="268.756,22.309 264.964,14.394 259.558,14.394 263.006,22.309 "
+                />
                 <path
                   fill="#FFF"
                   d="M268.529,34.2h-5.266l-0.025,0.219c-0.008,0.072-1.178,6.718-4.536,14.771h5.556c3.063-6.815,4.233-14.631,4.242-14.717
@@ -88,7 +133,10 @@ h-8.811v-2.064H290.214z"
                   d="M281.646,37.1c-1.886,0-3.186,0-4.351,0c-0.627,5.028-3.023,11.032-3.023,11.032h4.543
 C278.815,48.132,281.02,43.161,281.646,37.1z"
                 />
-                <path fill="#FFF" d="M294.034,37.1h-4.363c0.198,1.057,1.316,6.682,3.187,11.032h4.584C295.631,43.114,294.361,38.359,294.034,37.1z" />
+                <path
+                  fill="#FFF"
+                  d="M294.034,37.1h-4.363c0.198,1.057,1.316,6.682,3.187,11.032h4.584C295.631,43.114,294.361,38.359,294.034,37.1z"
+                />
               </g>
               <path
                 fill="#FFF"
@@ -117,11 +165,18 @@ z"
               </g>
             </g>
             <g>
-              <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="61.5049" y1="30.1548" x2="61.5049" y2="66.792">
-                <stop offset="0" style="stop-color:#F6AB00" />
-                <stop offset="0.5" style="stop-color:#D84C14" />
-                <stop offset="0.75" style="stop-color:#CC2A1C" />
-                <stop offset="1" style="stop-color:#C11920" />
+              <linearGradient
+                id="SVGID_1_"
+                gradientUnits="userSpaceOnUse"
+                x1="61.5049"
+                y1="30.1548"
+                x2="61.5049"
+                y2="66.792"
+              >
+                <stop offset="0" style="stop-color: #f6ab00" />
+                <stop offset="0.5" style="stop-color: #d84c14" />
+                <stop offset="0.75" style="stop-color: #cc2a1c" />
+                <stop offset="1" style="stop-color: #c11920" />
               </linearGradient>
               <path
                 fill="url(#SVGID_1_)"
@@ -153,11 +208,18 @@ C123.128,46.225,123.128,45.391,122.614,44.877z"
             />
           </g>
           <g id="图层_2">
-            <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="61.5" y1="30.1548" x2="61.5" y2="66.792">
-              <stop offset="0" style="stop-color:#F6AB00" />
-              <stop offset="0.5" style="stop-color:#D84C14" />
-              <stop offset="0.75" style="stop-color:#CC2A1C" />
-              <stop offset="1" style="stop-color:#C11920" />
+            <linearGradient
+              id="SVGID_2_"
+              gradientUnits="userSpaceOnUse"
+              x1="61.5"
+              y1="30.1548"
+              x2="61.5"
+              y2="66.792"
+            >
+              <stop offset="0" style="stop-color: #f6ab00" />
+              <stop offset="0.5" style="stop-color: #d84c14" />
+              <stop offset="0.75" style="stop-color: #cc2a1c" />
+              <stop offset="1" style="stop-color: #c11920" />
             </linearGradient>
             <path
               fill="url(#SVGID_2_)"
@@ -170,9 +232,18 @@ l16.229-16.229l16.229,16.229l42.867-42.867C115.034,45.228,109.133,42.189,102.956
           <g id="图层_4"></g>
         </svg>
       </div>
-      <div class="header-menu-body"><Header @onMenuClick="HeaderMenuClick" /></div>
+      <div class="header-menu-body">
+        <Header @onMenuClick="HeaderMenuClick" />
+      </div>
+    </div>
+    <div
+      class="menu-body"
+      :class="{ hover: isShowMenu }"
+      @mouseenter="showMenu"
+      @mouseleave="hideMenu"
+    >
+      <Menu :root="root" />
     </div>
-    <div class="menu-body" :class="{ hover: isShowMenu }" @mouseenter="showMenu" @mouseleave="hideMenu"><Menu :root="root" /></div>
     <div class="main-body">
       <router-view />
     </div>
@@ -235,7 +306,7 @@ export default {
       });
     });
   },
-  
+
   methods: {
     // 切换子系统事件
     HeaderMenuClick(data) {
@@ -247,10 +318,9 @@ export default {
     },
     hideMenu() {
       const that = this;
-      this.memuCloseTimeout = setTimeout(function(){
+      this.memuCloseTimeout = setTimeout(function () {
         that.isShowMenu = false;
-      }, 500 )
-      
+      }, 500);
     },
     login(params) {
       if (params.username && params.password) this.isLogined = true;

+ 70 - 59
src/components/chart/line/multiple-line-chart.vue

@@ -218,19 +218,23 @@ export default {
       type: Boolean,
       default: false,
     },
-    hoverType: {
-      type: String,
-      default: "item",
-    },
+    // hoverType: {
+    //   type: String,
+    //   default: "item",
+    // },
   },
   data() {
     return {
       id: "",
       chart: null,
-      color: ["#05bb4c", "#4b55ae", "#fa8c16", "#f8de5b", "#1a93cf", "#c531c7", "#bd3338", "#05bb4c", "#4b55ae", "#fa8c16", "#f8de5b", "#1a93cf", "#c531c7", "#bd3338"],
+      // color: ["#05bb4c", "#4b55ae", "#fa8c16", "#f8de5b", "#1a93cf", "#c531c7", "#bd3338", "#05bb4c", "#4b55ae", "#fa8c16", "#f8de5b", "#1a93cf", "#c531c7", "#bd3338"],
+       color: ["#05bb4c", "#f8de5b", "#4b55ae", "#fa8c16", "#1DA0D7", "#DD5044"],
     };
   },
   computed: {
+     colorValue() {
+      return partten.getColor(this.color);
+    },
     datas() {
       return this.list.map((t) => {
         return t.value;
@@ -243,11 +247,18 @@ export default {
     },
     xdata() {
       if (this.list.length > 0)
-        return this.list[0].value.map((t) => {
+      console.log('xthis:',this)
+      console.log('xlist:',this.list)
+      
+        return this.list[0].value.map((t,tIndex) => {
           console.log('list0:',this.list[0])
+          console.log('tindex:',tIndex)
+          console.log('t:',t)
           console.log('tvalue:',t.value)
           // return t.text;
-          return t.value
+          let xunit = [tIndex]
+          return xunit
+          // return t.value
         });
       return [];
     },
@@ -264,61 +275,61 @@ export default {
           zlevel: index,
           lineStyle: {
             normal: {
-              // color: index != 0 ? partten.getColor("gray") : this.color[index],
-                color: partten.getColor("gray"), 
+            // color: index != 0 ? partten.getColor("gray") : this.color[index],
+               color: this.color[index],
               width: 1,
             },
-            emphasis: {
-              color: this.color[index],
-            },
-          },
-          areaStyle: {
-            normal: {
-              color:
-                index == 0
-                  ? new echarts.graphic.LinearGradient(
-                      0,
-                      0,
-                      0,
-                      1,
-                      [
-                        {
-                          offset: 0,
-                          color: this.hexToRgba(this.color[index], 0.3),
-                        },
-                        {
-                          offset: 1,
-                          color: this.hexToRgba(this.color[index], 0.1),
-                        },
-                      ],
-                      false
-                    )
-                  : "transparent",
-              shadowColor: this.hexToRgba(this.color[index], 0.1),
-              shadowBlur: 10,
-            },
-            emphasis: {
-              color: new echarts.graphic.LinearGradient(
-                0,
-                0,
-                0,
-                1,
-                [
-                  {
-                    offset: 0,
-                    color: this.hexToRgba(this.color[index], 0.3),
-                  },
-                  {
-                    offset: 1,
-                    color: this.hexToRgba(this.color[index], 0.1),
-                  },
-                ],
-                false
-              ),
-              shadowColor: this.hexToRgba(this.color[index], 0.1),
-              shadowBlur: 10,
-            },
+            // emphasis: {
+            //   color: this.color[index],
+            // },
           },
+          // areaStyle: {
+          //   normal: {
+          //     color:
+          //       index == 0
+          //         ? new echarts.graphic.LinearGradient(
+          //             0,
+          //             0,
+          //             0,
+          //             1,
+          //             [
+          //               {
+          //                 offset: 0,
+          //                 color: this.hexToRgba(this.color[index], 0.3),
+          //               },
+          //               {
+          //                 offset: 1,
+          //                 color: this.hexToRgba(this.color[index], 0.1),
+          //               },
+          //             ],
+          //             false
+          //           )
+          //         : "transparent",
+          //     shadowColor: this.hexToRgba(this.color[index], 0.1),
+          //     shadowBlur: 10,
+          //   },
+          //   emphasis: {
+          //     color: new echarts.graphic.LinearGradient(
+          //       0,
+          //       0,
+          //       0,
+          //       1,
+          //       [
+          //         {
+          //           offset: 0,
+          //           color: this.hexToRgba(this.color[index], 0.3),
+          //         },
+          //         {
+          //           offset: 1,
+          //           color: this.hexToRgba(this.color[index], 0.1),
+          //         },
+          //       ],
+          //       false
+          //     ),
+          //     shadowColor: this.hexToRgba(this.color[index], 0.1),
+          //     shadowBlur: 10,
+          //   },
+          // },
           tooltip: {
             show: true,
             position: [10, 10],

+ 66 - 65
src/router/index.js

@@ -99,7 +99,7 @@ const routes = [{
 			import( /* webpackChunkName: "generalappearance" */
 				"../views/WindSite/pages/GeneralAppearance.vue"),
 	},
-	] 
+	]
 },
 {
 	path: "/monitor/lightmatrix", // 光伏明细矩阵
@@ -550,147 +550,147 @@ const routes = [{
 	/***********************************************************安全管控************************************************************* */
 
 	, {
-	path: "/others", // 报表总览
-	name: "Others",
+	path: '/others', // 其他
+	name: 'others',
 	component: () =>
-		import( /* webpackChunkName: "reportPandect" */ "../views/Others/index.vue"),
+		import('../views/Others/index.vue'),
 },
 {
-	path: "/others/reportPandect", // 报表总览
+	path: "/others/reportPandect", // 报表总览
 	name: "reportPandect",
 	component: () =>
-		import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue"),
+		import( /* webpackChunkName: "reportPandect" */ "../views/reportPandect/index.vue"),
 }, {
 	path: "/others/tjfx",
 	name: "tjfx",
 	component: () =>
-		import( /* webpackChunkName: "tjfx" */ "../views/report/tjfx.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/tjfx.vue"),
 },
 {
 	path: "/others/bdzcx",
 	name: "bdzcx",
 	component: () =>
-		import( /* webpackChunkName: "bdzcx" */ "../views/report/bdzcx.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/bdzcx.vue"),
 },
 {
 	path: "/others/oafd",
 	name: "oafd",
 	component: () =>
-		import( /* webpackChunkName: "oafd" */ "../views/report/oafd.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/oafd.vue"),
 },
 {
 	path: "/others/oagf",
 	name: "oagf",
 	component: () =>
-		import( /* webpackChunkName: "oagf" */ "../views/report/oagf.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/oagf.vue"),
 },
 {
 	path: "/others/missfdrb",
 	name: "missfdrb",
 	component: () =>
-		import( /* webpackChunkName: "missfdrb" */ "../views/report/missfdrb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/missfdrb.vue"),
 },
 {
 	path: "/others/missgfrb",
 	name: "missgfrb",
 	component: () =>
-		import( /* webpackChunkName: "missgfrb" */ "../views/report/missgfrb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/missgfrb.vue"),
 },
 {
 	path: "/others/xnyfdscyb",
 	name: "xnyfdscyb",
 	component: () =>
-		import( /* webpackChunkName: "xnyfdscyb" */ "../views/report/xnyfdscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/xnyfdscyb.vue"),
 },
 {
 	path: "/others/mhsscyb",
 	name: "mhsscyb",
 	component: () =>
-		import( /* webpackChunkName: "mhsscyb" */ "../views/report/mhsscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/mhsscyb.vue"),
 },
 {
 	path: "/others/nssscyb",
 	name: "nssscyb",
 	component: () =>
-		import( /* webpackChunkName: "nssscyb" */ "../views/report/nssscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/nssscyb.vue"),
 },
 {
 	path: "/others/qsscyb",
 	name: "qsscyb",
 	component: () =>
-		import( /* webpackChunkName: "qsscyb" */ "../views/report/qsscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/qsscyb.vue"),
 },
 {
 	path: "/others/sbqscyb",
 	name: "sbqscyb",
 	component: () =>
-		import( /* webpackChunkName: "sbqscyb" */ "../views/report/sbqscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/sbqscyb.vue"),
 },
 {
 	path: "/others/xsscyb",
 	name: "xsscyb",
 	component: () =>
-		import( /* webpackChunkName: "xsscyb" */ "../views/report/xsscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/xsscyb.vue"),
 },
 {
 	path: "/others/xnygfscyb",
 	name: "xnygfscyb",
 	component: () =>
-		import( /* webpackChunkName: "xnygfscyb" */ "../views/report/xnygfscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/xnygfscyb.vue"),
 },
 {
 	path: "/others/dwkscyb",
 	name: "dwkscyb",
 	component: () =>
-		import( /* webpackChunkName: "dwkscyb" */ "../views/report/dwkscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/dwkscyb.vue"),
 },
 {
 	path: "/others/plscyb",
 	name: "plscyb",
 	component: () =>
-		import( /* webpackChunkName: "plscyb" */ "../views/report/plscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/plscyb.vue"),
 },
 {
 	path: "/others/xhscyb",
 	name: "xhscyb",
 	component: () =>
-		import( /* webpackChunkName: "xhscyb" */ "../views/report/xhscyb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/xhscyb.vue"),
 },
 {
 	path: "/others/fdczzdy",
 	name: "fdczzdy",
 	component: () =>
-		import( /* webpackChunkName: "fdczzdy" */ "../views/report/fdczzdy.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/fdczzdy.vue"),
 },
 {
 	path: "/others/fdxmzdy",
 	name: "fdxmzdy",
 	component: () =>
-		import( /* webpackChunkName: "fdxmzdy" */ "../views/report/fdxmzdy.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/fdxmzdy.vue"),
 },
 {
 	path: "/others/gfczzdy",
 	name: "gfczzdy",
 	component: () =>
-		import( /* webpackChunkName: "gfczzdy" */ "../views/report/gfczzdy.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/gfczzdy.vue"),
 },
 {
 	path: "/others/gfxmzdy",
 	name: "gfxmzdy",
 	component: () =>
-		import( /* webpackChunkName: "gfxmzdy" */ "../views/report/gfxmzdy.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/gfxmzdy.vue"),
 },
 {
 	path: "/others/xnyrb",
 	name: "xnyrb",
 	component: () =>
-		import( /* webpackChunkName: "xnyrb" */ "../views/report/xnyrb.vue"),
+		import( /* webpackChunkName: "historysearch" */ "../views/report/xnyrb.vue"),
 },
 {
-	path: "/others/realSearch", // 测点数据查询
-	name: "realSearch",
+	path: '/others/realSearch', // 测点数据查询
+	name: 'realSearch',
 	component: () =>
-		import("../views/realSearch/index.vue"),
+		import('../views/realSearch/index.vue'),
 },
 {
 	path: "/others/historysearch",
@@ -698,16 +698,16 @@ const routes = [{
 	component: () => import( /* webpackChunkName: "historysearch" */ "../views/NewPages/history-search.vue"),
 },
 {
-	path: "/others/historySearch", // 测点历史数据查询
-	name: "historySearch",
+	path: '/others/historySearch', // 测点历史数据查询
+	name: 'historySearch',
 	component: () =>
-		import("../views/historySearch/index.vue"),
+		import('../views/historySearch/index.vue'),
 },
 {
-	path: "/others/alarmCenter/alarmcenter",
-	name: "alarmcenter",
+	path: '/others/alarmCenter/alarmcenter',
+	name: 'alarmcenter',
 	component: () =>
-		import( /* webpackChunkName: "personnel" */ "../views/NewPages/alarm-center.vue"),
+		import( /* webpackChunkName: "personnel" */ '../views/NewPages/alarm-center.vue'),
 },
 {
 	path: "/others/alarmCenter/tjsj",
@@ -745,48 +745,49 @@ const routes = [{
 	component: () => import("../views/alarmCenter/customStatistics.vue")
 },
 {
-	path: "/others/knowledge/knowledge", //故障知识列表
-	name: "knowledge1",
+	path: '/others/knowledge/knowledge', //故障知识列表
+	name: 'knowledge1',
 	component: () =>
-		import("../views/Knowledge/Knowledge1.vue"),
+		import('../views/Knowledge/Knowledge1.vue'),
 },
 {
-	path: "/others/knowledge/knowledge2", //安全措施知识
-	name: "knowledge2",
+	path: '/others/knowledge/knowledge2', //安全措施知识
+	name: 'knowledge2',
 	component: () =>
-		import("../views/Knowledge/Knowledge2.vue"),
+		import('../views/Knowledge/Knowledge2.vue'),
 },
 {
-	path: "/others/knowledge/knowledge3", //风险辨识知识
-	name: "knowledge3",
+	path: '/others/knowledge/knowledge3', //风险辨识知识
+	name: 'knowledge3',
 	component: () =>
-		import("../views/Knowledge/Knowledge3.vue"),
+		import('../views/Knowledge/Knowledge3.vue'),
 },
 {
-	path: "/others/knowledge/knowledge4", //作业指导知识
-	name: "knowledge4",
+	path: '/others/knowledge/knowledge4', //作业指导知识
+	name: 'knowledge4',
 	component: () =>
-		import("../views/Knowledge/Knowledge4.vue"),
+		import('../views/Knowledge/Knowledge4.vue'),
 },
 {
-	path: "/others/knowledge/knowledge5", //特征参数
-	name: "knowledge5",
+	path: '/others/knowledge/knowledge5', //特征参数
+	name: 'knowledge5',
 	component: () =>
-		import("../views/Knowledge/Knowledge5.vue"),
+		import('../views/Knowledge/Knowledge5.vue'),
 },
 {
-	path: "/others/knowledge/knowledge6", //排查检修方案
-	name: "knowledge6",
+	path: '/others/knowledge/knowledge6', //排查检修方案
+	name: 'knowledge6',
 	component: () =>
-		import("../views/Knowledge/Knowledge6.vue"),
+		import('../views/Knowledge/Knowledge6.vue'),
 },
 {
-	path: "/others/knowledge/knowledge7", //预警知识
-	name: "knowledge7",
+	path: '/others/knowledge/knowledge7', //预警知识
+	name: 'knowledge7',
 	component: () =>
-		import("../views/Knowledge/Knowledge7.vue"),
-},
-/***********************************************************其他************************************************************ */
+		import('../views/Knowledge/Knowledge7.vue'),
+}
+	/***********************************************************其他************************************************************ */
+	,
 {
 	path: "/planPower",
 	name: "planPower",
@@ -794,17 +795,17 @@ const routes = [{
 		import( /* webpackChunkName: "planPower" */ "../views/planPower/index.vue"),
 },
 {
-	path: "/new/intelligentalarmcenter",
-	name: "intelligentalarmcenter",
+	path: '/new/intelligentalarmcenter',
+	name: 'intelligentalarmcenter',
 	component: () =>
 		import( /* webpackChunkName: "intelligentalarmcenter" */
-			"../views/NewPages/intelligent-alarm-center.vue"),
+			'../views/NewPages/intelligent-alarm-center.vue'),
 },
 {
-	path: "/new/knowledgebase",
-	name: "knowledgebase",
+	path: '/new/knowledgebase',
+	name: 'knowledgebase',
 	component: () =>
-		import( /* webpackChunkName: "knowledgebase" */ "../views/NewPages/knowledge-base.vue"),
+		import( /* webpackChunkName: "knowledgebase" */ '../views/NewPages/knowledge-base.vue'),
 },
 {
 	path: "/new/dj",

+ 250 - 222
src/views/Others/index.vue

@@ -1,42 +1,103 @@
 <template>
   <div class="swiperBox">
-    <el-carousel style="width: 100%; margin: 5vh 0" trigger="click" type="card" height="80vh" :autoplay="false" indicator-position="none" :initial-index="1" arrow="none" @change="changeSwiper">
+    <el-carousel
+      style="width: 100%; margin: 5vh 0"
+      trigger="click"
+      type="card"
+      height="80vh"
+      :autoplay="false"
+      indicator-position="none"
+      :initial-index="1"
+      arrow="none"
+      @change="changeSwiper"
+    >
       <!-- card-1 -->
-            <!-- <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)"> -->
       <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)">
         <div class="itemBox">
           <p class="itemTitle">
-            记录查询
-            数据查询
+            原始数据查询
+            <i
+              class="itemMoreBtn el-icon-more"
+              @click="jumpUrl('/realSearch')"
+            ></i>
           </p>
-          <div class="df-table" @click="jumpUrl('/others/realSearch')">
-            <div class="sjcx-item" v-for="(value, key) in wppointColumn" :key="key">
-              <div class="sjcx-name">{{value}}</div>
-              <div class="sjcx-value">{{wppointnum[key]}}</div>
-            </div>
+          <div class="df-table">
+            <ComTable height="30vh" :data="tableData1" :pageSize="20" >
+            </ComTable>
+             <ComTable height="30vh" :data="tableData2" :pageSize="20">
+            </ComTable>
           </div>
+          <!-- <div class="imageBox">
+            <div class="imgItem" @click="jumpUrl('/realSearch')">
+              <el-image class="img" src="./static/img/oa日报.png" fit="fill" />
+              <p class="imgTitle">测点数据查询</p>
+            </div>
+            <div class="imgItem" @click="jumpUrl('/historySearch')">
+              <el-image
+                class="img"
+                src="./static/img/新能源日报.png"
+                fit="fill"
+              />
+              <p class="imgTitle">测点历史数据查询</p>
+            </div>
+          </div> -->
         </div>
       </el-carousel-item>
 
-
-
       <!-- card-2 -->
       <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)">
         <div class="itemBox">
           <p class="itemTitle">
             预警记录
+            <!-- <i class="itemMoreBtn el-icon-more" @click="jumpUrl('/realSearch')"></i> -->
           </p>
           <div class="df-table">
-            <div class="sjcx-item" v-for="item in earlyAlarmColumn" :key="item" @click="jumpUrl(item.url)">
-              <div class="sjcx-name">{{item.name}}</div>
-              <div class="sjcx-value">{{earlyAlarmData[item.key] || '0'}}</div>
-            </div>
+            <ComTable height="30vh" :data="tableData3" :pageSize="20">
+            </ComTable>
+            <ComTable height="30vh" :data="tableData4" :pageSize="20">
+            </ComTable>
           </div>
+          <!-- <div class="imageBox1">
+            <div class="imgItem1" @click="jumpUrl('/new/alarmcenter')">
+              <el-image class="img1" src="./static/img/oa日报.png" fit="fill" />
+              <p class="imgTitle">预警管理</p>
+            </div>
+            <div class="imgItem1" @click="jumpUrl('/new/tjsj')">
+              <el-image
+                class="img1"
+                src="./static/img/新能源日报.png"
+                fit="fill"
+              />
+              <p class="imgTitle">停机事件管理</p>
+            </div>
+            <div class="imgItem1" @click="jumpUrl('/new/xdgl')">
+              <el-image class="img1" src="./static/img/oa日报.png" fit="fill" />
+              <p class="imgTitle">限电管理</p>
+            </div>
+            <div class="imgItem1" @click="jumpUrl('/alarmCenter/boosterAlarm')">
+              <el-image
+                class="img1"
+                src="./static/img/新能源日报.png"
+                fit="fill"
+              />
+              <p class="imgTitle">升压站报警</p>
+            </div>
+            <div class="imgItem1" @click="jumpUrl('/alarmCenter/scadaAlarm')">
+              <el-image class="img1" src="./static/img/oa日报.png" fit="fill" />
+              <p class="imgTitle">SCADA报警</p>
+            </div>
+            <div class="imgItem1" @click="jumpUrl('/alarmCenter/customAlarm')">
+              <el-image
+                class="img1"
+                src="./static/img/新能源日报.png"
+                fit="fill"
+              />
+              <p class="imgTitle">自定义报警</p>
+            </div>
+          </div> -->
         </div>
       </el-carousel-item>
-     
 
-      <!-- card-2 -->
       <!-- card-3 -->
       <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)">
         <div class="itemBox">
@@ -44,14 +105,14 @@
             专家知识
             <!-- <i class="itemMoreBtn el-icon-more" @click="jumpUrl('/realSearch')"></i> -->
           </p>
-          <div class="df-table">
-            <ComTable height="30vh" :data="tableData3" :pageSize="20">
+           <div class="df-table">
+                <ComTable height="30vh" :data="tableData5" :pageSize="20">
             </ComTable>
-          </div>
+           </div>
+       
         </div>
       </el-carousel-item>
 
- <!-- <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)"> -->
       <!-- card-4 -->
       <!-- <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)">
         <div class="itemBox">
@@ -73,93 +134,67 @@
             <!-- <i class="itemMoreBtn el-icon-more" @click="jumpUrl('/realSearch')"></i> -->
           </p>
           <div class="imageBox1">
-            <div class="imgItem1" @click="jumpUrl('/others/tjfx')">
-              <el-image class="img1" src="./static/img/o统计分析.png" fit="fill" />
+            <div class="imgItem1" @click="jumpUrl('/tjfx')">
               <el-image class="img1" src="./static/img/oa日报.png" fit="fill" />
               <p class="imgTitle">统计分析</p>
             </div>
-            <div class="imgItem1" @click="jumpUrl('/others/bdzcx')">
-              <el-image class="img1" src="./static/img/o表底值查询.png" fit="fill" />
-              <el-image class="img1" src="./static/img/新能源日报.png" fit="fill" />
+            <div class="imgItem1" @click="jumpUrl('/bdzcx')">
+              <el-image
+                class="img1"
+                src="./static/img/新能源日报.png"
+                fit="fill"
+              />
               <p class="imgTitle">表底值查询</p>
             </div>
-            <div class="imgItem1" @click="jumpUrl('/others/xnyrb')">
-              <el-image class="img1" src="./static/img/o新能源日报.png" fit="fill" />
+            <div class="imgItem1" @click="jumpUrl('/xnyrb')">
               <el-image class="img1" src="./static/img/oa日报.png" fit="fill" />
               <p class="imgTitle">新能源日报</p>
             </div>
-            <div class="imgItem1" @click="jumpUrl('/others/xnyfdscyb')">
-              <el-image class="img1" src="./static/img/o新能源月报.png" fit="fill" />
-              <el-image class="img1" src="./static/img/新能源日报.png" fit="fill" />
+                     <div class="imgItem1" @click="jumpUrl('/xnyfdscyb')">
+              <el-image
+                class="img1"
+                src="./static/img/新能源日报.png"
+                fit="fill"
+              />
               <p class="imgTitle">新能源风电生产月报</p>
             </div>
-            <div class="imgItem1" @click="jumpUrl('/others/fdczzdy')">
-              <el-image class="img1" src="./static/img/o风场自定义.png" fit="fill" />
-              <el-image class="img1" src="./static/img/新能源日报.png" fit="fill" />
-              <p class="imgTitle">风电场站自定义</p>
+            <div class="imgItem1" @click="jumpUrl('/missfdrb')">
+              <el-image
+                class="img1"
+                src="./static/img/新能源日报.png"
+                fit="fill"
+              />
+              <p class="imgTitle">动态报表</p>
             </div>
-            <div class="imgItem1" @click="jumpUrl('/others/fdxmzdy')">
-              <el-image class="img1" src="./static/img/o风电自定义.png" fit="fill" />
+            <div class="imgItem1" @click="jumpUrl('/missgfrb')">
               <el-image class="img1" src="./static/img/oa日报.png" fit="fill" />
-              <p class="imgTitle">风电项目自定义</p>
+              <p class="imgTitle">项目动态报表</p>
             </div>
+   
           </div>
         </div>
       </el-carousel-item>
-      <!-- card-3 -->
-        <!-- <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)"> -->
       <!-- card-6 -->
       <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)">
         <div class="itemBox">
           <p class="itemTitle">
-            数据查询
-          </p>
-          <div class="df-table" @click="jumpUrl('/others/realSearch')">
-            <div class="sjcx-item" v-for="(value, key) in wppointColumn" :key="key">
-              <div class="sjcx-name">{{value}}</div>
-              <div class="sjcx-value">{{wppointnum[key]}}</div>
-            </div>
-          </div>
-        </div>
-      </el-carousel-item>
-
-
-      <!-- card-4 -->
-      <!-- <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)">
-        <div class="itemBox">
-          <p class="itemTitle">
-            统计分析
-            <i class="itemMoreBtn el-icon-more" @click="jumpUrl('/realSearch')"></i>
-          </p>
-           <ComTable height="30vh" :data="tableData7" :pageSize="20">
-            </ComTable>
-            <ComTable height="30vh" :data="tableData8" :pageSize="20">
-            </ComTable>
-        </div>
-      </el-carousel-item> -->
-      <!-- card-5 -->
-            <el-carousel-item style="padding: 20px; background: rgb(4, 12, 11)">
-        <div class="itemBox">
-          <p class="itemTitle">
-            专家知识
             自定制报表管理
             <!-- <i class="itemMoreBtn el-icon-more" @click="jumpUrl('/realSearch')"></i> -->
           </p>
-          <div class="df-table">
-            <ComTable height="30vh" :data="tableData3" ></ComTable>
-            <ComTable height="30vh" :data="tableData4" :pageSize="20">
+           <div class="df-table">
+                     <ComTable height="30vh" :data="tableData6" :pageSize="20">
             </ComTable>
-          </div>
+           </div>
+
         </div>
       </el-carousel-item>
-      
     </el-carousel>
   </div>
 </template>
 
 <script>
 import $ from "jquery";
-import ComTable from "./table.vue";
+import ComTable from "@com/coms/table/table.vue";
 export default {
   // 名称
   name: "cutAnalyse",
@@ -171,36 +206,6 @@ export default {
   data() {
     const that = this;
     return {
-      wppointnum: {},
-      wppointColumn: {
-        MHS_FDC: "麻黄山风电场",
-        NSS_FDC: "牛首山风电场",
-        QS_FDC: "青山风电场",
-        SBQ_FDC: "石板泉风电场",
-        XS_FDC: "香山风电场",
-        DWK_GDC: "大武口电站",
-        PL_GDC: "平罗光伏电站",
-        XH_GDC: "宣和光伏发电站",
-        MCH_GDC: "马场湖光发伏电站",
-        JSFW: "计算服务测点",
-      },
-      earlyAlarmData: {},
-      earlyAlarmColumn: [
-        { name: "升压站告警", key: "syzgj", url: "/others/alarmCenter/boosterAlarm" },
-        { name: "升压站动作", key: "", url: "/others/alarmCenter/boosterAlarm" },
-        { name: "限电事件", key: "xd", url: "/others/alarmCenter/xdgl" },
-        { name: "停机事件", key: "tj", url: "/others/alarmCenter/tjsj" },
-        { name: "状态转换记录", key: "", url: "" },
-        { name: "停机事件管理", key: "tj", url: "/others/alarmCenter/tjsj" },
-        { name: "限电管理", key: "xd", url: "/others/alarmCenter/xdgl" },
-        { name: "状态转换记录", key: "", url: "" },
-        { name: "操作记录", key: "", url: "" },
-        { name: "升压站动作", key: "", url: "" },
-        { name: "升压站告警", key: "syzgj", url: "/others/alarmCenter/boosterAlarm" },
-        { name: "风机告警", key: "fjgj", url: "/others/alarmCenter/scadaAlarm" },
-        { name: "风机预警", key: "fjyj", url: "/others/alarmCenter/alarmcenter" },
-        { name: "操作记录", key: "", url: "" },
-      ],
       tableData1: {
         column: [
           {
@@ -217,16 +222,21 @@ export default {
             is_light: false,
             sortable: true,
           },
+        ],
+        data: [],
+      },
+      tableData2: {
+        column: [
           {
             name: "设备结构",
-            field: "timeDate",
+            field: "pointId",
             is_num: false,
             is_light: false,
             sortable: true,
           },
           {
             name: "关键参数",
-            field: "value",
+            field: "pointName",
             is_num: false,
             is_light: false,
             sortable: true,
@@ -234,7 +244,7 @@ export default {
         ],
         data: [],
       },
-      tableData2: {
+       tableData3: {
         column: [
           {
             name: "状态",
@@ -250,24 +260,31 @@ export default {
             is_light: false,
             sortable: true,
           },
+      
+        ],
+        data: [],
+      },
+             tableData4: {
+        column: [
           {
             name: "类型",
-            field: "timeDate",
+            field: "pointId",
             is_num: false,
             is_light: false,
             sortable: true,
           },
           {
-            name: "等级",
-            field: "value",
+            name: "当日数量",
+            field: "pointName",
             is_num: false,
             is_light: false,
             sortable: true,
           },
+      
         ],
         data: [],
       },
-      tableData3: {
+          tableData5: {
         column: [
           {
             name: "名称",
@@ -286,7 +303,25 @@ export default {
         ],
         data: [],
       },
-      tableData4: {
+              tableData6: {
+        column: [
+          {
+            name: "名称",
+            field: "pointId",
+            is_num: false,
+            is_light: false,
+            sortable: true,
+          },
+          {
+            name: "数量",
+            field: "pointName",
+            is_num: false,
+            is_light: false,
+            sortable: true,
+          },
+        ],
+        data: [],
+      },         tableData7: {
         column: [
           {
             name: "名称",
@@ -319,9 +354,12 @@ export default {
           .css({ background: "rgb(4, 12, 11)", border: "1px solid #05bb4c" });
         for (let i = 0; i < swiperDom.length; i++) {
           if (i !== index) {
-            swiperDom.eq(i).find(".el-carousel__mask").css({
-              background: "rgb(4, 12, 11)",
-            });
+            swiperDom
+              .eq(i)
+              .find(".el-carousel__mask")
+              .css({
+                background: "rgb(4, 12, 11)",
+              });
             swiperDom.eq(i).css({
               background: "rgb(4, 12, 11)",
               border: "1px solid rgba(5, 187, 76, 0.5)",
@@ -343,78 +381,111 @@ export default {
           index: 1,
           pointId: "青山风电场",
           pointName: 3763,
-          timeDate: "1号机",
-          value: "16.93",
         },
         {
           index: 2,
           pointId: "石板泉风电场",
           pointName: 4500,
-          timeDate: "2号机",
-          value: "20.56",
         },
         {
           index: 3,
           pointId: "牛首山风电场",
           pointName: 3863,
-          timeDate: "3号机",
-          value: "38",
         },
         {
           index: 4,
           pointId: "香山风电场",
           pointName: 3654,
-          timeDate: "4号机",
-          value: "54",
         },
         {
           index: 5,
           pointId: "麻黄山风电场",
           pointName: 1863,
-          timeDate: "5号机",
-          value: "18",
         },
       ];
       that.tableData1.data = tableArr1;
       console.log("tableData1:", that.tableData1);
-
-      let tableArr2 = [
+          let tableArr2 = [
+        {
+          index: 1,
+          pointId: "1号机",
+          pointName: 16.93,
+        },
+        {
+          index: 2,
+          pointId: "2号机",
+          pointName: 20.56,
+        },
+        {
+          index: 3,
+          pointId: "3号机",
+          pointName: 38,
+        },
+        {
+          index: 4,
+          pointId: "4号机",
+          pointName: 54,
+        },
+        {
+          index: 5,
+          pointId: "5号机",
+          pointName: 18,
+        },
+      ];
+      that.tableData2.data = tableArr2;
+      console.log("tableData2:", that.tableData2);
+                let tableArr3 = [
         {
           index: 1,
           pointId: "停机事件管理",
-          pointName: 11.93,
-          timeDate: "升压站动作",
-          value: "2",
+          pointName: 16.93,
         },
         {
           index: 2,
           pointId: "限电管理",
-          pointName: 21.56,
-          timeDate: "升压站告警",
-          value: "5",
+          pointName: 20.56,
         },
         {
           index: 3,
           pointId: "状态转换记录",
-          pointName: 82,
-          timeDate: "风机告警",
-          value: "3",
+          pointName: 38,
         },
         {
           index: 4,
           pointId: "操作记录",
           pointName: 54,
-          timeDate: "风机预警",
-          value: "1",
         },
       ];
-      that.tableData2.data = tableArr2;
-      console.log("tableData2:", that.tableData2);
+      that.tableData3.data = tableArr3;
+
+                let tableArr4 = [
+        {
+          index: 1,
+          pointId: "升压站动作",
+          pointName: 16.93,
+        },
+        {
+          index: 2,
+          pointId: "升压站告警",
+          pointName: 20.56,
+        },
+        {
+          index: 3,
+          pointId: "风机告警",
+          pointName: 38,
+        },
+        {
+          index: 4,
+          pointId: "风机预警",
+          pointName: 54,
+        },
+      ];
+      that.tableData4.data = tableArr4;
 
-      let tableArr3 = [
+         let tableArr5 = [
         {
           index: 1,
-          pointId: "故障知识列表",
+          pointId: "故障指示列表",
           pointName: 16.93,
         },
         {
@@ -432,26 +503,26 @@ export default {
           pointId: "预警知识",
           pointName: 54,
         },
-        {
+             {
           index: 5,
           pointId: "特征参数",
           pointName: 44,
         },
-        {
+             {
           index: 6,
           pointId: "风险辨识知识",
           pointName: 24,
         },
-        {
+             {
           index: 7,
           pointId: "作业指导知识",
           pointName: 14,
         },
       ];
-      that.tableData3.data = tableArr3;
-      console.log("tableData3:", that.tableData3);
+      that.tableData5.data = tableArr5;
 
-      let tableArr4 = [
+      
+         let tableArr6 = [
         {
           index: 1,
           pointId: "风电场站自定义",
@@ -473,30 +544,12 @@ export default {
           pointName: 54,
         },
       ];
-      that.tableData4.data = tableArr4;
-      console.log("tableData4:", that.tableData4);
-    },
-    getWppointnum() {
-      const that = this;
-      that.API.requestData({
-        method: "POST",
-        subUrl: "yaw/getWppointnum",
-        success(res) {
-          that.wppointnum = res.data;
-        },
-      });
-    },
-    async getEarlyAlarmData() {
-      const that = this;
-      const {data} = await that.API.requestData({
-        method: "GET",
-        baseURL: "http://192.168.1.18:8075/",
-        subUrl: "alarm/count/todaycount",
-        success(res) {
-          },
-      });
-      this.earlyAlarmData = data.data;
+      that.tableData6.data = tableArr6;
+
+      
+
     },
+
   },
 
   created() {},
@@ -507,8 +560,6 @@ export default {
       this.changeSwiper(1);
     });
     that.getTableData();
-    this.getWppointnum();
-    this.getEarlyAlarmData();
   },
 
   unmounted() {},
@@ -521,53 +572,30 @@ export default {
   width: 100%;
   height: 100%;
   font-size: 20px;
-  .df-table {
-    /deep/ .com-table thead tr th {
-      background-color: rgba(83, 98, 104, 0.2);
-      height: 30px;
-      line-height: 30px;
-      color: #9ca5a8;
-      font-weight: 400;
-      font-size: 20px !important;
-      position: sticky;
-      top: 0;
-      cursor: pointer;
-    }
-    /deep/ .com-table tbody tr td {
-      padding: 4px;
-      color: #393a3a;
-      text-align: center;
-      font-size: 20px !important;
-      white-space: nowrap;
-      overflow: hidden;
-      text-overflow: ellipsis;
-    }
-    .sjcx-item:nth-child(2n) {
-      background-color: rgba(96, 103, 105, 0.2);
-    }
-    .sjcx-item:hover {
-      color: #05bb4c;
-    }
-    .sjcx-item {
-      cursor: pointer;
-      // background-color: #edbf03;
-      display: flex;
-      height: 6.68vh;
-      line-height: 6.68vh;
-      font-size: 18pt;
-      text-align: center;
-      color: #9ca5a8;
-      .sjcx-name {
-        // background-color:aqua;
-        flex: 0 0 50%;
-      }
-      .sjcx-value {
-        // text-align: left;
-        // background-color:rosybrown;
-        flex: 0 0 50%;
-      }
-    }
-  }
+.df-table{
+  /deep/ .com-table thead tr th {
+    background-color: rgba(83, 98, 104, 0.2);
+    height: 30px;
+    line-height: 30px;
+    color: #9ca5a8;
+    font-weight: 400;
+    font-size: 20px !important;
+    position: sticky;
+    top: 0;
+    cursor: pointer;
+}
+/deep/ .com-table tbody tr td {
+    padding: 4px;
+    color: #393a3a;
+    text-align: center;
+    font-size: 20px !important;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
+}
+
+
+}
   .itemTitle {
     width: 100%;
     display: flex;

+ 6 - 0
src/views/WindSite/pages/Home/Home.vue

@@ -74,9 +74,15 @@
                     运行
                   </span>
                 </div>
+<<<<<<< HEAD
                 <div class="status">
                   <span class="svg-icon svg-icon-pink">
                     <svg-icon svgid="svg-limit-power"/>
+=======
+                <div class="status ">
+                  <span class="svg-icon svg-icon-pink">
+                    <svg-icon svgid="svg-limit-power" style="margin:3px 0.3704vh -3px 0;" />
+>>>>>>> a90e20b975bbd19cc02c24778ace5845c39744dd
                   </span>
                   <span class="text pink">
                     限电

+ 1 - 1
src/views/layout/Menu.vue

@@ -788,7 +788,7 @@ export default {
             },{
               text: "原始数据查询",
               icon: "svg-报表首页",
-              path: "/other/realSearch",
+              path: "/others/realSearch",
               children: [
                 {
                   text: "测点数据查询",

+ 2 - 0
src/views/singleAnalysis/index.vue

@@ -343,11 +343,13 @@ export default {
   }
 
   .df-table {
+    cursor: pointer;
     border: 0.093vh solid fade(@darkgray, 50%);
     position: relative;
     overflow: auto;
     flex-grow: 1;
     margin-top: 1.481vh;
+  
 
     &:before {
       content: "";

+ 18 - 11
src/views/wtSaturability/tab1.vue

@@ -40,7 +40,7 @@ export default {
   // 使用组件
   components: {
     ComTable,
-    Mlc
+    Mlc,
   },
 
   // 数据
@@ -158,10 +158,12 @@ export default {
         },
         success (res) {
           console.log('chartData1:',res)
-          const keyArray = [{
-            key: "value1",
-            title: "风速"
-          }, {
+          const keyArray = [
+          //   {
+          //   key: "value1",
+          //   title: "风速"
+          // }, 
+          {
             key: "value2",
             title: "实际拟合功率"
           }, {
@@ -173,12 +175,13 @@ export default {
           }];
 
           let chartData = [
-            {
-            title: "风速",
-            // yAxisIndex: 1,
-             yAxisIndex: 0,
-            value: []
-          },
+          //   {
+          //   title: "风速",
+          //   // yAxisIndex: 1,
+          //    yAxisIndex: 0,
+          //   value: []
+          // },
+
            {
             title: "实际拟合功率",
             yAxisIndex: 0,
@@ -194,7 +197,11 @@ export default {
           }];
 
           keyArray.forEach((keyEle, keyIndex) => {
+            console.log('keyele:',keyEle,'keyindex:',keyIndex)
+            console.log('resdata:',res.data)
             res.data.forEach(ele => {
+              console.log('ele:',ele)
+              console.log(' chartData[keyIndex].value:', chartData[keyIndex].value)
               chartData[keyIndex].value.push({
                 text: "",
                 value: ele[keyEle.key]

+ 14 - 10
src/views/wtSaturability/tab2.vue

@@ -212,10 +212,12 @@ export default {
         },
         success (res) {
 
-          const keyArray = [{
-            key: "value1",
-            title: "风速"
-          }, {
+          const keyArray = [
+          //   {
+          //   key: "value1",
+          //   title: "风速"
+          // }, 
+          {
             key: "value2",
             title: "实际拟合功率"
           }, {
@@ -226,12 +228,14 @@ export default {
             title: "保证功率"
           }];
 
-          let chartData = [{
-            title: "风速",
-            // yAxisIndex: 1,
-             yAxisIndex: 0,
-            value: []
-          }, {
+          let chartData = [
+          //   {
+          //   title: "风速",
+          //   // yAxisIndex: 1,
+          //    yAxisIndex: 0,
+          //   value: []
+          // },
+           {
             title: "实际拟合功率",
             yAxisIndex: 0,
             value: []

+ 14 - 10
src/views/wtSaturability/tab3.vue

@@ -210,10 +210,12 @@ export default {
         },
         success (res) {
 
-          const keyArray = [{
-            key: "value1",
-            title: "风速"
-          }, {
+          const keyArray = [
+          //   {
+          //   key: "value1",
+          //   title: "风速"
+          // }, 
+          {
             key: "value2",
             title: "实际拟合功率"
           }, {
@@ -224,12 +226,14 @@ export default {
             title: "保证功率"
           }];
 
-          let chartData = [{
-            title: "风速",
-            // yAxisIndex: 1,
-             yAxisIndex: 0,
-            value: []
-          }, {
+          let chartData = [
+          //   {
+          //   title: "风速",
+          //   // yAxisIndex: 1,
+          //    yAxisIndex: 0,
+          //   value: []
+          // }, 
+          {
             title: "实际拟合功率",
             yAxisIndex: 0,
             value: []