|
@@ -4,20 +4,23 @@
|
|
<h4>分析介绍:</h4>
|
|
<h4>分析介绍:</h4>
|
|
<div class="box-header-min">
|
|
<div class="box-header-min">
|
|
<el-descriptions>
|
|
<el-descriptions>
|
|
- <el-descriptions-item label="分析主题">{{}}</el-descriptions-item>
|
|
|
|
|
|
+ <el-descriptions-item label="分析主题">{{
|
|
|
|
+ analysisInfo.analysisName
|
|
|
|
+ }}</el-descriptions-item>
|
|
<el-descriptions-item label="分析人">{{
|
|
<el-descriptions-item label="分析人">{{
|
|
analysisInfo.updateByName
|
|
analysisInfo.updateByName
|
|
}}</el-descriptions-item>
|
|
}}</el-descriptions-item>
|
|
- <el-descriptions-item label="分析简述">{{}}</el-descriptions-item>
|
|
|
|
|
|
+ <el-descriptions-item label="分析简述">{{
|
|
|
|
+ analysisInfo.sketch
|
|
|
|
+ }}</el-descriptions-item>
|
|
<el-descriptions-item label="分析创建时间">
|
|
<el-descriptions-item label="分析创建时间">
|
|
- {{}}
|
|
|
|
|
|
+ {{ analysisInfo.createTime }}
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
- <el-descriptions-item
|
|
|
|
- label="分析开始执行时间"
|
|
|
|
- >{{
|
|
|
|
|
|
+ <el-descriptions-item label="分析开始执行时间">{{
|
|
|
|
+ analysisInfo.analysisStartTime
|
|
}}</el-descriptions-item>
|
|
}}</el-descriptions-item>
|
|
<el-descriptions-item label="分析完成时间">{{
|
|
<el-descriptions-item label="分析完成时间">{{
|
|
- analysisInfo.analysisFinishTime
|
|
|
|
|
|
+ analysisInfo.analysisEndTime
|
|
}}</el-descriptions-item>
|
|
}}</el-descriptions-item>
|
|
</el-descriptions>
|
|
</el-descriptions>
|
|
<!-- <div v-if="analysisInfo.dataEndTime || analysisInfo.dataStartTime">
|
|
<!-- <div v-if="analysisInfo.dataEndTime || analysisInfo.dataStartTime">
|
|
@@ -75,52 +78,57 @@
|
|
v-for="itemData in analysisInfo.windEngineGroups"
|
|
v-for="itemData in analysisInfo.windEngineGroups"
|
|
:key="itemData.engineCode"
|
|
:key="itemData.engineCode"
|
|
>
|
|
>
|
|
- <el-popover placement="right" width="400" trigger="hover">
|
|
|
|
|
|
+ <el-popover
|
|
|
|
+ placement="right"
|
|
|
|
+ width="600"
|
|
|
|
+ trigger="hover"
|
|
|
|
+ @show="getEngineInfo(itemData.engineCode)"
|
|
|
|
+ >
|
|
<el-descriptions class="margin-top" size="mini" border>
|
|
<el-descriptions class="margin-top" size="mini" border>
|
|
<!-- :column="3" -->
|
|
<!-- :column="3" -->
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 风机名称 </template>
|
|
<template slot="label"> 风机名称 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.engineName }}
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
- <el-descriptions-item>
|
|
|
|
|
|
+ <!-- <el-descriptions-item>
|
|
<template slot="label"> 机型编号 </template>
|
|
<template slot="label"> 机型编号 </template>
|
|
- {{}}
|
|
|
|
- </el-descriptions-item>
|
|
|
|
|
|
+ {{ windDetail.millTypeCode }}
|
|
|
|
+ </el-descriptions-item> -->
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 额定容量 </template>
|
|
<template slot="label"> 额定容量 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.ratedCapacity }}/KW
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 轮毂高度 </template>
|
|
<template slot="label"> 轮毂高度 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.hubHeight }}/米
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 海拔高度 </template>
|
|
<template slot="label"> 海拔高度 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.elevationHeight }}/米
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 经度 </template>
|
|
<template slot="label"> 经度 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.longitude }}
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 纬度 </template>
|
|
<template slot="label"> 纬度 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.latitude }}
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 是否标杆风机 </template>
|
|
<template slot="label"> 是否标杆风机 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.sightcing == 1 ? "是" : "否" }}
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 额定风速 </template>
|
|
<template slot="label"> 额定风速 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.rated_wind_speed }} m/s
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 切入风速 </template>
|
|
<template slot="label"> 切入风速 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.ratedCutInWindspeed }} m/s
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
<template slot="label"> 切出风速 </template>
|
|
<template slot="label"> 切出风速 </template>
|
|
- {{}}
|
|
|
|
|
|
+ {{ windDetail.ratedCutOutWindspeed }} m/s
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
</el-descriptions>
|
|
</el-descriptions>
|
|
<div slot="reference">
|
|
<div slot="reference">
|
|
@@ -147,13 +155,20 @@
|
|
<div class="box-min">
|
|
<div class="box-min">
|
|
<h4>完成分析类型:</h4>
|
|
<h4>完成分析类型:</h4>
|
|
<template v-if="analysisInfo && analysisInfo.analysisTypes?.length > 0">
|
|
<template v-if="analysisInfo && analysisInfo.analysisTypes?.length > 0">
|
|
- <div class="completeAssetssType">
|
|
|
|
- <el-tag
|
|
|
|
- v-for="analysis in analysisInfo.analysisTypes"
|
|
|
|
- :key="analysis.analysisTypeName"
|
|
|
|
- type="warning"
|
|
|
|
- >{{ analysis.analysisTypeName }}
|
|
|
|
- </el-tag>
|
|
|
|
|
|
+ <div
|
|
|
|
+ class="analysisTypes"
|
|
|
|
+ v-for="analysis in analysisInfo.analysisTypes"
|
|
|
|
+ :key="analysis.id"
|
|
|
|
+ >
|
|
|
|
+ <h6>{{ analysis.typeName }}:</h6>
|
|
|
|
+ <div class="completeAssetssType">
|
|
|
|
+ <el-tag
|
|
|
|
+ v-for="analysisChild in analysis.children"
|
|
|
|
+ :key="analysisChild.id"
|
|
|
|
+ type="warning"
|
|
|
|
+ >{{ analysisChild.typeName }}
|
|
|
|
+ </el-tag>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -166,6 +181,7 @@
|
|
import Map from "../map/index.vue";
|
|
import Map from "../map/index.vue";
|
|
import { getFieldInfo } from "@/api/overview";
|
|
import { getFieldInfo } from "@/api/overview";
|
|
import { getWindEngineGroup } from "@/api/ledger";
|
|
import { getWindEngineGroup } from "@/api/ledger";
|
|
|
|
+import { aW } from "plotly.js-dist";
|
|
export default {
|
|
export default {
|
|
name: "AnalysisInformation",
|
|
name: "AnalysisInformation",
|
|
components: {
|
|
components: {
|
|
@@ -189,6 +205,7 @@ export default {
|
|
data: [
|
|
data: [
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
],
|
|
],
|
|
|
|
+ windDetail: {},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -212,6 +229,16 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ //获取风机信息
|
|
|
|
+ async getEngineInfo(engineCode) {
|
|
|
|
+ console.log(engineCode, "engineCode");
|
|
|
|
+ await getWindEngineGroup({ engineCode }).then((res) => {
|
|
|
|
+ console.log(res, "res");
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ this.windDetail = res.data;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
async getWindEngList() {
|
|
async getWindEngList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
try {
|
|
try {
|
|
@@ -289,7 +316,14 @@ export default {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
- .completeAssetssType {
|
|
|
|
|
|
+ ::v-deep .analysisTypes {
|
|
|
|
+ h6 {
|
|
|
|
+ font-weight: 500 !important;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ margin: 5px 0;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .analysisTypes:last-child {
|
|
margin-bottom: 50px;
|
|
margin-bottom: 50px;
|
|
}
|
|
}
|
|
}
|
|
}
|