|
@@ -17,7 +17,6 @@
|
|
|
|
|
|
<script>
|
|
|
import personnelDetail from '@/components/personnel/personnel.vue';
|
|
|
-
|
|
|
import { createNamespacedHelpers, mapGetters } from 'vuex';
|
|
|
const { mapActions: mapSite } = createNamespacedHelpers('site');
|
|
|
const { mapActions: mapColumn } = createNamespacedHelpers('policiesColumn');
|
|
@@ -62,38 +61,14 @@ export default {
|
|
|
title: '标题',
|
|
|
},
|
|
|
],
|
|
|
- rencaiShowList: [
|
|
|
- {
|
|
|
- pic: require('@/assets/talent1.jpg'),
|
|
|
- title: '标题',
|
|
|
- },
|
|
|
- {
|
|
|
- pic: require('@/assets/talent1.jpg'),
|
|
|
- title: '标题',
|
|
|
- },
|
|
|
- {
|
|
|
- pic: require('@/assets/talent1.jpg'),
|
|
|
- title: '标题',
|
|
|
- },
|
|
|
- {
|
|
|
- pic: require('@/assets/talent1.jpg'),
|
|
|
- title: '标题',
|
|
|
- },
|
|
|
- {
|
|
|
- pic: require('@/assets/talent1.jpg'),
|
|
|
- title: '标题',
|
|
|
- },
|
|
|
- {
|
|
|
- pic: require('@/assets/talent1.jpg'),
|
|
|
- title: '标题',
|
|
|
- },
|
|
|
- ],
|
|
|
+ rencaiShowList: [],
|
|
|
}),
|
|
|
async created() {
|
|
|
this.searchSite();
|
|
|
this.searchColumn();
|
|
|
this.searchInfo();
|
|
|
this.searchInfos();
|
|
|
+ // this.searchRencaiShow();
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
@@ -116,16 +91,13 @@ export default {
|
|
|
async searchColumn({ ...info } = {}) {
|
|
|
const res = await this.columnList({ ...info });
|
|
|
this.$set(this, `liebiaoList`, res.data);
|
|
|
- console.log(res);
|
|
|
- // for (const val of res.data) {
|
|
|
- // this.tpxwSearch({ column_id: val.id, site: val.site });
|
|
|
- // }
|
|
|
},
|
|
|
-
|
|
|
+ // 查询找人才-人才展示
|
|
|
async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
const res = await this.newsList({ skip, limit, ...info });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `rencaiData`, res.data);
|
|
|
+ this.$set(this, `rencaiShowList`, res.data);
|
|
|
}
|
|
|
},
|
|
|
|