|
|
|
@ -71,12 +71,12 @@ |
|
|
|
|
<nz-modal [(nzVisible)]="isVisible" nzTitle="添加" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk(validateForm.value)" [nzOkLoading]="isOkLoading"> |
|
|
|
|
<form nz-form [formGroup]="validateForm" style="margin-left: 5%;"> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>地区</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<app-region-selector [selectLevel]="2" (selectedRegionIdChange)="regionChange($event)"></app-region-selector> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>地区</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <app-region-selector [selectLevel]="2" (selectedRegionIdChange)="regionChange($event)"></app-region-selector>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
<!-- <nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>地区简称</nz-form-label> |
|
|
|
@ -99,12 +99,12 @@ |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>部门地址</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<input nz-input formControlName="address" placeholder="请输入部门地址" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>部门地址</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <input nz-input formControlName="address" placeholder="请输入部门地址" />--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province">logo</nz-form-label>--> |
|
|
|
@ -149,12 +149,12 @@ |
|
|
|
|
<nz-modal [(nzVisible)]="isVisibleEdit" nzTitle="修改" nzWidth="40%" (nzOnCancel)="handleCancelEdit()" (nzOnOk)="handleOkEdit(validateForm.value)"> |
|
|
|
|
<form nz-form [formGroup]="validateForm"> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>地区</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<app-region-selector [selectLevel]="2" [selectedRegionId]="regionId" (selectedRegionIdChange)="regionChange($event)"></app-region-selector> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>地区</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <app-region-selector [selectLevel]="2" [selectedRegionId]="regionId" (selectedRegionIdChange)="regionChange($event)"></app-region-selector>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- </nz-form-item><nz-form-item> |
|
|
|
@ -193,48 +193,48 @@ |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>部门地址</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<input nz-input formControlName="address" [(ngModel)]="organizationArr.address" placeholder="请输入部门地址" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province" nzRequired>部门地址</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <input nz-input formControlName="address" [(ngModel)]="organizationArr.address" placeholder="请输入部门地址" />--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province">logo</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<nz-upload |
|
|
|
|
nzAction="{{WEB_SERVE_URL}}/fileUpload/uploadfile" |
|
|
|
|
nzListType="picture-card" |
|
|
|
|
[(nzFileList)]="orgLogo" |
|
|
|
|
[nzShowButton]="orgLogo.length < 1" |
|
|
|
|
> |
|
|
|
|
<i nz-icon nzType="plus"></i> |
|
|
|
|
<div class="ant-upload-text">上传</div> |
|
|
|
|
</nz-upload> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="province">logo</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <nz-upload--> |
|
|
|
|
<!-- nzAction="{{WEB_SERVE_URL}}/fileUpload/uploadfile"--> |
|
|
|
|
<!-- nzListType="picture-card"--> |
|
|
|
|
<!-- [(nzFileList)]="orgLogo"--> |
|
|
|
|
<!-- [nzShowButton]="orgLogo.length < 1"--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- <i nz-icon nzType="plus"></i>--> |
|
|
|
|
<!-- <div class="ant-upload-text">上传</div>--> |
|
|
|
|
<!-- </nz-upload>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24">邮箱</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<input nz-input formControlName="email" [(ngModel)]="organizationArr.email" placeholder="请输入邮箱" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24">邮箱</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <input nz-input formControlName="email" [(ngModel)]="organizationArr.email" placeholder="请输入邮箱" />--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24">网站</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<input nz-input formControlName="siteUrl" [(ngModel)]="organizationArr.siteUrl" placeholder="请输入网站" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24">网站</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <input nz-input formControlName="siteUrl" [(ngModel)]="organizationArr.siteUrl" placeholder="请输入网站" />--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24">备注</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<textarea nz-input [rows]="4" formControlName="remark" [(ngModel)]="organizationArr.remark" placeholder="请输入备注" ></textarea> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<!-- <nz-form-item>--> |
|
|
|
|
<!-- <nz-form-label [nzSm]="6" [nzXs]="24">备注</nz-form-label>--> |
|
|
|
|
<!-- <nz-form-control [nzSm]="14" [nzXs]="24">--> |
|
|
|
|
<!-- <textarea nz-input [rows]="4" formControlName="remark" [(ngModel)]="organizationArr.remark" placeholder="请输入备注" ></textarea>--> |
|
|
|
|
<!-- </nz-form-control>--> |
|
|
|
|
<!-- </nz-form-item>--> |
|
|
|
|
</form> |
|
|
|
|
|
|
|
|
|
</nz-modal> |
|
|
|
|