diff --git a/src/views/books/Gjxf.vue b/src/views/books/Gjxf.vue index 3cd6e8f..22a781a 100644 --- a/src/views/books/Gjxf.vue +++ b/src/views/books/Gjxf.vue @@ -318,4 +318,4 @@ function handleExport() { } \ No newline at end of file + diff --git a/src/views/data/Gabxf.vue b/src/views/data/Gabxf.vue index 0246319..819170b 100644 --- a/src/views/data/Gabxf.vue +++ b/src/views/data/Gabxf.vue @@ -95,6 +95,7 @@ > 集访导入 领导接访导入 + 数据导出 + @@ -378,6 +380,7 @@ import feedback from "@/utils/feedback"; import { getDictLable,getYearTime } from "@/utils/util"; import useCatchStore from "@/stores/modules/catch"; +import {BASE_PATH} from "@/api/request"; const route = useRoute() const catchStore = useCatchStore(); @@ -480,7 +483,12 @@ function successFun(){ replenishShow.value=false getList() } - +/** + * 导出数据 + * */ +function handleExport() { + window.open(`${BASE_PATH}/data/petitionComplaint/export/xf/gabxf?` + new URLSearchParams(query.value).toString()) +} const detailShow = ref(false); diff --git a/src/views/data/Gjxf.vue b/src/views/data/Gjxf.vue index bb10259..eb6bcc6 100644 --- a/src/views/data/Gjxf.vue +++ b/src/views/data/Gjxf.vue @@ -90,6 +90,7 @@ 数据导入 + 数据导出 route.query.toString(), ()=>{ diff --git a/src/views/data/PetitionComplaint.vue b/src/views/data/PetitionComplaint.vue index e7e359d..a0aded9 100644 --- a/src/views/data/PetitionComplaint.vue +++ b/src/views/data/PetitionComplaint.vue @@ -98,7 +98,10 @@ -
+
+
+ 数据导出 +