|  |  |  | 
|---|
|  |  |  | </ProTableV2> | 
|---|
|  |  |  | </AppContainer> | 
|---|
|  |  |  | <StaffInfoDialog v-bind="dialogStaffInfoProps" /> | 
|---|
|  |  |  | <StaffDetailInfoDialog v-bind="dialogStaffDetailProps" /> | 
|---|
|  |  |  | <BatchImportDialog | 
|---|
|  |  |  | v-bind="dialogBatchImportProps" | 
|---|
|  |  |  | @onDownloadTemplate="handleDownloadTemplate" | 
|---|
|  |  |  | 
|---|
|  |  |  | import StaffInfoDialog from './components/StaffInfoDialog.vue'; | 
|---|
|  |  |  | import BatchImportDialog from './components/BatchImportDialog.vue'; | 
|---|
|  |  |  | import SendShotMessageDialog from './components/SendShotMessageDialog.vue'; | 
|---|
|  |  |  | import StaffDetailInfoDialog from './components/StaffDetailInfoDialog.vue'; | 
|---|
|  |  |  | import SignDialog from './components/SignDialog.vue'; | 
|---|
|  |  |  | import * as enterpriseEmployeeServices from '@/services/api/enterpriseEmployee'; | 
|---|
|  |  |  | import { ModelValueType } from 'element-plus'; | 
|---|
|  |  |  | 
|---|
|  |  |  | name: '详情', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | emits: { | 
|---|
|  |  |  | onClick: (role) => openDialog(role, true), | 
|---|
|  |  |  | onClick: (role: API.GetEnterpriseEmployeesQueryResultItem) => | 
|---|
|  |  |  | handleStaffDetailEdit({ id: role.id, tabType: 'info' }), | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { | 
|---|
|  |  |  | 
|---|
|  |  |  | { | 
|---|
|  |  |  | defaultExtraParams: { | 
|---|
|  |  |  | searchWord: '', | 
|---|
|  |  |  | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], | 
|---|
|  |  |  | orderInput: [{ property: 'createdTime', order: EnumPagedListOrder.Desc }], | 
|---|
|  |  |  | createdTime: [] as unknown as ModelValueType, | 
|---|
|  |  |  | signContractTime: [] as unknown as ModelValueType, | 
|---|
|  |  |  | hireStatus: '' as any as EnumTaskUserHireStatus, | 
|---|
|  |  |  | 
|---|
|  |  |  | ids: [] as string[], | 
|---|
|  |  |  | customerId: '', | 
|---|
|  |  |  | name: '', | 
|---|
|  |  |  | contractTemplateId: '', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | let params: API.SendInviteElectronSignSmsCommand = { | 
|---|
|  |  |  | ids: editShotMessageForm.ids, | 
|---|
|  |  |  | contractTemplateId: editShotMessageForm.contractTemplateId, | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | let res = await enterpriseEmployeeServices.sendInviteElectronSignSms(params); | 
|---|
|  |  |  | if (res) { | 
|---|
|  |  |  | 
|---|
|  |  |  | } catch (error) {} | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { | 
|---|
|  |  |  | dialogProps: dialogStaffDetailProps, | 
|---|
|  |  |  | handleEdit: handleStaffDetailEdit, | 
|---|
|  |  |  | editForm: staffDetailEditForm, | 
|---|
|  |  |  | } = useFormDialog({ | 
|---|
|  |  |  | defaultFormParams: { | 
|---|
|  |  |  | id: '', | 
|---|
|  |  |  | tabType: 'info', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | async function handleDelete(row: API.GetEnterpriseEmployeesQueryResultItem) { | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | await Message.deleteMessage(); | 
|---|