| | |
| | | // @ts-ignore |
| | | export type { RouterPath, RouterPath } from './src/constants/router' |
| | | import('./src/constants/router') |
| | | // @ts-ignore |
| | | export type { HomeOrderType } from './src/hooks/task' |
| | | import('./src/hooks/task') |
| | | } |
| | | // for vue template auto import |
| | | import { UnwrapRef } from 'vue' |
| | |
| | | readonly AppLocalConfig: UnwrapRef<typeof import('./src/constants/app')['AppLocalConfig']> |
| | | readonly BackType: UnwrapRef<typeof import('./src/constants/enum')['BackType']> |
| | | readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']> |
| | | readonly HomeOrderType: UnwrapRef<typeof import('./src/hooks/task')['HomeOrderType']> |
| | | readonly OssAssets: UnwrapRef<typeof import('./src/constants/img')['OssAssets']> |
| | | readonly RouterPath: UnwrapRef<typeof import('./src/constants/router')['RouterPath']> |
| | | readonly TabBarPageRouter: UnwrapRef<typeof import('./src/constants/tabBar')['TabBarPageRouter']> |
| | |
| | | readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']> |
| | | readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']> |
| | | readonly useSwitchTab: UnwrapRef<typeof import('./src/hooks/router')['useSwitchTab']> |
| | | readonly useTaskList: UnwrapRef<typeof import('./src/hooks/task')['useTaskList']> |
| | | readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']> |
| | | readonly useUser: UnwrapRef<typeof import('./src/hooks/user')['useUser']> |
| | | readonly watch: UnwrapRef<typeof import('vue')['watch']> |
| | |
| | | import { JobApplicationCard, ProTabs, ProTabPane } from '@12333/components'; |
| | | import { RouterPath } from '@/constants'; |
| | | import { EnumTaskReleaseStatus, BillingMethodEnumUnit } from '@12333/constants'; |
| | | import * as flexWorkerServices from '@12333/services/api/FlexWorker'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { Message } from '@12333/utils'; |
| | | import * as taskServices from '@12333/services/apiV2/task'; |
| | | import { useTaskList } from '@12333/hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | import { JobApplicationCard, ProTabs, ProTabPane } from '@12333/components'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { EnumTaskStatus, BillingMethodEnumUnit, Colors } from '@12333/constants'; |
| | | import { useTaskList } from '@/hooks/task'; |
| | | import { useTaskList } from '@12333/hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { useUser, useTaskList, HomeOrderType } from '@/hooks'; |
| | | import { useUser } from '@/hooks'; |
| | | import { useUserStore } from '@/stores/modules/user'; |
| | | import { RectDown, Location2 } from '@nutui/icons-vue-taro'; |
| | | import Taro from '@tarojs/taro'; |
| | |
| | | import { TaskCard, ProTabs, ProTabPane } from '@12333/components'; |
| | | import HomeQueryMenuView from './HomeQueryMenuView.vue'; |
| | | import IconLocaltion from '@/assets/task/icon-localtion.png'; |
| | | import { useAllAreaList } from '@12333/hooks'; |
| | | import { useAllAreaList, useTaskList } from '@12333/hooks'; |
| | | import { useAccessLogin } from '@/hooks'; |
| | | |
| | | const { locationCity } = useUser(); |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { useTaskList } from '@/hooks'; |
| | | import { TaskCard } from '@12333/components'; |
| | | import { useTaskList } from '@12333/hooks'; |
| | | import Taro from '@tarojs/taro'; |
| | | |
| | | defineOptions({ |
| | |
| | | export * from './setting'; |
| | | export * from './identify'; |
| | | export * from './enterprise'; |
| | | export * from './task'; |
File was renamed from apps/bMiniApp/src/hooks/task.ts |
| | |
| | | } from '@12333/constants'; |
| | | import _ from 'lodash'; |
| | | import { trim } from '@12333/utils'; |
| | | import { MaybeRef } from 'vue'; |
| | | import { MaybeRef, reactive, ref, unref } from 'vue'; |
| | | import * as taskServices from '@12333/services/apiV2/task'; |
| | | |
| | | export enum HomeOrderType { |
| | |
| | | settlementCycle: '' as any as EnumSettlementCycle, |
| | | benefitCodes: '', |
| | | status: '' as any as EnumTaskStatus, |
| | | releaseStatus: '' as any as EnumTaskReleaseStatus, |
| | | releaseStatus: EnumTaskReleaseStatus.InProcess, |
| | | }); |
| | | |
| | | const queryState = reactive({ |