|
@@ -338,7 +338,7 @@
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- field: 'outTime',
|
|
|
+ field: 'timeList',
|
|
|
label: t('routes.device.activatedTime'),
|
|
|
component: 'RangePicker',
|
|
|
componentProps: {
|
|
@@ -362,13 +362,13 @@
|
|
|
showTableSetting: true,
|
|
|
showIndexColumn: false,
|
|
|
rowKey: 'id',
|
|
|
- beforeFetch: (T) => {
|
|
|
- if (T.ctivated) {
|
|
|
- T.activatedStartTime = T.ctivated[0];
|
|
|
- T.activatedEndTime = T.ctivated[1];
|
|
|
- }
|
|
|
- return T;
|
|
|
- },
|
|
|
+ // beforeFetch: (T) => {
|
|
|
+ // if (T.timeList) {
|
|
|
+ // T.activatedStartTime = T.timeList[0];
|
|
|
+ // T.activatedEndTime = T.timeList[1];
|
|
|
+ // }
|
|
|
+ // return T;
|
|
|
+ // },
|
|
|
fetchSetting: {
|
|
|
pageField: 'pageNum',
|
|
|
sizeField: 'pageSize',
|