You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
4.4 KiB
87 lines
4.4 KiB
4 years ago
|
<!-- start 面包屑 -->
|
||
|
<nz-breadcrumb>
|
||
|
<nz-breadcrumb-item>
|
||
|
系统管理
|
||
|
</nz-breadcrumb-item>
|
||
|
<nz-breadcrumb-item>
|
||
|
增加公司
|
||
|
</nz-breadcrumb-item>
|
||
|
</nz-breadcrumb>
|
||
|
<!-- end 面包屑 -->
|
||
|
|
||
|
<div class="inner-content">
|
||
|
|
||
|
<div nz-row>
|
||
|
<div nz-col nzSpan="2"></div>
|
||
|
<div nz-col nzSpan="20">
|
||
|
<form nz-form [formGroup]="validateForm" >
|
||
|
<div nz-row [nzGutter]="24">
|
||
|
<nz-divider nzText="账号信息"></nz-divider>
|
||
|
<div nz-col [nzSpan]="8">
|
||
|
<nz-form-item>
|
||
|
<nz-form-label [nzFor]="'loginName'" nzRequired>用户名</nz-form-label>
|
||
|
<nz-form-control nzErrorTip="请输入用户名!">
|
||
|
<input nz-input placeholder="请输入用户名..." [formControlName]="'loginName'" id="'loginName'" />
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
</div>
|
||
|
<div nz-col [nzSpan]="8">
|
||
|
<nz-form-item>
|
||
|
<nz-form-label [nzFor]="'password'" nzRequired>登录密码</nz-form-label>
|
||
|
<nz-form-control nzErrorTip="请输入登录密码!">
|
||
|
<nz-input-group [nzSuffix]="suffixTemplate">
|
||
|
<input [type]="passwordVisible ? 'text' : 'password'" nz-input placeholder="请输入登录密码..." [formControlName]="'password'" id="'password'" />
|
||
|
</nz-input-group>
|
||
|
<ng-template #suffixTemplate>
|
||
|
<i nz-icon [nzType]="passwordVisible ? 'eye-invisible' : 'eye'" (click)="passwordVisible = !passwordVisible"></i>
|
||
|
</ng-template>
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
</div>
|
||
|
|
||
|
<nz-divider nzText="代理商信息"></nz-divider>
|
||
|
<div nz-col [nzSpan]="8">
|
||
|
<nz-form-item>
|
||
|
<nz-form-label [nzFor]="'agentName'" nzRequired>代理商名称</nz-form-label>
|
||
|
<nz-form-control nzErrorTip="请输入代理商名称!">
|
||
|
<input nz-input placeholder="请输入代理商名称..." [formControlName]="'agentName'" id="'agentName'" />
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
</div>
|
||
|
<div nz-col [nzSpan]="8">
|
||
|
<nz-form-item>
|
||
|
<nz-form-label [nzFor]="'agentAddress'" nzRequired>代理商地址</nz-form-label>
|
||
|
<nz-form-control nzErrorTip="请输入代理商地址!">
|
||
|
<input nz-input placeholder="请输入代理商地址..." [formControlName]="'agentAddress'" id="'agentAddress'" />
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
</div>
|
||
|
<div nz-col [nzSpan]="8">
|
||
|
<nz-form-item>
|
||
|
<nz-form-label [nzFor]="'agentUser'" nzRequired>联系人</nz-form-label>
|
||
|
<nz-form-control nzErrorTip="请输入联系人!">
|
||
|
<input nz-input placeholder="请输入联系人..." [formControlName]="'agentUser'" id="'agentUser'" />
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
</div>
|
||
|
<div nz-col [nzSpan]="8">
|
||
|
<nz-form-item>
|
||
|
<nz-form-label [nzFor]="'agentPhone'" nzRequired>联系方式</nz-form-label>
|
||
|
<nz-form-control nzErrorTip="请输入联系方式!">
|
||
|
<input nz-input placeholder="请输入联系方式..." [formControlName]="'agentPhone'" id="'agentPhone'" />
|
||
|
</nz-form-control>
|
||
|
</nz-form-item>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div nz-row>
|
||
|
<div nz-col [nzSpan]="24" class="search-area">
|
||
|
<button nz-button [nzType]="'primary'" (click)="getSave()">提交</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div nz-col nzSpan="2"></div>
|
||
|
</div>
|
||
|
</div>
|