| | |
| | | LText: res.dataSource |
| | | } |
| | | |
| | | param.LText = param.LText.replace(/@\$|\$@/ig, '') |
| | | param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') |
| | | param.LText = param.LText.replace(/@\$|\$@/ig, '').replace(/@(BID|ID|LoginUID|SessionUid|UserID|Appkey|time_id)@/ig, `'${param.timestamp}'`) |
| | | |
| | | param.LText = Utils.formatOptions(param.LText) |
| | | param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') |
| | | param.secretkey = Utils.encrypt('', param.timestamp) |
| | | |
| | | if (window.GLOB.mainSystemApi && res.database === 'sso') { |
| | |
| | | } |
| | | |
| | | render () { |
| | | const { btn } = this.props |
| | | const { config, dict, saving } = this.state |
| | | |
| | | return ( |
| | |
| | | <div className="mob-shell-inner"> |
| | | <div className="am-navbar"> |
| | | <LeftOutlined /> |
| | | <div className="am-navbar-title">{config.setting.title}</div> |
| | | <div className="am-navbar-title">{btn.label}</div> |
| | | {config.setting.btnPosition === 'top' ? <Button className="modal-submit-top">{config.setting.btnName || '确定'}</Button> : null} |
| | | </div> |
| | | <DragElement |