king
2024-07-13 ff2ba12cdcc4ece62154e561d5877eb63f81eba6
Merge branch 'develop'
9个文件已修改
129 ■■■■ 已修改文件
src/menu/components/form/simple-form/index.scss 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/modalconfig/index.scss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/searchconfig/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/data-card/index.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/double-data-card/index.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/table/base-table/index.jsx 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/table/edit-table/index.jsx 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/table/normal-table/index.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mobdesign/index.scss 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/simple-form/index.scss
@@ -58,17 +58,6 @@
      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;
src/mob/modalconfig/index.scss
@@ -256,7 +256,6 @@
  }
}
.modal-fields {
  .ant-modal {
    top: 50px;
src/mob/searchconfig/index.jsx
@@ -19,7 +19,7 @@
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'))
@@ -489,7 +489,7 @@
            <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">
src/tabviews/custom/components/card/data-card/index.jsx
@@ -1,7 +1,7 @@
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'
@@ -1089,6 +1089,20 @@
  }
  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
src/tabviews/custom/components/card/double-data-card/index.jsx
@@ -1,7 +1,7 @@
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'
@@ -969,6 +969,20 @@
  }
  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
src/tabviews/custom/components/table/base-table/index.jsx
@@ -439,7 +439,19 @@
   * 含有初始不加载的页面,修改设置
   */
  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,
src/tabviews/custom/components/table/edit-table/index.jsx
@@ -1,6 +1,7 @@
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'
@@ -633,6 +634,20 @@
   * 含有初始不加载的页面,修改设置
   */
  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
src/tabviews/custom/components/table/normal-table/index.jsx
@@ -1,7 +1,7 @@
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'
@@ -812,6 +812,20 @@
   * 含有初始不加载的页面,修改设置
   */
  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
src/views/mobdesign/index.scss
@@ -171,25 +171,25 @@
    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;