| | |
| | | const { userDetail } = useUser(); |
| | | const router = Taro.useRouter(); |
| | | const launchOption = useLaunchOptions(); |
| | | const options = Taro.getLaunchOptionsSync(); |
| | | //灵工Id |
| | | const id = router.params?.id; |
| | | const code = launchOption?.query?.scene || router.params?.code; |
| | | const code = router.params?.code || options?.query?.scene; |
| | | |
| | | const { |
| | | isLoading, |
| | |
| | | try { |
| | | // if (detail.value?.contractTemplateAccess === EnumElectronSignAccess.BestSign) { |
| | | let params: API.PersonalUserElectronSignCommand = { |
| | | id: id, |
| | | id: detail.value?.id, |
| | | }; |
| | | let res = await enterpriseEmployeeServices.personalUserElectronSign(params); |
| | | if (res) { |