|
|
|
@ -212,6 +212,7 @@ |
|
|
|
<!-- >数据导入--> |
|
|
|
<!-- >数据导入--> |
|
|
|
<!-- </el-button>--> |
|
|
|
<!-- </el-button>--> |
|
|
|
<el-button type="primary" @click="add()">添加</el-button> |
|
|
|
<el-button type="primary" @click="add()">添加</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" @click="handleExport">数据导出</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-button type="primary" @click="getList"> |
|
|
|
<el-button type="primary" @click="getList"> |
|
|
|
@ -413,7 +414,7 @@ import feedback from "@/utils/feedback"; |
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
import { |
|
|
|
import { |
|
|
|
addComplaintCollection, addComplaintCollectionBlame, |
|
|
|
addComplaintCollection, addComplaintCollectionBlame, |
|
|
|
delComplaintCollection, |
|
|
|
delComplaintCollection, exportData, |
|
|
|
getComplaintCollectionPage, handlerData, |
|
|
|
getComplaintCollectionPage, handlerData, |
|
|
|
updateComplaintCollection |
|
|
|
updateComplaintCollection |
|
|
|
} from "@/api/data/complaintCollection.ts"; |
|
|
|
} from "@/api/data/complaintCollection.ts"; |
|
|
|
@ -872,6 +873,13 @@ const handleWatchDetail = async (row) => { |
|
|
|
} |
|
|
|
} |
|
|
|
// endregion |
|
|
|
// endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// region 导出相关 |
|
|
|
|
|
|
|
const handleExport = async () => { |
|
|
|
|
|
|
|
let body = { |
|
|
|
|
|
|
|
...query.value |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
await exportData(body); |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|