|
@@ -980,7 +980,7 @@ export default {
|
|
|
return ['QUIT'].includes(row.examineStatus)
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
- workerManagerAgainQuit.then(res => {
|
|
|
+ workerManagerAgainQuit({ id: row.id }).then(res => {
|
|
|
this.$message({ type: 'success', message: '入职成功!' })
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
})
|
|
@@ -993,7 +993,7 @@ export default {
|
|
|
return ['OK'].includes(row.examineStatus)
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
- workerManagerStop.then(res => {
|
|
|
+ workerManagerStop({ id: row.id }).then(res => {
|
|
|
this.$message({ type: 'success', message: '暂停成功!' })
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
})
|
|
@@ -1006,7 +1006,7 @@ export default {
|
|
|
return ['OK'].includes(row.examineStatus)
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
- workerManagerQuit.then(res => {
|
|
|
+ workerManagerQuit({ id: row.id }).then(res => {
|
|
|
this.$message({ type: 'success', message: '离职成功!' })
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
})
|