|
@@ -40,6 +40,9 @@ import { useRouter } from 'vue-router'; const router = useRouter()
|
|
import { getJobAdvertisedList } from '@/api/position'
|
|
import { getJobAdvertisedList } from '@/api/position'
|
|
import { dealDictArrayData } from '@/utils/position'
|
|
import { dealDictArrayData } from '@/utils/position'
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
|
|
|
+import { useUserStore } from '@/store/user'
|
|
|
|
+
|
|
|
|
+const store = useUserStore()
|
|
|
|
|
|
const { t } = useI18n()
|
|
const { t } = useI18n()
|
|
const total = ref(0)
|
|
const total = ref(0)
|
|
@@ -72,8 +75,9 @@ const textItem = ref({
|
|
appendInnerIcon: 'mdi-magnify'
|
|
appendInnerIcon: 'mdi-magnify'
|
|
})
|
|
})
|
|
|
|
|
|
-const handleAdd = () => {
|
|
|
|
|
|
+const handleAdd = async () => {
|
|
router.push('/recruit/enterprise/position/add')
|
|
router.push('/recruit/enterprise/position/add')
|
|
|
|
+ await store.getEnterpriseUserAccountInfo()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|