diff --git a/src/api/datascreen.ts b/src/api/datascreen.ts index ba39b2b..fc5a96b 100644 --- a/src/api/datascreen.ts +++ b/src/api/datascreen.ts @@ -27,6 +27,18 @@ export function dutyDay(params: Record) { return request.get({ url: '/dataScreen/dutyDay', params}) } +export function dutyIndex() { + return request.get({ url: '/system/dept/dutyIndex'}) +} + +export function getDept() { + return request.get({ url: '/system/dept/getLevel'}) +} + +export function getDutyName() { + return request.get({ url: '/system/dept/getDuty'}) +} + export function threeRate(params: Record) { return request.get({ url: '/dataScreen/threeRate', params}) } diff --git a/src/views/home/Index.vue b/src/views/home/Index.vue index db0d927..90e200f 100644 --- a/src/views/home/Index.vue +++ b/src/views/home/Index.vue @@ -13,7 +13,9 @@ - + + + @@ -24,7 +26,16 @@ import Overall from "./components/Overall.vue"; import Daily from "./components/Daily.vue"; import MailTable from "./components/MailTable.vue"; import Duty from "./components/Duty.vue"; +import DutyFj from "./components/DutyFj.vue"; +import DutySj from "./components/DutySj.vue"; import DataStatistics from "./components/DataStatistics.vue"; +import {getDept} from '@/api/datascreen'; +const level = ref("") +getDept().then(data => { + level.value = data.level + console.log("SSSSSSSSSSSSSS"+level.value); +}) + \ No newline at end of file diff --git a/src/views/home/components/DutySj.vue b/src/views/home/components/DutySj.vue new file mode 100644 index 0000000..8d5c664 --- /dev/null +++ b/src/views/home/components/DutySj.vue @@ -0,0 +1,100 @@ + + + \ No newline at end of file