From a5f99a5f0e2035851997221bc2430f8cfd1dc146 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 04 十二月 2019 23:21:04 +0800 Subject: [PATCH] 2019-12-04 --- src/tabviews/datamanage/action/index.jsx | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/src/tabviews/datamanage/action/index.jsx b/src/tabviews/datamanage/action/index.jsx index 871db03..e290de0 100644 --- a/src/tabviews/datamanage/action/index.jsx +++ b/src/tabviews/datamanage/action/index.jsx @@ -74,6 +74,49 @@ let _this = this let datalist = this.props.gettableselected() || [] + if (item.Action === 'ExportExcel') { + return + // this.submitaction(item, datalist, ID[0], (BID.length === 1 ? BID[0] : '')) + // .then(res => { + // if (Array.isArray(res)) { + // let iserror = false + // res.forEach(result => { + // if (!result.status && !iserror) { + // notification.error({ + // top: 92, + // message: result.message, + // duration: 15 + // }) + // iserror = true + // } + // }) + // if (!iserror) { + // notification.success({ + // top: 92, + // message: _this.props.dict['main.action.confirm.success'] + // }) + + // _this.props.refreshdata(item.ReloadForm) // 鍒锋柊椤甸潰 + // } + // } else { + // if (res.status) { + // notification.success({ + // top: 92, + // message: _this.props.dict['main.action.confirm.success'] + // }) + + // _this.props.refreshdata(item.ReloadForm) // 鍒锋柊椤甸潰 + // } else { + // notification.error({ + // top: 92, + // message: res.message, + // duration: 15 + // }) + // } + // } + // }) + } + /************* 鏍¢獙鍒楄〃鏁版嵁閫夋嫨鏄惁姝g‘ **************/ if ((item.Ot === 'requiredSgl' || item.Ot === 'required' || item.Ot === 'requiredOnce') && datalist.length === 0) { -- Gitblit v1.8.0