|
@@ -20,6 +20,7 @@ import { usePage } from '@/hooks/usePage'
|
|
import router from '@/router'
|
|
import router from '@/router'
|
|
|
|
|
|
const { updateReqConfig } = useAnalysis()
|
|
const { updateReqConfig } = useAnalysis()
|
|
|
|
+
|
|
const { watchPageChange } = usePage()
|
|
const { watchPageChange } = usePage()
|
|
|
|
|
|
const { AllApi } = useRequest()
|
|
const { AllApi } = useRequest()
|
|
@@ -136,7 +137,8 @@ const viewDetails = (row: any) => {
|
|
* @return {*}
|
|
* @return {*}
|
|
*/
|
|
*/
|
|
const updateDate = (startTime: string, endTime: string) => {
|
|
const updateDate = (startTime: string, endTime: string) => {
|
|
- updateReqConfig(requestConfig, { startTime, endTime })
|
|
|
|
|
|
+ requestConfig.otherOptions.startTime = startTime
|
|
|
|
+ requestConfig.otherOptions.endTime = endTime
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -156,6 +158,10 @@ const backupSelect = reactive([])
|
|
watchPageChange(() => [selectInfo.gid, tempMultipleChioce.pf], backupSelect, updateGid)
|
|
watchPageChange(() => [selectInfo.gid, tempMultipleChioce.pf], backupSelect, updateGid)
|
|
|
|
|
|
watchPageChange(() => [props.startTime, props.endTime], backupDate, updateDate)
|
|
watchPageChange(() => [props.startTime, props.endTime], backupDate, updateDate)
|
|
|
|
+
|
|
|
|
+onActivated(() => {
|
|
|
|
+ console.log('asdf')
|
|
|
|
+})
|
|
</script>
|
|
</script>
|
|
<template>
|
|
<template>
|
|
<div class="eventTable">
|
|
<div class="eventTable">
|