This commit is contained in:
shijing 2024-04-08 11:20:50 +08:00
commit 39552cac38
6 changed files with 13 additions and 8 deletions

View File

@ -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;

View File

@ -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">

View File

@ -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');

View File

@ -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')
},

View File

@ -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;

View File

@ -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
})