import * as React from 'react'; import { Page } from 'tonva-tools'; import {List, LMR, FA, EasyDate, Muted} from 'tonva-react-form'; import { VEntity } from '../CVEntity'; import { Sheet } from '../../entities'; import { SheetUI, CSheet } from './cSheet'; export class VArchives extends VEntity { list: any[]; async open() { this.list = await this.entity.getArchives(undefined, 10); this.openPage(this.view); } archiveClick = async (brief:any) => { if (brief.processing===1) return; this.event('archived', brief); } archiveRow = (row:any, index:number) => { let {id, no, discription, date} = row; let left = <> {row.processing===1? '... ' : ''} {row.no}   {row.discription} ; let right = ; return } protected view = () => { return ; }; }