1.副屏标题
This commit is contained in:
2024-06-15 16:21:54 +08:00
parent 0f391ffc22
commit dcf14220b3
6 changed files with 38 additions and 13 deletions
+13 -4
View File
@@ -14,7 +14,7 @@
</div>
<div class="body-d">
<div class="body-d-left">
<screen-left :key="tabState" :orgCode="orgCode" :type="type" :refreshState="refreshState" />
<screen-left :themeType="themeType" :key="tabState" :orgCode="orgCode" :type="type" :refreshState="refreshState" />
</div>
<div class="body-d-middle">
<SecondMap :orgCode="orgCode" :type="type">
@@ -31,9 +31,9 @@
</SecondMap>
</div>
<div class="body-d-right">
<one-r :key="tabState" :orgCode="orgCode" :type="type" :refreshState="refreshState" />
<two-r :key="tabState" :orgCode="orgCode" :type="type" :refreshState="refreshState" />
<three-r :orgCode="orgCode" :type="type" :refreshState="refreshState" />
<one-r :themeType="themeType" :key="tabState" :orgCode="orgCode" :type="type" :refreshState="refreshState" />
<two-r :themeType="themeType" :key="tabState" :orgCode="orgCode" :type="type" :refreshState="refreshState" />
<three-r :themeType="themeType" :orgCode="orgCode" :type="type" :refreshState="refreshState" />
</div>
</div>
<div class="bottom-d"></div>
@@ -54,8 +54,17 @@
import { useRefresh } from '/@/hooks/autoRefresh';
import { DEFAULT_TIME } from '/@/hooks/autoRefresh/pageRefreshTime.ts';
import { onUnmounted } from 'vue';
import { useTheme } from '/@/hooks/theme/useTheme.ts';
import { ThemeType } from '/@/utils/settings.ts';
const { refreshState } = useRefresh(DEFAULT_TIME);
const store = useUserStore();
onMounted(() => {
store.setThemeType(ThemeType.dark);
});
const { themeType } = useTheme();
const useStore = useUserStore();
const { orgCode, option, fieldNames, setOrgCode } = useDepart();
onMounted(() => {