lining преди 3 години
родител
ревизия
6f17b87eb5

+ 2 - 1
package.json

@@ -7,7 +7,8 @@
     "servebig": "node --max-old-space-size=6000  ./node_modules/@vue/cli-service/bin/vue-cli-service.js serve",
     "build": "vue-cli-service build",
     "test:unit": "vue-cli-service test:unit",
-    "lint": "vue-cli-service lint"
+    "lint": "vue-cli-service lint",
+    "fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit"
   },
   "dependencies": {
     "@antv/x6": "^1.24.4",

+ 1 - 9
src/views/MalfunctionWarning/MalfunctionWarning.vue

@@ -117,7 +117,7 @@
             <el-table-column
               prop="id"
               label="id"
-              width="150"
+              width="100"
               align="center"
             ></el-table-column>
             <el-table-column
@@ -170,7 +170,6 @@
               align="center"
             ></el-table-column>
             <el-table-column width="170" label="故障标签">
-                   
               <template #default="scope">
                 <span>
                   <el-select
@@ -191,7 +190,6 @@
                   </el-select>
                 </span>
               </template>
-                 
             </el-table-column>
           </el-table>
         </panel>
@@ -294,18 +292,14 @@ export default {
       // recordList: [],
       monitoringList: [],
       algorithm: [], //算法
-      value1: [],
       display: false,
       resultsDisplay: false,
-      TypeClass: 1, //数据导入,数据分类,模型训练,模型导出,模型存储 的按钮颜色,默认第一个
-      exportModels: [],
       timeValue: [],
       showList: [],
       storageList: [],
       chooseAlgorithm: {},
       selectValue: "NSS_FDC",
       selectMoudle: "UP82",
-      filterText: "",
       intervalValue: 1,
       timeList: [
         { value: "1小时" },
@@ -532,7 +526,6 @@ export default {
         success(res) {
           if (res) {
             that.algorithm = res;
-            that.value1 = res[0];
             that.chooseAlgorithm = res[0];
           }
         },
@@ -574,7 +567,6 @@ export default {
         },
         success(res) {
           if (res) {
-            console.log(res);
             let arr = [];
             res.forEach((item, index) => {});
 

+ 0 - 2
src/views/MalfunctionWarning/components/lineChart.vue

@@ -19,13 +19,11 @@ export default {
     return {};
   },
   mounted() {
-    console.log(1111111);
     this.$nextTick(() => {
       this.initChart();
     });
   },
   updated() {
-    console.log(111111111);
     this.$nextTick(() => {
       this.initChart();
     });

+ 1 - 3
src/views/MalfunctionWarning/components/trainingResults.vue

@@ -37,14 +37,12 @@
               style="width: 100%; margin-bottom: 10px"
             >
               <el-table-column width="30">
-                     
                 <template #default="scope">
                   <span
                     class="mark"
                     :style="{ 'background-color': scope.row.colors }"
                   ></span>
                 </template>
-                   
               </el-table-column>
               <el-table-column
                 prop="faultTime"
@@ -139,7 +137,6 @@ import BatchData from "./batchData.vue";
 import UniformCodes from "./UniformCodes.json";
 import MultipleYLineChartNormal from "../../NewPages/multiple-y-line-chart-normal.vue";
 import BASE from "@tools/basicTool.js";
-import axios from "axios";
 export default {
   components: { MultipleYLineChartNormal, BatchData },
   props: {
@@ -275,6 +272,7 @@ export default {
       }
     },
     historyData(index, max) {
+      console.log(1111111111);
       let dataLsit = this.lableList.filter((item) => item.isShow === true);
       let that = this;
       that.API.requestData({

+ 0 - 3
src/views/MalfunctionWarning/supervised.vue

@@ -327,7 +327,6 @@ export default {
         subUrl: "http://192.168.1.18:9002/know/fault/type/all",
         success(res) {
           if (res) {
-            console.log(444444444);
             that.faultLists = res.data;
           }
         },
@@ -344,7 +343,6 @@ export default {
         success(res) {
           if (res) {
             that.algorithm = res;
-            that.value1 = res[0];
             that.chooseAlgorithm = res[0].name;
           }
         },
@@ -391,7 +389,6 @@ export default {
         },
         success(res) {
           if (res) {
-            console.log(333333333);
             that.allData = res.data;
             res.data.forEach((item) => {
               let array = that.dataList.filter(

+ 0 - 1
src/views/sampleDatabase/performance/performanceEcharts.vue

@@ -119,7 +119,6 @@ export default {
             data: this.xdata,
           },
         ],
-
         // {
         //   name: "时间",
         //   splitLine: {