权限菜单控制及系统管理操作优化

This commit is contained in:
zhouyuejun
2019-03-11 17:16:51 +08:00
parent 867e2583dc
commit 142b7a2d00
7 changed files with 74 additions and 207 deletions
@@ -112,11 +112,11 @@
</nz-radio-group>
</nz-form-control>
</nz-form-item>
</div>
</div>
</form>
<div class="user-footer">
<button (click)='submitForm()' [nzLoading]="isLoadingSave" nz-button nzType="primary" class="mr10"
[disabled]='!this.validateForm.valid||!this.orgDetail||this.roleList.length<=0||!this.nameOnly'>保存</button>
[disabled]='!this.validateForm.valid||!this.orgDetail||!this.nameOnly'>保存</button>
<button (click)='cancel()' nz-button nzType="default">取消</button>
</div>
</div>
@@ -62,7 +62,7 @@ export class UserManagementModifyComponent implements OnInit {
mobile: [''],
sex: ['m'],
status: ['1'],
roleList: [''],
roleList: ['', [Validators.required]],
remark: ['']
});
//取路由参数