Browse Source

有监督学习ip修改

chenminghua 3 years ago
parent
commit
327e083fff

+ 1 - 1
src/views/MalfunctionWarning/components/superviseDataClassify.vue

@@ -361,7 +361,7 @@ export default {
       params.dataInfos = dataInfos
       axios({
         method: "post",
-        url: "http://192.168.10.18:8080/api/supervised/execute",
+        url: "http://10.155.32.14:9090/api/supervised/execute",
         data: params,
         header: {
           "Content-Type": "application/json",

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

@@ -1001,11 +1001,11 @@ export default {
                   icon: "svg-matrix",
                   path: "/others/analysis",
                 },
-                {
-                  text: "功率曲线综合分析",
-                  icon: "svg-matrix",
-                  path: "/others/powerline/analysis",
-                },
+                // {
+                //   text: "功率曲线综合分析",
+                //   icon: "svg-matrix",
+                //   path: "/others/powerline/analysis",
+                // },
                 {
                   text: "知识库",
                   icon: "svg-matrix",

+ 28 - 20
src/views/sampleDatabase/powerlineAnalysis/scatter-line-chart.vue

@@ -17,6 +17,10 @@ export default {
       type: String,
       default: "350px",
     },
+    symbolSize: {
+      type: Number,
+      default: 5
+    },
     // 传入数据
     data: {
       type: Array,
@@ -584,25 +588,26 @@ export default {
           emphasis: {
             focus: "series",
           },
+          symbolSize: this.symbolSize,
           data: element.value,
-          markLine: {
-            data: [
-              {
-                type: "max",
-                name: "最大值",
-                label: {
-                  color: partten.getColor("gray"),
-                },
-              },
-              {
-                type: "min",
-                name: "最小值",
-                label: {
-                  color: partten.getColor("gray"),
-                },
-              },
-            ],
-          },
+          // markLine: {
+          //   data: [
+          //     {
+          //       type: "max",
+          //       name: "最大值",
+          //       label: {
+          //         color: partten.getColor("gray"),
+          //       },
+          //     },
+          //     {
+          //       type: "min",
+          //       name: "最小值",
+          //       label: {
+          //         color: partten.getColor("gray"),
+          //       },
+          //     },
+          //   ],
+          // },
         });
       });
       return result;
@@ -627,7 +632,7 @@ export default {
         result.push(ele);
       });
 
-      return result;
+      return ["1", "2", "3"];
     },
   },
   methods: {
@@ -677,7 +682,7 @@ export default {
         legend: {
           show: this.showLegend,
           data: this.legend,
-          right: "40",
+          orient: 'horizontal', 
           icon: "circle",
           itemWidth: 6,
           inactiveColor: partten.getColor("gray"),
@@ -685,6 +690,7 @@ export default {
             color: partten.getColor("grayl"),
             fontSize: 12,
           },
+          selectedMode: false,
         },
         xAxis: [
           {
@@ -697,6 +703,8 @@ export default {
             splitLine: {
               show: false,
             },
+            interval: 1,
+            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],
           },
         ],
         yAxis: [