项目列表核查时间筛选问题修改
parent
f698d8c6dc
commit
fb4bcccf27
|
|
@ -50,6 +50,7 @@ import { GetDronssnydList, GetDronssnydExport, ImportCaseInfoShpDataSsny } from
|
|||
import ShowInfoModal from '@/components/EarlyWarning/InfoModal/index.vue'
|
||||
import { uploadFile } from '@/api/formrender/index';
|
||||
import { message } from "ant-design-vue";
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
const showInfoOpen = ref(false)
|
||||
const showInfoData = ref();
|
||||
|
|
@ -72,6 +73,18 @@ const [registerTable, { getForm, reload }] = useTable({
|
|||
dataIndex: 'action',
|
||||
fixed: 'right',
|
||||
},
|
||||
beforeFetch: (params) => {
|
||||
let resultParams = {
|
||||
...params
|
||||
}
|
||||
if(resultParams.hechatimebegin){
|
||||
resultParams.hechatimebegin = dayjs(resultParams.hechatimebegin).startOf('day').format('YYYY-MM-DD HH:mm:ss');
|
||||
}
|
||||
if(resultParams.hechatimeend){
|
||||
resultParams.hechatimeend = dayjs(resultParams.hechatimeend).endOf('day').format('YYYY-MM-DD HH:mm:ss');
|
||||
}
|
||||
return resultParams
|
||||
},
|
||||
});
|
||||
function handleInfo(record) {
|
||||
showInfoData.value = record
|
||||
|
|
|
|||
Loading…
Reference in New Issue