|
@@ -1,7 +1,7 @@
|
|
<!--
|
|
<!--
|
|
* @Author: your name
|
|
* @Author: your name
|
|
* @Date: 2024-05-27 09:25:45
|
|
* @Date: 2024-05-27 09:25:45
|
|
- * @LastEditTime: 2024-12-30 14:18:54
|
|
|
|
|
|
+ * @LastEditTime: 2025-01-03 12:11:11
|
|
* @LastEditors: bogon
|
|
* @LastEditors: bogon
|
|
* @Description: In User Settings Edit
|
|
* @Description: In User Settings Edit
|
|
* @FilePath: /performance-test/src/views/performance/assetssDetail.vue
|
|
* @FilePath: /performance-test/src/views/performance/assetssDetail.vue
|
|
@@ -417,6 +417,22 @@
|
|
@load="iframeLoad(index + diagramRelations.length)"
|
|
@load="iframeLoad(index + diagramRelations.length)"
|
|
></iframe>
|
|
></iframe>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col
|
|
|
|
+ v-for="(file, index) in diagramRelations"
|
|
|
|
+ :key="index + file.fileAddr + file.createTime + 'png'"
|
|
|
|
+ :span="24"
|
|
|
|
+ :style="{
|
|
|
|
+ display:
|
|
|
|
+ getFileType(file.fileAddr) === 'image' ? 'block' : 'none',
|
|
|
|
+ }"
|
|
|
|
+ class="col_content"
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ :src="file.fileAddr"
|
|
|
|
+ alt=""
|
|
|
|
+ style="width: 100%; height: 590px"
|
|
|
|
+ />
|
|
|
|
+ </el-col>
|
|
</template>
|
|
</template>
|
|
</el-row>
|
|
</el-row>
|
|
</el-card>
|
|
</el-card>
|
|
@@ -713,11 +729,19 @@ export default {
|
|
response.data.length > 0 &&
|
|
response.data.length > 0 &&
|
|
response.data[0].commentDescriptionVos) ||
|
|
response.data[0].commentDescriptionVos) ||
|
|
[];
|
|
[];
|
|
- const fileUrl = response.data[0].generalFiles[0].fileAddr;
|
|
|
|
- if (this.formInfo.analysisTypeCode === "yaw_error") {
|
|
|
|
- this.fetchCsvData("yaw_error", fileUrl);
|
|
|
|
- } else if (this.formInfo.analysisTypeCode === "production_indicator") {
|
|
|
|
- this.fetchCsvData("production_indicator", fileUrl);
|
|
|
|
|
|
+ if (
|
|
|
|
+ response.data[0] &&
|
|
|
|
+ response.data[0]?.generalFiles &&
|
|
|
|
+ response.data[0]?.generalFiles[0]?.fileAddr
|
|
|
|
+ ) {
|
|
|
|
+ const fileUrl = response.data[0]?.generalFiles[0]?.fileAddr;
|
|
|
|
+ if (this.formInfo.analysisTypeCode === "yaw_error") {
|
|
|
|
+ this.fetchCsvData("yaw_error", fileUrl);
|
|
|
|
+ } else if (
|
|
|
|
+ this.formInfo.analysisTypeCode === "production_indicator"
|
|
|
|
+ ) {
|
|
|
|
+ this.fetchCsvData("production_indicator", fileUrl);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
this.initializeLoading();
|
|
this.initializeLoading();
|