|
@@ -287,11 +287,6 @@ export default {
|
|
|
getEquipments(eType) {
|
|
|
var url = '/weatherStationInfos'
|
|
|
this.displayConfig.displayCode = 'weatherStationEnvironmental'
|
|
|
- // 枚举类型E1光伏 E2风电
|
|
|
- if (eType == 'E2') {
|
|
|
- url = '/windTowerInfos'
|
|
|
- this.displayConfig.displayCode = 'windTowerEnvironmental'
|
|
|
- }
|
|
|
this.$axios.get(url).then((res) => {
|
|
|
this.equipments = res.data
|
|
|
if (res.data != null && res.data.length > 0) {
|
|
@@ -484,6 +479,7 @@ export default {
|
|
|
for (var j = 0; j < this.lists.length; j++) {
|
|
|
this.displayConfig.showCode += this.lists[j].value + ','
|
|
|
}
|
|
|
+ console.log(this.displayConfig)
|
|
|
this.$axios.post('displayConfig/', this.displayConfig).then((res) => {
|
|
|
this.displayConfig = res.data
|
|
|
this.$message.success('展示设置成功')
|