linwenxin 5 bulan lalu
induk
melakukan
40f65eabd9
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      src/views/userManagement/masterManagement/index.vue

+ 3 - 3
src/views/userManagement/masterManagement/index.vue

@@ -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()
             })