|
@@ -36,6 +36,9 @@
|
|
|
//ts语法
|
|
|
import { toRaw, watch, ref, onMounted, onUnmounted, nextTick, inject } from 'vue';
|
|
|
import { getTableHeaderColumns } from '/@/hooks/web/useWebColumns';
|
|
|
+ import { useGlobSetting } from '/@/hooks/setting';
|
|
|
+
|
|
|
+ const { sysOrgCode } = useGlobSetting();
|
|
|
const globalConfig = inject('globalConfig');
|
|
|
const props = defineProps({
|
|
|
columnsType: {
|
|
@@ -273,7 +276,7 @@
|
|
|
}
|
|
|
});
|
|
|
resultData1['deviceID'] = resultData2['deviceID'] = data['deviceID'];
|
|
|
- if (props.columnsType.startsWith('fanlocal')) {
|
|
|
+ if (props.columnsType.startsWith('fanlocal') && sysOrgCode !== 'zmhjhzmy') {
|
|
|
resultData1['runDevice'] = '主机';
|
|
|
resultData2['runDevice'] = '备机';
|
|
|
} else {
|