diff --git a/src/views/system/mp-user.vue b/src/views/system/mp-user.vue
index bd3505f..651ea35 100644
--- a/src/views/system/mp-user.vue
+++ b/src/views/system/mp-user.vue
@@ -26,9 +26,6 @@
密码重置
-
- 批量删除
-
{{ row.identitiesName || formatIdentities(row.identities) }}
@@ -102,9 +99,6 @@
重置密码
-
- 删除
-
import { h } from 'vue';
-import { getList, getDetail, submit, remove, changeStatus, resetPassword } from '@/api/system/mpUser';
+import { getList, getDetail, submit, changeStatus, resetPassword } from '@/api/system/mpUser';
import { getDeptTree } from '@/api/system/dept';
import option from '@/option/system/mpUser';
import { mapGetters } from 'vuex';
@@ -159,7 +153,6 @@ export default {
return {
addBtn: this.validData(this.permission.mp_user_add, false),
viewBtn: this.validData(this.permission.mp_user_view, false),
- delBtn: this.validData(this.permission.mp_user_delete, false),
editBtn: this.validData(this.permission.mp_user_edit, false),
};
},
@@ -345,35 +338,6 @@ export default {
() => loading()
);
},
- rowDel(row) {
- this.$confirm('确定删除该小程序用户?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning',
- })
- .then(() => remove(row.id))
- .then(() => {
- this.onLoad(this.page);
- this.$message.success('操作成功');
- });
- },
- handleDelete() {
- if (this.selectionList.length === 0) {
- this.$message.warning('请选择至少一条数据');
- return;
- }
- this.$confirm('确定删除选中的小程序用户?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning',
- })
- .then(() => remove(this.ids))
- .then(() => {
- this.onLoad(this.page);
- this.$message.success('操作成功');
- this.$refs.crud.toggleSelection();
- });
- },
handleStatus(row) {
const status = row.status === 1 ? 0 : 1;
const text = status === 1 ? '启用' : '停用';