| | |
| | | configMap: {} |
| | | } |
| | | |
| | | refreshdata = (item, type) => { |
| | | this.props.refreshdata(item, type) |
| | | } |
| | | |
| | | /** |
| | | * @description 触发按钮操作 |
| | | */ |
| | |
| | | LText: values.LongParam |
| | | } |
| | | |
| | | param.LText = window.btoa(window.encodeURIComponent(JSON.stringify(param.LText))) |
| | | |
| | | if (btn.sqlType === 'delete') { |
| | | param.LText = window.GLOB.appkey || '' |
| | | param.Remark = '' |
| | |
| | | }) |
| | | } |
| | | |
| | | this.refreshdata(btn, 'success') |
| | | if (btn.execSuccess !== 'never') { |
| | | this.props.refreshdata() |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | } else if (res.ErrCode === 'NM') { |
| | | message.error(res.message || res.ErrMesg) |
| | | } |
| | | |
| | | this.refreshdata(btn, 'error') |
| | | } |
| | | |
| | | |