| | |
| | | background-color: transparent; |
| | | } |
| | | } |
| | | // .form-area.mk-shadow { |
| | | // .mob-form { |
| | | // .am-list-line { |
| | | // border: none!important; |
| | | |
| | | // .am-input-control { |
| | | // background-color: var(--mk-sys-color1); |
| | | // } |
| | | // } |
| | | // } |
| | | // } |
| | | } |
| | | .menu-simple-form-edit-box::after { |
| | | display: block; |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | .modal-fields { |
| | | .ant-modal { |
| | | top: 50px; |
| | |
| | | const { Panel } = Collapse |
| | | const { confirm } = Modal |
| | | const SearchForm = asyncComponent(() => import('@/templates/sharecomponent/searchcomponent/searchform')) |
| | | const PasteComponent = asyncComponent(() => import('./pastecomponent')) |
| | | // const PasteComponent = asyncComponent(() => import('./pastecomponent')) |
| | | const DragElement = asyncComponent(() => import('./searchdragelement')) |
| | | const GDragElement = asyncComponent(() => import('./groupdragelement')) |
| | | const GroupForm = asyncComponent(() => import('./groupform')) |
| | |
| | | <Button type="primary" loading={saving} onClick={this.submitConfig}>保存</Button> |
| | | <Button onClick={this.cancelConfig}>关闭</Button> |
| | | {!group.floor ? <Button onClick={this.returnUp}>返回上级</Button> : null} |
| | | <PasteComponent insert={this.insert} /> |
| | | {/* <PasteComponent insert={this.insert} /> */} |
| | | <Switch checkedChildren="开" unCheckedChildren="关" defaultChecked={this.state.showField} onChange={(val) => this.setState({showField: val})} /> |
| | | </div> |
| | | <div className="setting"> |
| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { Spin, Empty, message, Row, Col, Pagination, Switch } from 'antd' |
| | | import { Spin, Empty, message, Row, Col, Pagination, Switch, notification } from 'antd' |
| | | import { DownOutlined } from '@ant-design/icons' |
| | | |
| | | import Api from '@/api' |
| | |
| | | } |
| | | |
| | | refreshSearch = (list) => { |
| | | const { config, BID } = this.state |
| | | |
| | | if (config.setting.supModule && !BID && config.wrap.supKey !== 'false') { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: window.GLOB.dict['sup_key_req'] || '需要上级主键值!', |
| | | duration: 5 |
| | | }) |
| | | this.setState({ |
| | | search: list |
| | | }) |
| | | return |
| | | } |
| | | |
| | | this.setState({ |
| | | search: list, |
| | | pageIndex: 1 |
| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { Spin, Empty, Row, Col, Pagination, Switch } from 'antd' |
| | | import { Spin, Empty, Row, Col, Pagination, Switch, notification } from 'antd' |
| | | import { DownOutlined, UpOutlined, PlusSquareOutlined, MinusSquareOutlined } from '@ant-design/icons' |
| | | |
| | | import Api from '@/api' |
| | |
| | | } |
| | | |
| | | refreshSearch = (list) => { |
| | | const { config, BID } = this.state |
| | | |
| | | if (config.setting.supModule && !BID && config.wrap.supKey !== 'false') { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: window.GLOB.dict['sup_key_req'] || '需要上级主键值!', |
| | | duration: 5 |
| | | }) |
| | | this.setState({ |
| | | search: list |
| | | }) |
| | | return |
| | | } |
| | | |
| | | this.setState({ |
| | | search: list, |
| | | pageIndex: 1 |
| | |
| | | * 含有初始不加载的页面,修改设置 |
| | | */ |
| | | refreshbysearch = (searches) => { |
| | | const { config} = this.state |
| | | const { config, BID } = this.state |
| | | |
| | | if (config.setting.supModule && !BID) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: window.GLOB.dict['sup_key_req'] || '需要上级主键值!', |
| | | duration: 5 |
| | | }) |
| | | this.setState({ |
| | | search: searches |
| | | }) |
| | | return |
| | | } |
| | | |
| | | this.setState({ |
| | | pageIndex: 1, |
| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { notification } from 'antd' |
| | | import moment from 'moment' |
| | | |
| | | import Api from '@/api' |
| | |
| | | * 含有初始不加载的页面,修改设置 |
| | | */ |
| | | refreshbysearch = (searches) => { |
| | | const { setting, BID } = this.state |
| | | |
| | | if (setting.supModule && !BID) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: window.GLOB.dict['sup_key_req'] || '需要上级主键值!', |
| | | duration: 5 |
| | | }) |
| | | this.setState({ |
| | | search: searches |
| | | }) |
| | | return |
| | | } |
| | | |
| | | this.setState({ |
| | | pageIndex: 1, |
| | | search: searches |
| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { Collapse } from 'antd' |
| | | import { Collapse, notification } from 'antd' |
| | | import moment from 'moment' |
| | | |
| | | import Api from '@/api' |
| | |
| | | * 含有初始不加载的页面,修改设置 |
| | | */ |
| | | refreshbysearch = (searches) => { |
| | | const { setting, BID } = this.state |
| | | |
| | | if (setting.supModule && !BID && setting.supKey !== 'false') { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: window.GLOB.dict['sup_key_req'] || '需要上级主键值!', |
| | | duration: 5 |
| | | }) |
| | | this.setState({ |
| | | search: searches |
| | | }) |
| | | return |
| | | } |
| | | |
| | | this.setState({ |
| | | pageIndex: 1, |
| | | search: searches |
| | |
| | | background-size: 100% 100%; |
| | | padding: 25px 13px 40px; |
| | | border-radius: 30px; |
| | | .main-search-edit-list { |
| | | .page-card > div > .ant-form-item { |
| | | display: flex; |
| | | >.ant-form-item-label { |
| | | width: 70px; |
| | | } |
| | | >.ant-form-item-control-wrapper { |
| | | flex: 1; |
| | | } |
| | | .ant-form-item-label > label::after { |
| | | content: ' '; |
| | | // .main-search-edit-list { |
| | | // .page-card > div > .ant-form-item { |
| | | // display: flex; |
| | | // >.ant-form-item-label { |
| | | // width: 70px; |
| | | // } |
| | | // >.ant-form-item-control-wrapper { |
| | | // flex: 1; |
| | | // } |
| | | // .ant-form-item-label > label::after { |
| | | // content: ' '; |
| | | |
| | | } |
| | | } |
| | | .page-card.date .ant-form-item, .page-card.datemonth .ant-form-item { |
| | | // box-shadow: 0px 1px 1px #f0f0f0; |
| | | border-bottom: 1px solid #f0f0f0; |
| | | } |
| | | } |
| | | // } |
| | | // } |
| | | // .page-card.date .ant-form-item, .page-card.datemonth .ant-form-item { |
| | | // // box-shadow: 0px 1px 1px #f0f0f0; |
| | | // border-bottom: 1px solid #f0f0f0; |
| | | // } |
| | | // } |
| | | } |
| | | .menu-control { |
| | | position: fixed; |