@wjya/ngx-webapp-icpc.group.pms
Version:
angular webapp : icpc.group.pms
1 lines • 3.18 kB
JSON
[{"__symbolic":"module","version":4,"metadata":{"PostAuthorityComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"zx-post-authority","template":"<nz-modal [nzVisible]=\"modalIsVisible\" [nzWidth]=\"600\" [nzTitle]=\"modalTitle\" [nzContent]=\"modalContent\" [nzFooter]=\"modalFooter\" (nzOnCancel)=\"handleCancel()\"><ng-template #modalTitle><span>设置岗位权限</span> <span>选择岗位,并指定岗位权限</span></ng-template><ng-template #modalContent><div nz-row nz-form-item><div nz-col [nzSpan]=\"12\"><div nz-col nz-form-label [nzSpan]=\"4\"><label for=\"\">岗位</label></div><div nz-col nz-form-control [nzSpan]=\"20\"><nz-select [nzPlaceHolder]=\"'请选择岗位'\" [nzSize]=\"'large'\" style=\"width: 100%\" [(ngModel)]=\"postId\" (ngModelChange)=\"postIdChange()\"><nz-option *ngFor=\"let option of options\" [nzLabel]=\"option.name\" [nzValue]=\"option.id\"></nz-option></nz-select></div></div><div nz-col nz-form-label [nzSpan]=\"12\"><p>注:勾选或取消勾选权限后将自动保存。</p></div></div><div nz-row nz-form-item><nz-card nzNoHovering><ng-template #body><nz-spin [nzSpinning]=\"isSpinning\"><zx-tree-view #treeView [dataUrl]=\"treeViewDataUrl\" (checkedChange)=\"treeViewCheckedChange($event)\" (dataLoaded)=\"treeViewDataLoaded($event)\" [accordion]=\"true\" [enableCheckbox]=\"true\" [enableHeader]=\"false\"></zx-tree-view></nz-spin></ng-template></nz-card></div></ng-template><ng-template #modalFooter><button nz-button [nzType]=\"'primary'\" [nzSize]=\"'large'\" (click)=\"handleCancel()\"><span>关 闭</span></button></ng-template></nz-modal>","styles":["\n :host ::ng-deep .ant-card-body{\n padding:6px;\n height:480px;\n overflow: auto;\n }\n :host ::ng-deep .ant-modal-body{\n padding-bottom:0;\n }\n\n "]}]}],"members":{"treeView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":23,"character":5},"arguments":["treeView"]}]}],"postId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@wjya/ngx-webapp-fx","name":"UserStorageService","line":34,"character":36},{"__symbolic":"reference","module":"../../service/data-source.helper","name":"DataSourceHelper","line":35,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"loadAll":[{"__symbolic":"method"}],"postIdChange":[{"__symbolic":"method"}],"loadPostResourceId":[{"__symbolic":"method"}],"handleCancel":[{"__symbolic":"method"}],"treeViewDataLoaded":[{"__symbolic":"method"}],"setTreeNodeAttributes":[{"__symbolic":"method"}],"treeViewCheckedChange":[{"__symbolic":"method"}],"onSave":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"sortBySeq":[{"__symbolic":"method"}],"compare":[{"__symbolic":"method"}]}}}}]