|
@@ -172,14 +172,10 @@ const handleRowSelectable = (row) => {
|
|
return row.status == '1'
|
|
return row.status == '1'
|
|
}
|
|
}
|
|
// 导出
|
|
// 导出
|
|
-const toExport = () => {
|
|
|
|
- if (selectionList.value && selectionList.value.length > 0) {
|
|
|
|
- console.log('导出')
|
|
|
|
- } else {
|
|
|
|
- ElMessage({
|
|
|
|
- message: '请选择要导出的数据!',
|
|
|
|
- type: 'warning'
|
|
|
|
- })
|
|
|
|
|
|
+const toExport = async () => {
|
|
|
|
+ const res = await store.exportReg(id.value)
|
|
|
|
+ if ($checkRes(res, true)) {
|
|
|
|
+ window.open(res.data)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const toClose = async () => {
|
|
const toClose = async () => {
|