| | |
| | | :workExperience="item.workExperience" |
| | | > |
| | | <template #actions> |
| | | <nut-button type="primary" plain>查看详情</nut-button> |
| | | <nut-button type="primary" plain @click="goEnterpriseEmployeeDetail(item)" |
| | | >查看详情</nut-button |
| | | > |
| | | <nut-button type="primary" @click="handleChoose(item)">选择</nut-button> |
| | | </template> |
| | | </ChooseServerCard> |
| | |
| | | import { EnumPagedListOrder } from '@12333/constants'; |
| | | import { useEvent, useEventChannel } from 'senin-mini/hooks'; |
| | | import { SelectEnterpriseEmployeeEvent } from '../utils'; |
| | | import { goBack } from '@/utils'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | supplierEnterpriseId: id, |
| | | enterpriseEmployeeName: item.name, |
| | | } as SelectEnterpriseEmployeeEvent); |
| | | Taro.navigateBack({ delta: 2 }); |
| | | goBack(2); |
| | | } |
| | | |
| | | function goEnterpriseEmployeeDetail(item: API.GetStandardServiceServersQueryResultItem) { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.EnterpriseEmployeeDetail}?id=${item.id}&userId=${item.userId}`, |
| | | }); |
| | | } |
| | | </script> |