|
|
|
@ -159,10 +159,13 @@ |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
tableRowClassName ({row, rowIndex}) { |
|
|
|
if ( new Date(row.sScheduledDate) <new Date(this.dayjs().format('YYYY-MM-DD'))) { |
|
|
|
if ( new Date(row.needDate) ===new Date(this.dayjs().format('YYYY-MM-DD'))) { |
|
|
|
return 'false-row' |
|
|
|
} |
|
|
|
if (row.outWorkFlag == 'N') { |
|
|
|
// if (row.outWorkFlag == 'N') { |
|
|
|
// return 'success-row' |
|
|
|
// } |
|
|
|
if ( new Date(row.needDate) ===new Date(this.dayjs().add(1, 'day').format('YYYY-MM-DD'))) { |
|
|
|
return 'success-row' |
|
|
|
} |
|
|
|
|
|
|
|
|