wuzhen update
This commit is contained in:
1 parent
f71eada96c
commit
76fada3a51
11 files changed
+404
-237
No files matched your search
@@ -228,6 +228,13 @@
|
||||
>
|
||||
<el-icon><Upload /></el-icon>发布岗位
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
v-if="hasPermission('jcbt:workStudyPosition:startRecruiting')"
|
||||
command="startRecruiting"
|
||||
:disabled="getRowStatus(scope.row) !== 'PUBLISHED'"
|
||||
>
|
||||
<el-icon><VideoPlay /></el-icon>开启招录
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
v-if="hasPermission('jcbt:workStudyPosition:suspend')"
|
||||
command="suspend"
|
||||
@@ -288,6 +295,7 @@ import {
|
||||
exportWorkStudyPosition,
|
||||
getPositionStatistics,
|
||||
publishPosition,
|
||||
startRecruiting,
|
||||
suspendPosition,
|
||||
resumePosition,
|
||||
cancelPosition
|
||||
@@ -518,6 +526,12 @@ async function handleCommand(command, row) {
|
||||
proxy?.$modal.msgSuccess('发布成功');
|
||||
operationSuccess = true;
|
||||
break;
|
||||
case 'startRecruiting':
|
||||
await proxy?.$modal.confirm('确认开启此岗位的招录?开启后学生可以申请此岗位。');
|
||||
await startRecruiting(row.id);
|
||||
proxy?.$modal.msgSuccess('开启招录成功');
|
||||
operationSuccess = true;
|
||||
break;
|
||||
case 'suspend':
|
||||
await proxy?.$modal.confirm('确认暂停此岗位的招录?暂停后学生无法申请此岗位。');
|
||||
await suspendPosition(row.id);
|
||||
|
||||
Reference in new issue
Block a user