Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		| @ -1,5 +1,5 @@ | ||||
| <sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" *ngIf="schema"> | ||||
|     <ng-template sf-template="creditPhoto" let-me let-ui="ui" let-schema="schema"> | ||||
|         <img [src]="i.creditPhoto" alt="" /> | ||||
|         <img [src]="me.formProperty.value" alt="" style="width: 200px;height: 160px;"/> | ||||
|     </ng-template> | ||||
| </sf> | ||||
| @ -30,7 +30,6 @@ export class AuditAdminComponent implements OnInit { | ||||
|  | ||||
|   loadUserInfo() { | ||||
|     this.service.request(this.service.$api_get_enterprise_user_by_id, { id: this.i.id }).subscribe(res => { | ||||
|       console.log(res); | ||||
|       if (res) { | ||||
|         this.initSF(res); | ||||
|       } | ||||
| @ -38,6 +37,8 @@ export class AuditAdminComponent implements OnInit { | ||||
|   } | ||||
|  | ||||
|   initSF(user?: any) { | ||||
|     console.log(user); | ||||
|      | ||||
|     this.schema = { | ||||
|       properties: { | ||||
|         oldAdminName: { | ||||
| @ -79,7 +80,8 @@ export class AuditAdminComponent implements OnInit { | ||||
|         creditPhoto: { | ||||
|           title: '企业授权函', | ||||
|           type: 'string', | ||||
|           ui: { widget: 'custom' } | ||||
|           ui: { widget: 'custom' }, | ||||
|           default: user.creditPhoto | ||||
|         }, | ||||
|         approvalOpinion: { | ||||
|           title: '备注', | ||||
|  | ||||
		Reference in New Issue
	
	Block a user