fix bug
This commit is contained in:
		| @ -4,12 +4,13 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2021-12-29 14:51:07 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-02-24 11:10:33 | ||||
|  * @LastEditTime : 2022-03-04 14:45:58 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-rate\\modify-rate.component.ts | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
|  | ||||
| import { Component, Input, OnInit, ViewChild } from '@angular/core'; | ||||
| import { STColumn } from '@delon/abc/st'; | ||||
| import { SFComponent, SFNumberWidgetSchema, SFSchema, SFUISchema } from '@delon/form'; | ||||
| import { NzMessageService } from 'ng-zorro-antd/message'; | ||||
| import { NzModalRef } from 'ng-zorro-antd/modal'; | ||||
| @ -24,7 +25,11 @@ export class VehicleModifyRateComponent implements OnInit { | ||||
|   @ViewChild('sf', { static: false }) sf!: SFComponent; | ||||
|   schema: SFSchema = {}; | ||||
|   ui: SFUISchema = {}; | ||||
|  | ||||
|   columns: STColumn[] = [ | ||||
|     { title: '内容', index: 'operationContent' }, | ||||
|     { title: '操作人', index: 'operator' }, | ||||
|     { title: '操作时间', index: 'operatorTimestamp' }, | ||||
|   ]; | ||||
|   aggreechecked = false; | ||||
|  | ||||
|   @Input() | ||||
| @ -36,6 +41,12 @@ export class VehicleModifyRateComponent implements OnInit { | ||||
|     console.log(this.data); | ||||
|     this.initSF(); | ||||
|   } | ||||
|   get reqParams() { | ||||
|     return {  | ||||
|       // operateObject: this.i?.resourceCode, | ||||
|       // operateType: 4, | ||||
|      }; | ||||
|   } | ||||
|   initSF() { | ||||
|     this.schema = { | ||||
|       properties: { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user