Browse Source

首页 华电修改

rui.jiang 8 months ago
parent
commit
90e4c74b32
50 changed files with 173 additions and 349 deletions
  1. 0 2
      src/components/map/index copy.vue
  2. 0 3
      src/views/admin/cockpitManage/HD.vue
  3. 1 5
      src/views/admin/cockpitManage/Index.vue
  4. 1 3
      src/views/admin/cockpitManage/component/rightdata.vue
  5. 0 3
      src/views/admin/cockpitManage/electronicMap.vue
  6. 2 9
      src/views/etl/compile.vue
  7. 3 5
      src/views/etl/index.vue
  8. 4 4
      src/views/etl/workflow.vue
  9. 3 6
      src/views/health/components/cursorReferenceMixin copy.js
  10. 14 21
      src/views/health/components/envelopecharts.vue
  11. 0 2
      src/views/health/vibration.vue
  12. 0 1
      src/views/home/components/Menu.vue
  13. 0 1
      src/views/home/components/MenuHD.vue
  14. 0 2
      src/views/laserRangeFinder/index.vue
  15. 0 1
      src/views/ledger/anemometer copy.vue
  16. 0 6
      src/views/overview/components/cp_trend/index.vue
  17. 1 8
      src/views/overview/components/data_integrity_minute/index.vue
  18. 1 7
      src/views/overview/components/data_integrity_second/index.vue
  19. 1 9
      src/views/overview/components/dicCard/index.vue
  20. 119 120
      src/views/overview/components/map/index.vue
  21. 1 6
      src/views/overview/components/min_pitch/index.vue
  22. 1 6
      src/views/overview/components/pitch_generator_speed/index.vue
  23. 0 5
      src/views/overview/components/pitch_power/index.vue
  24. 1 6
      src/views/overview/components/pitch_tsr_cp/index.vue
  25. 0 5
      src/views/overview/components/power_curve/index.vue
  26. 1 7
      src/views/overview/components/power_scatter/index.vue
  27. 1 7
      src/views/overview/components/power_scatter_2D/index.vue
  28. 2 3
      src/views/overview/components/production_indicator_all/index.vue
  29. 1 4
      src/views/overview/components/production_indicator_unit/index.vue
  30. 1 7
      src/views/overview/components/rated_power_windspeed/index.vue
  31. 1 8
      src/views/overview/components/speed_power/index.vue
  32. 0 7
      src/views/overview/components/speed_torque/index.vue
  33. 1 2
      src/views/overview/components/temperature_large_components_mid/index.vue
  34. 1 6
      src/views/overview/components/tsr_cp_power_scatter/index.vue
  35. 1 7
      src/views/overview/components/tsr_trend/index.vue
  36. 1 6
      src/views/overview/components/wind_direction_frequency/index.vue
  37. 1 2
      src/views/performance/assetssMag.vue
  38. 2 13
      src/views/performance/components/analysisEvent.vue
  39. 0 1
      src/views/performance/components/chartsCom/3DDrawingChart.vue
  40. 0 1
      src/views/performance/components/chartsCom/BoxLineCharts.vue
  41. 1 2
      src/views/performance/components/chartsCom/ColorbarInitTwoDmarkersChart.vue
  42. 1 2
      src/views/performance/components/chartsCom/FaultUnit.vue
  43. 0 1
      src/views/performance/components/chartsCom/Time3DChart.vue
  44. 1 2
      src/views/performance/components/chartsCom/TwoDMarkersChart1.vue
  45. 0 2
      src/views/performance/components/chartsCom/WindRoseChart.vue
  46. 1 1
      src/views/performance/components/chartsCom/YewErrorBarChart.vue
  47. 1 4
      src/views/performance/components/custonAsCom/dataTable.vue
  48. 0 5
      src/views/performance/components/custonAsCom/dragChart/components/chartConfig/form/chartLogic/modules/Heatmap.js
  49. 0 1
      src/views/performance/components/custonAsCom/dragChart/components/chartConfig/form/chartLogic/modules/sankeyDiagram.js
  50. 1 2
      src/views/transition/index.vue

+ 0 - 2
src/components/map/index copy.vue

