From 6b680ace26dc95031a1b7a3e33f8785c112f787d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 20 四月 2020 18:32:01 +0800
Subject: [PATCH] 2020-04-20

---
 src/tabviews/zshare/actionList/index.jsx |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx
index 2f65609..b96888c 100644
--- a/src/tabviews/zshare/actionList/index.jsx
+++ b/src/tabviews/zshare/actionList/index.jsx
@@ -1965,6 +1965,28 @@
     let viewParam = this.props.getexceloutparam()
     let name = `${viewParam.menuName}${moment().format('YYYYMMDDHHmmss')}.xlsx`
     let pageSize = 1000
+
+    if (btn.search === 'true' && viewParam.search && viewParam.search.length > 0) {
+      let valid = false
+      viewParam.search.forEach(item => {
+        if (Array.isArray(item.value)) {
+          if (item.value.length > 0) {
+            valid = true
+          }
+        } else if (item.value || item.value === 0) {
+          valid = true
+        }
+      })
+
+      if (!valid) {
+        notification.warning({
+          top: 92,
+          message: '鎼滅储鏉′欢涓嶅彲涓虹┖锛�',
+          duration: 5
+        })
+        return
+      }
+    }
     
     this.setState({loadingUuid: btn.uuid})
 

--
Gitblit v1.8.0