瀏覽代碼

no message

linwenxin 6 月之前
父節點
當前提交
40f65eabd9
共有 1 個文件被更改,包括 3 次插入3 次删除
  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()
             })