diff --git a/src/app/admin/agent/agent-edit/agent-edit.component.html b/src/app/admin/agent/agent-edit/agent-edit.component.html index 211b79d..5fca4b1 100644 --- a/src/app/admin/agent/agent-edit/agent-edit.component.html +++ b/src/app/admin/agent/agent-edit/agent-edit.component.html @@ -49,6 +49,18 @@ +
+ + 代理商类型 + + + + + + + +
+
代理商地址 diff --git a/src/app/admin/agent/agent-edit/agent-edit.component.ts b/src/app/admin/agent/agent-edit/agent-edit.component.ts index 69a99ee..44d3e95 100644 --- a/src/app/admin/agent/agent-edit/agent-edit.component.ts +++ b/src/app/admin/agent/agent-edit/agent-edit.component.ts @@ -43,7 +43,7 @@ export class AgentEditComponent implements OnInit { loginName: [null, [Validators.required, ValidatorsService.maxLength(20)]], password: [null, [Validators.required]], agentName: [null, [Validators.required]], - type: [1], + type: [null, [Validators.required]], agentUser: [null, [Validators.required, ValidatorsService.maxLength(50)]], agentPhone: [null, [Validators.required, ValidatorsService.maxLength(50)]], agentAddress: [null, [Validators.required, ValidatorsService.maxLength(80)]], diff --git a/src/app/admin/agent/agent-list/agent-list.component.html b/src/app/admin/agent/agent-list/agent-list.component.html index 082eecd..cc26920 100644 --- a/src/app/admin/agent/agent-list/agent-list.component.html +++ b/src/app/admin/agent/agent-list/agent-list.component.html @@ -34,6 +34,17 @@
+
+ + 代理商类型 + + + + + + + +
@@ -75,6 +86,7 @@ 编号 代理商名称 代理商地址 + 邀请链接 联系人 联系方式 创建时间 @@ -86,6 +98,7 @@ {{i + 1}} {{data.agentName}} {{data.agentAddress}} + {{inviteUrl + data.id}} {{data.agentUser}} {{data.agentPhone}} {{data.createTime | date: 'yyyy-MM-dd HH:mm'}} @@ -95,6 +108,7 @@