修改中建四局(双碳管理页面)
This commit is contained in:
parent
4be924043c
commit
dbded99caa
@ -18,7 +18,7 @@ var PROJECT = {
|
||||
}
|
||||
|
||||
|
||||
var PROJECT_TYPE = PROJECT.local_test
|
||||
var PROJECT_TYPE = PROJECT.online_zjsj
|
||||
|
||||
var headerShow = true; // 是否显示头部
|
||||
var tabsShow = true; // 是否显示tabs
|
||||
|
||||
@ -48,9 +48,9 @@ export default new Vuex.Store({
|
||||
BASEURL: baseUrl
|
||||
? baseUrl
|
||||
: window.location.protocol + "//" + window.location.host + "/", //
|
||||
// UPLOADURL:
|
||||
// window.location.protocol + "//" + window.location.host + "/upload/image", //
|
||||
// FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //测试
|
||||
UPLOADURL:
|
||||
window.location.protocol + "//" + window.location.host + "/upload/image", //
|
||||
FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //测试
|
||||
// tag: 本地测试接口 // BASEURL:'http://192.168.34.174:6023/',
|
||||
/* 2022-05-16 */
|
||||
// tag: 部署河南项目时,需要打开这两行代码
|
||||
@ -63,8 +63,8 @@ export default new Vuex.Store({
|
||||
// BASEURL:'http://192.168.34.116:6023/',
|
||||
// UPLOADURL: 'http://192.168.34.116:6023/upload/image',
|
||||
// FILEURL: 'http://192.168.34.116:6023/image/',
|
||||
UPLOADURL: 'http://124.71.67.160:8088/upload/image',
|
||||
FILEURL: 'http://124.71.67.160:8088/image/',
|
||||
// UPLOADURL: 'http://124.71.67.160:8088/upload/image',
|
||||
// FILEURL: 'http://124.71.67.160:8088/image/',
|
||||
//---
|
||||
// UPLOADURL: 'http://192.168.34.125:6023/upload/image',
|
||||
// FILEURL: 'http://192.168.34.125:6023/image/',
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<Card title="项目碳排放趋势">
|
||||
<div class="containerBox">
|
||||
<img src="./image/img4.png" alt="">
|
||||
<img src="./image/imgFour.png" alt>
|
||||
</div>
|
||||
</Card>
|
||||
</template>
|
||||
@ -69,17 +69,19 @@ export default {
|
||||
//获取环境设备列表--环境监测实时数据--下拉
|
||||
getDevList() {
|
||||
console.log('环境下拉列表进来了吗--------')
|
||||
environmentDevList({ projectSn: this.$store.state.projectSn }).then(result => {
|
||||
environmentDevList({ projectSn: this.$store.state.projectSn }).then(
|
||||
result => {
|
||||
console.log('环境监测下拉列表', result)
|
||||
this.devList = result.result
|
||||
if (result.result.length > 0) {
|
||||
this.currentDevDetail = result.result[0]
|
||||
this.getRealTimeDustNoiseData();
|
||||
this.getRealTimeDustNoiseData()
|
||||
// this.selectDustNoiseData();
|
||||
} else {
|
||||
// this.createCenterChart();
|
||||
}
|
||||
})
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
//近24小时数据
|
||||
@ -116,7 +118,11 @@ export default {
|
||||
})
|
||||
},
|
||||
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
|
||||
})
|
||||
},
|
||||
@ -234,7 +240,9 @@ export default {
|
||||
} else if (detailData[i].id == 7) {
|
||||
detailData[i].value = this.plantCap.winddirectionName
|
||||
} 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
|
||||
}
|
||||
@ -555,7 +563,6 @@ export default {
|
||||
color: rgba(6, 248, 179, 0.8);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 622 KiB |
BIN
src/views/projectAdmin/fourEngin/carbon/image/imgFour.png
Normal file
BIN
src/views/projectAdmin/fourEngin/carbon/image/imgFour.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 622 KiB |
@ -39,7 +39,7 @@
|
||||
<script>
|
||||
import LeftOne from './leftOne'
|
||||
import LeftTwo from './leftTwo'
|
||||
import LeftThree from './leftThree'
|
||||
import LeftThree from './LeftThree'
|
||||
import LeftFour from './leftFour'
|
||||
import Center from './center'
|
||||
import CenterBOne from './centerBOne'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user