lxh 2 月之前
父節點
當前提交
77fe595b6b

+ 1 - 1
src/views/vent/home/configurable/components/gasInject/DetailInfo.vue

@@ -39,7 +39,7 @@
 </template>
 
 <script setup lang="ts">
-import { computed, reactive, ref, watch } from 'vue'
+import { computed, ref, watch } from 'vue'
 import curveEchartDetail from './curveEchartDetail.vue'
 import zqMonitorDetail from './zqMonitorDetail.vue'
 import { tableColumnSj, tableColumnHj, tableColumnCc, optionDetailZq, optionDetailCc } from '../gasInject/gasInject.data'

+ 1 - 0
src/views/vent/home/configurable/components/gasInject/echartLineDate.vue

@@ -57,6 +57,7 @@ function getOption() {
         return {
           name: el.name,
           type: el.type,
+          yAxisIndex:el.yAxisIndex,
           symbol: el.symbol, // 默认是空心圆(中间是白色的),改成实心圆
           showAllSymbol: el.showAllSymbol,
           symbolSize: el.symbolSize,

+ 2 - 0
src/views/vent/home/configurable/configurable.data.ts

@@ -744,6 +744,7 @@ export const testConfigGasInjectZq: Config[] = [
             },
             yAxis: [
               {
+                 type: 'value',
                 position: 'left', // Y轴1在左边
                 name: '压力(Pa)',
                 nameTextStyle: {
@@ -774,6 +775,7 @@ export const testConfigGasInjectZq: Config[] = [
                 },
               },
               {
+                 type: 'value',
                 position: 'right', // Y轴2在右边
                 name: '流量(m³)',
                 nameTextStyle: {

+ 1 - 1
src/views/vent/home/configurable/gasInjection.vue

@@ -50,7 +50,7 @@
   import ModuleGasInject from './components/ModuleGasInject.vue';
   import navMenu from './components/gasInject/navMenu.vue';
   import Three3D from './components/three3D.vue';
-  import { getHomeData, getSystemApi } from './configurable.api';
+  import { getSystemApi } from './configurable.api';
   // import { useRoute } from 'vue-router';
   import { testConfigGasInject, testConfigGasInjectZq, testConfigGasInjectCc, testConfigGasInjectSy } from './configurable.data';
   import { animateCamera } from '/@/utils/threejs/util';