diff --git a/src/views/changeStatistics/index.vue b/src/views/changeStatistics/index.vue index be46545..ff0c39f 100644 --- a/src/views/changeStatistics/index.vue +++ b/src/views/changeStatistics/index.vue @@ -4,6 +4,7 @@ import { ref, computed, onMounted } from 'vue'; import { Icon } from '@iconify/vue' import { useThemeStore } from '@/store/modules/theme'; import { formatTimestamp, getTimeRangeStamp } from "@/utils/common"; +import { localStg } from '@/utils/storage'; import RingChart from './modules/ringChart.vue'; import PieChart from './modules/pieChart.vue'; import PieChart2 from './modules/pieChart2.vue'; @@ -13,6 +14,8 @@ import { departmentStatisticsApi } from "@/service/api/statistics"; const themeStore = useThemeStore(); const loading = ref(false); +// 组织 +const org = ref(localStg.get('userInfo')?.department?.label || ''); // 变更临期天数 const remindDays = ref(0); // 本部门变更统计 @@ -123,7 +126,7 @@ onMounted(() => { 本部门变更统计 - 一车间 · 本部门口径 + {{org?org+' · ':''}}本部门口径
时间段