|
|
|
@ -43,10 +43,20 @@ |
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-download" @click="downloadFn(scope.row)" |
|
|
|
|
>下载简历</el-button |
|
|
|
|
> |
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-turn-off" @click="hideJl(scope.row)" |
|
|
|
|
<el-button |
|
|
|
|
v-if="scope.row.status == 2" |
|
|
|
|
size="mini" |
|
|
|
|
type="text" |
|
|
|
|
icon="el-icon-turn-off" |
|
|
|
|
@click="hideJl(scope.row)" |
|
|
|
|
>隐藏简历</el-button |
|
|
|
|
> |
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-turn-off" @click="showJl(scope.row)" |
|
|
|
|
<el-button |
|
|
|
|
v-if="scope.row.status == 4" |
|
|
|
|
size="mini" |
|
|
|
|
type="text" |
|
|
|
|
icon="el-icon-turn-off" |
|
|
|
|
@click="showJl(scope.row)" |
|
|
|
|
>显示简历</el-button |
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
@ -219,12 +229,14 @@ export default { |
|
|
|
|
showJl(row) { |
|
|
|
|
showJLFN(row.userId).then((res) => { |
|
|
|
|
this.$message.success('显示成功') |
|
|
|
|
this.getList() |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 隐藏简历 |
|
|
|
|
hideJl(row) { |
|
|
|
|
hideJLFN(row.userId).then((res) => { |
|
|
|
|
this.$message.success('隐藏成功') |
|
|
|
|
this.getList() |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|