[{"__symbolic":"module","version":4,"metadata":{"UserComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":57,"character":1},"arguments":[{"selector":"zx-user","template":"<zx-header-block [title]=\"'用户管理'\" [showBottomLine]=\"false\" [showBreadcrumb]=\"true\"><p>查看和管理所有用户及用户隶属关系</p></zx-header-block><zx-content-block><ng-template #operations><button nz-button [nzType]=\"'primary'\" (click)=\"insert()\"><i class=\"anticon anticon-plus\"></i> <span>添加用户</span></button></ng-template><ng-template #extra><nz-input [nzType]=\"'search'\" [nzPlaceHolder]=\"'请输入登录账号或用户姓名查找'\" style=\"width: 250px;\" (nzOnSearch)=\"search($event)\" [nzSize]=\"'large'\"></nz-input></ng-template><ng-template #content><zx-list-view [listView]=\"listView\" (loadData)=\"query($event)\"><ng-template #dataColumn let-dataRow=\"dataRow\" let-field=\"field\" let-value=\"value\"><div *ngIf=\"field.name == 'activated'\"><i class=\"anticon anticon-check-square\" *ngIf=\"dataRow.activated\" style=\"color: #52C41A\"></i> <i class=\"anticon anticon-close-square-o\" *ngIf=\"!dataRow.activated\" style=\"color: #c0c0c0\"></i></div><div *ngIf=\"field.name == 'mobilePhone'\"><div *ngIf=\"!dataRow.mobilePhoneVerified && dataRow.mobilePhone\"><span>{{dataRow.mobilePhone}}</span> <i class=\"anticon anticon-question-circle\" style=\"color: #c0c0c0\" title=\"手机号未验证\"></i></div><div *ngIf=\"dataRow.mobilePhoneVerified && dataRow.mobilePhone\"><span>{{dataRow.mobilePhone}}</span> <i class=\"anticon anticon-check-circle\" style=\"color:#52C41A\" title=\"手机号已验证\"></i></div></div><div *ngIf=\"field.name == 'createdDate'\"><span>{{dataRow.createdDate | date:'yyyy-MM-dd HH:mm:ss'}}</span></div></ng-template><ng-template #dataOperations let-dataRow=\"dataRow\"><div class=\"operation\"><a [routerLink]=\"['../user', dataRow.id]\">详情</a> <a (click)=\"delete(dataRow)\" *ngIf=\"'admin,system,user,anonymoususer'.indexOf(dataRow.login)==-1\">删除</a> <a *ngIf=\"'admin,system,user,anonymoususer'.indexOf(dataRow.login)!=-1\" style=\"color:#ccc;cursor: not-allowed\">删除</a></div></ng-template></zx-list-view></ng-template></zx-content-block><zx-user-dialog #userDialog (clickSave)=\"onSave($event)\"></zx-user-dialog>","styles":["\n        :host .operation > a{\n            padding: 0 5px;\n        }\n\n        :host .operation > a::after{\n            content:\"|\";\n            padding-left: 15px;\n            color: #999;\n        }\n\n        :host .operation > a:last-child::after{\n            content:\"\";\n        }\n        "]}]}],"members":{"userDialog":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":80,"character":5},"arguments":["userDialog"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":84,"character":26},{"__symbolic":"reference","module":"ng-zorro-antd","name":"NzModalService","line":85,"character":29},{"__symbolic":"reference","module":"../../service/data-source.helper","name":"DataSourceHelper","line":86,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"loadAll":[{"__symbolic":"method"}],"insert":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"onSave":[{"__symbolic":"method"}],"search":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}]}}}}]