|
@@ -22,17 +22,6 @@
|
|
|
</el-date-picker>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <span class="timeText">设备编号</span>
|
|
|
- <el-select v-model="equipmentId" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in equipments"
|
|
|
- :key="item.id"
|
|
|
- :label="item.name"
|
|
|
- :value="item.id">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
<span class="timeText">间隔时间</span>
|
|
|
<el-select v-model="jgTime" placeholder="请选择" @change="changeJgTime">
|
|
|
<el-option
|
|
@@ -59,56 +48,10 @@
|
|
|
<div class="toolbar" v-show="this.showToolBar">
|
|
|
<vxe-toolbar ref="nwpToolBar" custom></vxe-toolbar>
|
|
|
</div>
|
|
|
- <div class="timeQuery">
|
|
|
- <el-button size="small" :loading="loading" @click="dialogVisible = true">显示设置</el-button>
|
|
|
- </div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
- <el-dialog
|
|
|
- title="选择数据类型"
|
|
|
- :visible.sync="dialogVisible"
|
|
|
- :before-close="this.cancelDisplay"
|
|
|
- width="50%">
|
|
|
- <div class="drag-box-item">
|
|
|
- <div class="item-title">隐藏</div>
|
|
|
-
|
|
|
- <draggable class="list-group" :list="listh" group="people" @change="log">
|
|
|
- <transition-group id="done" tag="div" class="item-ul">
|
|
|
- <div
|
|
|
- v-for="(element, index) in listh"
|
|
|
- :key="element.value"
|
|
|
- class="drag-list"
|
|
|
- >
|
|
|
- {{ element.key }}
|
|
|
- </div>
|
|
|
- </transition-group>
|
|
|
- </draggable>
|
|
|
-
|
|
|
- </div>
|
|
|
- <div class="drag-box-item">
|
|
|
- <div class="item-title">展示</div>
|
|
|
-
|
|
|
- <draggable class="list-group" :list="lists" group="people" @change="log">
|
|
|
- <transition-group id="wdtodo" tag="div" class="item-ul">
|
|
|
- <div
|
|
|
- v-for="(element, index) in lists"
|
|
|
- :key="element.value"
|
|
|
- class="drag-list"
|
|
|
- >
|
|
|
- {{ element.key }}
|
|
|
- </div>
|
|
|
- </transition-group>
|
|
|
- </draggable>
|
|
|
- </div>
|
|
|
- <span slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="this.initShow" style="color: #3d1f25">初始化</el-button>
|
|
|
- <el-button @click="this.cancelDisplay" style="color: #1f2d3d">取 消</el-button>
|
|
|
- <el-button type="primary" style="color: #1f2d3d" @click="this.changeDisplay">确 定</el-button>
|
|
|
- </span>
|
|
|
- </el-dialog>
|
|
|
-
|
|
|
<div class="content">
|
|
|
<el-tabs type="card" v-model="activeName" @tab-click="Byresize">
|
|
|
<el-tab-pane label="图表" name="first">
|
|
@@ -271,32 +214,30 @@ export default {
|
|
|
},
|
|
|
downloadFile(name){
|
|
|
const formData = new FormData();
|
|
|
- formData.append('path', "/home/syjy/ipfcstV3/reportForm")
|
|
|
- //formData.append('path', "/Users/wanghongchen")
|
|
|
- formData.append('name', name)
|
|
|
- formData.append('type', "")
|
|
|
- this.$axios({ // 用axios发送post请求
|
|
|
- method: 'post',
|
|
|
- url: '/downLoadFile', // 请求地址
|
|
|
- data: formData, // 参数
|
|
|
- responseType: 'blob', // 表明返回服务器返回的数据类型
|
|
|
- headers: {
|
|
|
- 'Content-Type': 'application/json'
|
|
|
- }
|
|
|
- }).then(res => { // 处理返回的文件流
|
|
|
- this.tableLoading = false
|
|
|
- if (res && res.code === 0) {
|
|
|
- this.$message.error('下载失败!')
|
|
|
- }
|
|
|
- })
|
|
|
+ formData.append('path', "/home/syjy/ipfcstV3/reportForm")
|
|
|
+ //formData.append('path', "/Users/wanghongchen")
|
|
|
+ formData.append('name', name)
|
|
|
+ formData.append('type', "")
|
|
|
+ this.$axios({ // 用axios发送post请求
|
|
|
+ method: 'post',
|
|
|
+ url: '/downLoadFile', // 请求地址
|
|
|
+ data: formData, // 参数
|
|
|
+ responseType: 'blob', // 表明返回服务器返回的数据类型
|
|
|
+ headers: {
|
|
|
+ 'Content-Type': 'application/json'
|
|
|
+ }
|
|
|
+ }).then(res => { // 处理返回的文件流
|
|
|
+ this.tableLoading = false
|
|
|
+ if (res && res.code === 0) {
|
|
|
+ this.$message.error('下载失败!')
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
exportDataEvent() {
|
|
|
this.loading = true
|
|
|
const formData = new FormData()
|
|
|
formData.append("startTime",this.startTime)
|
|
|
formData.append("endTime",this.endTime)
|
|
|
- formData.append("no",this.equipmentId)
|
|
|
- formData.append("otherType",this.electricField.electricFieldTypeEnum)
|
|
|
formData.append("jgTime",this.jgTime)
|
|
|
formData.append("base64",this.base64)
|
|
|
//this.$axios.get('ComprehensiveContrastExports/' + this.startTime + '/' + this.endTime + '/' + this.equipmentId + '/' + this.electricField.electricFieldTypeEnum + '/' + this.jgTime+ '/' +this.base64+ '/' +this.width+ '/' +this.height, {
|
|
@@ -373,110 +314,15 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getEquipments(eType) {
|
|
|
- var url = '/weatherStationInfos'
|
|
|
- this.displayConfig.displayCode = "rtWeatherStationInfos"
|
|
|
- //枚举类型E1光伏 E2风电
|
|
|
- if (eType == 'E2') {
|
|
|
- url = '/windTowerInfos'
|
|
|
- this.displayConfig.displayCode = 'rtWindTowerInfos'
|
|
|
- }
|
|
|
- this.$axios.get(url).then((res) => {
|
|
|
- this.equipments = res.data
|
|
|
- if (res.data != null && res.data.length > 0) {
|
|
|
- this.equipmentId = this.equipments[0].id
|
|
|
- this.getDisplay()
|
|
|
- } else {
|
|
|
- this.$message.warning("设备信息未维护")
|
|
|
- }
|
|
|
- }).catch((error) => {
|
|
|
- this.$message.error('查询设备信息出错' + error)
|
|
|
- })
|
|
|
+ this.displayConfig.displayCode = 'rtWindTowerInfos'
|
|
|
+ this.getDisplay()
|
|
|
},
|
|
|
initDisplay() {
|
|
|
- // this.lists = []
|
|
|
- // this.listsquery = []
|
|
|
- if (this.electricField.electricFieldTypeEnum == 'E1') {
|
|
|
- this.lists.push({key: '总辐射(W/㎡)', value: 'globalR'})
|
|
|
- this.listh.push({key: '直辐射(W/㎡)', value: 'directR'})
|
|
|
- this.listh.push({key: '散辐射(W/㎡)', value: 'diffuseR'})
|
|
|
- this.listh.push({key: '斜辐射(W/㎡)', value: 'obliqueR'})
|
|
|
-
|
|
|
- this.lists.push({key: 'nwp辐射(W/㎡)', value: 'swr'})
|
|
|
- this.listh.push({key: 'nwp直辐射(W/㎡)', value: 'directRadiation'})
|
|
|
- this.listh.push({key: 'nwp散辐射(W/㎡)', value: 'diffuseRadiation'})
|
|
|
-
|
|
|
- this.lists.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
- this.lists.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
- this.lists.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
-
|
|
|
- this.listsquery.push({key: '总辐射(W/㎡)', value: 'globalR'})
|
|
|
- this.listhquery.push({key: '直辐射(W/㎡)', value: 'directR'})
|
|
|
- this.listhquery.push({key: '散辐射(W/㎡)', value: 'diffuseR'})
|
|
|
- this.listhquery.push({key: '斜辐射(W/㎡)', value: 'obliqueR'})
|
|
|
-
|
|
|
- this.listsquery.push({key: 'nwp辐射(W/㎡)', value: 'swr'})
|
|
|
- this.listhquery.push({key: 'nwp直辐射(W/㎡)', value: 'directRadiation'})
|
|
|
- this.listhquery.push({key: 'nwp散辐射(W/㎡)', value: 'diffuseRadiation'})
|
|
|
-
|
|
|
- this.listsquery.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
- this.listsquery.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
- this.listsquery.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
- this.changeDisplay()
|
|
|
- } else {
|
|
|
- this.lists.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
- this.lists.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
- this.lists.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
-
|
|
|
- this.lists.push({key: '10米风速(m/s)', value: 'wsInst10'})
|
|
|
- this.listh.push({key: '30米风速(m/s)', value: 'wsInst30'})
|
|
|
- this.listh.push({key: '50米风速(m/s)', value: 'wsInst50'})
|
|
|
- this.listh.push({key: '60米风速(m/s)', value: 'wsInst60'})
|
|
|
- this.listh.push({key: '70米风速(m/s)', value: 'wsInst70'})
|
|
|
- this.listh.push({key: '80米风速(m/s)', value: 'wsInst80'})
|
|
|
- this.listh.push({key: '90米风速(m/s)', value: 'wsInst90'})
|
|
|
- this.listh.push({key: '100米风速(m/s)', value: 'wsInst100'})
|
|
|
- this.listh.push({key: '110米风速(m/s)', value: 'wsInst110'})
|
|
|
- this.listh.push({key: '120米风速(m/s)', value: 'wsInst120'})
|
|
|
- this.listh.push({key: '轮毂风速(m/s)', value: 'wsInstHubHeight'})
|
|
|
-
|
|
|
- this.lists.push({key: this.columns.ws10, value: 'ws10'})
|
|
|
- this.listh.push({key: this.columns.ws30, value: 'ws30'})
|
|
|
- this.listh.push({key: this.columns.ws50, value: 'ws50'})
|
|
|
- this.listh.push({key: this.columns.ws70, value: 'ws70'})
|
|
|
- this.listh.push({key: this.columns.ws80, value: 'ws80'})
|
|
|
- this.listh.push({key: this.columns.ws90, value: 'ws90'})
|
|
|
- this.listh.push({key: this.columns.ws100, value: 'ws100'})
|
|
|
- this.listh.push({key: this.columns.ws170, value: 'ws170'})
|
|
|
-
|
|
|
-
|
|
|
- this.listsquery.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
- this.listsquery.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
- this.listsquery.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
-
|
|
|
- this.listsquery.push({key: '10米风速(m/s)', value: 'wsInst10'})
|
|
|
- this.listhquery.push({key: '30米风速(m/s)', value: 'wsInst30'})
|
|
|
- this.listhquery.push({key: '50米风速(m/s)', value: 'wsInst50'})
|
|
|
- this.listhquery.push({key: '60米风速(m/s)', value: 'wsInst60'})
|
|
|
- this.listhquery.push({key: '70米风速(m/s)', value: 'wsInst70'})
|
|
|
- this.listhquery.push({key: '80米风速(m/s)', value: 'wsInst80'})
|
|
|
- this.listhquery.push({key: '90米风速(m/s)', value: 'wsInst90'})
|
|
|
- this.listhquery.push({key: '100米风速(m/s)', value: 'wsInst100'})
|
|
|
- this.listhquery.push({key: '110米风速(m/s)', value: 'wsInst110'})
|
|
|
- this.listhquery.push({key: '120米风速(m/s)', value: 'wsInst120'})
|
|
|
- this.listhquery.push({key: '轮毂风速(m/s)', value: 'wsInstHubHeight'})
|
|
|
-
|
|
|
-
|
|
|
- this.listsquery.push({key: this.columns.ws10, value: 'ws10'})
|
|
|
- this.listhquery.push({key: this.columns.ws30, value: 'ws30'})
|
|
|
- this.listhquery.push({key: this.columns.ws50, value: 'ws50'})
|
|
|
- this.listhquery.push({key: this.columns.ws70, value: 'ws70'})
|
|
|
- this.listhquery.push({key: this.columns.ws80, value: 'ws80'})
|
|
|
- this.listhquery.push({key: this.columns.ws90, value: 'ws90'})
|
|
|
- this.listhquery.push({key: this.columns.ws100, value: 'ws100'})
|
|
|
- this.listhquery.push({key: this.columns.ws170, value: 'ws170'})
|
|
|
-
|
|
|
- this.changeDisplay()
|
|
|
- }
|
|
|
+ this.lists.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
+ this.lists.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
+ this.listsquery.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
+ this.listsquery.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
+ this.changeDisplay()
|
|
|
},
|
|
|
getDisplay() {
|
|
|
this.$axios.get('displayConfig/' + this.displayConfig.displayCode).then((res) => {
|
|
@@ -488,110 +334,6 @@ export default {
|
|
|
var hiddenlist = this.displayConfig.hiddenCode.split(',')
|
|
|
for (var i = 0; i < showlist.length; i++) {
|
|
|
switch (showlist[i]) {
|
|
|
- case 'globalR':
|
|
|
- this.lists.push({key: '总辐射(W/㎡)', value: 'globalR'})
|
|
|
- this.listsquery.push({key: '总辐射(W/㎡)', value: 'globalR'})
|
|
|
- break;
|
|
|
- case 'directR':
|
|
|
- this.lists.push({key: '直辐射(W/㎡)', value: 'directR'})
|
|
|
- this.listsquery.push({key: '直辐射(W/㎡)', value: 'directR'})
|
|
|
- break;
|
|
|
- case 'diffuseR':
|
|
|
- this.lists.push({key: '散辐射(W/㎡)', value: 'diffuseR'})
|
|
|
- this.listsquery.push({key: '散辐射(W/㎡)', value: 'diffuseR'})
|
|
|
- break;
|
|
|
- case 'obliqueR':
|
|
|
- this.lists.push({key: '斜辐射(W/㎡)', value: 'obliqueR'})
|
|
|
- this.listsquery.push({key: '斜辐射(W/㎡)', value: 'obliqueR'})
|
|
|
- break;
|
|
|
- case 'wsInst10':
|
|
|
- this.lists.push({key: '10米风速(m/s)', value: 'wsInst10'})
|
|
|
- this.listsquery.push({key: '10米风速(m/s)', value: 'wsInst10'})
|
|
|
- break;
|
|
|
- case 'wsInst30':
|
|
|
- this.lists.push({key: '30米风速(m/s)', value: 'wsInst30'})
|
|
|
- this.listsquery.push({key: '30米风速(m/s)', value: 'wsInst30'})
|
|
|
- break;
|
|
|
- case 'wsInst50':
|
|
|
- this.lists.push({key: '50米风速(m/s)', value: 'wsInst50'})
|
|
|
- this.listsquery.push({key: '50米风速(m/s)', value: 'wsInst50'})
|
|
|
- break;
|
|
|
- case 'wsInst60':
|
|
|
- this.lists.push({key: '60米风速(m/s)', value: 'wsInst60'})
|
|
|
- this.listsquery.push({key: '60米风速(m/s)', value: 'wsInst60'})
|
|
|
- break;
|
|
|
- case 'wsInst70':
|
|
|
- this.lists.push({key: '70米风速(m/s)', value: 'wsInst70'})
|
|
|
- this.listsquery.push({key: '70米风速(m/s)', value: 'wsInst70'})
|
|
|
- break;
|
|
|
- case 'wsInst80':
|
|
|
- this.lists.push({key: '80米风速(m/s)', value: 'wsInst80'})
|
|
|
- this.listsquery.push({key: '80米风速(m/s)', value: 'wsInst80'})
|
|
|
- break;
|
|
|
- case 'wsInst90':
|
|
|
- this.lists.push({key: '90米风速(m/s)', value: 'wsInst90'})
|
|
|
- this.listsquery.push({key: '90米风速(m/s)', value: 'wsInst90'})
|
|
|
- break;
|
|
|
- case 'wsInst100':
|
|
|
- this.lists.push({key: '100米风速(m/s)', value: 'wsInst100'})
|
|
|
- this.listsquery.push({key: '100米风速(m/s)', value: 'wsInst100'})
|
|
|
- break;
|
|
|
- case 'wsInst110':
|
|
|
- this.lists.push({key: '110米风速(m/s)', value: 'wsInst110'})
|
|
|
- this.listsquery.push({key: '110米风速(m/s)', value: 'wsInst110'})
|
|
|
- break;
|
|
|
- case 'wsInst120':
|
|
|
- this.lists.push({key: '120米风速(m/s)', value: 'wsInst120'})
|
|
|
- this.listsquery.push({key: '120米风速(m/s)', value: 'wsInst120'})
|
|
|
- break;
|
|
|
- case 'wsInstHubHeight':
|
|
|
- this.lists.push({key: '轮毂风速(m/s)', value: 'wsInstHubHeight'})
|
|
|
- this.listsquery.push({key: '轮毂风速(m/s)', value: 'wsInstHubHeight'})
|
|
|
- break;
|
|
|
- case 'ws10':
|
|
|
- this.lists.push({key: this.columns.ws10, value: 'ws10'})
|
|
|
- this.listsquery.push({key: this.columns.ws10, value: 'ws10'})
|
|
|
- break;
|
|
|
- case 'ws30':
|
|
|
- this.lists.push({key: this.columns.ws30, value: 'ws30'})
|
|
|
- this.listsquery.push({key: this.columns.ws30, value: 'ws30'})
|
|
|
- break;
|
|
|
- case 'ws50':
|
|
|
- this.lists.push({key: this.columns.ws50, value: 'ws50'})
|
|
|
- this.listsquery.push({key: this.columns.ws50, value: 'ws50'})
|
|
|
- break;
|
|
|
- case 'ws70':
|
|
|
- this.lists.push({key: this.columns.ws70, value: 'ws70'})
|
|
|
- this.listsquery.push({key: this.columns.ws70, value: 'ws70'})
|
|
|
- break;
|
|
|
- case 'ws80':
|
|
|
- this.lists.push({key: this.columns.ws80, value: 'ws80'})
|
|
|
- this.listsquery.push({key: this.columns.ws80, value: 'ws80'})
|
|
|
- break;
|
|
|
- case 'ws90':
|
|
|
- this.lists.push({key: this.columns.ws90, value: 'ws90'})
|
|
|
- this.listsquery.push({key: this.columns.ws90, value: 'ws90'})
|
|
|
- break;
|
|
|
- case 'ws100':
|
|
|
- this.lists.push({key: this.columns.ws100, value: 'ws100'})
|
|
|
- this.listsquery.push({key: this.columns.ws100, value: 'ws100'})
|
|
|
- break;
|
|
|
- case 'ws170':
|
|
|
- this.lists.push({key: this.columns.ws170, value: 'ws170'})
|
|
|
- this.listsquery.push({key: this.columns.ws170, value: 'ws170'})
|
|
|
- break;
|
|
|
- case 'swr':
|
|
|
- this.lists.push({key: 'nwp辐射(W/㎡)', value: 'swr'})
|
|
|
- this.listsquery.push({key: 'nwp辐射(W/㎡)', value: 'swr'})
|
|
|
- break;
|
|
|
- case 'directRadiation':
|
|
|
- this.lists.push({key: 'nwp直辐射(W/㎡)', value: 'directRadiation'})
|
|
|
- this.listsquery.push({key: 'nwp直辐射(W/㎡)', value: 'directRadiation'})
|
|
|
- break;
|
|
|
- case 'diffuseRadiation':
|
|
|
- this.lists.push({key: 'nwp散辐射(W/㎡)', value: 'diffuseRadiation'})
|
|
|
- this.listsquery.push({key: 'nwp散辐射(W/㎡)', value: 'diffuseRadiation'})
|
|
|
- break;
|
|
|
case 'realValue':
|
|
|
this.lists.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
this.listsquery.push({key:'实际功率(MW)',value:'realValue'})
|
|
@@ -600,119 +342,10 @@ export default {
|
|
|
this.lists.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
this.listsquery.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
break;
|
|
|
- case 'rCdq':
|
|
|
- this.lists.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
- this.listsquery.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
- break;
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
for (var i = 0; i < hiddenlist.length; i++) {
|
|
|
switch (hiddenlist[i]) {
|
|
|
- case 'globalR':
|
|
|
- this.listh.push({key: '总辐射(W/㎡)', value: 'globalR'})
|
|
|
- this.listhquery.push({key: '总辐射(W/㎡)', value: 'globalR'})
|
|
|
- break;
|
|
|
- case 'directR':
|
|
|
- this.listh.push({key: '直辐射(W/㎡)', value: 'directR'})
|
|
|
- this.listhquery.push({key: '直辐射(W/㎡)', value: 'directR'})
|
|
|
- break;
|
|
|
- case 'diffuseR':
|
|
|
- this.listh.push({key: '散辐射(W/㎡)', value: 'diffuseR'})
|
|
|
- this.listhquery.push({key: '散辐射(W/㎡)', value: 'diffuseR'})
|
|
|
- break;
|
|
|
- case 'obliqueR':
|
|
|
- this.listh.push({key: '斜辐射(W/㎡)', value: 'obliqueR'})
|
|
|
- this.listhquery.push({key: '斜辐射(W/㎡)', value: 'obliqueR'})
|
|
|
- break;
|
|
|
- case 'wsInst10':
|
|
|
- this.listh.push({key: '10米风速(m/s)', value: 'wsInst10'})
|
|
|
- this.listhquery.push({key: '10米风速(m/s)', value: 'wsInst10'})
|
|
|
- break;
|
|
|
- case 'wsInst30':
|
|
|
- this.listh.push({key: '30米风速(m/s)', value: 'wsInst30'})
|
|
|
- this.listhquery.push({key: '30米风速(m/s)', value: 'wsInst30'})
|
|
|
- break;
|
|
|
- case 'wsInst50':
|
|
|
- this.listh.push({key: '50米风速(m/s)', value: 'wsInst50'})
|
|
|
- this.listhquery.push({key: '50米风速(m/s)', value: 'wsInst50'})
|
|
|
- break;
|
|
|
- case 'wsInst60':
|
|
|
- this.listh.push({key: '60米风速(m/s)', value: 'wsInst60'})
|
|
|
- this.listhquery.push({key: '60米风速(m/s)', value: 'wsInst60'})
|
|
|
- break;
|
|
|
- case 'wsInst70':
|
|
|
- this.listh.push({key: '70米风速(m/s)', value: 'wsInst70'})
|
|
|
- this.listhquery.push({key: '70米风速(m/s)', value: 'wsInst70'})
|
|
|
- break;
|
|
|
- case 'wsInst80':
|
|
|
- this.listh.push({key: '80米风速(m/s)', value: 'wsInst80'})
|
|
|
- this.listhquery.push({key: '80米风速(m/s)', value: 'wsInst80'})
|
|
|
- break;
|
|
|
- case 'wsInst90':
|
|
|
- this.listh.push({key: '90米风速(m/s)', value: 'wsInst90'})
|
|
|
- this.listhquery.push({key: '90米风速(m/s)', value: 'wsInst90'})
|
|
|
- break;
|
|
|
- case 'wsInst100':
|
|
|
- this.listh.push({key: '100米风速(m/s)', value: 'wsInst100'})
|
|
|
- this.listhquery.push({key: '100米风速(m/s)', value: 'wsInst100'})
|
|
|
- break;
|
|
|
- case 'wsInst110':
|
|
|
- this.listh.push({key: '110米风速(m/s)', value: 'wsInst110'})
|
|
|
- this.listhquery.push({key: '110米风速(m/s)', value: 'wsInst110'})
|
|
|
- break;
|
|
|
- case 'wsInst120':
|
|
|
- this.listh.push({key: '120米风速(m/s)', value: 'wsInst120'})
|
|
|
- this.listhquery.push({key: '120米风速(m/s)', value: 'wsInst120'})
|
|
|
- break;
|
|
|
- case 'wsInstHubHeight':
|
|
|
- this.listh.push({key: '轮毂风速(m/s)', value: 'wsInstHubHeight'})
|
|
|
- this.listhquery.push({key: '轮毂风速(m/s)', value: 'wsInstHubHeight'})
|
|
|
- break;
|
|
|
- case 'ws10':
|
|
|
- this.listh.push({key: this.columns.ws10, value: 'ws10'})
|
|
|
- this.listhquery.push({key: this.columns.ws10, value: 'ws10'})
|
|
|
- break;
|
|
|
- case 'ws30':
|
|
|
- this.listh.push({key: this.columns.ws30, value: 'ws30'})
|
|
|
- this.listhquery.push({key: this.columns.ws30, value: 'ws30'})
|
|
|
- break;
|
|
|
- case 'ws50':
|
|
|
- this.listh.push({key: this.columns.ws50, value: 'ws50'})
|
|
|
- this.listhquery.push({key: this.columns.ws50, value: 'ws50'})
|
|
|
- break;
|
|
|
- case 'ws70':
|
|
|
- this.listh.push({key: this.columns.ws70, value: 'ws70'})
|
|
|
- this.listhquery.push({key: this.columns.ws70, value: 'ws70'})
|
|
|
- break;
|
|
|
- case 'ws80':
|
|
|
- this.listh.push({key: this.columns.ws80, value: 'ws80'})
|
|
|
- this.listhquery.push({key: this.columns.ws80, value: 'ws80'})
|
|
|
- break;
|
|
|
- case 'ws90':
|
|
|
- this.listh.push({key: this.columns.ws90, value: 'ws90'})
|
|
|
- this.listhquery.push({key: this.columns.ws90, value: 'ws90'})
|
|
|
- break;
|
|
|
- case 'ws100':
|
|
|
- this.listh.push({key: this.columns.ws100, value: 'ws100'})
|
|
|
- this.listhquery.push({key: this.columns.ws100, value: 'ws100'})
|
|
|
- break;
|
|
|
- case 'ws170':
|
|
|
- this.listh.push({key: this.columns.ws170, value: 'ws170'})
|
|
|
- this.listhquery.push({key: this.columns.ws170, value: 'ws170'})
|
|
|
- break;
|
|
|
- case 'swr':
|
|
|
- this.listh.push({key: 'nwp辐射(W/㎡)', value: 'swr'})
|
|
|
- this.listhquery.push({key: 'nwp辐射(W/㎡)', value: 'swr'})
|
|
|
- break;
|
|
|
- case 'directRadiation':
|
|
|
- this.listh.push({key: 'nwp直辐射(W/㎡)', value: 'directRadiation'})
|
|
|
- this.listhquery.push({key: 'nwp直辐射(W/㎡)', value: 'directRadiation'})
|
|
|
- break;
|
|
|
- case 'diffuseRadiation':
|
|
|
- this.listh.push({key: 'nwp散辐射(W/㎡)', value: 'diffuseRadiation'})
|
|
|
- this.listhquery.push({key: 'nwp散辐射(W/㎡)', value: 'diffuseRadiation'})
|
|
|
- break;
|
|
|
case 'realValue':
|
|
|
this.lists.push({key:'实际功率(MW)',value:'realValue'})
|
|
|
this.listsquery.push({key:'实际功率(MW)',value:'realValue'})
|
|
@@ -721,10 +354,6 @@ export default {
|
|
|
this.listh.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
this.listhquery.push({key: '实时短期(MW)', value: 'rDq'})
|
|
|
break;
|
|
|
- case 'rCdq':
|
|
|
- this.listh.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
- this.listhquery.push({key: '实时超短期(MW)', value: 'rCdq'})
|
|
|
- break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -785,7 +414,7 @@ export default {
|
|
|
if (isNaN(this.nwpAgo)) {
|
|
|
this.nwpAgo = 1
|
|
|
}
|
|
|
- this.$axios.get('realTimeComprehensiveContrast/' + startTime + '/' + endTime + '/' + this.equipmentId + '/' + this.electricField.electricFieldTypeEnum + '/' + this.jgTime).then((res) => {
|
|
|
+ this.$axios.get('realTimeComprehensiveContrast/' + startTime + '/' + endTime + '/' + this.jgTime).then((res) => {
|
|
|
|
|
|
this.tableColumn = [
|
|
|
{ field: 'times', title: '时间', width:200},
|
|
@@ -795,52 +424,12 @@ export default {
|
|
|
var colunm = {
|
|
|
field:this.listsquery[i].value , title: this.listsquery[i].key
|
|
|
}
|
|
|
-
|
|
|
this.tableColumn.push(colunm)
|
|
|
- if(this.listsquery[i].value == 'realValue'&&res.data.displayKyLl=="1"){
|
|
|
- this.tableColumn.push({ field: 'ableValue', title: '可用功率' })
|
|
|
- this.tableColumn.push({ field: 'theoryValue', title: '理论功率' })
|
|
|
- this.tableColumn.push({ field: 'referencePowerBySample', title: '参照功率(样板机)' })
|
|
|
- this.tableColumn.push({ field: 'referencePowerByMeasuring', title: '参照功率(测风、测光)' })
|
|
|
- }
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
this.drawData = {
|
|
|
times: [],
|
|
|
realValue: [],
|
|
|
- ableValue: [],
|
|
|
- referencePowerBySample: [],
|
|
|
- referencePowerByMeasuring: [],
|
|
|
- theoryValue: [],
|
|
|
rDq: [],
|
|
|
- rCdq: [],
|
|
|
- directR: [],
|
|
|
- diffuseR: [],
|
|
|
- globalR: [],
|
|
|
- obliqueR: [],
|
|
|
- wsInst10: [],
|
|
|
- wsInst30: [],
|
|
|
- wsInst50: [],
|
|
|
- wsInst60: [],
|
|
|
- wsInst70: [],
|
|
|
- wsInst80: [],
|
|
|
- wsInst90: [],
|
|
|
- wsInst100: [],
|
|
|
- wsInst110: [],
|
|
|
- wsInst120: [],
|
|
|
- wsInstHubHeight: [],
|
|
|
- ws10: [],
|
|
|
- ws30: [],
|
|
|
- ws50: [],
|
|
|
- ws70: [],
|
|
|
- ws80: [],
|
|
|
- ws90: [],
|
|
|
- ws100: [],
|
|
|
- ws170: [],
|
|
|
- swr: [],
|
|
|
- directRadiation: [],
|
|
|
- diffuseRadiation: [],
|
|
|
electricField: this.electricField,
|
|
|
columns: this.columns
|
|
|
}
|
|
@@ -859,138 +448,12 @@ export default {
|
|
|
this.drawData.realValue.push(data[i].realValue)
|
|
|
object.realValue = data[i].realValue;
|
|
|
}
|
|
|
- if (data[i].ableValue != undefined) {
|
|
|
- this.drawData.ableValue.push(data[i].ableValue)
|
|
|
- object.ableValue = data[i].ableValue;
|
|
|
- }
|
|
|
- if (data[i].theoryValue != undefined) {
|
|
|
- this.drawData.theoryValue.push(data[i].theoryValue)
|
|
|
- object.theoryValue = data[i].theoryValue;
|
|
|
- }
|
|
|
- if (data[i].referencePowerBySample != undefined) {
|
|
|
- this.drawData.referencePowerBySample.push(data[i].referencePowerBySample)
|
|
|
- object.referencePowerBySample = data[i].referencePowerBySample;
|
|
|
- }
|
|
|
- if (data[i].referencePowerByMeasuring != undefined) {
|
|
|
- this.drawData.referencePowerByMeasuring.push(data[i].referencePowerByMeasuring)
|
|
|
- object.referencePowerByMeasuring = data[i].referencePowerByMeasuring;
|
|
|
- }
|
|
|
|
|
|
if (data[i].rDq != undefined) {
|
|
|
this.drawData.rDq.push(data[i].rDq)
|
|
|
object.rDq = data[i].rDq;
|
|
|
}
|
|
|
- if (data[i].rCdq != undefined) {
|
|
|
- this.drawData.rCdq.push(data[i].rCdq)
|
|
|
- object.rCdq = data[i].rCdq;
|
|
|
- }
|
|
|
|
|
|
- // }
|
|
|
- // for(let i = 0;i<data1.length;i++){
|
|
|
- if (data1[i].directR != undefined) {
|
|
|
- this.drawData.directR.push(data1[i].directR)
|
|
|
- object.directR = data1[i].directR;
|
|
|
- }
|
|
|
- if (data1[i].diffuseR != undefined) {
|
|
|
- this.drawData.diffuseR.push(data1[i].diffuseR)
|
|
|
- object.diffuseR = data1[i].diffuseR;
|
|
|
- }
|
|
|
- if (data1[i].globalR != undefined) {
|
|
|
- this.drawData.globalR.push(data1[i].globalR)
|
|
|
- object.globalR = data1[i].globalR;
|
|
|
- }
|
|
|
- if (data1[i].obliqueR != undefined) {
|
|
|
- this.drawData.obliqueR.push(data1[i].obliqueR)
|
|
|
- object.obliqueR = data1[i].obliqueR;
|
|
|
- }
|
|
|
- if (data1[i].wsInst10 != undefined) {
|
|
|
- this.drawData.wsInst10.push(data1[i].wsInst10)
|
|
|
- object.wsInst10 = data1[i].wsInst10;
|
|
|
- }
|
|
|
- if (data1[i].wsInst30 != undefined) {
|
|
|
- this.drawData.wsInst30.push(data1[i].wsInst30)
|
|
|
- object.wsInst30 = data1[i].wsInst30;
|
|
|
- }
|
|
|
- if (data1[i].wsInst50 != undefined) {
|
|
|
- this.drawData.wsInst50.push(data1[i].wsInst50)
|
|
|
- object.wsInst50 = data1[i].wsInst50;
|
|
|
- }
|
|
|
- if (data1[i].wsInst60 != undefined) {
|
|
|
- this.drawData.wsInst60.push(data1[i].wsInst60)
|
|
|
- object.wsInst60 = data1[i].wsInst60;
|
|
|
- }
|
|
|
- if (data1[i].wsInst70 != undefined) {
|
|
|
- this.drawData.wsInst70.push(data1[i].wsInst70)
|
|
|
- object.wsInst70 = data1[i].wsInst70;
|
|
|
- }
|
|
|
- if (data1[i].wsInst80 != undefined) {
|
|
|
- this.drawData.wsInst80.push(data1[i].wsInst80)
|
|
|
- object.wsInst80 = data1[i].wsInst80;
|
|
|
- }
|
|
|
- if (data1[i].wsInst90 != undefined) {
|
|
|
- this.drawData.wsInst90.push(data1[i].wsInst90)
|
|
|
- object.wsInst90 = data1[i].wsInst90;
|
|
|
- }
|
|
|
- if (data1[i].wsInst100 != undefined) {
|
|
|
- this.drawData.wsInst100.push(data1[i].wsInst100)
|
|
|
- object.wsInst100 = data1[i].wsInst100;
|
|
|
- }
|
|
|
- if (data1[i].wsInst110 != undefined) {
|
|
|
- this.drawData.wsInst110.push(data1[i].wsInst110)
|
|
|
- object.wsInst110 = data1[i].wsInst110;
|
|
|
- }
|
|
|
- if (data1[i].wsInst120 != undefined) {
|
|
|
- this.drawData.wsInst120.push(data1[i].wsInst120)
|
|
|
- object.wsInst120 = data1[i].wsInst120;
|
|
|
- }
|
|
|
- if (data1[i].wsInstHubHeight != undefined) {
|
|
|
- this.drawData.wsInstHubHeight.push(data1[i].wsInstHubHeight)
|
|
|
- object.wsInstHubHeight = data1[i].wsInstHubHeight;
|
|
|
- }
|
|
|
- if (data1[i].ws10 != undefined) {
|
|
|
- this.drawData.ws10.push(data1[i].ws10)
|
|
|
- object.ws10 = data1[i].ws10;
|
|
|
- }
|
|
|
- if (data1[i].ws30 != undefined) {
|
|
|
- this.drawData.ws30.push(data1[i].ws30)
|
|
|
- object.ws30 = data1[i].ws30;
|
|
|
- }
|
|
|
- if (data1[i].ws50 != undefined) {
|
|
|
- this.drawData.ws50.push(data1[i].ws50)
|
|
|
- object.ws50 = data1[i].ws50;
|
|
|
- }
|
|
|
- if (data1[i].ws70 != undefined) {
|
|
|
- this.drawData.ws70.push(data1[i].ws70)
|
|
|
- object.ws70 = data1[i].ws70;
|
|
|
- }
|
|
|
- if (data1[i].ws80 != undefined) {
|
|
|
- this.drawData.ws80.push(data1[i].ws80)
|
|
|
- object.ws80 = data1[i].ws80;
|
|
|
- }
|
|
|
- if (data1[i].ws90 != undefined) {
|
|
|
- this.drawData.ws90.push(data1[i].ws90)
|
|
|
- object.ws90 = data1[i].ws90;
|
|
|
- }
|
|
|
- if (data1[i].ws100 != undefined) {
|
|
|
- this.drawData.ws100.push(data1[i].ws100)
|
|
|
- object.ws100 = data1[i].ws100;
|
|
|
- }
|
|
|
- if (data1[i].ws170 != undefined) {
|
|
|
- this.drawData.ws170.push(data1[i].ws170)
|
|
|
- object.ws170 = data1[i].ws170;
|
|
|
- }
|
|
|
- if (data1[i].swr != undefined) {
|
|
|
- this.drawData.swr.push(data1[i].swr)
|
|
|
- object.swr = data1[i].swr;
|
|
|
- }
|
|
|
- if (data1[i].diffuseRadiation != undefined) {
|
|
|
- this.drawData.diffuseRadiation.push(data1[i].diffuseRadiation)
|
|
|
- object.diffuseRadiation = data1[i].diffuseRadiation;
|
|
|
- }
|
|
|
- if (data1[i].directRadiation != undefined) {
|
|
|
- this.drawData.directRadiation.push(data1[i].directRadiation)
|
|
|
- object.directRadiation = data1[i].directRadiation;
|
|
|
- }
|
|
|
|
|
|
this.tableData.push(object)
|
|
|
|
|
@@ -1132,118 +595,118 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
/*.chart-container {*/
|
|
|
- /*position: relative;*/
|
|
|
- /*width: 100%;*/
|
|
|
- /*height: calc(100vh - 50px);*/
|
|
|
+/*position: relative;*/
|
|
|
+/*width: 100%;*/
|
|
|
+/*height: calc(100vh - 50px);*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.filter {*/
|
|
|
- /*position: relative;*/
|
|
|
- /*display: flex;*/
|
|
|
- /*padding: 20px 0 10px 15px;*/
|
|
|
- /*font-size: 12px;*/
|
|
|
- /*line-height: 11px;*/
|
|
|
- /*color: white;*/
|
|
|
+/*position: relative;*/
|
|
|
+/*display: flex;*/
|
|
|
+/*padding: 20px 0 10px 15px;*/
|
|
|
+/*font-size: 12px;*/
|
|
|
+/*line-height: 11px;*/
|
|
|
+/*color: white;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*input {*/
|
|
|
- /*background: transparent;*/
|
|
|
- /*border: none;*/
|
|
|
- /*color: white;*/
|
|
|
+/*background: transparent;*/
|
|
|
+/*border: none;*/
|
|
|
+/*color: white;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.timeText {*/
|
|
|
- /*opacity: 0.69;*/
|
|
|
- /*padding-right: 7px;*/
|
|
|
- /*font-size: 14px;*/
|
|
|
+/*opacity: 0.69;*/
|
|
|
+/*padding-right: 7px;*/
|
|
|
+/*font-size: 14px;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.startTime {*/
|
|
|
- /*display: inline-block;*/
|
|
|
+/*display: inline-block;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.endTime {*/
|
|
|
- /*display: inline-block;*/
|
|
|
- /*padding-left: 42px;*/
|
|
|
+/*display: inline-block;*/
|
|
|
+/*padding-left: 42px;*/
|
|
|
/*}*/
|
|
|
|
|
|
|
|
|
/*.timeQuery {*/
|
|
|
- /*background: transparent;*/
|
|
|
+/*background: transparent;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.el-button {*/
|
|
|
- /*background: transparent;*/
|
|
|
- /*color: white;*/
|
|
|
+/*background: transparent;*/
|
|
|
+/*color: white;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.filter {*/
|
|
|
- /*width: 100%;*/
|
|
|
- /*background-color: transparent;*/
|
|
|
- /*height: 10%*/
|
|
|
+/*width: 100%;*/
|
|
|
+/*background-color: transparent;*/
|
|
|
+/*height: 10%*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.filter >>> input {*/
|
|
|
- /*background: transparent;*/
|
|
|
- /*border: none;*/
|
|
|
- /*color: white;*/
|
|
|
+/*background: transparent;*/
|
|
|
+/*border: none;*/
|
|
|
+/*color: white;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.content {*/
|
|
|
- /*width: 100%;*/
|
|
|
- /*background-color: transparent;*/
|
|
|
- /*height: 90%;*/
|
|
|
- /*padding-left: 5px;*/
|
|
|
- /*padding-right: 5px;*/
|
|
|
+/*width: 100%;*/
|
|
|
+/*background-color: transparent;*/
|
|
|
+/*height: 90%;*/
|
|
|
+/*padding-left: 5px;*/
|
|
|
+/*padding-right: 5px;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.content >>> .el-tabs__item {*/
|
|
|
- /*color: white;*/
|
|
|
+/*color: white;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.content >>> .el-tabs__item.is-active {*/
|
|
|
- /*color: #409EFF;*/
|
|
|
+/*color: #409EFF;*/
|
|
|
/*}*/
|
|
|
|
|
|
|
|
|
/*.tableContent {*/
|
|
|
- /*width: 100%;*/
|
|
|
- /*height: calc(80vh - 50px);*/
|
|
|
+/*width: 100%;*/
|
|
|
+/*height: calc(80vh - 50px);*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.tableContent >>> td {*/
|
|
|
- /*border: 1px solid #ffffff;*/
|
|
|
+/*border: 1px solid #ffffff;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.rtPageturning >>> button,*/
|
|
|
/*.rtPageturning >>> span,*/
|
|
|
/*.rtPageturning >>> input,*/
|
|
|
/*.rtPageturning >>> .vxe-pager--btn-wrapper li {*/
|
|
|
- /*background-color: transparent !important;*/
|
|
|
- /*color: #ffffff !important;*/
|
|
|
- /*border: 1px solid #ffffff;*/
|
|
|
+/*background-color: transparent !important;*/
|
|
|
+/*color: #ffffff !important;*/
|
|
|
+/*border: 1px solid #ffffff;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.rtPageturning >>> span {*/
|
|
|
- /*border: none*/
|
|
|
+/*border: none*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.rtPageturning >>> .vxe-pager--wrapper .vxe-pager--btn-wrapper li:not(.disabled).is--active {*/
|
|
|
- /*background-color: #9f9fa0 !important;*/
|
|
|
+/*background-color: #9f9fa0 !important;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.toolbar {*/
|
|
|
- /*position: absolute;*/
|
|
|
- /*right: 0px;*/
|
|
|
+/*position: absolute;*/
|
|
|
+/*right: 0px;*/
|
|
|
/*}*/
|
|
|
|
|
|
/*.toolbar >>> .vxe-button.type--button.is--circle {*/
|
|
|
- /*padding: 0 .5em;*/
|
|
|
- /*min-width: 34px;*/
|
|
|
- /*border-radius: 10%;*/
|
|
|
- /*border: none;*/
|
|
|
- /*background: transparent;*/
|
|
|
- /*color: white;*/
|
|
|
+/*padding: 0 .5em;*/
|
|
|
+/*min-width: 34px;*/
|
|
|
+/*border-radius: 10%;*/
|
|
|
+/*border: none;*/
|
|
|
+/*background: transparent;*/
|
|
|
+/*color: white;*/
|
|
|
/*}*/
|
|
|
|
|
|
.drag-box-item {
|