Merge branch 'master' of https://e.coding.net/ctcdevteam/ehs/ehs_web
This commit is contained in:
commit
39552cac38
|
@ -437,6 +437,10 @@ export default {
|
|||
navigationInstructionsInitiallyVisible: false,
|
||||
});
|
||||
this.viewer = viewer;
|
||||
// 关闭时间对模型明暗的影响
|
||||
viewer.scene.light = new Cesium.DirectionalLight({
|
||||
direction: new Cesium.Cartesian3(0.354925, -0.890918, -0.283358)
|
||||
})
|
||||
if (Cesium.FeatureDetection.supportsImageRenderingPixelated()) {
|
||||
//判断是否支持图像渲染像素化处理
|
||||
viewer.resolutionScale = window.devicePixelRatio;
|
||||
|
|
|
@ -28,12 +28,12 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="SO2(mg/m3)" width="160">
|
||||
<template #default="scope">
|
||||
{{ scope.row.envdata.SO2_rtd ? scope.row.envdata.SO2_rtd : '-' }}
|
||||
{{ scope.row.envdata.so2_zs ? scope.row.envdata.so2_zs : '-' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="NOX(mg/m3)" width="160">
|
||||
<template #default="scope">
|
||||
{{ scope.row.envdata.NOX_rtd ? scope.row.envdata.NOX_rtd : '-' }}
|
||||
{{ scope.row.envdata.nox_zs ? scope.row.envdata.nox_zs : '-' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="颗粒物折算(mg/m3)" width="180">
|
||||
|
|
|
@ -282,7 +282,7 @@ export default {
|
|||
biquery: {
|
||||
end_time: '2024-02-01',
|
||||
start_time: '2024-01-29',
|
||||
time_bucket: "5 minute",
|
||||
time_bucket: "1 minute",
|
||||
equipment_id: "3491356310052896768",
|
||||
},
|
||||
basicOption: {
|
||||
|
@ -392,7 +392,7 @@ export default {
|
|||
getDetailData() {
|
||||
var now = new Date();
|
||||
var start = new Date();
|
||||
start.setTime(start.getTime() - 3600 * 1000 * 24 * 3);
|
||||
start.setTime(start.getTime() - 3600 * 1000 * 24);
|
||||
var that = this;
|
||||
var chartDom = document.getElementById('dataChart');
|
||||
var chartDom2 = document.getElementById('dataChart2');
|
||||
|
|
|
@ -205,7 +205,7 @@ export default {
|
|||
biquery: {
|
||||
end_time: '2024-02-01',
|
||||
start_time: '2024-01-29',
|
||||
time_bucket: "5 minute",
|
||||
time_bucket: "1 minute",
|
||||
equipment_id: "3491356310052896768",
|
||||
},
|
||||
basicOption: {
|
||||
|
@ -271,7 +271,7 @@ export default {
|
|||
initTimeNow() {
|
||||
var now = new Date();
|
||||
var start = new Date();
|
||||
start.setTime(start.getTime() - 3600 * 1000 * 24 * 3);
|
||||
start.setTime(start.getTime() - 3600 * 1000 * 24);
|
||||
this.biquery['start_time'] = this.$TOOL.dateFormat(start, 'yyyy-MM-dd hh:mm:00')
|
||||
this.biquery['end_time'] = this.$TOOL.dateFormat(now, 'yyyy-MM-dd hh:mm:00')
|
||||
},
|
||||
|
|
|
@ -1114,6 +1114,7 @@ header {
|
|||
width: 100%;
|
||||
text-align: center;
|
||||
line-height: 6.3vh;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -1123,7 +1124,7 @@ header {
|
|||
.sysName {
|
||||
color: #ffffff;
|
||||
padding-left: 1vw;
|
||||
font-size: 2vh;
|
||||
font-size: 2.6vh;
|
||||
}
|
||||
.bottom_enp {
|
||||
left: 0;
|
||||
|
|
|
@ -182,7 +182,7 @@ export default {
|
|||
getProducts() {
|
||||
this.$API.mtm.material.list.req({ page: 0, need_route: true }).then(res => {
|
||||
res.forEach(m => {
|
||||
m.label = m.name+'|'+m.specification+'|'+m.model;
|
||||
m.label = m.full_name;
|
||||
})
|
||||
this.productOptions = res
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue