This commit is contained in:
wangshiming
2022-03-04 15:08:30 +08:00
parent 05b878ddcd
commit 2c46fd77bd
9 changed files with 143 additions and 91 deletions

View File

@ -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: {