apply 页面初始化处理
This commit is contained in:
parent
e54a2e294c
commit
19d679c468
@ -98,6 +98,7 @@ import MobileHeader from '../components/MobileHeader.vue'
|
||||
import { sendTeamApplyJoin, getWaitApplyRecord, cancelApply, searchTeamByAccount } from '../api/wallet.js'
|
||||
import {showError, showWarning, showInfo, showSuccess} from "@/utils/toast.js";
|
||||
import { ApiError } from '@/utils/http.js';
|
||||
import {usePageInitializationWithConfig} from "@/utils/pageConfig.js";
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
@ -284,9 +285,16 @@ const getStatusClass = (status) => {
|
||||
}
|
||||
|
||||
// 页面加载时获取申请记录
|
||||
onMounted(() => {
|
||||
fetchApplyRecords()
|
||||
usePageInitializationWithConfig('APPLY', {
|
||||
needsBankBalance: false,
|
||||
needsWorkStatistics: false,
|
||||
needsTeamInfo: false,
|
||||
needsRouteGuard: true,
|
||||
onDataLoaded: () => {
|
||||
fetchApplyRecords()
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user