Browse Source

修改能源总览、系统能耗分析页面去掉系统条件,默认传参"冷源监控系统"参数"0";

gh_ers
selia-zx 2 months ago
parent
commit
5d17762698
  1. 4
      .env.development
  2. 9
      src/views/centerairC/energyAnalysis/components/energyAnalysis.vue
  3. 9
      src/views/centerairC/energyAnalysis/components/qnqAnalysis.vue
  4. 9
      src/views/centerairC/energyAnalysis/components/ynyAnalysis.vue
  5. 9
      src/views/centerairC/energyAnalysis/components/ynyQnqAnalysis.vue
  6. 12
      src/views/centerairC/overview/index.vue

4
.env.development

@ -7,9 +7,9 @@ ENV = 'development'
# 开发环境 # 开发环境
# VUE_APP_BASE_API = '/dev-api' # VUE_APP_BASE_API = '/dev-api'
# 后台 # 后台
VUE_APP_BASE_API = 'http://192.168.1.222:8080' # VUE_APP_BASE_API = 'http://192.168.1.222:8080'
# 梅州云端 # 梅州云端
# VUE_APP_BASE_API = 'http://106.55.173.225:8091' VUE_APP_BASE_API = 'http://106.55.173.225:8091'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true

9
src/views/centerairC/energyAnalysis/components/energyAnalysis.vue