@@ -461,8 +461,6 @@ export default {
     },
 
     getwind() {
-      console.log(this.hoverInfo, "hoverInfo");
-
       if (this.hoverInfo && this.hoverInfo.batchCode) {
         const param = {
           batchcode: this.hoverInfo.batchCode,

+ 0 - 3
src/views/admin/cockpitManage/HD.vue

@@ -124,7 +124,6 @@ export default {
       this.$refs.map.clearMarkers();
       this.maplist = data;
       this.maplistArr = data;
-      console.log(data, "parentChange");
       if (data.codeType === "field") {
         if (this.parseCoordinates(data.longitudeAndLatitudeString).length > 0) {
           this.$refs.map.addMarker({
@@ -138,7 +137,6 @@ export default {
       } else {
         const dataMapList = data.children;
         dataMapList.forEach((element) => {
-          console.log(element);
           if (
             this.parseCoordinates(element.longitudeAndLatitudeString).length >
               0 &&
@@ -170,7 +168,6 @@ export default {
       return null;
     },
     featureClick(data) {
-      console.log(data, "featureClick");
       const val = data.val;
       if (val === "-1" || val === -1 || val === 10) {
         this.$message.error("当前风场未完成分析");

+ 1 - 5
src/views/admin/cockpitManage/Index.vue

@@ -20,7 +20,7 @@
         <p>
           <span class="SpText">已接入风场数:</span>
           {{ totalList?.fieldSumNumber ? totalList.fieldSumNumber : 0 }}
-        座
+          
         </p>
         <!-- <p>
           <span class="SpText">已完成分析风场:</span>
@@ -172,7 +172,6 @@ export default {
       this.$refs.map.clearMarkers();
       this.maplist = data;
       this.maplistArr = data;
-      console.log(data, "parentChange");
       if (data.codeType === "field") {
         if (this.parseCoordinates(data.longitudeAndLatitudeString).length > 0) {
           this.$refs.map.addMarker({
@@ -186,7 +185,6 @@ export default {
       } else {
         const dataMapList = data.children;
         dataMapList.forEach((element) => {
-          console.log(element);
           if (
             this.parseCoordinates(element.longitudeAndLatitudeString).length >
               0 &&
@@ -218,7 +216,6 @@ export default {
       return null;
     },
     featureClick(data) {
-      console.log(data, "featureClick");
       const val = data.val;
       if (val === "-1" || val === -1 || val === 10) {
         this.$message.error("当前风场未完成分析");
@@ -228,7 +225,6 @@ export default {
           type: "warning",
         });
       } else if (val === "1" || val === 1 || val === "30" || val === 30) {
-        console.log("打包成功");
         this.$router.push({
           path: "cockpitManage/electronic-map",
           query: {

+ 1 - 3
src/views/admin/cockpitManage/component/rightdata.vue

@@ -17,7 +17,7 @@
     </div>
 
     <div>
-      <h3 style="margin-bottom: 8px;">性能分析操作记录</h3>
+      <h3 style="margin-bottom: 8px">性能分析操作记录</h3>
       <p class="titleJQ">
         <span>名字</span><span>日期</span><span>操作记录</span>
       </p>
@@ -72,7 +72,6 @@
       </div>
     </div>
 
-  
     <div>
       <h3 style="margin: 8px 0">异常数据信息</h3>
       <p class="titleYC"><span>风场名称</span><span>风机信息</span></p>
@@ -109,7 +108,6 @@ export default {
       handler(newVal) {
         if (Object.keys(newVal).length > 0) {
           // 检查maplistArr是否有值
-          console.log("Map list updated:", newVal);
           this.getStatistics();
           this.getOptionRecords();
         }

+ 0 - 3
src/views/admin/cockpitManage/electronicMap.vue

@@ -45,7 +45,6 @@ export default {
       getWindEngineGroupByFieldCode(dataArr).then((res) => {
         const result = res.data;
         this.windEngineGroupByFieldCodeDetail = result;
-        console.log(result.anemometerTowerList);
         if (result.anemometerTowerList) {
           this.addMarkersAndZoom(result.anemometerTowerList, "5");
         }
@@ -104,10 +103,8 @@ export default {
       return [];
     },
     addMarkersAndZoom(data, type) {
-      console.log(data, type);
       const dataMapList = data;
       dataMapList.forEach((element) => {
-        console.log(element);
         if (
           this.parseCoordinates(element.longitudeAndLatitudeString).length > 0
         ) {

+ 2 - 9
src/views/etl/compile.vue

@@ -48,7 +48,7 @@
                 @click="removeGroup(groupIndex)"
                 >删除执行器</el-button
               >
-              <span v-if="param1 == 2" style="margin-left: 10px;">
+              <span v-if="param1 == 2" style="margin-left: 10px">
                 <el-switch
                   v-model="group.choiceVal"
                   active-text="合并"
@@ -377,7 +377,7 @@ export default {
       const formData = new FormData();
       if (this.form.file && this.form.file.raw instanceof File) {
         const file = this.form.file.raw; // 获取原始文件数据
-        console.log(file, "file");
+
         formData.append("file", file, file.name); // 使用原始文件名作为文件名
       } else {
         console.error("文件未正确传递");
@@ -428,7 +428,6 @@ export default {
     // 上传的
     beforeUpload(file) {
       this.form.file = file;
-      console.log("文件上传前:", this.form.file);
       // 你可以在这里进行一些处理,如检查文件类型、大小等
       return true; // 返回 true 继续上传,返回 false 则阻止上传
     },
@@ -484,12 +483,10 @@ export default {
         inputValue: "",
         tables: [],
       });
-      console.log(this.groups);
       this.activeName = String(this.groups.length);
     },
     handleSelectionChange(val, groupIndex, tableIndex) {
       this.activeName = String(groupIndex + 1);
-      console.log(val, groupIndex, tableIndex);
       const currentTable = this.groups[groupIndex].tables[tableIndex]; // 获取当前表格
       // 提取每行所有字段的值(不管字段名是什么)
       currentTable.selectedValues = val.flatMap((item) => Object.values(item)); // 获取每一行的所有值
@@ -530,7 +527,6 @@ export default {
       this.dynamicCheckOptions[groupCheckOptionsKey] = this.groups[
         groupIndex
       ].tables.flatMap((table) => table.selectedValues || []); // 合并该组内所有表格的选中行的字段值
-      console.log(this.dynamicCheckOptions, [groupCheckOptionsKey]);
     },
     // handleSelectionChange(val, groupIndex, tableIndex) {
     //   this.activeName = String(groupIndex + 1); // 设置当前活动的 group 名称
@@ -582,8 +578,6 @@ export default {
     //   console.log(this.dynamicCheckOptions, [groupCheckOptionsKey]);
     // },
     duoxuan(val) {
-      console.log(val);
-
       this.selectoptions = val;
     },
 
@@ -605,7 +599,6 @@ export default {
           this.dynamicCheckOptions[checkOptionsKey].push(item.value);
         }
       });
-      console.log(this.selectoptions);
     },
 
     handleClose(done) {

+ 3 - 5
src/views/etl/index.vue

@@ -205,7 +205,6 @@ export default {
         .then((res) => {
           this.templateData = res.data.datas;
           this.newoptions = res.data.datas;
-          console.log(this.optionsLC);
         })
         .catch((error) => {
           console.error(error); // 可加入错误处理
@@ -358,7 +357,6 @@ export default {
     Newprocess(index, row) {
       this.dialogVisible = true;
       this.rowID = row.joinTypeList;
-      console.log(row);
     },
 
     handleSubmit() {
@@ -370,10 +368,10 @@ export default {
             param2: this.newvalue, // 使用选中的 id
           },
         });
-      }else{
+      } else {
         this.$message({
-          message: '请选择数据模板',
-          type: 'warning'
+          message: "请选择数据模板",
+          type: "warning",
         });
       }
     },

+ 4 - 4
src/views/etl/workflow.vue

@@ -72,7 +72,9 @@
       :before-close="handleClose"
     >
       <div>
-        <p>执行流程名称:<el-input size="small" v-model="ZXJLval"></el-input></p>
+        <p>
+          执行流程名称:<el-input size="small" v-model="ZXJLval"></el-input>
+        </p>
         <div
           class="circulation"
           v-for="(item, index) in circulationList"
@@ -178,7 +180,7 @@ export default {
       pageSize: 5,
       total: 0,
       savePath: "",
-      ZXJLval:"",
+      ZXJLval: "",
     };
   },
   created() {
@@ -258,8 +260,6 @@ export default {
       axios
         .get(url)
         .then((res) => {
-          console.log(res);
-
           this.circulationList = res.data.datas;
         })
         .catch((error) => {});

+ 3 - 6
src/views/health/components/cursorReferenceMixin copy.js

@@ -28,7 +28,6 @@ export default {
      * 处理按钮点击生成参考线
      */
     handleMoveCursor() {
-      console.log("handleMoveCursor", "222");
       if (this.isHandlingCursor || !this.spectrumList) return;
       this.isHandlingCursor = true;
 
@@ -143,12 +142,11 @@ export default {
           index: peak.index,
         },
       ];
-      console.log(this.cursorHightPoints,'updateCursorPosition');
-      
+
       this.currentCursorIndex = index;
-      this.$nextTick(()=>{
+      this.$nextTick(() => {
         this.updateCursorElements2();
-      })
+      });
     },
     /**
      * 获取已有参考线配置
@@ -185,7 +183,6 @@ export default {
       const filteredSeries = existingSeries.filter(
         (series) => !series.id || !series.id.includes("PEAK_REFERENCE")
       );
-      console.log(filteredSeries);
 
       // 3. 准备新的峰值参考线配置
       const cursorHighLineSeries = {

+ 14 - 21
src/views/health/components/envelopecharts.vue

@@ -35,8 +35,6 @@
           </el-checkbox>
         </el-checkbox-group>
       </div> -->
-
-      
     </div>
 
     <div class="line-chart" ref="chart"></div>
@@ -53,7 +51,7 @@ import cursorReferenceMixin from "./envelopecharts/cursorReferenceMixin";
 
 export default {
   name: "TimedomainCharts", // 组件名称
-  mixins: [ cursorReferenceMixin,Bdgb, Xdgb, Tjgb],
+  mixins: [cursorReferenceMixin, Bdgb, Xdgb, Tjgb],
   props: {
     // 可以通过 props 接收外部传入的数据
     currentIndex: {
@@ -115,8 +113,8 @@ export default {
       checkedGB: [],
       checkedValues: [],
 
-          // 添加光标
-    cursorPoints: [], // 存储参考点数据
+      // 添加光标
+      cursorPoints: [], // 存储参考点数据
     };
   },
   watch: {
@@ -131,10 +129,10 @@ export default {
   mounted() {
     this.initializeChart();
     this.$nextTick(() => {
-    if (this.chartInstance) {
-      this.chartInstance.getZr().on('dblclick', this.handleDoubleClick);
-    }
-  });
+      if (this.chartInstance) {
+        this.chartInstance.getZr().on("dblclick", this.handleDoubleClick);
+      }
+    });
   },
   beforeDestroy() {
     if (this.chartInstance) {
@@ -145,15 +143,11 @@ export default {
       this.chartInstance.dispose();
     }
   },
-  
-  methods: {
-
-    
-
 
+  methods: {
     handlecursor() {
       // 特殊光标类型数组
-      const specialCursors = ["添加光标","移动峰值", "边带光标", "谐波光标"];
+      const specialCursors = ["添加光标", "移动峰值", "边带光标", "谐波光标"];
 
       // 检查是否有多个特殊光标被选中
       const selectedSpecials = specialCursors.filter((type) =>
@@ -219,12 +213,11 @@ export default {
               switch (item.val) {
                 case "Fr":
                   this.Fr = this.envelopeList.fn_Gen;
-                  console.log(this.Fr);
-                  
+
                   break;
                 case "BPFI":
                   this.BPFI = this.envelopeList.BPFI;
-                  console.log(this.BPFI);
+
                   break;
                 case "BPFO":
                   this.BPFO = this.envelopeList.BPFO;
@@ -256,7 +249,7 @@ export default {
             (_, index) => index % 50 === 0
           ); // 同样对 X 数据进行采样
           // 直接调用 updateChart 方法
-          this.updateChart(sampleData, sampleLabels); 
+          this.updateChart(sampleData, sampleLabels);
         })
         .catch((error) => {
           console.error(error);
@@ -301,7 +294,7 @@ export default {
         type: "line",
         markLine: {
           silent: false,
-          lineStyle: { color, type: "dashed", width:1 },
+          lineStyle: { color, type: "dashed", width: 1 },
           symbol: ["arrow", "none"],
           label: {
             show: true,
@@ -400,7 +393,7 @@ export default {
               show: true,
               title: "特征频率",
               icon: `image://${require("@/assets/analyse/13.png")}`,
-              onclick: () => this.Show('3'),
+              onclick: () => this.Show("3"),
             },
           },
         },

+ 0 - 2
src/views/health/vibration.vue

@@ -636,7 +636,6 @@ export default {
       this.currentRow = val;
       const index = this.tableDataList.indexOf(val);
       this.currentIndex = index; // 更新当前索引
-      console.log(this.currentIndex);
     },
 
     generate(type) {
@@ -695,7 +694,6 @@ export default {
         startTime: this.$formatDateTWO(this.timevalue[0]),
         endTime: this.$formatDateTWO(this.timevalue[1]),
       };
-      console.log(params, "params");
 
       // const params = {
       //   endTime: "2024-07-02 00:00:00",

+ 0 - 1
src/views/home/components/Menu.vue

@@ -134,7 +134,6 @@ export default {
       ...this.routerList,
       ...this.$store.state.auth.dynamicRouter,
     ];
-    console.log(this.routerList, "routerList");
   },
   computed: {
     ...mapState({

+ 0 - 1
src/views/home/components/MenuHD.vue

@@ -119,7 +119,6 @@ export default {
       ...this.routerList,
       ...this.$store.state.auth.dynamicRouter,
     ];
-    console.log(this.routerList, "routerList");
   },
   computed: {
     ...mapState({

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

@@ -280,7 +280,6 @@ export default {
       this.windTurbineName = this.getWindTurbineLabel(data);
     },
     parentChange(data) {
-      console.log(data, "data");
       this.windName = data && data.companyName;
       this.maplist = data;
       this.maplistArr = data;
@@ -301,7 +300,6 @@ export default {
       } else {
         const dataMapList = data.children;
         dataMapList.forEach((element) => {
-          console.log(element);
           if (
             this.parseCoordinates(element.longitudeAndLatitudeString).length >
               0 &&

+ 0 - 1
src/views/ledger/anemometer copy.vue

@@ -407,7 +407,6 @@ export default {
     },
     // 删除
     deleted(row) {
-      console.log(row, "row");
       if (row.state == "1") {
         this.$message({
           type: "error",

+ 0 - 6
src/views/overview/components/cp_trend/index.vue

@@ -173,7 +173,6 @@ export default {
   },
   methods: {
     handleClose() {
-      console.log("handleClose", this.isShow);
       //关闭评论弹框
       this.$emit("setIsShow");
     },
@@ -207,11 +206,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 1 - 8
src/views/overview/components/data_integrity_minute/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 17:54:02
- * @LastEditTime: 2025-03-17 13:56:30
+ * @LastEditTime: 2025-04-11 16:48:19
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/data_integrity_minute/index.vue
@@ -181,7 +181,6 @@ export default {
   },
   methods: {
     handleClose() {
-      console.log("handleClose", this.isShow);
       //关闭评论弹框
       this.$emit("setIsShow");
     },
@@ -215,11 +214,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 
@@ -296,7 +290,6 @@ export default {
       this.fieldEngineCodes = data;
       this.setUpImgData = [...setUpImg];
       this.getAnalysisDetail();
-      console.log(this.fieldEngineCodes, "this.fieldEngineCodes");
     },
     //下一条
     handleNext() {

+ 1 - 7
src/views/overview/components/data_integrity_second/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 17:55:01
- * @LastEditTime: 2025-03-17 13:58:42
+ * @LastEditTime: 2025-04-11 16:48:29
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/data_integrity_second/index.vue
@@ -216,11 +216,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 
@@ -295,7 +290,6 @@ export default {
       this.fieldEngineCodes = data;
       this.setUpImgData = [...setUpImg];
       this.getAnalysisDetail();
-      console.log(this.fieldEngineCodes, "this.fieldEngineCodes");
     },
     //下一条
     handleNext() {

+ 1 - 9
src/views/overview/components/dicCard/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-13 14:15:47
- * @LastEditTime: 2025-03-20 16:01:41
+ * @LastEditTime: 2025-04-11 16:49:02
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/dicCard/index.vue
@@ -94,7 +94,6 @@ export default {
   },
   watch: {
     batchCode(newVal) {
-      console.log(newVal, "this.activeName ===");
       if (newVal) {
         this.activeName = "current";
       }
@@ -108,7 +107,6 @@ export default {
   },
   methods: {
     handleClick(tab, event) {
-      console.log(this.activeName, "activeName");
       if (this.activeName === "history") {
         this.analysisCommentDescListHistory();
       }
@@ -120,12 +118,6 @@ export default {
           analysisTypeCode: this.analysisTypeCode,
         });
         this.historyCommentDescList = res.data || [];
-        console.log(
-          res.data,
-          "历史评论",
-          this.batchCode,
-          this.analysisTypeCode
-        );
       } catch (err) {}
     },
   },

+ 119 - 120
src/views/overview/components/map/index.vue

@@ -1,144 +1,143 @@
 <template>
-    <div class="map-ditu">
-        <!-- 分析事件中 风场信息展示地图组件 -->
-        <Tmap ref="map" :windEngineGroupByFieldCodeDetail="windEngineGroupByFieldCodeDetail">
-        </Tmap>
-    </div>
+  <div class="map-ditu">
+    <!-- 分析事件中 风场信息展示地图组件 -->
+    <Tmap
+      ref="map"
+      :windEngineGroupByFieldCodeDetail="windEngineGroupByFieldCodeDetail"
+    >
+    </Tmap>
+  </div>
 </template>
 
 <script>
 import {
-    getWindEngineGroupByFieldCode,
-    getWindEngineGroupRatedListByFieldCodePage,
+  getWindEngineGroupByFieldCode,
+  getWindEngineGroupRatedListByFieldCodePage,
 } from "@/api/ledger.js";
 import Tmap from "@/components/map";
 
 export default {
-    name: "Index",
-    components: {
-        Tmap,
-    },
-    props: {
-        fieldCode: "",
-        batchCode: "",
-    },
-    data() {
-        return {
-
-            windEngineGroupByFieldCodeDetail: {},
-        };
-    },
-    mounted() {
-        // this.fieldCode = this.$route.query.fieldEngineCode;
-        // this.batchCode = this.$route.query.batchCode;
-        // this.addMarkersAndZoom();
-    },
-    watch: {
-        fieldCode(newVal) {
-            if (newVal) {
-                console.log(newVal, 'newVal')
-                this.GETfengji();
-            }
-        },
+  name: "Index",
+  components: {
+    Tmap,
+  },
+  props: {
+    fieldCode: "",
+    batchCode: "",
+  },
+  data() {
+    return {
+      windEngineGroupByFieldCodeDetail: {},
+    };
+  },
+  mounted() {
+    // this.fieldCode = this.$route.query.fieldEngineCode;
+    // this.batchCode = this.$route.query.batchCode;
+    // this.addMarkersAndZoom();
+  },
+  watch: {
+    fieldCode(newVal) {
+      if (newVal) {
+        this.GETfengji();
+      }
     },
+  },
 
-    methods: {
-        GETfengji() {
-            let dataArr = {
-                fieldCode: this.fieldCode,
-                batchCode: this.batchCode,
-            };
-            console.log(dataArr,'dataArr')
-            getWindEngineGroupByFieldCode(dataArr).then((res) => {
-                const result = res.data;
-                console.log(result,dataArr,'dataArr')
-                this.windEngineGroupByFieldCodeDetail = result;
-                if (result !== null && result.anemometerTowerList) {
-                    this.addMarkersAndZoom(result.anemometerTowerList, "5");
-                }
-                if (this.fieldCode) {
-                    getWindEngineGroupRatedListByFieldCodePage({
-                        fieldCode: this.fieldCode,
-                        pageSize: 9999999,
-                    }).then((windRes) => {
-                        if (windRes.data && windRes.data.list) {
-                            // 定义两个数组来存放不同errorState的元素
-                            const errorStateFalse = [];
-                            const errorStateTrue = [];
-                            // 遍历数组并根据errorState的值将元素放入不同的数组中
+  methods: {
+    GETfengji() {
+      let dataArr = {
+        fieldCode: this.fieldCode,
+        batchCode: this.batchCode,
+      };
+      getWindEngineGroupByFieldCode(dataArr).then((res) => {
+        const result = res.data;
+        this.windEngineGroupByFieldCodeDetail = result;
+        if (result !== null && result.anemometerTowerList) {
+          this.addMarkersAndZoom(result.anemometerTowerList, "5");
+        }
+        if (this.fieldCode) {
+          getWindEngineGroupRatedListByFieldCodePage({
+            fieldCode: this.fieldCode,
+            pageSize: 9999999,
+          }).then((windRes) => {
+            if (windRes.data && windRes.data.list) {
+              // 定义两个数组来存放不同errorState的元素
+              const errorStateFalse = [];
+              const errorStateTrue = [];
+              // 遍历数组并根据errorState的值将元素放入不同的数组中
 
-                            windRes.data.list.forEach((item) => {
-                                errorStateFalse.push({
-                                    ...item,
-                                    longitudeAndLatitudeString: `${item.longitude}00,${item.latitude}00`,
-                                });
-                            });
+              windRes.data.list.forEach((item) => {
+                errorStateFalse.push({
+                  ...item,
+                  longitudeAndLatitudeString: `${item.longitude}00,${item.latitude}00`,
+                });
+              });
 
-                            // 调用this.addMarkersAndZoom方法
-                            if (errorStateFalse.length > 0) {
-                                this.addMarkersAndZoom(errorStateFalse, "4");
-                            }
+              // 调用this.addMarkersAndZoom方法
+              if (errorStateFalse.length > 0) {
+                this.addMarkersAndZoom(errorStateFalse, "4");
+              }
 
-                            if (errorStateTrue.length > 0) {
-                                this.addMarkersAndZoom(errorStateTrue, "6");
-                            }
-                        }
-                    });
-                }
-            });
-        },
-        parseCoordinates(input) {
-            if (input && typeof input === "string") {
-                return input.split(",").map(Number);
+              if (errorStateTrue.length > 0) {
+                this.addMarkersAndZoom(errorStateTrue, "6");
+              }
             }
-            return [];
-        },
-        addMarkersAndZoom(data, type) {
-            const dataMapList = data;
-            dataMapList.forEach((element) => {
-                if (
-                    this.parseCoordinates(element.longitudeAndLatitudeString).length > 0
-                ) {
-                    this.$refs.map.addMarker({
-                        point: this.parseCoordinates(element.longitudeAndLatitudeString),
-                        val: type,
-                        ...element,
-                    });
-                    // this.$refs.map.moveAndZoom({
-                    //   point: this.parseCoordinates(element.longitudeAndLatitudeString),
-                    //   zoom: 15,
-                    // });
-                    return;
-                }
-                this.$refs.map.clearMarkers();
-            });
-            // const points = [
-            //   { point: [120.2, 30.35], val: "4" },
-            //   { point: [120.21, 30.35], val: "5" },
-            // ];
+          });
+        }
+      });
+    },
+    parseCoordinates(input) {
+      if (input && typeof input === "string") {
+        return input.split(",").map(Number);
+      }
+      return [];
+    },
+    addMarkersAndZoom(data, type) {
+      const dataMapList = data;
+      dataMapList.forEach((element) => {
+        if (
+          this.parseCoordinates(element.longitudeAndLatitudeString).length > 0
+        ) {
+          this.$refs.map.addMarker({
+            point: this.parseCoordinates(element.longitudeAndLatitudeString),
+            val: type,
+            ...element,
+          });
+          // this.$refs.map.moveAndZoom({
+          //   point: this.parseCoordinates(element.longitudeAndLatitudeString),
+          //   zoom: 15,
+          // });
+          return;
+        }
+        this.$refs.map.clearMarkers();
+      });
+      // const points = [
+      //   { point: [120.2, 30.35], val: "4" },
+      //   { point: [120.21, 30.35], val: "5" },
+      // ];
 
-            // // Add markers to the map
-            // points.forEach((point) => {
-            //   this.$refs.map.addMarker(point);
-            // });
+      // // Add markers to the map
+      // points.forEach((point) => {
+      //   this.$refs.map.addMarker(point);
+      // });
 
-            // // Zoom to a specific point
-            const zoomPoint = {
-                point: this.parseCoordinates(
-                    this.windEngineGroupByFieldCodeDetail.windEngineGroupVoList[0]
-                        .longitudeAndLatitudeString
-                ),
-                zoom: 15,
-            };
-            this.$refs.map.moveAndZoom(zoomPoint);
-        },
+      // // Zoom to a specific point
+      const zoomPoint = {
+        point: this.parseCoordinates(
+          this.windEngineGroupByFieldCodeDetail.windEngineGroupVoList[0]
+            .longitudeAndLatitudeString
+        ),
+        zoom: 15,
+      };
+      this.$refs.map.moveAndZoom(zoomPoint);
     },
+  },
 };
 </script>
 
 <style lang="scss" scoped>
 .map-ditu {
-    height: 93vh;
-    position: relative;
+  height: 93vh;
+  position: relative;
 }
-</style>
+</style>

+ 1 - 6
src/views/overview/components/min_pitch/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:08:13
- * @LastEditTime: 2025-03-14 18:16:34
+ * @LastEditTime: 2025-04-11 16:49:26
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/min_pitch/index.vue
@@ -215,11 +215,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 1 - 6
src/views/overview/components/pitch_generator_speed/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:09:25
- * @LastEditTime: 2025-03-20 14:32:16
+ * @LastEditTime: 2025-04-11 16:49:45
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/pitch_generator_speed/index.vue
@@ -215,11 +215,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 0 - 5
src/views/overview/components/pitch_power/index.vue

@@ -237,11 +237,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 1 - 6
src/views/overview/components/pitch_tsr_cp/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:09:55
- * @LastEditTime: 2025-03-18 16:41:29
+ * @LastEditTime: 2025-04-11 16:49:57
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/pitch_tsr_cp/index.vue
@@ -213,11 +213,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 0 - 5
src/views/overview/components/power_curve/index.vue

@@ -307,11 +307,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 1 - 7
src/views/overview/components/power_scatter/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:10:22
- * @LastEditTime: 2025-03-14 17:48:05
+ * @LastEditTime: 2025-04-11 16:50:14
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/power_scatter/index.vue
@@ -213,7 +213,6 @@ export default {
       }
     },
     getResult({ index, result }) {
-      console.log(index, result);
       this.$set(this.requestResult, index, result);
       // this.requestResult[index] = result
       this.requestRecord[index] = result;
@@ -242,11 +241,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 1 - 7
src/views/overview/components/power_scatter_2D/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:10:35
- * @LastEditTime: 2025-03-14 17:58:28
+ * @LastEditTime: 2025-04-11 16:50:32
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/power_scatter_2D/index.vue
@@ -226,11 +226,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 
@@ -285,7 +280,6 @@ export default {
               item.fileAddr.endsWith(".json")
             )) ||
           [];
-        console.log(this.diagramRelationsDatas, "this.diagramRelationsDatas");
       } catch (err) {
         console.error("Failed to fetch analysis details:", err);
       }

+ 2 - 3
src/views/overview/components/production_indicator_all/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-13 13:45:50
- * @LastEditTime: 2025-03-21 14:40:16
+ * @LastEditTime: 2025-04-11 16:51:01
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/production_indicator_all/index.vue
@@ -284,7 +284,6 @@ export default {
                       .filter((row) => Object.keys(row).length)
                       .slice(0, result.data.length - 1),
                   }); // 过滤空行
-                  console.log(this.productionIndicatorCsvData);
                 }
               },
               error: (error) => {
@@ -342,7 +341,7 @@ export default {
         const resFilter =
           result.data &&
           result.data.filter((items) => items.analysisTypeName === "全场指标");
-        console.log(resFilter, "resFilter");
+
         if (resFilter && resFilter[0] && resFilter[0].generalFiles) {
           resFilter[0].generalFiles.map((item) => {
             if (item.fileAddr) {

+ 1 - 4
src/views/overview/components/production_indicator_unit/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-13 13:44:56
- * @LastEditTime: 2025-04-08 11:31:01
+ * @LastEditTime: 2025-04-11 16:51:20
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/production_indicator_unit/index.vue
@@ -352,8 +352,6 @@ export default {
       this.chartItem = row;
       this.handleTableData = data;
       this.radarIsShow = true;
-
-      console.log(data, row, "handleRowClick 点击表格行");
     },
     onSubmit() {
       console.log("submit!");
@@ -497,7 +495,6 @@ export default {
     },
     //获取选中风机list
     getEnfineList(data, setUpImg) {
-      console.log(data, "获取选中风机list");
       this.fieldEngineCodes = data;
       this.setUpImgData = [...setUpImg];
       this.windEngineGroupList.map((item) => {

+ 1 - 7
src/views/overview/components/rated_power_windspeed/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:10:47
- * @LastEditTime: 2025-03-17 14:03:26
+ * @LastEditTime: 2025-04-11 16:51:42
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/rated_power_windspeed/index.vue
@@ -216,11 +216,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 
@@ -298,7 +293,6 @@ export default {
       this.fieldEngineCodes = data;
       this.setUpImgData = [...setUpImg];
       this.getAnalysisDetail();
-      console.log(this.fieldEngineCodes, "this.fieldEngineCodes");
     },
     //下一条
     handleNext() {

+ 1 - 8
src/views/overview/components/speed_power/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:09:17
- * @LastEditTime: 2025-03-21 14:08:22
+ * @LastEditTime: 2025-04-11 16:52:16
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/speed_power/index.vue
@@ -245,7 +245,6 @@ export default {
       }
     },
     getResult({ index, result }) {
-      console.log(index, result);
       this.$set(this.requestResult, index, result);
       // this.requestResult[index] = result
       this.requestRecord[index] = result;
@@ -274,11 +273,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 
@@ -325,7 +319,6 @@ export default {
               item.fileAddr.endsWith(".json")
             )) ||
           []; //总图数据
-        console.log(this.generalFilesDatas, "总图数据");
 
         if (result.data && result.data[0] && result.data[0].diagramRelations) {
           // const diagramRelationsDatas = result.data[0].diagramRelations.filter(

+ 0 - 7
src/views/overview/components/speed_torque/index.vue

@@ -235,7 +235,6 @@ export default {
       }
     },
     getResult({ index, result }) {
-      console.log(index, result);
       this.$set(this.requestResult, index, result);
       // this.requestResult[index] = result
       this.requestRecord[index] = result;
@@ -264,11 +263,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 
@@ -315,7 +309,6 @@ export default {
               item.fileAddr.endsWith(".json")
             )) ||
           []; //总图数据
-        console.log(this.generalFilesDatas, "总图数据");
 
         if (result.data && result.data[0] && result.data[0].diagramRelations) {
           const diagramRelationsDatas = result.data[0].diagramRelations.filter(

+ 1 - 2
src/views/overview/components/temperature_large_components_mid/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 09:59:43
- * @LastEditTime: 2025-02-26 11:22:49
+ * @LastEditTime: 2025-04-11 16:52:48
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_mid/index.vue
@@ -303,7 +303,6 @@ export default {
                 )
               )) ||
           []; //总图数据
-        console.log(this.generalFilesDatas, "this.generalFilesDatas");
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&

+ 1 - 6
src/views/overview/components/tsr_cp_power_scatter/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:22:59
- * @LastEditTime: 2025-03-21 14:41:39
+ * @LastEditTime: 2025-04-11 16:53:09
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/index.vue
@@ -215,11 +215,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 1 - 7
src/views/overview/components/tsr_trend/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:10:39
- * @LastEditTime: 2025-02-26 11:24:41
+ * @LastEditTime: 2025-04-11 16:53:20
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/tsr_trend/index.vue
@@ -214,11 +214,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 
@@ -296,7 +291,6 @@ export default {
       this.fieldEngineCodes = data;
       this.setUpImgData = [...setUpImg];
       this.getAnalysisDetail();
-      console.log(this.fieldEngineCodes, "this.fieldEngineCodes");
     },
     //下一条
     handleNext() {

+ 1 - 6
src/views/overview/components/wind_direction_frequency/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:11:12
- * @LastEditTime: 2025-03-21 14:43:58
+ * @LastEditTime: 2025-04-11 16:53:34
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/wind_direction_frequency/index.vue
@@ -238,11 +238,6 @@ export default {
     // 合并后的函数,处理数据请求
     async fetchData() {
       try {
-        console.log(
-          this.initBatchCode,
-          this.analysisTypeCode,
-          "请求详情 分钟级"
-        );
         // 获取分析详情
         await this.getAnalysisDetail();
 

+ 1 - 2
src/views/performance/assetssMag.vue

@@ -57,7 +57,7 @@
             >查看自动分析列表</el-button
           > -->
           <!-- <el-button @click="handleDownLoadChart" size="small">下载</el-button> -->
-          <!-- /downLoadChart -->
+          <!-- /downLoadChart  -->
         </el-form-item>
       </el-form>
     </div>
@@ -560,7 +560,6 @@ export default {
                   return itemS;
                 }
               });
-              console.log(obj, obj.fieldName, "obj");
               this.$router.push({
                 path: "/home/performance/editAssets",
                 query: {

+ 2 - 13
src/views/performance/components/analysisEvent.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2024-05-29 09:13:51
- * @LastEditTime: 2025-04-11 09:25:24
+ * @LastEditTime: 2025-04-11 09:39:33
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/analysisEvent.vue
@@ -524,12 +524,9 @@ export default {
       if (this.form.scada) {
         scada.push(this.form.scada);
       } else {
-        console.log(this.form.configAnalysis, "this.form.scada");
         scada = this.form.configAnalysis.map((item) => {
-          console.log(item, "item");
           return item.split("|")[1];
         });
-        console.log([...new Set(scada)], "scada");
       }
       axios
         .post("/transDataWeb/dataTransfer/getTimeRange", {
@@ -539,7 +536,6 @@ export default {
         .then((res) => {
           if (res.data.code === 200) {
             this.timeRanges = res.data.datas;
-            console.log(this.timeRanges, "this.timeRanges");
             // this.formData = { ...res.data.datas };
           }
         })
@@ -560,14 +556,7 @@ export default {
       this.formInline.pageNum = val;
       this.getFengjiList();
     },
-    // disabledDate(time) {
-    //   if (!this.dataMinTime || !this.dataMaxTime) {
-    //     return false;
-    //   }
-    //   const minTime = new Date(this.dataMinTime).getTime();
-    //   const maxTime = new Date(this.dataMaxTime).getTime();
-    //   return time.getTime() < minTime || time.getTime() > maxTime;
-    // },
+
     // 禁用日期函数
     disabledDate(time) {
       const timeInMs = time.getTime();

+ 0 - 1
src/views/performance/components/chartsCom/3DDrawingChart.vue

@@ -178,7 +178,6 @@ export default {
     },
 
     renderChart() {
-      console.log(this.setUpImgData, "setUpImgData");
       const uniqueColors = [...new Set(this.chartData.data[0].color)];
       if (!this.color1) {
         this.color1 = colorSchemes[0].colors;

+ 0 - 1
src/views/performance/components/chartsCom/BoxLineCharts.vue

@@ -68,7 +68,6 @@ export default {
     },
   },
   mounted() {
-    console.log(this.fileAddr, "fileAddr 连接");
     this.getData();
   },
   methods: {

+ 1 - 2
src/views/performance/components/chartsCom/ColorbarInitTwoDmarkersChart.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-03-14 10:30:00
- * @LastEditTime: 2025-03-21 17:39:36
+ * @LastEditTime: 2025-04-11 16:54:48
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/chartsCom/colorbarInitTwoDmarkersChart.vue
@@ -513,7 +513,6 @@ export default {
     },
     getSelectData(selectedPoints, layout) {
       // 在这里处理选中的数据,您可以将其展示或导出等
-      console.log("选中的点数据:", selectedPoints);
     },
     handleDownloadCSV(gd) {
       if (this.selectedPoints.length === 0) {

+ 1 - 2
src/views/performance/components/chartsCom/FaultUnit.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-15 15:49:57
- * @LastEditTime: 2025-03-21 15:36:12
+ * @LastEditTime: 2025-04-11 16:55:00
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/chartsCom/FaultUntal.vue
@@ -39,7 +39,6 @@ export default {
     faultCounts: {
       deep: true,
       handler(v) {
-        console.log(this.faultDurations, this.faultTypes);
         this.renderChart();
       },
     },

+ 0 - 1
src/views/performance/components/chartsCom/Time3DChart.vue

@@ -167,7 +167,6 @@ export default {
       }
       // 设置每个月份对应的颜色
       const monthColors = this.color1;
-      console.log("uniqueMonths", uniqueMonths);
       // 为每个月份生成独立的 trace,每个 trace 对应一个月份
       const traces = uniqueMonths.map((month, monthIndex) => {
         const monthData = this.chartData.data[0].yData

+ 1 - 2
src/views/performance/components/chartsCom/TwoDMarkersChart1.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2024-09-11 14:32:12
- * @LastEditTime: 2025-03-21 14:53:57
+ * @LastEditTime: 2025-04-11 16:55:33
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/chartsCom/powerMarkers2DCharts.vue
@@ -107,7 +107,6 @@ export default {
   watch: {
     themeColor: {
       handler(newval) {
-        console.log(newval, "newval");
         if (newval.length === 0) {
           this.color1 = colorSchemes[5].colors;
         } else {

+ 0 - 2
src/views/performance/components/chartsCom/WindRoseChart.vue

@@ -75,11 +75,9 @@ export default {
         try {
           this.loading = true;
           this.cancelToken = axios.CancelToken.source();
-          console.log(this.cancelToken);
           const resultChartsData = await axios.get(this.fileAddr, {
             cancelToken: this.cancelToken.token,
           });
-          console.log(resultChartsData);
           this.chartData = resultChartsData.data;
           this.renderChart();
           this.isError = false;

+ 1 - 1
src/views/performance/components/chartsCom/YewErrorBarChart.vue

@@ -76,7 +76,7 @@ export default {
 
   methods: {
     getData() {
-      console.log(this.zongFaultCsvData[0].data);
+      // console.log(this.zongFaultCsvData[0].data);
     },
     // 为每个数据点返回对应颜色
     getColor(value) {

+ 1 - 4
src/views/performance/components/custonAsCom/dataTable.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2024-10-28 16:46:38
- * @LastEditTime: 2024-12-31 14:30:17
+ * @LastEditTime: 2025-04-11 16:56:28
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/custonAsCom/dataTable.vue
@@ -96,11 +96,9 @@ export default {
     checkObjectStoreExists("FileDataDB", "files")
       .then((exists) => {
         if (exists) {
-          console.log("对象存储 'files' 存在!");
           this.getIndexDbData();
         } else {
           this.loading = false;
-          console.log("对象存储 'files' 不存在!");
         }
       })
       .catch((error) => {
@@ -166,7 +164,6 @@ export default {
         const getRequest = store.getAll();
         getRequest.onsuccess = () => {
           const data = getRequest.result;
-          console.log(data, "所有数据");
 
           // 假设文件数据在 data[0].data 中
           let updatedData = data[0]?.data || [];

+ 0 - 5
src/views/performance/components/custonAsCom/dragChart/components/chartConfig/form/chartLogic/modules/Heatmap.js

@@ -136,7 +136,6 @@ export function handleHeatmapPlotChartLogic(
   isFilter,
   type
 ) {
-  console.log("1");
   // 数据筛选逻辑
   if (isFilter === "filter") {
     const filterResult = formLabelAlign.Ydata.map((yItem, index) => ({
@@ -151,7 +150,6 @@ export function handleHeatmapPlotChartLogic(
           : val;
       }),
     }));
-    console.log("2");
     // 条件筛选逻辑
     const filterList = filterResult.map((filteredItem, index) => {
       const { filterType1, filterType2, number1, number2 } =
@@ -186,7 +184,6 @@ export function handleHeatmapPlotChartLogic(
     item.Xdata = formLabelAlign.Xdata;
     item.Ydata = formLabelAlign.Ydata;
   }
-  console.log(item.Xdata, item.Ydata, "3");
   // 生成数据
   if (
     item.Xdata.length > 1 &&
@@ -205,7 +202,6 @@ export function handleHeatmapPlotChartLogic(
     const yAxisData = item.Xdata[1].data.map(
       (yItem) => yItem[item.Xdata[1].label]
     );
-    console.log("4");
     // 设置 ECharts 的 x 和 y 轴
     item.option.xAxis = {
       ...item.option.xAxis,
@@ -239,7 +235,6 @@ export function handleHeatmapPlotChartLogic(
         }
       }
     }
-    console.log(heatmapData, "heatmapData");
 
     // 生成热力图数据
     item.option.series = [

+ 0 - 1
src/views/performance/components/custonAsCom/dragChart/components/chartConfig/form/chartLogic/modules/sankeyDiagram.js

@@ -68,7 +68,6 @@ export function handleSankeyDiagramPlotChartLogic(
   ).filter((val) => val !== null && val !== undefined && val !== ""); // 排除 null 和 undefined
   // 对 xData 去重并转换为 [{name: ''}, {name: ''}] 的格式
   const uniqueXData = [...new Set(xData)].map((name) => ({ name }));
-  console.log(uniqueXData, "uniqueXData");
 
   // 生成 sankeyDiagram 数据
   if (

+ 1 - 2
src/views/transition/index.vue

@@ -478,7 +478,6 @@ export default {
     },
 
     editor(row) {
-      console.log(row);
       // return
       this.transitionShow = true;
       this.form.name = row.dataCollector;
@@ -734,4 +733,4 @@ export default {
 .demo-table-expand {
   padding-left: 60px;
 }
-</style>
+</style>