王木木sir 11 godzin temu
rodzic
commit
0514ffb7a1

+ 1 - 1
src/views/vent/monitorManager/comment/DeviceEcharts.vue

@@ -271,7 +271,7 @@
             const device = options.value.find((device) => device['deviceID'] === newDeviceId);
             if (device) {
               let res;
-              if (props.dataSource['stationtype'] !== 'redis') {
+              if (device['stationtype'] !== 'redis') {
                 resultXAxisPropType.value = 'ttime';
                 historyList = (params) => defHttp.get({ url: '/safety/ventanalyMonitorData/listdays', params });
                 const datas = await historyList({

+ 1 - 1
src/views/vent/monitorManager/deviceMonitor/components/device/index.vue

@@ -1536,7 +1536,7 @@ onUnmounted(() => {
     color: #fff;
     cursor: pointer;
     position: absolute;
-    right: 20px;
+    right: 35px;
     top: 35px;
     padding: 5px;
     border-radius: 5px;

+ 8 - 6
src/views/vent/monitorManager/windrectMonitor/windrect.threejs.ts

@@ -376,14 +376,16 @@ export const mountedThree = (playerDom) => {
     dsWindRectObj = new dsWindRect(model);
     await dsWindRectObj.mountedThree();
 
-    zdWindRectObj = new zdWindRect(model);
-    await zdWindRectObj.mountedThree();
+    // 下面模型没有矿用到,为了性能暂时不加载
 
-    lmWindRectSideObj = new lmWindRectSide(model);
-    await lmWindRectSideObj.mountedThree();
+    // zdWindRectObj = new zdWindRect(model);
+    // await zdWindRectObj.mountedThree();
 
-    lmWindRectObj = new lmWindRect(model);
-    await lmWindRectObj.mountedThree();
+    // lmWindRectSideObj = new lmWindRectSide(model);
+    // await lmWindRectSideObj.mountedThree();
+
+    // lmWindRectObj = new lmWindRect(model);
+    // await lmWindRectObj.mountedThree();
     resolve(null);
     model.animate();
     startAnimation();