|
|
|
@ -97,12 +97,14 @@ export const applyColumns: BasicColumn[] = [
@@ -97,12 +97,14 @@ export const applyColumns: BasicColumn[] = [
|
|
|
|
|
width: 200, |
|
|
|
|
customRender: ({ record }) => { |
|
|
|
|
return [ |
|
|
|
|
<p style={{ margin: '0', padding: '0' }}> |
|
|
|
|
{ record.startTime || '--' } |
|
|
|
|
</p>, |
|
|
|
|
<p style={{ margin: '0', padding: '0', color: '#999!import'}}> |
|
|
|
|
{ record.endTime || '--' } |
|
|
|
|
</p> |
|
|
|
|
<div> |
|
|
|
|
<p style={{ margin: '0', padding: '0' }}> |
|
|
|
|
{ record.startTime || '--' } |
|
|
|
|
</p> |
|
|
|
|
<p style={{ margin: '0', padding: '0', color: '#999' }}> |
|
|
|
|
{ record.endTime || '--' } |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -161,12 +163,14 @@ export const historyColumns: BasicColumn[] = [
@@ -161,12 +163,14 @@ export const historyColumns: BasicColumn[] = [
|
|
|
|
|
width: 200, |
|
|
|
|
customRender: ({ record }) => { |
|
|
|
|
return [ |
|
|
|
|
<p style={{ margin: '0', padding: '0' }}> |
|
|
|
|
{ record.startTime || '--' } |
|
|
|
|
</p>, |
|
|
|
|
<p style={{ margin: '0', padding: '0', color: '#999!import' }}> |
|
|
|
|
{ record.endTime || '--' } |
|
|
|
|
</p> |
|
|
|
|
<div> |
|
|
|
|
<p style={{ margin: '0', padding: '0' }}> |
|
|
|
|
{ record.startTime || '--' } |
|
|
|
|
</p> |
|
|
|
|
<p style={{ margin: '0', padding: '0', color: '#999' }}> |
|
|
|
|
{ record.endTime || '--' } |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|