| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { Form, Row, Col, Button, Input, Select, Cascader, notification } from 'antd' |
| | | import './index.scss' |
| | | // import './index.scss' |
| | | |
| | | class MenusColumn extends Component { |
| | | static propTpyes = { |
| | |
| | | import Utils from '@/utils/utils.js' |
| | | import ColumnForm from './columnform' |
| | | import asyncComponent from '@/utils/asyncComponent' |
| | | import './index.scss' |
| | | // import './index.scss' |
| | | |
| | | const EditTable = asyncComponent(() => import('@/templates/zshare/editTable')) |
| | | |
| | |
| | | const { menus, columns } = this.state |
| | | |
| | | return ( |
| | | <div className="menus-box-wrap"> |
| | | <div style={{minHeight: '250px'}}> |
| | | <ColumnForm appType={appType} menus={menus} menulist={menulist} columnChange={this.columnChange}/> |
| | | <EditTable actions={['edit', 'move', 'copy', 'del']} type={appType + 'cardmenus'} data={menus} columns={columns} onChange={this.changeColumns}/> |
| | | </div> |
| | |
| | | .menus-box-wrap { |
| | | min-height: 250px; |
| | | } |