| | |
| | | id?: string; |
| | | /** 供应商Id */ |
| | | supplierEnterpriseId?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 需求人数 */ |
| | | needPeopleNumber?: number; |
| | | /** 任务名称 */ |
| | |
| | | id?: string; |
| | | /** 任务人员Id */ |
| | | taskInfoUserId?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | enterpriseEmployeeUser?: GetCheckReceiveTaskUserSubmitsQueryResultObjectDataEnterpriseEmployeeUser; |
| | | /** 验收时间 */ |
| | | date?: string; |
| | |
| | | isDisabled?: boolean; |
| | | /** 用户数量 */ |
| | | userCount?: number; |
| | | /** 是否公开 */ |
| | | isPublic?: boolean; |
| | | } |
| | | |
| | | interface GetRoleUserInfosQueryResultItem { |
| | |
| | | interface GetSettlementTasksQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 所属任务 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | |
| | | checkReceiveEndDate?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | |
| | | id?: string; |
| | | /** 供应商Id */ |
| | | supplierEnterpriseId?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 供应商 */ |
| | | supplierEnterpriseName?: string; |
| | | /** 需求人数 */ |
| | |
| | | }); |
| | | |
| | | const operationBtnMap: Record<string, OperationBtnType> = { |
| | | editBtn: { emits: { onClick: (role) => openDialog(role) } }, |
| | | delBtn: { emits: { onClick: (role) => handleDeleteRole(role) }, props: { type: 'danger' } }, |
| | | authorize: { emits: { onClick: (role) => openAuthorizeDialog(role) } }, |
| | | editBtn: { |
| | | emits: { onClick: (role) => openDialog(role) }, |
| | | extraProps: { |
| | | hide: (role: API.GetRolesQueryResultItem) => role.isPublic, |
| | | }, |
| | | }, |
| | | delBtn: { |
| | | emits: { onClick: (role) => handleDeleteRole(role) }, |
| | | props: { type: 'danger' }, |
| | | extraProps: { |
| | | hide: (role: API.GetRolesQueryResultItem) => role.isPublic, |
| | | }, |
| | | }, |
| | | authorize: { |
| | | emits: { onClick: (role) => openAuthorizeDialog(role) }, |
| | | extraProps: { |
| | | hide: (role: API.GetRolesQueryResultItem) => role.isPublic, |
| | | }, |
| | | }, |
| | | // member: { emits: { onClick: (role) => openMemberDialog(role) } }, |
| | | disabledBtn: { |
| | | emits: { onClick: (role) => roleEnableOrForbid(role) }, |
| | | props: { type: 'danger' }, |
| | | extraProps: { |
| | | hide: (row) => row.isDisabled, |
| | | hide: (row: API.GetRolesQueryResultItem) => !(!row.isPublic && !row.isDisabled), |
| | | }, |
| | | }, |
| | | enableBtn: { |
| | | emits: { onClick: (role) => roleEnableOrForbid(role) }, |
| | | extraProps: { |
| | | hide: (row) => !row.isDisabled, |
| | | hide: (row: API.GetRolesQueryResultItem) => !(row.isDisabled && !row.isPublic), |
| | | }, |
| | | }, |
| | | }; |