Procházet zdrojové kódy

修改描述提交bug

liujiejie před 10 měsíci
rodič
revize
70323e67d6
41 změnil soubory, kde provedl 309 přidání a 119 odebrání
  1. 8 3
      src/views/overview/components/cp/index.vue
  2. 8 3
      src/views/overview/components/cp_trend/index.vue
  3. 8 3
      src/views/overview/components/cp_windspeed/index.vue
  4. 8 4
      src/views/overview/components/data_integrity_minute/index.vue
  5. 7 4
      src/views/overview/components/data_integrity_second/index.vue
  6. 7 3
      src/views/overview/components/fault_all/index.vue
  7. 7 3
      src/views/overview/components/fault_unit/index.vue
  8. 8 3
      src/views/overview/components/min_pitch/index.vue
  9. 8 3
      src/views/overview/components/pitch_generator_speed/index.vue
  10. 8 3
      src/views/overview/components/pitch_power/index.vue
  11. 8 3
      src/views/overview/components/pitch_tsr_cp/index.vue
  12. 7 3
      src/views/overview/components/power_curve/index.vue
  13. 8 3
      src/views/overview/components/power_scatter/index.vue
  14. 8 3
      src/views/overview/components/power_scatter_2D/index.vue
  15. 7 3
      src/views/overview/components/production_indicator_all/index.vue
  16. 7 3
      src/views/overview/components/production_indicator_unit/index.vue
  17. 7 3
      src/views/overview/components/rated_power_windspeed/index.vue
  18. 8 3
      src/views/overview/components/rated_windspeed/index.vue
  19. 8 3
      src/views/overview/components/speed_power/index.vue
  20. 6 2
      src/views/overview/components/speed_torque/index.vue
  21. 8 3
      src/views/overview/components/temperature_environment/index.vue
  22. 8 3
      src/views/overview/components/temperature_large_components_Winding_tem/index.vue
  23. 8 3
      src/views/overview/components/temperature_large_components_adriven/index.vue
  24. 8 3
      src/views/overview/components/temperature_large_components_hig/index.vue
  25. 8 3
      src/views/overview/components/temperature_large_components_low/index.vue
  26. 8 3
      src/views/overview/components/temperature_large_components_mid/index.vue
  27. 8 3
      src/views/overview/components/temperature_large_components_min/index.vue
  28. 8 3
      src/views/overview/components/temperature_large_components_tem_deviation/index.vue
  29. 8 3
      src/views/overview/components/temperature_large_components_undriven/index.vue
  30. 8 3
      src/views/overview/components/tsr/index.vue
  31. 8 3
      src/views/overview/components/tsr_cp_power/index.vue
  32. 8 3
      src/views/overview/components/tsr_cp_power_scatter/index.vue
  33. 8 3
      src/views/overview/components/tsr_trend/index.vue
  34. 8 3
      src/views/overview/components/tsr_windspeed/index.vue
  35. 8 3
      src/views/overview/components/wind_direction_frequency/index.vue
  36. 8 3
      src/views/overview/components/wind_speed/index.vue
  37. 8 3
      src/views/overview/components/wind_speed_frequency/index.vue
  38. 7 3
      src/views/overview/components/yaw_error/index.vue
  39. 8 3
      src/views/overview/components/yaw_error_density/index.vue
  40. 4 1
      src/views/performance/components/chartsCom/GeneratorTemperature.vue
  41. 3 0
      src/views/performance/components/chartsCom/lineAndChildLine.vue

+ 8 - 3
src/views/overview/components/cp/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:05:58
- * @LastEditTime: 2025-01-21 14:54:37
+ * @LastEditTime: 2025-01-21 15:47:06
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/cp/index.vue
@@ -67,7 +67,7 @@
         </lineChartsFen>
       </div>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -78,7 +78,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -144,6 +144,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -212,6 +213,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -238,6 +242,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/cp_trend/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:06:09
