| | |
| | | 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, |
| | |
| | | let res = await enterpriseEmployeeServices.personalUserElectronSign(params); |
| | | if (res) { |
| | | const encodedUrl = encodeURIComponent(res.signContractLongUrl); |
| | | Taro.navigateTo({ url: `${RouterPath.mineAgreementSignExtraPage}?url=${encodedUrl}` }); |
| | | Taro.navigateTo({ url: `${RouterPath.extraPage}?url=${encodedUrl}` }); |
| | | } |
| | | // } |
| | | // if (detail.value?.contractTemplateAccess === EnumElectronSignAccess.AlipaySign) { |