修改中建四局(双碳管理页面)

This commit is contained in:
yjl 2023-02-21 15:47:23 +08:00
parent 4be924043c
commit dbded99caa
6 changed files with 41 additions and 34 deletions

View File

@ -18,7 +18,7 @@ var PROJECT = {
} }
var PROJECT_TYPE = PROJECT.local_test var PROJECT_TYPE = PROJECT.online_zjsj
var headerShow = true; // 是否显示头部 var headerShow = true; // 是否显示头部
var tabsShow = true; // 是否显示tabs var tabsShow = true; // 是否显示tabs

View File

@ -48,9 +48,9 @@ export default new Vuex.Store({
BASEURL: baseUrl BASEURL: baseUrl
? baseUrl ? baseUrl
: window.location.protocol + "//" + window.location.host + "/", // : window.location.protocol + "//" + window.location.host + "/", //
// UPLOADURL: UPLOADURL:
// window.location.protocol + "//" + window.location.host + "/upload/image", // window.location.protocol + "//" + window.location.host + "/upload/image", //
// FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //测试 FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //测试
// tag: 本地测试接口 // BASEURL:'http://192.168.34.174:6023/', // tag: 本地测试接口 // BASEURL:'http://192.168.34.174:6023/',
/* 2022-05-16 */ /* 2022-05-16 */
// tag: 部署河南项目时,需要打开这两行代码 // tag: 部署河南项目时,需要打开这两行代码
@ -63,8 +63,8 @@ export default new Vuex.Store({
// BASEURL:'http://192.168.34.116:6023/', // BASEURL:'http://192.168.34.116:6023/',
// UPLOADURL: 'http://192.168.34.116:6023/upload/image', // UPLOADURL: 'http://192.168.34.116:6023/upload/image',
// FILEURL: 'http://192.168.34.116:6023/image/', // FILEURL: 'http://192.168.34.116:6023/image/',
UPLOADURL: 'http://124.71.67.160:8088/upload/image', // UPLOADURL: 'http://124.71.67.160:8088/upload/image',
FILEURL: 'http://124.71.67.160:8088/image/', // FILEURL: 'http://124.71.67.160:8088/image/',
//--- //---
// UPLOADURL: 'http://192.168.34.125:6023/upload/image', // UPLOADURL: 'http://192.168.34.125:6023/upload/image',
// FILEURL: 'http://192.168.34.125:6023/image/', // FILEURL: 'http://192.168.34.125:6023/image/',

View File

@ -1,7 +1,7 @@
<template> <template>
<Card title="项目碳排放趋势"> <Card title="项目碳排放趋势">
<div class="containerBox"> <div class="containerBox">
<img src="./image/img4.png" alt=""> <img src="./image/imgFour.png" alt>
</div> </div>
</Card> </Card>
</template> </template>
@ -69,17 +69,19 @@ export default {
//---- //----
getDevList() { getDevList() {
console.log('环境下拉列表进来了吗--------') console.log('环境下拉列表进来了吗--------')
environmentDevList({ projectSn: this.$store.state.projectSn }).then(result => { environmentDevList({ projectSn: this.$store.state.projectSn }).then(
result => {
console.log('环境监测下拉列表', result) console.log('环境监测下拉列表', result)
this.devList = result.result this.devList = result.result
if (result.result.length > 0) { if (result.result.length > 0) {
this.currentDevDetail = result.result[0] this.currentDevDetail = result.result[0]
this.getRealTimeDustNoiseData(); this.getRealTimeDustNoiseData()
// this.selectDustNoiseData(); // this.selectDustNoiseData();
} else { } else {
// this.createCenterChart(); // this.createCenterChart();
} }
}) }
)
}, },
//24 //24
@ -116,7 +118,11 @@ export default {
}) })
}, },
sprayOperate(deviceId, operateType) { sprayOperate(deviceId, operateType) {
sprayOperateDataApi({ projectSn: this.$store.state.projectSn, operateType: operateType, deviceId: deviceId }).then(res => { sprayOperateDataApi({
projectSn: this.$store.state.projectSn,
operateType: operateType,
deviceId: deviceId
}).then(res => {
this.sprayDevList = res.result this.sprayDevList = res.result
}) })
}, },
@ -234,7 +240,9 @@ export default {
} else if (detailData[i].id == 7) { } else if (detailData[i].id == 7) {
detailData[i].value = this.plantCap.winddirectionName detailData[i].value = this.plantCap.winddirectionName
} else if (detailData[i].id == 8) { } else if (detailData[i].id == 8) {
detailData[i].value = this.plantCap.pressure ? this.plantCap.pressure : '--' detailData[i].value = this.plantCap.pressure
? this.plantCap.pressure
: '--'
} }
detailData[i].value += detailData[i].unit detailData[i].value += detailData[i].unit
} }
@ -555,7 +563,6 @@ export default {
color: rgba(6, 248, 179, 0.8); color: rgba(6, 248, 179, 0.8);
} }
} }
} }
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 622 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

View File

@ -39,7 +39,7 @@
<script> <script>
import LeftOne from './leftOne' import LeftOne from './leftOne'
import LeftTwo from './leftTwo' import LeftTwo from './leftTwo'
import LeftThree from './leftThree' import LeftThree from './LeftThree'
import LeftFour from './leftFour' import LeftFour from './leftFour'
import Center from './center' import Center from './center'
import CenterBOne from './centerBOne' import CenterBOne from './centerBOne'