|
@@ -76,8 +76,6 @@ export default {
|
|
this.searchInfojobs();
|
|
this.searchInfojobs();
|
|
this.searchInfozhuanjia();
|
|
this.searchInfozhuanjia();
|
|
this.searchInfomapcanmou();
|
|
this.searchInfomapcanmou();
|
|
-
|
|
|
|
- // this.searchRencaiShow();
|
|
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
methods: {
|
|
methods: {
|
|
@@ -111,52 +109,56 @@ export default {
|
|
this.$set(this, `rencaiShowList`, res.data);
|
|
this.$set(this, `rencaiShowList`, res.data);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ // 查询找工作
|
|
async searchInfojobs({ skip = 0, limit = 10, ...info } = {}) {
|
|
async searchInfojobs({ skip = 0, limit = 10, ...info } = {}) {
|
|
const res = await this.xinxiList({ skip, limit, ...info });
|
|
const res = await this.xinxiList({ skip, limit, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `jobsData`, res.data);
|
|
this.$set(this, `jobsData`, res.data);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ // 查询找专家
|
|
async searchInfozhuanjia({ skip = 0, limit = 10, ...info } = {}) {
|
|
async searchInfozhuanjia({ skip = 0, limit = 10, ...info } = {}) {
|
|
const res = await this.zhuanjiaList({ skip, limit, ...info });
|
|
const res = await this.zhuanjiaList({ skip, limit, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `zhuanjiaData`, res.data);
|
|
this.$set(this, `zhuanjiaData`, res.data);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ // 查询找参谋
|
|
async searchInfomapcanmou({ skip = 0, limit = 10, ...info } = {}) {
|
|
async searchInfomapcanmou({ skip = 0, limit = 10, ...info } = {}) {
|
|
const res = await this.canmouList({ skip, limit, ...info });
|
|
const res = await this.canmouList({ skip, limit, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `canmoData`, res.data);
|
|
this.$set(this, `canmoData`, res.data);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ // 人才详情
|
|
clickDetail({ data }) {
|
|
clickDetail({ data }) {
|
|
- // 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
|
|
this.$router.push({ path: '/personnel/rencai', query: { id: data.id } });
|
|
this.$router.push({ path: '/personnel/rencai', query: { id: data.id } });
|
|
},
|
|
},
|
|
|
|
+ // 工作详情
|
|
clickDetailgz({ data }) {
|
|
clickDetailgz({ data }) {
|
|
- // 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
|
|
this.$router.push({ path: '/personnel/personnelwork', query: { id: data.id } });
|
|
this.$router.push({ path: '/personnel/personnelwork', query: { id: data.id } });
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ // 专家详情
|
|
clickDetailzj({ data }) {
|
|
clickDetailzj({ data }) {
|
|
- // 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
|
|
this.$router.push({ path: '/personnel/personnelexpert', query: { id: data.id } });
|
|
this.$router.push({ path: '/personnel/personnelexpert', query: { id: data.id } });
|
|
},
|
|
},
|
|
|
|
+ // 参谋详情
|
|
clickDetailcm({ data }) {
|
|
clickDetailcm({ data }) {
|
|
- // 点击这个方法,跳转页面,并把id传过去,并用id查询详情
|
|
|
|
- this.$router.push({ path: '/personnel/dpersonnelcmdetail', query: { id: data.id } });
|
|
|
|
|
|
+ this.$router.push({ path: '/personnel/personnelcmdetail', query: { id: data.id } });
|
|
},
|
|
},
|
|
- onsaveClick({ id }) {
|
|
|
|
- let detailId = this.$route.query.id;
|
|
|
|
-
|
|
|
|
- console.log(id);
|
|
|
|
- // if (id) {
|
|
|
|
-
|
|
|
|
- // this.$router.push({ path: '/personnel/personnelcmdetail', query: { id: id } });
|
|
|
|
- // } else {
|
|
|
|
- // this.$router.push({ path: '/shuji/shuju', query: { id: id } });
|
|
|
|
- // }
|
|
|
|
|
|
+ async onsaveClick({ id }) {
|
|
|
|
+ const res = await this.columnInfo(id);
|
|
|
|
+ if (res.data.name === '招聘信息') {
|
|
|
|
+ this.$router.push({ path: '/personnel/recruitList', query: { id: id } });
|
|
|
|
+ } else if (res.data.name === '就业指导') {
|
|
|
|
+ this.$router.push({ path: '/personnel/guidanceList', query: { id: id } });
|
|
|
|
+ } else if (res.data.name === '学习实践') {
|
|
|
|
+ this.$router.push({ path: '/personnel/practiceList', query: { id: id } });
|
|
|
|
+ } else if (res.data.name === '勤工俭学') {
|
|
|
|
+ this.$router.push({ path: '/personnel/diligenceList', query: { id: id } });
|
|
|
|
+ } else if (res.data.name === '工作顾问') {
|
|
|
|
+ this.$router.push({ path: '/personnel/adviserList', query: { id: id } });
|
|
|
|
+ }
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
};
|