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