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:
15683799673
2025-07-21 03:38:34 +08:00
21 changed files with 337 additions and 246 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

@@ -1,8 +1,6 @@
import type { ShiftVO, ShiftForm, ShiftQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';

View File

@@ -40,7 +40,6 @@ export interface ShiftVO {
* 休息结束时间
*/
restEndTime: string;
}
export interface ShiftForm extends BaseEntity {
@@ -83,7 +82,6 @@ export interface ShiftForm extends BaseEntity {
* 休息结束时间
*/
restEndTime?: string;
}
export interface ShiftQuery extends PageQuery {

View File

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