统计快捷选项直接查询

This commit is contained in:
yy2205 2025-04-20 18:06:25 +08:00
parent 0f2f459d9d
commit 2d3e8c733c

View File

@ -125,9 +125,8 @@ const changeRadio = (e) => {
case 4 : start.setMonth(start.getMonth() - 1);break case 4 : start.setMonth(start.getMonth() - 1);break
default : start.setDate(start.getDate() -7) default : start.setDate(start.getDate() -7)
} }
console.log(time.value)
time.value = [formatDate(start,'YYYY-MM-DD'),formatDate(end,'YYYY-MM-DD')] time.value = [formatDate(start,'YYYY-MM-DD'),formatDate(end,'YYYY-MM-DD')]
// getList() getList()
} }
const changeDatePick = () => { const changeDatePick = () => {
radioType.value = null radioType.value = null
@ -185,7 +184,7 @@ const dataProcessing = (data) => {
} }
onMounted(()=>{ onMounted(()=>{
changeRadio(3) changeRadio(3)
getList() // getList()
}) })
</script> </script>