import type { Api } from 'jamis-core'; import type { FormOptionsSchema, OptionsControlProps } from '../types'; /** * UserSelect 移动端人员选择。 */ export interface UserSelectControlSchema extends FormOptionsSchema { type: 'users-select'; searchApi?: Api; /** * 部门可选 */ isDep?: boolean; /** * 人员可选 */ isRef?: boolean; } export interface UserSelectControlProps extends OptionsControlProps, Omit { /** * */ showNav?: boolean; /** * 导航头标题 */ navTitle?: string; /** * 选项卡模式 */ tabMode?: boolean; tabOptions?: Array; /** * 搜索字段 */ searchTerm?: string; /** * 搜索携带的额外参数 */ searchParam?: PlainObject; }