1、考勤组排班
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-07-20 17:58:39 +08:00
parent 5d8ba35a66
commit d9621a0416
7 changed files with 293 additions and 54 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;
}

View File

@@ -58,6 +58,8 @@ export interface HouseChargeVO {
costItemsVo: CostItemSettingVO;
chargeStatus: string;
personId: string;
}
export interface HouseChargeForm extends BaseEntity {