From 37a134bd23ec4b227a0e010b08a1a89c2bbaaa0d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 03 十一月 2020 17:10:14 +0800 Subject: [PATCH] 2020-11-03 --- src/tabviews/zshare/actionList/excelInbutton/index.jsx | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx index 17a718a..1d59ff2 100644 --- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx +++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx @@ -18,6 +18,7 @@ static propTpyes = { show: PropTypes.any, // 鏄剧ず鏍峰紡 BID: PropTypes.string, // 涓昏〃ID + MenuName: PropTypes.any, // 鑿滃崟鍚嶇О selectedData: PropTypes.any, // 瀛愯〃涓�夋嫨鏁版嵁 Tab: PropTypes.any, // 濡傛灉褰撳墠鍏冪礌涓烘爣绛炬椂锛宼ab涓烘爣绛句俊鎭� btn: PropTypes.object, // 鎸夐挳 @@ -188,7 +189,7 @@ * @description Excel 瀵煎叆 */ getexceldata = (data, errors, sheetName) => { - const { btn } = this.props + const { btn, MenuName } = this.props if (errors) { if (errors === 'notexit') { @@ -275,6 +276,8 @@ param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp) } + param.menuname = `${MenuName ? MenuName + '-' : ''}${btn.label}` + Api.genericInterface(param).then((res) => { if (res.status) { this.execSuccess(res) -- Gitblit v1.8.0