本部门变更统计组织名称添加
This commit is contained in:
@@ -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<boolean>(false);
|
||||
// 组织
|
||||
const org = ref<string>(localStg.get('userInfo')?.department?.label || '');
|
||||
// 变更临期天数
|
||||
const remindDays = ref<number>(0);
|
||||
// 本部门变更统计
|
||||
@@ -123,7 +126,7 @@ onMounted(() => {
|
||||
<span class="flex items-center gap-1.5 text-sm font-semibold text-slate-700">
|
||||
<Icon icon="akar-icons:calendar" class="size-14px" :style="{color: themeStore.themeColor}" />
|
||||
<span>本部门变更统计</span>
|
||||
<span class="text-xs font-normal text-slate-400">一车间 · 本部门口径</span>
|
||||
<span class="text-xs font-normal text-slate-400">{{org?org+' · ':''}}本部门口径</span>
|
||||
</span>
|
||||
<div class="flex flex-wrap items-center gap-1.5 min-h-28px">
|
||||
<span class="text-xs text-slate-400">时间段</span>
|
||||
|
||||
Reference in New Issue
Block a user