From 8a62368141a93ee7d8fd53e3d88414904ab5eb3d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 01 六月 2020 13:40:01 +0800 Subject: [PATCH] 同步若依2.3版本 --- ruoyi-ui/src/views/system/user/index.vue | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index 87e75d1..ec0a789 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -198,7 +198,7 @@ </el-row> <!-- 娣诲姞鎴栦慨鏀瑰弬鏁伴厤缃璇濇 --> - <el-dialog :title="title" :visible.sync="open" width="600px"> + <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-row> <el-col :span="12"> @@ -222,7 +222,7 @@ </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="鐢ㄦ埛鍚嶇О" prop="userName"> + <el-form-item v-if="form.userId == undefined" label="鐢ㄦ埛鍚嶇О" prop="userName"> <el-input v-model="form.userName" placeholder="璇疯緭鍏ョ敤鎴峰悕绉�" /> </el-form-item> </el-col> @@ -295,7 +295,7 @@ </el-dialog> <!-- 鐢ㄦ埛瀵煎叆瀵硅瘽妗� --> - <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px"> + <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body> <el-upload ref="upload" :limit="1" @@ -572,8 +572,6 @@ resetUserPwd(row.userId, value).then(response => { if (response.code === 200) { this.msgSuccess("淇敼鎴愬姛锛屾柊瀵嗙爜鏄細" + value); - } else { - this.msgError(response.msg); } }); }).catch(() => {}); @@ -588,8 +586,6 @@ this.msgSuccess("淇敼鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } else { @@ -598,8 +594,6 @@ this.msgSuccess("鏂板鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } @@ -662,4 +656,4 @@ } } }; -</script> +</script> \ No newline at end of file -- Gitblit v1.9.3