lxh 9 månader sedan
förälder
incheckning
3fcdd7a55f
1 ändrade filer med 3 tillägg och 4 borttagningar
  1. 3 4
      src/views/vent/monitorManager/ceshi/index.vue

+ 3 - 4
src/views/vent/monitorManager/ceshi/index.vue

@@ -25,13 +25,13 @@
                         <template v-if="hasPermission('btn:noGb')">
                             <MonitorTable ref="monitorTable" :columnsType="`${deviceType}_monitor`"
                                 :dataSource="dataSource" design-scope="device_monitor" :isShowPagination="false"
-                                :isShowActionColumn="isHaveAction.includes(deviceType.split('_')[0]) ? false : true"
+                                :isShowActionColumn="false"
                                 :is-show-select="false" title="设备监测" :scroll="{ y: 360 }" />
                         </template>
                         <template v-else>
                             <MonitorTable ref="monitorTable" :columnsType="`${deviceType}_monitor`"
                                 :dataSource="dataSource" design-scope="device_monitor" :isShowPagination="false"
-                                :isShowActionColumn="isHaveAction.includes(deviceType.split('_')[0]) ? false : true"
+                                :isShowActionColumn="false"
                                 :is-show-select="false" title="设备监测" :form-config="undefined" :scroll="{ y: 650 }">
                                 <template #filterCell="{ column, record }">
                                     <template v-if="deviceType.startsWith('gate')">
@@ -117,7 +117,7 @@
                 <a-tab-pane key="2" tab="瓦斯抽放">
                     <MonitorTable ref="monitorTable" :columnsType="`${deviceType}_monitor`" :dataSource="dataSource"
                         design-scope="device_monitor" :isShowPagination="false"
-                        :isShowActionColumn="isHaveAction.includes(deviceType.split('_')[0]) ? false : true"
+                        :isShowActionColumn="false"
                         :is-show-select="false" title="设备监测" :form-config="undefined" :scroll="{ y: 360 }">
                         <template #filterCell="{ column, record }">
                             <template v-if="deviceType.startsWith('gate')">
@@ -204,7 +204,6 @@ import GroupMonitorTable from '../comment/GroupMonitorTable.vue';
 import MonitorTable from '../comment/MonitorTable.vue';
 import { cameraAddr, } from '../camera/camera.api'
 import { list } from '../safetyMonitor/safety.api';
-import { formConfig, isHaveAction } from '../safetyMonitor/safety.data';
 import Player, { I18N } from 'xgplayer';
 import ZH from 'xgplayer/es/lang/zh-cn'
 import HlsPlugin from 'xgplayer-hls';