- * @LastEditTime: 2025-01-21 14:55:00
+ * @LastEditTime: 2025-01-21 15:52:10
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/cp_trend/index.vue
@@ -47,7 +47,7 @@
           :fileAddr="item.fileAddr"
         ></BoxLineCharts>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -58,7 +58,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row v-if="isShowDescription" type="flex" class="row-bg" justify="end">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -114,6 +114,7 @@ export default {
       form: {
         value2: "",
       },
+      isShowDescription: false,
       windEngineGroupList: [], //批次风机列表
       fieldEngineCodes: [], //选中风机
       comment: "",
@@ -196,6 +197,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -222,6 +226,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/cp_windspeed/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:08:00
- * @LastEditTime: 2025-01-21 14:55:10
+ * @LastEditTime: 2025-01-21 15:53:11
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/cp_windspeed/index.vue
@@ -67,7 +67,7 @@
         </lineChartsFen>
       </div>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -78,7 +78,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" v-if="isShowDescription" class="row-bg" justify="end">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -138,6 +138,7 @@ export default {
       },
       comment: "",
       options: [],
+      isShowDescription: false,
       windEngineGroupList: [], //批次风机列表
       fieldEngineCodes: [], //选中风机
       generalFilesDatas: [], //总图
@@ -212,6 +213,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -238,6 +242,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 4
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-01-21 14:55:25
+ * @LastEditTime: 2025-01-21 15:49:16
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/data_integrity_minute/index.vue
@@ -48,7 +48,7 @@
       </template>
       <el-empty description="暂无分析记录" v-else></el-empty>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -59,7 +59,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -114,7 +114,7 @@ export default {
       form: {
         value2: "",
       },
-
+      isShowDescription: false,
       commentDescriptionVos: [], //评论列表
       windEngineGroupList: [], //批次风机列表
       fieldEngineCodes: [], //选中风机
@@ -197,6 +197,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -223,6 +226,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 7 - 4
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-01-21 14:55:37
+ * @LastEditTime: 2025-01-21 15:50:37
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/data_integrity_second/index.vue
@@ -49,7 +49,7 @@
       </template>
       <el-empty description="暂无分析记录" v-else></el-empty>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -60,7 +60,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row v-if="isShowDescription" type="flex" class="row-bg" justify="end">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -115,7 +115,7 @@ export default {
       form: {
         value2: "",
       },
-
+      isShowDescription: false,
       commentDescriptionVos: [], //评论列表
       windEngineGroupList: [], //批次风机列表
       fieldEngineCodes: [], //选中风机
@@ -198,6 +198,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 7 - 3
src/views/overview/components/fault_all/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-13 13:56:55
- * @LastEditTime: 2025-01-21 14:46:21
+ * @LastEditTime: 2025-01-21 15:54:16
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/fault_all/index.vue
@@ -83,7 +83,7 @@
       </div>
       <el-empty description="暂无分析记录" v-else></el-empty>
       <el-tabs value="first">
-        <el-tab-pane label="意见描述" name="first">
+        <el-tab-pane label="意见描述" name="first" v-if="isShowDescription">
           <TinymceEditor
             ref="editor"
             v-model="comment"
@@ -93,7 +93,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row v-if="isShowDescription" type="flex" class="row-bg" justify="end">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -161,6 +161,7 @@ export default {
       fenFaultCsvData: [],
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   computed: {
@@ -304,6 +305,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 7 - 3
src/views/overview/components/fault_unit/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-13 13:56:12
- * @LastEditTime: 2025-01-21 14:46:28
+ * @LastEditTime: 2025-01-21 15:54:53
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/fault_unit/index.vue
@@ -77,7 +77,7 @@
       </div>
       <el-empty description="暂无分析记录" v-else></el-empty>
       <el-tabs value="first">
-        <el-tab-pane label="意见描述" name="first">
+        <el-tab-pane label="意见描述" name="first" v-if="isShowDescription">
           <TinymceEditor
             ref="editor"
             v-model="comment"
@@ -87,7 +87,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -145,6 +145,7 @@ export default {
       form: {
         value2: "",
       },
+      isShowDescription: false,
       commentDescriptionVos: [], //评论列表
       windEngineGroupList: [], //批次风机列表
       fieldEngineCodes: [], //选中风机
@@ -292,6 +293,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 8 - 3
src/views/overview/components/min_pitch/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:08:13
- * @LastEditTime: 2025-01-21 14:55:55
+ * @LastEditTime: 2025-01-21 15:56:02
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/min_pitch/index.vue
@@ -47,7 +47,7 @@
         ></TwoDMarkersChart>
       </VirtualList>
       <el-tabs value="first">
-        <el-tab-pane label="意见描述" name="first">
+        <el-tab-pane label="意见描述" name="first" v-if="isShowDescription">
           <TinymceEditor
             ref="editor"
             v-model="comment"
@@ -57,7 +57,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -121,6 +121,7 @@ export default {
       diagramRelationsDatas: [], //分图,
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -195,6 +196,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -221,6 +225,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
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-01-21 14:56:16
+ * @LastEditTime: 2025-01-21 15:56:49
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/pitch_generator_speed/index.vue
@@ -46,7 +46,7 @@
           :fileAddr="item.fileAddr"
         ></TwoDMarkersChart>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -57,7 +57,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -121,6 +121,7 @@ export default {
       diagramRelationsDatas: [], //分图,
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -195,6 +196,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -221,6 +225,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/pitch_power/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:09:41
- * @LastEditTime: 2025-01-21 14:56:26
+ * @LastEditTime: 2025-01-21 15:57:52
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/pitch_power/index.vue
@@ -62,7 +62,7 @@
         >
         </DDrawingChart>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -73,7 +73,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -139,6 +139,7 @@ export default {
       diagramRelationsDatas: [], //分图,
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -223,6 +224,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -249,6 +253,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
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-01-21 14:56:37
+ * @LastEditTime: 2025-01-21 15:58:46
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/pitch_tsr_cp/index.vue
@@ -44,7 +44,7 @@
           :fileAddr="item.fileAddr"
         ></TwoDMarkersChart>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -55,7 +55,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -119,6 +119,7 @@ export default {
       diagramRelationsDatas: [], //分图,
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -193,6 +194,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -219,6 +223,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 7 - 3
src/views/overview/components/power_curve/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:10:08
- * @LastEditTime: 2025-01-20 13:37:35
+ * @LastEditTime: 2025-01-21 15:59:51
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/power_curve/index.vue
@@ -141,7 +141,7 @@
       <el-empty v-else description="暂无分图"></el-empty>
 
       <el-tabs value="first">
-        <el-tab-pane label="意见描述" name="first">
+        <el-tab-pane label="意见描述" name="first" v-if="isShowDescription">
           <TinymceEditor
             ref="editor"
             v-model="comment"
@@ -151,7 +151,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -219,6 +219,7 @@ export default {
       graphFilesData: [],
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -293,6 +294,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 8 - 3
src/views/overview/components/power_scatter/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-09 18:10:22
- * @LastEditTime: 2025-01-21 14:56:56
+ * @LastEditTime: 2025-01-21 16:00:46
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/power_scatter/index.vue
@@ -47,7 +47,7 @@
         </DDrawingChart>
       </VirtualList>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -58,7 +58,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -124,6 +124,7 @@ export default {
       requestRecord: [],
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -222,6 +223,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -248,6 +252,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
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-01-21 14:57:11
+ * @LastEditTime: 2025-01-21 16:01:46
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/power_scatter_2D/index.vue
@@ -54,7 +54,7 @@ export default {
         ></powerMarkers2DCharts>
       </VirtualList>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -65,7 +65,7 @@ export default {
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -130,6 +130,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -213,6 +214,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -239,6 +243,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 7 - 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-01-21 14:47:09
+ * @LastEditTime: 2025-01-21 16:11:05
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/production_indicator_all/index.vue
@@ -90,7 +90,7 @@
         </template>
       </div>
       <el-empty description="暂无分析记录" v-else></el-empty>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -101,7 +101,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -169,6 +169,7 @@ export default {
       productionIndicatorCsvData: [],
       productionIndicatorCsvHeader: [],
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   computed: {
@@ -301,6 +302,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 7 - 3
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-01-21 14:47:23
+ * @LastEditTime: 2025-01-21 16:11:13
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/production_indicator_unit/index.vue
@@ -88,7 +88,7 @@
         </template>
       </div>
       <el-empty description="暂无分析记录" v-else></el-empty>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -99,7 +99,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -167,6 +167,7 @@ export default {
       productionIndicatorCsvData: [],
       productionIndicatorCsvHeader: [],
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   computed: {
@@ -299,6 +300,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 7 - 3
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-01-21 14:57:33
+ * @LastEditTime: 2025-01-21 16:09:55
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/rated_power_windspeed/index.vue
@@ -46,7 +46,7 @@
         >
         </BoxLineCharts>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -57,7 +57,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -122,6 +122,7 @@ export default {
       diagramRelationsDatas: [], //分图,
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -196,6 +197,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 8 - 3
src/views/overview/components/rated_windspeed/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:08:56
- * @LastEditTime: 2025-01-21 14:57:47
+ * @LastEditTime: 2025-01-21 16:11:28
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/rated_windspeed/index.vue
@@ -47,7 +47,7 @@
         >
         </BarChart>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -58,7 +58,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -122,6 +122,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -190,6 +191,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -216,6 +220,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

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

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:09:17
- * @LastEditTime: 2025-01-21 14:58:02
+ * @LastEditTime: 2025-01-21 16:09:43
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/speed_power/index.vue
@@ -71,7 +71,7 @@
         </DDrawingChart>
       </VirtualList>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -82,7 +82,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -150,6 +150,7 @@ export default {
       requestRecord: [],
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -248,6 +249,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -287,6 +291,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 6 - 2
src/views/overview/components/speed_torque/index.vue

@@ -74,7 +74,7 @@
         </DDrawingChart>
       </VirtualList>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -85,7 +85,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -153,6 +153,7 @@ export default {
       requestRecord: [],
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
       diagramRelationsDatas2D: [],
       diagramRelationsDatas3D: [],
     };
@@ -253,6 +254,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 8 - 3
src/views/overview/components/temperature_environment/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:09:46
- * @LastEditTime: 2025-01-21 14:58:35
+ * @LastEditTime: 2025-01-21 16:09:31
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_environment/index.vue
@@ -78,7 +78,7 @@
         v-slot="{ item, index }"
       >
       </VirtualList> -->
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -89,7 +89,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -153,6 +153,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -221,6 +222,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -247,6 +251,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/temperature_large_components_Winding_tem/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 10:04:11
- * @LastEditTime: 2025-01-21 15:00:34
+ * @LastEditTime: 2025-01-21 16:08:50
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_Winding_tem/index.vue
@@ -77,7 +77,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -88,7 +88,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -154,6 +154,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -225,6 +226,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -253,6 +257,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
src/views/overview/components/temperature_large_components_adriven/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 10:01:52
- * @LastEditTime: 2025-01-21 14:58:51
+ * @LastEditTime: 2025-01-21 16:11:53
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_adriven/index.vue
@@ -78,7 +78,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -89,7 +89,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -155,6 +155,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -226,6 +227,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -254,6 +258,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
src/views/overview/components/temperature_large_components_hig/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 09:58:32
- * @LastEditTime: 2025-01-21 14:59:05
+ * @LastEditTime: 2025-01-21 16:09:20
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_hig/index.vue
@@ -78,7 +78,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -89,7 +89,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -155,6 +155,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -226,6 +227,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -256,6 +260,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
src/views/overview/components/temperature_large_components_low/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 10:00:25
- * @LastEditTime: 2025-01-21 14:59:15
+ * @LastEditTime: 2025-01-21 16:12:04
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_low/index.vue
@@ -78,7 +78,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -89,7 +89,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -155,6 +155,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -226,6 +227,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -256,6 +260,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
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-01-21 14:59:31
+ * @LastEditTime: 2025-01-21 16:12:12
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_mid/index.vue
@@ -78,7 +78,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -89,7 +89,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -155,6 +155,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -226,6 +227,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -257,6 +261,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
src/views/overview/components/temperature_large_components_min/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 10:01:06
- * @LastEditTime: 2025-01-21 14:59:44
+ * @LastEditTime: 2025-01-21 16:12:21
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_min/index.vue
@@ -78,7 +78,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -89,7 +89,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -155,6 +155,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -226,6 +227,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -254,6 +258,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
src/views/overview/components/temperature_large_components_tem_deviation/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 10:03:27
- * @LastEditTime: 2025-01-21 15:00:09
+ * @LastEditTime: 2025-01-21 16:09:00
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_tem_deviation/index.vue
@@ -60,7 +60,7 @@
         >
         </GeneratorTemperature>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -71,7 +71,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -137,6 +137,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -208,6 +209,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -236,6 +240,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
src/views/overview/components/temperature_large_components_undriven/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 10:02:36
- * @LastEditTime: 2025-01-21 15:00:22
+ * @LastEditTime: 2025-01-21 16:12:36
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/temperature_large_components_undriven/index.vue
@@ -78,7 +78,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -89,7 +89,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -155,6 +155,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -226,6 +227,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -256,6 +260,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations
               .filter((item) => item.fileAddr.endsWith(".json"))
               .filter((item) =>

+ 8 - 3
src/views/overview/components/tsr/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:10:11
- * @LastEditTime: 2025-01-21 15:00:49
+ * @LastEditTime: 2025-01-21 16:12:47
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/tsr/index.vue
@@ -64,7 +64,7 @@
         </lineChartsFen>
       </div>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -75,7 +75,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -141,6 +141,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -209,6 +210,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -235,6 +239,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/tsr_cp_power/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:10:24
- * @LastEditTime: 2025-01-21 15:00:59
+ * @LastEditTime: 2025-01-21 16:08:40
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/tsr_cp_power/index.vue
@@ -64,7 +64,7 @@
         >
         </lineChartsFen>
       </div>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -75,7 +75,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -141,6 +141,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -209,6 +210,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -235,6 +239,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
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-01-21 15:01:10
+ * @LastEditTime: 2025-01-21 16:12:58
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/index.vue
@@ -46,7 +46,7 @@
         >
         </NoColourBandTwoDMarkerChart>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -57,7 +57,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -121,6 +121,7 @@ export default {
       diagramRelationsDatas: [], //分图,
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -195,6 +196,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -221,6 +225,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/tsr_trend/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:10:39
- * @LastEditTime: 2025-01-21 15:01:21
+ * @LastEditTime: 2025-01-21 16:08:31
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/tsr_trend/index.vue
@@ -45,7 +45,7 @@
         >
         </BoxMarkersCharts>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -56,7 +56,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -121,6 +121,7 @@ export default {
       diagramRelationsDatas: [], //分图,
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -195,6 +196,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -221,6 +225,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/tsr_windspeed/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:10:59
- * @LastEditTime: 2025-01-21 15:01:32
+ * @LastEditTime: 2025-01-21 16:13:10
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/tsr_windspeed/index.vue
@@ -64,7 +64,7 @@
         </lineChartsFen>
       </div>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -75,7 +75,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -141,6 +141,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -209,6 +210,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -235,6 +239,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
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-01-21 15:01:42
+ * @LastEditTime: 2025-01-21 16:06:41
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/wind_direction_frequency/index.vue
@@ -45,7 +45,7 @@
         ></WindRoseChart>
       </VirtualList>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -56,7 +56,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -121,6 +121,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -195,6 +196,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -221,6 +225,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/wind_speed/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:11:23
- * @LastEditTime: 2025-01-21 15:01:51
+ * @LastEditTime: 2025-01-21 16:13:21
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/wind_spee/index.vue
@@ -46,7 +46,7 @@
           :fileAddr="item.fileAddr"
         ></BarChart>
       </VirtualList>
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -57,7 +57,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -121,6 +121,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -189,6 +190,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -215,6 +219,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 8 - 3
src/views/overview/components/wind_speed_frequency/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:11:34
- * @LastEditTime: 2025-01-21 15:02:04
+ * @LastEditTime: 2025-01-21 16:07:00
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/wind_speed_frequency/index.vue
@@ -59,7 +59,7 @@
       </div>
       <el-empty description="暂无分析记录" v-else></el-empty> -->
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -70,7 +70,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row type="flex" class="row-bg" justify="end" v-if="isShowDescription">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -134,6 +134,7 @@ export default {
       diagramRelationsDatas: [], //分图
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -202,6 +203,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -228,6 +232,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 7 - 3
src/views/overview/components/yaw_error/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:24:14
- * @LastEditTime: 2025-01-21 14:50:01
+ * @LastEditTime: 2025-01-21 16:13:33
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/yaw_error/index.vue
@@ -83,7 +83,7 @@
       </div>
       <el-empty description="暂无分析记录" v-else></el-empty>
 
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -94,7 +94,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row v-if="isShowDescription" type="flex" class="row-bg" justify="end">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -162,6 +162,7 @@ export default {
       fenFaultCsvData: [],
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   computed: {
@@ -305,6 +306,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes.join(","),
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&

+ 8 - 3
src/views/overview/components/yaw_error_density/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-10 09:26:12
- * @LastEditTime: 2025-01-21 15:02:18
+ * @LastEditTime: 2025-01-21 16:07:35
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/overview/components/yaw_error_density/index.vue
@@ -51,7 +51,7 @@
           </TwoDMarkersChart>
         </RecycleScroller>
       </div> -->
-      <el-tabs value="first">
+      <el-tabs value="first" v-if="isShowDescription">
         <el-tab-pane label="意见描述" name="first">
           <TinymceEditor
             ref="editor"
@@ -62,7 +62,7 @@
           </TinymceEditor>
         </el-tab-pane>
       </el-tabs>
-      <el-row type="flex" class="row-bg" justify="end">
+      <el-row v-if="isShowDescription" type="flex" class="row-bg" justify="end">
         <el-col :span="2" style="margin: 20px">
           <el-button type="primary" size="small" @click="handleComment"
             >提交评论</el-button
@@ -127,6 +127,7 @@ export default {
       requestRecord: [],
       commentDescriptionVos: [], //评论列表
       editableTabs: [],
+      isShowDescription: false,
     };
   },
   watch: {
@@ -201,6 +202,9 @@ export default {
               ? undefined
               : this.fieldEngineCodes,
         });
+        if (result.data.length > 0) {
+          this.isShowDescription = true;
+        }
         if (
           result.data &&
           result.data[0] &&
@@ -228,6 +232,7 @@ export default {
         this.diagramRelationsDatas =
           (result.data &&
             result.data[0] &&
+            result.data[0].diagramRelations &&
             result.data[0].diagramRelations.filter((item) =>
               item.fileAddr.endsWith(".json")
             )) ||

+ 4 - 1
src/views/performance/components/chartsCom/GeneratorTemperature.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2025-01-21 11:18:49
- * @LastEditTime: 2025-01-21 11:31:12
+ * @LastEditTime: 2025-01-21 15:40:55
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/components/chartsCom/GeneratorTemperature.vue
@@ -128,6 +128,9 @@ export default {
             dash: this.typeLine[index % this.colors.length],
             color: this.colors[index % this.colors.length], // 为每个机组分配不同的颜色
           },
+          marker: {
+            color: this.colors[index % this.colors.length], // 为每个机组分配不同的颜色
+          },
         };
 
         if (this.chartType === "line") {

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

@@ -114,6 +114,9 @@ export default {
           line: {
             color: this.colors[index % this.colors.length], // 为每个机组分配不同的颜色
           },
+          marker: {
+            color: this.colors[index % this.colors.length], // 为每个机组分配不同的颜色
+          },
         };
 
         if (this.chartType === "line") {