From 38fe335117726d44dd9aef2e02cf4c25909481c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=A2=81=E5=AD=90=E9=BE=99?=
<14096380+qwe963852@user.noreply.gitee.com>
Date: Wed, 25 Sep 2024 22:11:45 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E6=95=85=E9=9A=9C=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/breakdown/log/index.vue | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/src/views/breakdown/log/index.vue b/src/views/breakdown/log/index.vue
index 7ef4355..b72619f 100644
--- a/src/views/breakdown/log/index.vue
+++ b/src/views/breakdown/log/index.vue
@@ -28,19 +28,20 @@
-
+
导出
-
+
-
+
+
@@ -175,6 +176,12 @@ export default {
props:{},
data() {
return {
+ //选中数组
+ ids:[],
+ //非单个禁用
+ single:true,
+ //非多个禁用
+ multiple:true,
activeName:'all',
loading:true,
messageList:[],
@@ -256,7 +263,13 @@ export default {
this.download('breakdown/log/export',{
...this.queryParams
},`log_${new Date().getTime()}.xlsx`)
- }
+ },
+ // 多选框选中数据
+ handleSelectionChange(selection) {
+ this.ids = selection.map(item => item.id)
+ this.single = selection.length!==1
+ this.multiple = !selection.length
+ },
},
created() {
this.getList();