领导日程展示
This commit is contained in:
parent
de42899819
commit
46e26fb138
@ -8,7 +8,7 @@ export interface HyglVO {
|
||||
userId: number // 申请人id
|
||||
deptName: string // 申请部门名字
|
||||
deptId: number // 申请部门id
|
||||
time: Date // 申请时间
|
||||
time: number // 申请时间
|
||||
depict: string // 描述
|
||||
type: number // 会议类型
|
||||
theme: string // 会议主题
|
||||
|
@ -121,7 +121,7 @@ const queryParamsHygl = reactive({
|
||||
userId: undefined,
|
||||
deptName: undefined,
|
||||
deptId: undefined,
|
||||
time: [],
|
||||
time: [] as string[],
|
||||
depict: undefined,
|
||||
type: undefined,
|
||||
theme: undefined,
|
||||
@ -150,7 +150,7 @@ const getList = async () => {
|
||||
|
||||
listHygl.value = hyglData.list
|
||||
for(let item of listHygl.value){
|
||||
const formattedDate = formatDate2(item.createTime);
|
||||
const formattedDate = formatDate2(item.time);
|
||||
// 如果 holidays2[formattedDate] 不存在或不是数组,初始化为数组
|
||||
if (!Array.isArray(holidays2[formattedDate])) {
|
||||
holidays2[formattedDate] = [];
|
||||
|
Loading…
Reference in New Issue
Block a user