|  | @@ -537,20 +537,16 @@ export default {
 | 
											
												
													
														|  |            if (this.form.roleId != undefined) {
 |  |            if (this.form.roleId != undefined) {
 | 
											
												
													
														|  |              this.form.menuIds = this.getMenuAllCheckedKeys();
 |  |              this.form.menuIds = this.getMenuAllCheckedKeys();
 | 
											
												
													
														|  |              updateRole(this.form).then(response => {
 |  |              updateRole(this.form).then(response => {
 | 
											
												
													
														|  | -              if (response.code === 200) {
 |  | 
 | 
											
												
													
														|  | -                this.msgSuccess("修改成功");
 |  | 
 | 
											
												
													
														|  | -                this.open = false;
 |  | 
 | 
											
												
													
														|  | -                this.getList();
 |  | 
 | 
											
												
													
														|  | -              }
 |  | 
 | 
											
												
													
														|  | 
 |  | +              this.msgSuccess("修改成功");
 | 
											
												
													
														|  | 
 |  | +              this.open = false;
 | 
											
												
													
														|  | 
 |  | +              this.getList();
 | 
											
												
													
														|  |              });
 |  |              });
 | 
											
												
													
														|  |            } else {
 |  |            } else {
 | 
											
												
													
														|  |              this.form.menuIds = this.getMenuAllCheckedKeys();
 |  |              this.form.menuIds = this.getMenuAllCheckedKeys();
 | 
											
												
													
														|  |              addRole(this.form).then(response => {
 |  |              addRole(this.form).then(response => {
 | 
											
												
													
														|  | -              if (response.code === 200) {
 |  | 
 | 
											
												
													
														|  | -                this.msgSuccess("新增成功");
 |  | 
 | 
											
												
													
														|  | -                this.open = false;
 |  | 
 | 
											
												
													
														|  | -                this.getList();
 |  | 
 | 
											
												
													
														|  | -              }
 |  | 
 | 
											
												
													
														|  | 
 |  | +              this.msgSuccess("新增成功");
 | 
											
												
													
														|  | 
 |  | +              this.open = false;
 | 
											
												
													
														|  | 
 |  | +              this.getList();
 | 
											
												
													
														|  |              });
 |  |              });
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
										
											
												
													
														|  | @@ -561,11 +557,9 @@ export default {
 | 
											
												
													
														|  |        if (this.form.roleId != undefined) {
 |  |        if (this.form.roleId != undefined) {
 | 
											
												
													
														|  |          this.form.deptIds = this.getDeptAllCheckedKeys();
 |  |          this.form.deptIds = this.getDeptAllCheckedKeys();
 | 
											
												
													
														|  |          dataScope(this.form).then(response => {
 |  |          dataScope(this.form).then(response => {
 | 
											
												
													
														|  | -          if (response.code === 200) {
 |  | 
 | 
											
												
													
														|  | -            this.msgSuccess("修改成功");
 |  | 
 | 
											
												
													
														|  | -            this.openDataScope = false;
 |  | 
 | 
											
												
													
														|  | -            this.getList();
 |  | 
 | 
											
												
													
														|  | -          }
 |  | 
 | 
											
												
													
														|  | 
 |  | +          this.msgSuccess("修改成功");
 | 
											
												
													
														|  | 
 |  | +          this.openDataScope = false;
 | 
											
												
													
														|  | 
 |  | +          this.getList();
 | 
											
												
													
														|  |          });
 |  |          });
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
										
											
												
													
														|  | @@ -581,7 +575,7 @@ export default {
 | 
											
												
													
														|  |          }).then(() => {
 |  |          }).then(() => {
 | 
											
												
													
														|  |            this.getList();
 |  |            this.getList();
 | 
											
												
													
														|  |            this.msgSuccess("删除成功");
 |  |            this.msgSuccess("删除成功");
 | 
											
												
													
														|  | -        }).catch(function() {});
 |  | 
 | 
											
												
													
														|  | 
 |  | +        })
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      /** 导出按钮操作 */
 |  |      /** 导出按钮操作 */
 | 
											
												
													
														|  |      handleExport() {
 |  |      handleExport() {
 | 
											
										
											
												
													
														|  | @@ -594,7 +588,7 @@ export default {
 | 
											
												
													
														|  |            return exportRole(queryParams);
 |  |            return exportRole(queryParams);
 | 
											
												
													
														|  |          }).then(response => {
 |  |          }).then(response => {
 | 
											
												
													
														|  |            this.download(response.msg);
 |  |            this.download(response.msg);
 | 
											
												
													
														|  | -        }).catch(function() {});
 |  | 
 | 
											
												
													
														|  | 
 |  | +        })
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  };
 |  |  };
 |