|
|
|
|
@ -69,7 +69,7 @@ class _MonthlyScreenState extends State<MonthlyScreen> {
|
|
|
|
|
leave4: DateTime(1900, 1, 1),
|
|
|
|
|
come5: DateTime(1900, 1, 1),
|
|
|
|
|
leave5: DateTime(1900, 1, 1),
|
|
|
|
|
code: '',
|
|
|
|
|
code: 'U',
|
|
|
|
|
information: '',
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@ -79,13 +79,27 @@ class _MonthlyScreenState extends State<MonthlyScreen> {
|
|
|
|
|
|
|
|
|
|
List<GridColumn> getColumns() {
|
|
|
|
|
return <GridColumn>[
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'code',
|
|
|
|
|
visible: false,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(16.0),
|
|
|
|
|
alignment: Alignment.centerRight,
|
|
|
|
|
child: const Text('code'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'weekday',
|
|
|
|
|
visible: false,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(16.0),
|
|
|
|
|
alignment: Alignment.centerRight,
|
|
|
|
|
child: const Text('weekday'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'dayLeft',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(16.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('dayLeft'))),
|
|
|
|
|
alignment: Alignment.centerRight,
|
|
|
|
|
child: const Text('day'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'holiday',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
@ -99,70 +113,70 @@ class _MonthlyScreenState extends State<MonthlyScreen> {
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('come1'))),
|
|
|
|
|
child: const Text('come 1'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'leave1',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('leave1'))),
|
|
|
|
|
child: const Text('leave 1'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'come2',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('come2'))),
|
|
|
|
|
child: const Text('come 2'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'leave2',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('leave2'))),
|
|
|
|
|
child: const Text('leave 2'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'come3',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('come3'))),
|
|
|
|
|
child: const Text('come 3'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'leave3',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('leave3'))),
|
|
|
|
|
child: const Text('leave 3'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'come4',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('come4'))),
|
|
|
|
|
child: const Text('come 4'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'leave4',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('leave4'))),
|
|
|
|
|
child: const Text('leave 4'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'come5',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('come5'))),
|
|
|
|
|
child: const Text('come 5'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'leave5',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('leave5'))),
|
|
|
|
|
child: const Text('leave 5'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'pause',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
@ -183,14 +197,14 @@ class _MonthlyScreenState extends State<MonthlyScreen> {
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('durationIs'))),
|
|
|
|
|
child: const Text('duration Is'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'durationShould',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('durationShould'))),
|
|
|
|
|
child: const Text('duration Should'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'diff',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
@ -211,7 +225,7 @@ class _MonthlyScreenState extends State<MonthlyScreen> {
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('currentDiff'))),
|
|
|
|
|
child: const Text('current Diff'))),
|
|
|
|
|
GridColumn(
|
|
|
|
|
columnName: 'decimal',
|
|
|
|
|
columnWidthMode: ColumnWidthMode.auto,
|
|
|
|
|
@ -225,7 +239,7 @@ class _MonthlyScreenState extends State<MonthlyScreen> {
|
|
|
|
|
label: Container(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
child: const Text('dayRight'))),
|
|
|
|
|
child: const Text('day'))),
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|