|
|
|
|
@ -98,7 +98,10 @@
|
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</el-form> |
|
|
|
|
<div class="mb-25 flex end"> |
|
|
|
|
<div class="mb-25 flex between"> |
|
|
|
|
<div> |
|
|
|
|
<el-button type="primary" @click="handleExport">数据导出</el-button> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<el-button type="primary" @click="getList"> |
|
|
|
|
<template #icon> |
|
|
|
|
@ -333,6 +336,7 @@ import feedback from "@/utils/feedback";
|
|
|
|
|
import { getDictLable } from "@/utils/util"; |
|
|
|
|
|
|
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
|
import {BASE_PATH} from "@/api/request"; |
|
|
|
|
|
|
|
|
|
const catchStore = useCatchStore(); |
|
|
|
|
const dict = catchStore.getDicts([ |
|
|
|
|
@ -365,7 +369,12 @@ function reset() {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getList(); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 导出数据 |
|
|
|
|
* */ |
|
|
|
|
function handleExport() { |
|
|
|
|
window.open(`${BASE_PATH}/data/petitionComplaint/export/xf/xfts?` + new URLSearchParams(query.value).toString()) |
|
|
|
|
} |
|
|
|
|
async function handleDel(row) { |
|
|
|
|
await feedback.confirm("确定要删除该数据?"); |
|
|
|
|
await delPetitionComplaint(row.originId); |
|
|
|
|
@ -390,4 +399,4 @@ function handleDetail(row) {
|
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
</style> |
|
|
|
|
</style> |
|
|
|
|
|