[{"__symbolic":"module","version":4,"metadata":{"OfficeDialogComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"zx-office-dialog","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><form nz-form [formGroup]=\"validateForm\"><div nz-form-item nz-row class=\"hidden\"><div nz-form-label nz-col [nzSpan]=\"24\"><label>ID</label></div><div nz-col [nzSpan]=\"24\" nz-form-control><nz-input formControlName=\"id\" [nzPlaceHolder]=\"'ID'\" [nzSize]=\"'large'\"></nz-input></div></div><div nz-form-item nz-row><div nz-form-label nz-col [nzSpan]=\"4\"><label nz-form-item-required>机构类型</label></div><div nz-col [nzSpan]=\"20\" nz-form-control><nz-select formControlName=\"officeType\" [nzPlaceHolder]=\"'请选择机构类型'\" [nzSize]=\"'large'\" nzAllowClear [nzDisabled]=\"officeTypeOptions.length<=1\"><nz-option *ngFor=\"let option of officeTypeOptions\" [nzLabel]=\"option.text + '(' + option.value + ')'\" [nzValue]=\"option.value\"></nz-option></nz-select><div nz-form-explain *ngIf=\"getFormControl('officeType').dirty&&getFormControl('officeType').hasError('required')\">机构类型是必填的!</div></div></div><div nz-form-item nz-row><div nz-form-label nz-col [nzSpan]=\"4\"><label nz-form-item-required>机构简称</label></div><div nz-col [nzSpan]=\"20\" nz-form-control nzHasFeedback><nz-input formControlName=\"name\" [nzPlaceHolder]=\"'请输入机构简称'\" [nzSize]=\"'large'\"></nz-input><div nz-form-explain *ngIf=\"getFormControl('name').dirty&&getFormControl('name').hasError('required')\">机构简称是必填的!</div></div></div><div nz-form-item nz-row><div nz-form-label nz-col [nzSpan]=\"4\"><label>机构全名</label></div><div nz-col [nzSpan]=\"20\" nz-form-control><nz-input formControlName=\"fullName\" [nzPlaceHolder]=\"'请输入机构全名'\" [nzSize]=\"'large'\"></nz-input></div></div><div nz-form-item nz-row><div nz-form-label nz-col [nzSpan]=\"4\"><label>所在城市</label></div><div nz-col [nzSpan]=\"20\" nz-form-control><div nz-col [nzSpan]=\"8\"><nz-select formControlName=\"province\" [nzPlaceHolder]=\"'省'\" [(ngModel)]=\"province\" (ngModelChange)=\"city = null\"><ng-container *ngIf=\"regionOptions\"><nz-option *ngFor=\"let option0 of regionOptions\" [nzLabel]=\"option0.text\" [nzValue]=\"option0\"></nz-option></ng-container></nz-select></div><div nz-col [nzSpan]=\"8\"><nz-select formControlName=\"city\" [nzPlaceHolder]=\"'市'\" [(ngModel)]=\"city\" (ngModelChange)=\"county = null\"><ng-container *ngIf=\"province\"><nz-option *ngFor=\"let option1 of province.items\" [nzLabel]=\"option1.text\" [nzValue]=\"option1\"></nz-option></ng-container></nz-select></div><div nz-col [nzSpan]=\"8\"><nz-select formControlName=\"county\" [nzPlaceHolder]=\"'区/县'\" [(ngModel)]=\"county\"><ng-container *ngIf=\"city\"><nz-option *ngFor=\"let option2 of city.items\" [nzLabel]=\"option2.text\" [nzValue]=\"option2\"></nz-option></ng-container></nz-select></div></div></div><div nz-form-item nz-row><div nz-form-label nz-col [nzSpan]=\"4\"><label>备注</label></div><div nz-col [nzSpan]=\"20\" nz-form-control><nz-input formControlName=\"remarks\" [nzRows]=\"4\" [nzType]=\"'textarea'\" [nzPlaceHolder]=\"'请输入备注'\" [nzSize]=\"'large'\"></nz-input></div></div></form></ng-template><ng-template #modalFooter><button nz-button [nzType]=\"'default'\" [nzSize]=\"'large'\" (click)=\"handleCancel()\"><span>取 消</span></button> <button nz-button [nzType]=\"'primary'\" [nzSize]=\"'large'\" (click)=\"onSave(validateForm.value)\" [disabled]=\"!validateForm.valid\"><span>确 定</span></button></ng-template></nz-modal>","styles":["\n        :host .hidden {\n            display: none;\n        }\n        "]}]}],"members":{"clickSave":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":20,"character":5}}]}],"officeTypeOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":27,"character":20},{"__symbolic":"reference","module":"../../service/data-source.helper","name":"DataSourceHelper","line":28,"character":34},{"__symbolic":"reference","module":"@wjya/ngx-webapp-fx","name":"DataDictService","line":29,"character":33}]}],"ngOnInit":[{"__symbolic":"method"}],"getFormControl":[{"__symbolic":"method"}],"setFormValue":[{"__symbolic":"method"}],"handleCancel":[{"__symbolic":"method"}],"onSave":[{"__symbolic":"method"}],"resetForm":[{"__symbolic":"method"}],"toMultiLevel":[{"__symbolic":"method"}]}}}}]