| | |
| | | import CreateFunc from '@/templates/zshare/createfunc' |
| | | import CreateInterface from '@/templates/zshare/createinterface' |
| | | |
| | | import './index.scss' |
| | | // import './index.scss' |
| | | |
| | | class SettingComponent extends Component { |
| | | static propTpyes = { |
| | |
| | | const { dict, visible, search, menu, record } = this.state |
| | | |
| | | return ( |
| | | <div className="model-menu-setting"> |
| | | <SettingOutlined onClick={this.changeSetting} /> |
| | | <> |
| | | <SettingOutlined style={{position: 'absolute', fontSize: '18px', right: '7px', top: '5px', padding: '10px', zIndex: 1}} onClick={this.changeSetting} /> |
| | | {/* 设置全局配置及列表数据源 */} |
| | | <Modal |
| | | wrapClassName="model-table-setting-verify-modal" |
| | | title="数据源配置" |
| | | wrapClassName="mk-pop-modal" |
| | | visible={visible} |
| | | width={900} |
| | | width={'75vw'} |
| | | maskClosable={false} |
| | | onCancel={() => { MKEmitter.emit('modalStatus', false); this.setState({ visible: false, loading: false })}} |
| | | footer={[ |
| | |
| | | wrappedComponentRef={(inst) => this.settingRef = inst} |
| | | /> |
| | | </Modal> |
| | | </div> |
| | | </> |
| | | ) |
| | | } |
| | | } |