前端引入包
This commit is contained in:
parent
20c7282bed
commit
bbaccb76e8
@ -181,6 +181,7 @@ import * as TaskInReportApi from '@/api/heli/taskinreport'
|
||||
import TaskInReportForm from './TaskInReportForm.vue'
|
||||
import reworkForm from './reworkForm.vue'
|
||||
import dayjs from "dayjs";
|
||||
import routeParamsCache from '@/utils/routeParamsCache'
|
||||
|
||||
import {Setting} from "@element-plus/icons-vue";
|
||||
import ElTooltip from "element-plus/es/components/tooltip";
|
||||
@ -321,12 +322,13 @@ const handleExport = async () => {
|
||||
const route = useRoute()
|
||||
const routeValue = ref('')
|
||||
onMounted(async () => {
|
||||
setDefaultDate()
|
||||
let params = routeParamsCache.get(route.path);
|
||||
routeValue.value = route.path
|
||||
if (params ) {
|
||||
Object.assign(queryParams, params);
|
||||
}
|
||||
setDefaultDate()
|
||||
|
||||
getList()
|
||||
})
|
||||
onActivated(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user