部分代码抽取(数据处理,排序)优化
This commit is contained in:
+5
-5
@@ -75,8 +75,8 @@ export class DepartmentManagementComponent implements OnInit {
|
||||
treeSave(){
|
||||
if(this.treeSelectedChild){
|
||||
this.orgSeleted=this.treeSelectedChild;
|
||||
this.visible = false;
|
||||
this.orgSeletedBtn=false;
|
||||
// this.visible = false;
|
||||
// this.orgSeletedBtn=false;
|
||||
}else{
|
||||
//如果没有选择机构,提示请选择机构
|
||||
this.message.create('warning', `请选择所属机构!`,{ nzDuration: 2000 });
|
||||
@@ -85,15 +85,15 @@ export class DepartmentManagementComponent implements OnInit {
|
||||
//打开机构树抽屉
|
||||
open(): void {
|
||||
this.treeSelectedChild='';
|
||||
this.visible = true;
|
||||
// this.visible = true;
|
||||
}
|
||||
//关闭机构选择页面
|
||||
close(): void {
|
||||
this.visible = false;
|
||||
// this.visible = false;
|
||||
}
|
||||
//删除机构标签
|
||||
tagClose(event){
|
||||
this.orgSeletedBtn=true;
|
||||
// this.orgSeletedBtn=true;
|
||||
this.orgSeleted='';
|
||||
}
|
||||
//修改时查询该系统下的所有用户
|
||||
|
||||
Reference in New Issue
Block a user