Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
FLL
2025-07-21 11:50:52 +08:00
27 changed files with 714 additions and 320 deletions

View File

@@ -59,3 +59,12 @@ export function groupUpdate(data: GroupForm) {
export function groupRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/Property/group/${id}`);
}
/**
* 获取节假日数据
* @param year
*/
export async function getHoliday(year: string) {
const response = await fetch(`https://timor.tech/api/holiday/year/${year}`);
return response.json();
}

View File

@@ -1,4 +1,4 @@
import type { PageQuery, BaseEntity } from '#/api/common';
import type {PageQuery, BaseEntity} from '#/api/common';
export interface GroupVO {
/**
@@ -63,7 +63,16 @@ export interface GroupQuery extends PageQuery {
attendanceType?: number;
/**
* 日期范围参数
*/
* 日期范围参数
*/
params?: any;
}
/**
* 假期
*/
export interface Holiday {
holiday: boolean;
name: string;
date: string;
}