diff --git a/src/views/System/User.vue b/src/views/System/User.vue
index 9e991ff..75bc4d5 100644
--- a/src/views/System/User.vue
+++ b/src/views/System/User.vue
@@ -57,12 +57,12 @@
-
-
- sysUserIsUse(val, row)">
-
-
+
+
+
+
+
+
查看
@@ -210,21 +210,21 @@ export default {
this.repassword = ''
this.dialogUser = true
},
- // 启用/禁用
- sysUserIsUse (val, row) {
- this.$confirm(val === '0' ? '此操作将禁用所选用户, 是否继续?' : '此操作将启用所选用户, 是否继续?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- this.$api.user.sysUserIsUse({ USID: row.USID, type: val }).then(_ => {
- this.$message.success('操作成功')
- this.sysUserList()
- })
- }).catch(() => {
- row.ISUSE = val === '1' ? '0' : '1'
- })
- },
+ // // 启用/禁用
+ // sysUserIsUse (val, row) {
+ // this.$confirm(val === '0' ? '此操作将禁用所选用户, 是否继续?' : '此操作将启用所选用户, 是否继续?', '提示', {
+ // confirmButtonText: '确定',
+ // cancelButtonText: '取消',
+ // type: 'warning'
+ // }).then(() => {
+ // this.$api.user.sysUserIsUse({ USID: row.USID, type: val }).then(_ => {
+ // this.$message.success('操作成功')
+ // this.sysUserList()
+ // })
+ // }).catch(() => {
+ // row.ISUSE = val === '1' ? '0' : '1'
+ // })
+ // },
// 删除
deleteRow (row) {
this.deleteUser(row.USID)