|
@@ -32,7 +32,7 @@
|
|
|
ref="historyTable"
|
|
|
class="vent-margin-t-20"
|
|
|
:deviceId="optionValue"
|
|
|
- :device-type="deviceType"
|
|
|
+ :device-type="calcDeviceType"
|
|
|
/>
|
|
|
<HandleHistory
|
|
|
v-if="activeKey == 'handler_history'"
|
|
@@ -66,8 +66,8 @@
|
|
|
import { useSystemSelect } from '/@/hooks/vent/useSystemSelect';
|
|
|
import { useGlobSetting } from '/@/hooks/setting';
|
|
|
|
|
|
+ const { sysOrgCode } = useGlobSetting();
|
|
|
const DedustHomeComponent = computed(() => {
|
|
|
- const { sysOrgCode } = useGlobSetting();
|
|
|
// const sysOrgCode = 'sdmtjtbltmk';
|
|
|
switch (sysOrgCode) {
|
|
|
// 布尔台
|
|
@@ -89,6 +89,16 @@
|
|
|
activeKey.value = activeValue;
|
|
|
}
|
|
|
|
|
|
+ const calcDeviceType = computed(() => {
|
|
|
+ switch (sysOrgCode) {
|
|
|
+ // 布尔台
|
|
|
+ case 'sdmtjtbetmk':
|
|
|
+ return 'dedustefan';
|
|
|
+ default:
|
|
|
+ return deviceType.value;
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
const {
|
|
|
options,
|
|
|
optionValue,
|