From 400087a588d6bb71fdd4d8e2ea9bce9b3e558547 Mon Sep 17 00:00:00 2001
From: fiaohe <2803383797@qq.com>
Date: Wed, 7 Jun 2023 01:49:36 +0000
Subject: [PATCH] update src/views/CompanyRecruitment/Interview.vue.
Signed-off-by: fiaohe <2803383797@qq.com>
---
src/views/CompanyRecruitment/Interview.vue | 60 ++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/src/views/CompanyRecruitment/Interview.vue b/src/views/CompanyRecruitment/Interview.vue
index 7b61f48..c88f892 100644
--- a/src/views/CompanyRecruitment/Interview.vue
+++ b/src/views/CompanyRecruitment/Interview.vue
@@ -20,6 +20,8 @@
{{ $t('刷新') }}
批量删除
+ 批量不签约
+ 批量取消面试
@@ -267,6 +269,64 @@ export default {
//
}
},
+ //批量不签约
+ noSign() {
+ if (this.multipleSelection == "") {
+ this.$message.warning('请至少选择一条数据进行删除!')
+ } else {
+ this.$confirm('此操作将不签约求职者,是否继续?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning',
+ center: true
+ }).then(() => {
+ // 声明空数组,这里的数组是后端需要的数据
+ let arrray = []
+ //遍历勾选数据取自己需要的id等这里是和后端需要的参数对应
+ for (let i = 0; i < this.multipleSelection.length; i++) {
+ let obj = {}//这里的对象数据是需要删除的数据 这里声明为了不重复
+ obj.account = this.multipleSelection[i].account;
+ obj.positionId = this.multipleSelection[i].positionId;
+ obj.progressStatus=6;
+ arrray.push(obj)//把取出的对象push到数组里
+ }
+ deleteResumeDelivery(arrray).then(res => { //接口
+ console.log(res);
+ })
+ this.handleFilter();//删完成功后初始化查询列表
+ })
+ //
+ }
+ },
+ //批量取消面试
+ CancelInterview() {
+ if (this.multipleSelection == "") {
+ this.$message.warning('请至少选择一条数据进行删除!')
+ } else {
+ this.$confirm('此操作将永久删除该数据,是否继续?', '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning',
+ center: true
+ }).then(() => {
+ // 声明空数组,这里的数组是后端需要的数据
+ let arrray = []
+ //遍历勾选数据取自己需要的id等这里是和后端需要的参数对应
+ for (let i = 0; i < this.multipleSelection.length; i++) {
+ let obj = {}//这里的对象数据是需要删除的数据 这里声明为了不重复
+ obj.account = this.multipleSelection[i].account;
+ obj.positionId = this.multipleSelection[i].positionId;
+ obj.progressStatus=1;
+ arrray.push(obj)//把取出的对象push到数组里
+ }
+ deleteResumeDelivery(arrray).then(res => { //接口
+ console.log(res);
+ })
+ this.handleFilter();//删完成功后初始化查询列表
+ })
+ //
+ }
+ },
// 清空条件
resetListQuery() {
this.start_Time = null
--
Gitee