|
|
@@ -45,27 +45,47 @@ export class DataVWorkstationComponent implements OnInit, AfterViewInit { |
|
|
|
|
|
|
|
rowData: object[] = []; |
|
|
|
|
|
|
|
// colDefs1: ColDef[] = [ |
|
|
|
// { |
|
|
|
// headerName: '序号', |
|
|
|
// valueGetter: function (params: any) { |
|
|
|
// return parseInt(params.node.id) + 1; |
|
|
|
// }, |
|
|
|
// width: 90, |
|
|
|
// // flex: 2, |
|
|
|
// sortable: true, |
|
|
|
// unSortIcon: true, |
|
|
|
// field: 'xh' |
|
|
|
// }, |
|
|
|
|
|
|
|
// { headerName: '任务名称', unSortIcon: true, width: 120, field: 'rwmc' }, |
|
|
|
// { headerName: '任务描述', unSortIcon: true, field: 'rwms', width: 120 }, |
|
|
|
// { headerName: '开始时间', headerClass: 'ag-header-center', unSortIcon: true, field: 'kssj', width: 180 }, |
|
|
|
// { headerName: '计划完成时间', unSortIcon: true, field: 'jhwcsj', width: 180 }, |
|
|
|
// { headerName: '超期', width: 70, field: 'sfcq' }, |
|
|
|
// { headerName: '操作', width: 90, autoHeaderHeight: true, field: 'cz', cellRenderer: GridButtonValueRenderer } |
|
|
|
// ]; |
|
|
|
|
|
|
|
colDefs1: ColDef[] = [ |
|
|
|
{ |
|
|
|
headerName: '序号', |
|
|
|
valueGetter: function (params: any) { |
|
|
|
return parseInt(params.node.id) + 1; |
|
|
|
}, |
|
|
|
width: 90, |
|
|
|
// width: 90, |
|
|
|
// flex: 2, |
|
|
|
sortable: true, |
|
|
|
unSortIcon: true, |
|
|
|
field: 'xh' |
|
|
|
}, |
|
|
|
|
|
|
|
{ headerName: '任务名称', unSortIcon: true, width: 120, field: 'rwmc' }, |
|
|
|
{ headerName: '任务描述', unSortIcon: true, field: 'rwms', width: 120 }, |
|
|
|
{ headerName: '开始时间', headerClass: 'ag-header-center', unSortIcon: true, field: 'kssj', width: 180 }, |
|
|
|
{ headerName: '计划完成时间', unSortIcon: true, field: 'jhwcsj', width: 180 }, |
|
|
|
{ headerName: '超期', width: 70, field: 'sfcq' }, |
|
|
|
{ headerName: '操作', width: 90, autoHeaderHeight: true, field: 'cz', cellRenderer: GridButtonValueRenderer } |
|
|
|
{ headerName: '任务名称', unSortIcon: true, field: 'rwmc' }, |
|
|
|
{ headerName: '任务描述', unSortIcon: true, field: 'rwms' }, |
|
|
|
{ headerName: '开始时间', headerClass: 'ag-header-center', unSortIcon: true, field: 'kssj' }, |
|
|
|
{ headerName: '计划完成时间', unSortIcon: true, field: 'jhwcsj' }, |
|
|
|
{ headerName: '超期', field: 'sfcq' }, |
|
|
|
{ headerName: '操作', autoHeaderHeight: true, field: 'cz', cellRenderer: GridButtonValueRenderer } |
|
|
|
]; |
|
|
|
|
|
|
|
colDefs2: ColDef[] = [ |
|
|
|
{ |
|
|
|
headerName: '序号', |
|
|
|