Browse Source

[Fix 0000] 组织代码问题修复

houzekong 3 weeks ago
parent
commit
62d670dac4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/vent/monitorManager/gasPumpMonitor/gasPump.data.ts

+ 4 - 4
src/views/vent/monitorManager/gasPumpMonitor/gasPump.data.ts

@@ -294,8 +294,8 @@ export const modelMonitor = [
 ];
 
 export const getModelMonitorTags = () => {
-  // const { sysOrgCode } = useGlobSetting();
-  const sysOrgCode = 'sdmtjtcctmk';
+  const { sysOrgCode } = useGlobSetting();
+  // const sysOrgCode = 'sdmtjtcctmk';
   switch (sysOrgCode) {
     case 'sdmtjtcctmk': // 寸草塔1
       return [
@@ -502,8 +502,8 @@ export const getModelMonitorTags = () => {
 };
 
 export function getComponent() {
-  // const { sysOrgCode } = useGlobSetting();
-  const sysOrgCode = 'sdmtjtcctmk';
+  const { sysOrgCode } = useGlobSetting();
+  // const sysOrgCode = 'sdmtjtcctmk';
   let gasPumpHome;
   switch (sysOrgCode) {
     case 'sdmtjtbetmk': // 布尔台