|
@@ -121,13 +121,14 @@ const queryTaskType = async () => {
|
|
|
const betweenTime = ref(null)
|
|
|
const betweenTimeUpdate = ({ val, arr }) => {
|
|
|
betweenTime.value = arr
|
|
|
- if (val && val.length > 0) {
|
|
|
+ if (val && arr.length > 0) {
|
|
|
searchForm.value.startDate = val['start']
|
|
|
searchForm.value.endDate = val['end']
|
|
|
} else {
|
|
|
searchForm.value.startDate = null
|
|
|
searchForm.value.endDate = null
|
|
|
}
|
|
|
+ console.log(searchForm.value)
|
|
|
}
|
|
|
|
|
|
//搜索
|