wsj
3 days ago cd2b7d36f3610417c268d062454b7ec43e9ca937
src/pages/system/departments/types.ts
@@ -72,10 +72,12 @@
/** PUT /tenant/organizations/{id}/toggle-status 响应数据(ResultVoid 的 data)。 */
export type TenantOrgToggleStatusResponse = void;
/** GET /tenant/employees 请求参数(仅用于负责人下拉)。 */
/** GET /tenant/employees 请求参数(负责人下拉远程搜索)。 */
export interface TenantEmployeeOptionListRequest {
  page?: number;
  size?: number;
  /** 姓名 / 手机号模糊搜索。 */
  keyword?: string;
}
/** 负责人选项(EmployeeVO 子集)。 */
@@ -88,6 +90,15 @@
/** GET /tenant/employees 响应数据(ResultPageResultEmployeeVO 的 data)。 */
export type TenantEmployeeOptionListResponse = PageResult<DepartmentLeaderOption>;
/** GET /tenant/employees/{id} 请求参数(编辑时回填负责人姓名)。 */
export interface DepartmentLeaderDetailRequest {
  /** 员工 ID(路径参数)。 */
  id: number;
}
/** GET /tenant/employees/{id} 响应数据(EmployeeVO 子集)。 */
export type DepartmentLeaderDetailResponse = DepartmentLeaderOption;
/** ProTable 筛选参数:组织树接口没有查询参数,这些字段仅用于前端本地过滤。 */
export interface DepartmentListQuery {
  orgName?: string;