修改中建四局(双碳管理页面)
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 headerShow = true; // 是否显示头部
|
||||||
var tabsShow = true; // 是否显示tabs
|
var tabsShow = true; // 是否显示tabs
|
||||||
|
|||||||
@ -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/',
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
<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>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -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(
|
||||||
console.log('环境监测下拉列表', result)
|
result => {
|
||||||
this.devList = result.result
|
console.log('环境监测下拉列表', result)
|
||||||
if (result.result.length > 0) {
|
this.devList = result.result
|
||||||
this.currentDevDetail = result.result[0]
|
if (result.result.length > 0) {
|
||||||
this.getRealTimeDustNoiseData();
|
this.currentDevDetail = result.result[0]
|
||||||
// this.selectDustNoiseData();
|
this.getRealTimeDustNoiseData()
|
||||||
} else {
|
// this.selectDustNoiseData();
|
||||||
// this.createCenterChart();
|
} else {
|
||||||
|
// 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
|
||||||
}
|
}
|
||||||
@ -446,7 +454,7 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin-top: 3%;
|
margin-top: 3%;
|
||||||
img{
|
img {
|
||||||
width: 96%;
|
width: 96%;
|
||||||
height: 89%;
|
height: 89%;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
@ -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 |
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 |
@ -2,35 +2,35 @@
|
|||||||
<div class="containerBox">
|
<div class="containerBox">
|
||||||
<div class="leftBox">
|
<div class="leftBox">
|
||||||
<div class="leftOne">
|
<div class="leftOne">
|
||||||
<LeftOne />
|
<LeftOne/>
|
||||||
</div>
|
</div>
|
||||||
<div class="leftTwo">
|
<div class="leftTwo">
|
||||||
<LeftTwo />
|
<LeftTwo/>
|
||||||
</div>
|
</div>
|
||||||
<div class="leftThree">
|
<div class="leftThree">
|
||||||
<LeftThree />
|
<LeftThree/>
|
||||||
</div>
|
</div>
|
||||||
<div class="leftFour">
|
<div class="leftFour">
|
||||||
<LeftFour />
|
<LeftFour/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="centerBox">
|
<div class="centerBox">
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<Center />
|
<Center/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="rightBox">
|
<div class="rightBox">
|
||||||
<div class="rightOne">
|
<div class="rightOne">
|
||||||
<RightOne />
|
<RightOne/>
|
||||||
</div>
|
</div>
|
||||||
<div class="rightTwo">
|
<div class="rightTwo">
|
||||||
<RightTwo />
|
<RightTwo/>
|
||||||
</div>
|
</div>
|
||||||
<div class="rightThree">
|
<div class="rightThree">
|
||||||
<RightThree />
|
<RightThree/>
|
||||||
</div>
|
</div>
|
||||||
<div class="rightFour">
|
<div class="rightFour">
|
||||||
<RightFour />
|
<RightFour/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user