From cf8e332b14ca79859fcd89f2ac097ed7c6aa66c5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 01 十二月 2019 18:15:45 +0800 Subject: [PATCH] 2019-12-01 --- src/templates/comtableconfig/index.jsx | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx index ada6e79..2bb23da 100644 --- a/src/templates/comtableconfig/index.jsx +++ b/src/templates/comtableconfig/index.jsx @@ -137,7 +137,7 @@ * 2銆佹牴鎹厤缃俊鎭腑宸蹭娇鐢ㄨ〃鑾峰彇鐩稿叧瀛楁淇℃伅 */ componentDidMount () { - let _text = "select TbName ,Remark from sDataDictionary where IsKey!='' and Deleted =0" + let _text = 'select TbName ,Remark from sDataDictionary where IsKey!=\'\' and Deleted =0' _text = Utils.formatOptions(_text) Api.getSystemConfig({func: 'sPC_Get_SelectedList', LText: _text, obj_name: 'data', arr_field: 'TbName,Remark'}).then(res => { @@ -811,6 +811,7 @@ const { menu } = this.props const { config, originMenu } = this.state this.menuformRef.handleConfirm().then(res => { + config.search = config.search.filter(item => !item.origin) if (config.search[0] && config.search[0].origin) { notification.warning({ top: 92, @@ -1073,7 +1074,7 @@ } // 鑾峰彇宸查�夊瓧娈甸泦鍚� - let cards = this.refs.searchcard.getSelectedCard() + let cards = this.refs.searchcard.state.selectCards let columnsMap = new Map() cards.forEach(card => { columnsMap.set(card.field, card) -- Gitblit v1.8.0