|
@@ -68,6 +68,7 @@ export default {
|
|
},
|
|
},
|
|
],
|
|
],
|
|
rencaiShowList: [],
|
|
rencaiShowList: [],
|
|
|
|
+ canmouId: '',
|
|
}),
|
|
}),
|
|
async created() {
|
|
async created() {
|
|
this.searchSite();
|
|
this.searchSite();
|
|
@@ -127,16 +128,16 @@ export default {
|
|
async searchInfomapcanmou({ ...info } = {}) {
|
|
async searchInfomapcanmou({ ...info } = {}) {
|
|
const res = await this.columnList({ ...info });
|
|
const res = await this.columnList({ ...info });
|
|
for (const val of res.data) {
|
|
for (const val of res.data) {
|
|
- // console.log(val.site);
|
|
|
|
if (val.site === 'jyzd') {
|
|
if (val.site === 'jyzd') {
|
|
- this.searchCanmou({ canmouId: val.id });
|
|
|
|
|
|
+ console.log(val.id);
|
|
|
|
+ this.$set(this, `canmouId`, val.id);
|
|
|
|
+ this.searchCanmou();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- async searchCanmou( skip = 0, limit = 10, canmouId) {
|
|
|
|
- console.log(skip, limit, canmouId);
|
|
|
|
- const res = await this.newsList({ skip, limit, canmouId });
|
|
|
|
- console.log(res.data);
|
|
|
|
|
|
+ async searchCanmou({ skip = 0, limit = 10, column_id } = {}) {
|
|
|
|
+ const res = await this.canmouList({ skip, limit, column_id: this.canmouId });
|
|
|
|
+ this.$set(this, `canmoData`, res.data);
|
|
},
|
|
},
|
|
// 人才详情
|
|
// 人才详情
|
|
clickDetail({ data }) {
|
|
clickDetail({ data }) {
|