@ -73,7 +73,7 @@
> >
</el-date-picker> </el-date-picker>
</div> </div>
<el-select <!-- <el-select
style="margin-left: 10px" style="margin-left: 10px"
v-model="systemType" v-model="systemType"
placeholder="请选择系统类型" placeholder="请选择系统类型"
@ -85,7 +85,7 @@
:label="dict.dictLabel" :label="dict.dictLabel"
:value="dict.dictValue" :value="dict.dictValue"
/> />
</el-select> </el-select> -->
<div class="success-btn" style="margin-left: 0.24rem"> <div class="success-btn" style="margin-left: 0.24rem">
<el-button type="success" @click="findData">查询</el-button> <el-button type="success" @click="findData">查询</el-button>
</div> </div>
@ -190,7 +190,8 @@ export default {
this.screenAdapter2(); this.screenAdapter2();
window.addEventListener("resize", this.screenAdapter2); window.addEventListener("resize", this.screenAdapter2);
window.addEventListener("resize", this.screenAdapter); window.addEventListener("resize", this.screenAdapter);
this.getDictList(); // this.getDictList();
this.getTableData();
}, },
destroyed() { destroyed() {
//mounted //mounted
@ -344,7 +345,7 @@ export default {
timeType: this.dateType, timeType: this.dateType,
startTime: this.startTime, startTime: this.startTime,
endTime: this.endTime, endTime: this.endTime,
systemType: this.systemType, systemType: "0",
}; };
console.log("查询数据参数", data); console.log("查询数据参数", data);
// this.showZoom = true // this.showZoom = true

9
src/views/centerairC/energyAnalysis/components/qnqAnalysis.vue

@ -84,7 +84,7 @@
> >
</el-date-picker> </el-date-picker>
</div> </div>
<el-select <!-- <el-select
style="margin-left: 10px" style="margin-left: 10px"
v-model="systemType" v-model="systemType"
placeholder="请选择系统类型" placeholder="请选择系统类型"
@ -96,7 +96,7 @@
:label="dict.dictLabel" :label="dict.dictLabel"
:value="dict.dictValue" :value="dict.dictValue"
/> />
</el-select> </el-select> -->
<div class="success-btn" style="margin-left: 0.24rem"> <div class="success-btn" style="margin-left: 0.24rem">
<el-button type="success" @click="findData">查询</el-button> <el-button type="success" @click="findData">查询</el-button>
</div> </div>
@ -190,7 +190,8 @@ export default {
this.initChart1(); this.initChart1();
window.addEventListener("resize", this.screenAdapter); window.addEventListener("resize", this.screenAdapter);
this.screenAdapter(); this.screenAdapter();
this.getDictList(); // this.getDictList();
this.getTableData();
}, },
destroyed() { destroyed() {
//mounted //mounted
@ -349,7 +350,7 @@ export default {
startTime: this.startTime, startTime: this.startTime,
endTime: this.endTime, endTime: this.endTime,
paramType: this.paramType, paramType: this.paramType,
systemType: this.systemType, systemType: "0",
}; };
console.log("查询数据参数", data); console.log("查询数据参数", data);
this.listLoading = true; this.listLoading = true;

9
src/views/centerairC/energyAnalysis/components/ynyAnalysis.vue

@ -84,7 +84,7 @@
> >
</el-date-picker> </el-date-picker>
</div> </div>
<el-select <!-- <el-select
style="margin-left: 10px" style="margin-left: 10px"
v-model="systemType" v-model="systemType"
placeholder="请选择系统类型" placeholder="请选择系统类型"
@ -96,7 +96,7 @@
:label="dict.dictLabel" :label="dict.dictLabel"
:value="dict.dictValue" :value="dict.dictValue"
/> />
</el-select> </el-select> -->
<div class="success-btn" style="margin-left: 0.24rem"> <div class="success-btn" style="margin-left: 0.24rem">
<el-button type="success" @click="findData">查询</el-button> <el-button type="success" @click="findData">查询</el-button>
</div> </div>
@ -190,7 +190,8 @@ export default {
this.initChart1(); this.initChart1();
window.addEventListener("resize", this.screenAdapter); window.addEventListener("resize", this.screenAdapter);
this.screenAdapter(); this.screenAdapter();
this.getDictList(); // this.getDictList();
this.getTableData();
}, },
destroyed() { destroyed() {
//mounted //mounted
@ -348,7 +349,7 @@ export default {
startTime: this.startTime, startTime: this.startTime,
endTime: this.endTime, endTime: this.endTime,
paramType: this.paramType, paramType: this.paramType,
systemType: this.systemType, systemType: "0",
}; };
console.log("查询数据参数", data); console.log("查询数据参数", data);
this.listLoading = true; this.listLoading = true;

9
src/views/centerairC/energyAnalysis/components/ynyQnqAnalysis.vue

@ -84,7 +84,7 @@
> >
</el-date-picker> </el-date-picker>
</div> </div>
<el-select <!-- <el-select
style="margin-left: 10px" style="margin-left: 10px"
v-model="systemType" v-model="systemType"
placeholder="请选择系统类型" placeholder="请选择系统类型"
@ -96,7 +96,7 @@
:label="dict.dictLabel" :label="dict.dictLabel"
:value="dict.dictValue" :value="dict.dictValue"
/> />
</el-select> </el-select> -->
<div class="success-btn" style="margin-left: 0.24rem"> <div class="success-btn" style="margin-left: 0.24rem">
<el-button type="success" @click="findData">查询</el-button> <el-button type="success" @click="findData">查询</el-button>
</div> </div>
@ -199,7 +199,8 @@ export default {
this.initChart1(); this.initChart1();
window.addEventListener("resize", this.screenAdapter); window.addEventListener("resize", this.screenAdapter);
this.screenAdapter(); this.screenAdapter();
this.getDictList(); // this.getDictList();
this.getTableData();
}, },
destroyed() { destroyed() {
//mounted //mounted
@ -336,7 +337,7 @@ export default {
startTime: this.startTime, startTime: this.startTime,
endTime: this.endTime, endTime: this.endTime,
paramType: this.paramType, paramType: this.paramType,
systemType: this.systemType, systemType: "0",
}; };
console.log("查询数据参数", data); console.log("查询数据参数", data);
this.listLoading = true; this.listLoading = true;

12
src/views/centerairC/overview/index.vue

@ -73,7 +73,7 @@
> >
</el-date-picker> </el-date-picker>
</div> </div>
<el-select <!-- <el-select
style="margin-left: 0.12rem" style="margin-left: 0.12rem"
v-model="systemType" v-model="systemType"
placeholder="请选择系统类型" placeholder="请选择系统类型"
@ -85,7 +85,7 @@
:label="dict.dictLabel" :label="dict.dictLabel"
:value="dict.dictValue" :value="dict.dictValue"
/> />
</el-select> </el-select> -->
<div class="success-btn"> <div class="success-btn">
<el-button <el-button
type="success" type="success"
@ -241,7 +241,9 @@ export default {
this.initChart2(); this.initChart2();
this.screenAdapter(); this.screenAdapter();
window.addEventListener("resize", this.screenAdapter); window.addEventListener("resize", this.screenAdapter);
this.getDictList(); // this.getDictList();
this.getTableData();
this.getChartsData();
this.userName = sessionStorage.getItem("userName"); this.userName = sessionStorage.getItem("userName");
}, },
destroyed() { destroyed() {
@ -412,7 +414,7 @@ export default {
endTime: this.endTime, endTime: this.endTime,
pageNum: this.pageParm.page, pageNum: this.pageParm.page,
pageSize: this.pageParm.pageSize, pageSize: this.pageParm.pageSize,
systemType: this.systemType, systemType: "0",
}; };
console.log("查询数据参数", data); console.log("查询数据参数", data);
this.listLoading = true; this.listLoading = true;
@ -455,7 +457,7 @@ export default {
endTime: this.endTime, endTime: this.endTime,
pageNum: 0, pageNum: 0,
pageSize: 10, pageSize: 10,
systemType: this.systemType, systemType: "0",
}; };
console.log("查询数据参数", data); console.log("查询数据参数", data);
energyInquiry(data).then((res) => { energyInquiry(data).then((res) => {

Loading…
Cancel
Save