apps/bMiniApp/src/subpackages/flexJobManage/flexJobDetailFromManage/InnerPage.vue
@@ -38,8 +38,7 @@ @click="goToSign" v-if=" enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Wait || enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Refuse || enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Stop || !enterpriseEmployeeInfo.userSignContractStatus " >签约</PageFooterBtn apps/bMiniApp/src/subpackages/flexJobManage/flexJobManage/InnerPage.vue
@@ -82,7 +82,7 @@ userSignContractStatus: EnumTaskUserSignContractStatus.Pass, }); const { infiniteLoadingProps } = useInfiniteLoading( const { infiniteLoadingProps, invalidateQueries } = useInfiniteLoading( ({ pageParam }) => { let params: API.GetEnterpriseEmployeesQuery = { pageModel: { @@ -114,6 +114,14 @@ async function handleUnsign(item: API.GetEnterpriseEmployeesQueryResultItem) { try { await Message.confirm({ message: '确定要解约吗?' }); let params: API.StopElectronSignCommand = { id: item.id, }; let res = await enterpriseEmployeeServices.stopElectronSign(params); if (res) { Message.success('解约成功'); invalidateQueries(); } } catch (error) {} } function goFlexJobSign(item: API.GetEnterpriseEmployeesQueryResultItem) { apps/cMiniApp/src/subpackages/mine/mineAgreementSignDetail/InnerPage.vue
@@ -132,6 +132,9 @@ } } catch (error) {} }); Taro.useDidShow(() => { refetch(); }); </script> <style lang="scss"> apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
@@ -295,4 +295,8 @@ scale: 18, }); } Taro.useDidShow(() => { refetch(); }); </script>