diff --git a/element-vue/src/components/supManager/userManage.vue b/element-vue/src/components/supManager/userManage.vue
index 00cb472..bebb830 100644
--- a/element-vue/src/components/supManager/userManage.vue
+++ b/element-vue/src/components/supManager/userManage.vue
@@ -8,11 +8,15 @@
新增用户
+ 多选删除
+
@@ -53,25 +57,11 @@
data() {
return {
search: '',
- tableData: [{
- nickname: "",
- tel: "",
- email: "",
- username: "",
- office: "",
- position:'',
- uid: 0
- }],
+ items: [],
+ tableData: [],
dialogFormVisible: false,
edit: false,
- userForm: {
- nickname: "",
- tel: "",
- email: "",
- username: "",
- office: "",
- position: ''
- }
+ userForm: {}
}
}
,
@@ -82,6 +72,9 @@
handleClick(row) {
console.log(row);
},
+ handleSelectionChange(val) {
+ this.items = val;
+ },
addUser() {
this.edit = false
this.userForm = {
@@ -106,6 +99,10 @@
showFail("删除失败 " + e.msg, this)
})
},
+ async deleteUserMul(){
+ await showDialog("确认要删除吗?", this)
+ showFail("尚未开发",this)
+ },
// 编辑用户
async editUser(item) {
await showDialog('确认编辑该用户吗?',this)
@@ -114,7 +111,6 @@
this.dialogFormVisible = true
},
cancel(){
- console.log(1)
this.dialogFormVisible = false
},
confirm(){