zhaowei
2024-11-13 1c21609a31e43427b29816d43d230fcf2830cdc0
src/views/system/modules/UserRecycleBinModal.vue
@@ -92,7 +92,8 @@
          { title: '账号', align: 'center', dataIndex: 'username' },
          { title: '姓名', align: 'center', dataIndex: 'realname', },
          { title: '头像', align: 'center', dataIndex: 'avatar', scopedSlots: { customRender: 'avatarslot' } },
          { title: '部门', align: 'center', dataIndex: 'orgCode' },
          // { title: '部门', align: 'center', dataIndex: 'orgCode' },
          { title: '车间', align: 'center', dataIndex: 'productionName' },
          { title: '操作', align: 'center', dataIndex: 'action', width: 200, scopedSlots: { customRender: 'action' } }
        ],
        url: {
@@ -144,7 +145,11 @@
              if(res.success){
                this.handleOk()
                this.handleClearSelection()
                this.$message.success(`还原 ${userIds.length} 个用户成功!`)
                // this.$message.success(`还原 ${userIds.length} 个用户成功!`)
                this.$notification.success({
                  message:'消息',
                  description:`还原 ${userIds.length} 个用户成功!`
                });
              }
            })
          }
@@ -165,9 +170,15 @@
              if (res.success) {
                this.loadData()
                this.handleClearSelection()
                this.$message.success(`彻底删除 ${userIds.length} 个用户成功!`)
              that.$notification.success({
                message:'消息',
                description:`彻底删除 ${userIds.length} 个用户成功!`
              });
              } else {
                that.$message.warning(res.message);
              that.$notification.warning({
                message:'消息',
                description:res.message
              });
              }
            });
          },