|
|
@@ -68,19 +68,20 @@
|
|
|
},
|
|
|
|
|
|
async getTableData() {
|
|
|
- this.tableData = [];
|
|
|
+ const id = this.$router.currentRoute.query.id;
|
|
|
const res = await this.$post("/api/admin/present_job/get_apply_users", {
|
|
|
page: this.currentPage,
|
|
|
size: 10,
|
|
|
- id:1
|
|
|
+ id:id
|
|
|
});
|
|
|
this.appliers = res.data.appliers;
|
|
|
this.totalCount = res.data.count;
|
|
|
},
|
|
|
|
|
|
changeStatus(uid){
|
|
|
+ const id = this.$router.currentRoute.query.id;
|
|
|
this.$post("/api/admin/present_job/change_status", {
|
|
|
- present_job_id:1,
|
|
|
+ present_job_id:id,
|
|
|
uid:uid
|
|
|
}).then(res=>{
|
|
|
this.$message.success('修改成功');
|