| | |
| | | .bf-content { |
| | | overflow-x: hidden; |
| | | overflow-y: auto; |
| | | height: auto; |
| | | min-height: 500px; |
| | | padding-bottom: 0px; |
| | | .public-DraftEditor-content { |
| | | padding-bottom: 0; |
| | | } |
| | | } |
| | | .bf-content::-webkit-scrollbar { |
| | | width: 7px; |
| | |
| | | <div className="user-component-wrap"> |
| | | <Icon type="user" title="生成自定义组件" onClick={this.trigger} /> |
| | | <Modal |
| | | wrapClassName="popview-modal" |
| | | title="自定义组件" |
| | | visible={visible} |
| | | width={500} |
| | |
| | | } |
| | | |
| | | this.setState({ |
| | | selectedData: [], |
| | | pickup: false |
| | | }) |
| | | |
| | |
| | | this.setState({ |
| | | loading: true, |
| | | pageIndex: 1, |
| | | selectedData: [], |
| | | search: searches |
| | | }, () => { |
| | | this.loadmaindata() |
| | |
| | | |
| | | this.setState({ |
| | | loading: true, |
| | | selectedData: [], |
| | | pageIndex: pagination.current, |
| | | pageSize: pagination.pageSize, |
| | | orderBy: (sorter.field && sorter.order) ? `${sorter.field} ${sorter.order}` : '' |
| | |
| | | MKEmitter.emit('resetTable', this.props.MenuID + 'mainTable') // 列表重置 |
| | | this.setState({ |
| | | pageIndex: 1, |
| | | loading: true, |
| | | selectedData: [] |
| | | loading: true |
| | | }, () => { |
| | | this.loadmaindata() |
| | | }) |
| | |
| | | * @description 页面刷新,重新获取配置 |
| | | */ |
| | | reloadview = () => { |
| | | MKEmitter.emit('resetTable', this.props.MenuID + 'mainTable') // 列表重置 |
| | | this.setState({ |
| | | config: {}, |
| | | searchlist: [], |
| | |
| | | } else if (_item.value.format) { |
| | | _item.value = _item.value.format(_format[item.type]) |
| | | } |
| | | } else if (item.type === 'text' && _item.value) { // 特殊字段替换 |
| | | } else if (item.type === 'text' && _item.value && typeof(_item.value) === 'string') { // 特殊字段替换 |
| | | _item.value = _item.value.replace(/^(\s*)@appkey@(\s*)$/ig, window.GLOB.appkey) |
| | | _item.value = _item.value.replace(/^(\s*)@SessionUid@(\s*)$/ig, (localStorage.getItem('SessionUid') || '')) |
| | | _item.value = _item.value.replace(/^(\s*)@bid@(\s*)$/ig, (this.props.BID || '')) |