|
@@ -206,13 +206,13 @@ import {getRecommendCompanyPostList, addRecommend,getProfessionLikeList, getComp
|
|
import {getPaginationTotalTitle} from '@/utils/common';
|
|
import {getPaginationTotalTitle} from '@/utils/common';
|
|
import dayjs from 'dayjs';
|
|
import dayjs from 'dayjs';
|
|
import {message, SelectProps} from "ant-design-vue";
|
|
import {message, SelectProps} from "ant-design-vue";
|
|
-import {get} from "@/api/common";
|
|
|
|
import {debounce} from "lodash-es";
|
|
import {debounce} from "lodash-es";
|
|
import {getAllSite} from "@/api/baseSettings/siteInfo";
|
|
import {getAllSite} from "@/api/baseSettings/siteInfo";
|
|
import {getRegionCodeList} from '@/api/system/area/index';
|
|
import {getRegionCodeList} from '@/api/system/area/index';
|
|
import {getSysDictionaryList} from "@/api/system/dictionary";
|
|
import {getSysDictionaryList} from "@/api/system/dictionary";
|
|
import CompanyDetailModel from "./companyDetail.vue";
|
|
import CompanyDetailModel from "./companyDetail.vue";
|
|
import PostDetailModel from "./postDetail.vue";
|
|
import PostDetailModel from "./postDetail.vue";
|
|
|
|
+import {getAllList} from "@/api/companyService/company";
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
name: 'RecommendCompanyPostList',
|
|
name: 'RecommendCompanyPostList',
|
|
@@ -235,10 +235,6 @@ export default defineComponent({
|
|
const recommendPostWhereList = ref([{label:'岗位',value:1},{label:'相关行业',value:2}] as any);
|
|
const recommendPostWhereList = ref([{label:'岗位',value:1},{label:'相关行业',value:2}] as any);
|
|
const jobUserID = ref();
|
|
const jobUserID = ref();
|
|
|
|
|
|
- get('companyService/company/getList', {pageIndex: 1, pageSize: 9999}).then(result => {
|
|
|
|
- companyList.value = result.list;
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
function companyChange(value: any) {
|
|
function companyChange(value: any) {
|
|
getCompanyProfessionLikeList({
|
|
getCompanyProfessionLikeList({
|
|
pageIndex: 1,
|
|
pageIndex: 1,
|
|
@@ -251,6 +247,12 @@ export default defineComponent({
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ function getCompanyList() {
|
|
|
|
+ getAllList().then((result: any) => {
|
|
|
|
+ companyList.value = result;
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
const getCultureLevelList = async function () {
|
|
const getCultureLevelList = async function () {
|
|
const data: any = await getSysDictionaryList("CultureLevel");
|
|
const data: any = await getSysDictionaryList("CultureLevel");
|
|
cultureLevelList.value = data;
|
|
cultureLevelList.value = data;
|
|
@@ -431,6 +433,7 @@ export default defineComponent({
|
|
|
|
|
|
const loadData = async function () {
|
|
const loadData = async function () {
|
|
formState.loading = true;
|
|
formState.loading = true;
|
|
|
|
+ await getCompanyList();
|
|
await getCultureLevelList();
|
|
await getCultureLevelList();
|
|
await getWorkYearTypeList();
|
|
await getWorkYearTypeList();
|
|
await getAllSites();
|
|
await getAllSites();
|