| | |
| | | </el-form-item>
|
| | | </el-col>
|
| | | <el-col :span="8" :offset="2">
|
| | | <el-form-item label="登录账号" prop="phonenumber">
|
| | | <el-form-item label="登录账号" prop="userName">
|
| | | <el-input v-model="form.userName" disabled />
|
| | | </el-form-item>
|
| | | </el-col>
|
| | |
| | | const userId = this.form.userId;
|
| | | const roleIds = this.roleIds.join(",");
|
| | | updateAuthRole({ userId: userId, roleIds: roleIds }).then((response) => {
|
| | | this.msgSuccess("授权成功");
|
| | | this.$modal.msgSuccess("授权成功");
|
| | | this.close();
|
| | | });
|
| | | },
|
| | | /** 关闭按钮 */
|
| | | close() {
|
| | | this.$store.dispatch("tagsView/delView", this.$route);
|
| | | this.$router.push({ path: "/system/user" });
|
| | | const obj = { path: "/system/user" };
|
| | | this.$tab.closeOpenPage(obj);
|
| | | },
|
| | | },
|
| | | };
|