|
@@ -4,7 +4,7 @@
|
|
* @Autor: XuTongZhang
|
|
* @Autor: XuTongZhang
|
|
* @Date: 2020-07-30 09:53:19
|
|
* @Date: 2020-07-30 09:53:19
|
|
* @LastEditors: XuTongZhang
|
|
* @LastEditors: XuTongZhang
|
|
- * @LastEditTime: 2020-08-05 16:36:16
|
|
|
|
|
|
+ * @LastEditTime: 2020-08-07 11:57:11
|
|
-->
|
|
-->
|
|
<template>
|
|
<template>
|
|
<div class="indexPage">
|
|
<div class="indexPage">
|
|
@@ -17,7 +17,7 @@
|
|
@eliminate="eliminateAll"
|
|
@eliminate="eliminateAll"
|
|
@search="search"
|
|
@search="search"
|
|
></v-input>
|
|
></v-input>
|
|
- <el-radio-group v-model="isCollapse" style="margin-bottom: 20px;">
|
|
|
|
|
|
+ <el-radio-group v-model="isCollapse" size="medium" style="margin-bottom: 20px;">
|
|
<el-radio-button :label="1">未读简历</el-radio-button>
|
|
<el-radio-button :label="1">未读简历</el-radio-button>
|
|
<el-radio-button :label="2">已通过简历</el-radio-button>
|
|
<el-radio-button :label="2">已通过简历</el-radio-button>
|
|
<el-radio-button :label="3">已通知简历</el-radio-button>
|
|
<el-radio-button :label="3">已通知简历</el-radio-button>
|
|
@@ -398,11 +398,11 @@ export default {
|
|
},
|
|
},
|
|
through (row, type = false) {
|
|
through (row, type = false) {
|
|
let ids = type ? row : [row.id]
|
|
let ids = type ? row : [row.id]
|
|
- let deleteResumeInfoList = ids.map(item => ({ id: item, isPass: 1 }))
|
|
|
|
|
|
+ let resumeInfoStatusList = ids.map(item => ({ id: item, isPass: 1 }))
|
|
this.$api
|
|
this.$api
|
|
.post('/resumeInfo/changeReadType', {
|
|
.post('/resumeInfo/changeReadType', {
|
|
reqdata: {
|
|
reqdata: {
|
|
- deleteResumeInfoList
|
|
|
|
|
|
+ resumeInfoStatusList
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -416,11 +416,11 @@ export default {
|
|
},
|
|
},
|
|
eliminate (row, type = false) {
|
|
eliminate (row, type = false) {
|
|
let ids = type ? row : [row.id]
|
|
let ids = type ? row : [row.id]
|
|
- let deleteResumeInfoList = ids.map(item => ({ id: item, isPass: 2 }))
|
|
|
|
|
|
+ let resumeInfoStatusList = ids.map(item => ({ id: item, isPass: 2 }))
|
|
this.$api
|
|
this.$api
|
|
.post('/resumeInfo/changeReadType', {
|
|
.post('/resumeInfo/changeReadType', {
|
|
reqdata: {
|
|
reqdata: {
|
|
- deleteResumeInfoList
|
|
|
|
|
|
+ resumeInfoStatusList
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -434,7 +434,7 @@ export default {
|
|
},
|
|
},
|
|
del (row, type = false) {
|
|
del (row, type = false) {
|
|
let ids = type ? row : [row.id]
|
|
let ids = type ? row : [row.id]
|
|
- let deleteResumeInfoList = ids.map(item => ({ id: item, status: 1 }))
|
|
|
|
|
|
+ let resumeInfoStatusList = ids.map(item => ({ id: item, status: 1 }))
|
|
this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
|
|
this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
@@ -444,7 +444,7 @@ export default {
|
|
this.$api
|
|
this.$api
|
|
.post('/resumeInfo/deleteResumeInfo', {
|
|
.post('/resumeInfo/deleteResumeInfo', {
|
|
reqdata: {
|
|
reqdata: {
|
|
- deleteResumeInfoList
|
|
|
|
|
|
+ resumeInfoStatusList
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.then((res) => {
|
|
.then((res) => {
|