From 68e1c2eaace11fcf83e7470887890e0fbb751e95 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 29 十一月 2022 11:40:25 +0800
Subject: [PATCH] 卡口导出bug修改

---
 src/views/systemSetting/device/bayonet/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/systemSetting/device/bayonet/index.vue b/src/views/systemSetting/device/bayonet/index.vue
index b2a50c0..f41782d 100644
--- a/src/views/systemSetting/device/bayonet/index.vue
+++ b/src/views/systemSetting/device/bayonet/index.vue
@@ -85,7 +85,7 @@
   data() {
     return {
       isShowDialog: false,
-      context: 0,
+      context: "",
       options: [
         {
           value: 0,
@@ -150,7 +150,7 @@
     getBayonetListData() {
       bayonet
         .getBayonetList({
-          bayonetName: "",
+          bayonetName: this.context,
           current: this.current,
           size: this.size,
         })
@@ -178,7 +178,7 @@
         .exportBayonetList({
           bayonetName: this.context,
           current: this.current,
-          size: this.size,
+          size: this.size
         })
         .then((res) => {
           downloadFile(res);

--
Gitblit v1.8.0