king
2023-07-12 238987f2d0765dd5d7f5978ed71793632c4eff5f
2023-07-12
7个文件已修改
79 ■■■■ 已修改文件
public/options.json 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcomponent/index.jsx 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/doublecardcomponent/index.jsx 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/formdragelement/index.scss 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/data-card/index.jsx 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/double-data-card/index.jsx 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/prop-card/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/options.json
@@ -1,16 +1,16 @@
{
  "appId": "201912040924165801464FF1788654BC5AC73",
  "appkey": "20191106103859640976D6E924E464D029CF0",
  "appId": "202302142232553335FD61541662E42BFA3F2",
  "appkey": "20230214223238297EB508FACADB841D2BBAA",
  "mainSystemApi": "http://sso.mk9h.cn/cloud/webapi/dostars",
  "systemType": "",
  "externalDatabase": "",
  "lineColor": "",
  "filter": "false",
  "defaultApp": "mk",
  "defaultApp": "retail_pad",
  "defaultLang": "zh-CN",
  "WXAppID": "wx4d8a34c8d4494872",
  "WXAppID": "",
  "WXminiAppID": "",
  "WXNotice": "true",
  "WXNotice": "false",
  "nginx": "true",
  "debugger": false,
  "licenseKey": "",
@@ -18,6 +18,6 @@
  "transfer": "false",
  "keepPassword": "true",
  "platforms": ["H5", "wechat", "android", "ios", "wxMiniProgram"],
  "host": "http://qingqiumarket.cn",
  "service": "MKWMS/"
  "host": "http://demo.mk9h.cn",
  "service": "eko_dms/"
}
src/menu/components/card/cardcomponent/index.jsx
@@ -157,7 +157,7 @@
    const { card, side } = this.state
    let _style = null
    let options = ['height', 'background', 'border', 'padding', 'margin', 'shadow']
    let options = ['height', 'background', 'border', 'padding', 'margin', 'shadow', 'clear']
    if (side === 'front') {
      _style = card.style ? fromJS(card.style).toJS() : {}
    } else if (side === 'back') {
@@ -378,8 +378,16 @@
      tablerole = ' mk-table-header'
    }
    let _style_ = null
    if (card.style.clear === 'left') {
      _style_ = {clear: 'left'}
    } else if (card.style.clear === 'right') {
      _style_ = {float: 'right'}
    }
    return (
      <Col span={card.setting.width || 6}>
      <Col span={card.setting.width || 6} style={_style_}>
        <div className={'card-item ' + (card.setting.btnControl || '') + checkAll + tablerole} style={_style} onDoubleClick={(e) => {e.stopPropagation(); this.doubleClickCard()}} id={card.uuid}>
          <span className="circle-select"></span>
          <CardCellComponent cards={cards} cardCell={card} side={side} elements={elements} updateElement={this.updateCard}/>
src/menu/components/card/doublecardcomponent/index.jsx
@@ -127,6 +127,7 @@
    if (type === 'sub') {
      _style = fromJS(card.backStyle).toJS()
    } else {
      options.push('clear')
      _style = fromJS(card.style).toJS()
    }
@@ -264,8 +265,16 @@
      mainBox = 'flex-card '
    }
    let _style_ = null
    if (card.style.clear === 'left') {
      _style_ = {clear: 'left'}
    } else if (card.style.clear === 'right') {
      _style_ = {float: 'right'}
    }
    return (
      <Col span={card.setting.width || 24}>
      <Col span={card.setting.width || 24} style={_style_}>
        <div className="card-item-wrap" style={_wrapStyle}>
          <div className={`card-item ${card.setting.btnControl || ''} ${checkAll} mk-${card.setting.display} ${mainBox}`} style={_style} onDoubleClick={(e) => {e.stopPropagation(); this.doubleClickCard()}} id={card.uuid}>
            <span className="circle-select"></span>
src/mob/components/formdragelement/index.scss
@@ -8,8 +8,10 @@
    padding-left: 0px;
    padding-right: 0px;
  }
  >.ant-col:not(.ant-col-24) {
  >.ant-col {
    padding-right: 10px;
  }
  >.ant-col:not(.ant-col-24) {
    .am-list-line .am-input-label {
      width: auto;
      padding-right: 10px;
src/tabviews/custom/components/card/data-card/index.jsx
@@ -95,6 +95,14 @@
        }
      }
      if (item.style.clear === 'left') {
        item.wStyle = {clear: 'left'}
      } else if (item.style.clear === 'right') {
        item.wStyle = {float: 'right'}
      }
      delete item.style.clear
      if (item.$cardType !== 'extendCard') {
        _card = item
      } else if (!_card) {
@@ -1038,7 +1046,7 @@
          {switchable ? <div className={'prev-page ' + (pageIndex === 1 ? 'disabled' : '')} onClick={this.prevPage}><div><div><img src={preImg} alt=""/></div></div></div> : null}
          <Row className={'card-row-list ' + config.wrap.layout}>
            {precards.map((item, index) => (
              <Col key={'pre' + index} className="extend-card" span={item.setting.width || 6}>
              <Col key={'pre' + index} className="extend-card" style={item.wStyle} span={item.setting.width || 6}>
                {item.setting.cardRole === 'header' ? <TableHeader card={item} data={extendData} refresh={this.refreshByHeader}>
                  {item.setting.checkAll === 'show' ? <span onClick={this.checkAll} className={'circle-select' + checkAll}></span> : null}
                </TableHeader> : <CardItem card={item} cards={config} data={extendData}>
@@ -1062,7 +1070,7 @@
              }
              return (
                <Col className={className} key={index} span={card.setting.width}>
                <Col className={className} key={index} style={card.wStyle} span={card.setting.width}>
                  <CardItem card={card} cards={config} data={item} onClick={() => {this.changeCard(index, item)}}>
                    <span className="circle-select"></span>
                  </CardItem>
@@ -1070,7 +1078,7 @@
              )
            })}
            {nextcards.map((item, index) => (
              <Col key={'next' + index} className="extend-card" span={item.setting.width || 6}>
              <Col key={'next' + index} className="extend-card" style={item.wStyle} span={item.setting.width || 6}>
                {item.setting.cardRole === 'header' ? <TableHeader card={item} data={extendData} refresh={this.refreshByHeader}>
                  {item.setting.checkAll === 'show' ? <span onClick={this.checkAll} className={'circle-select' + checkAll}></span> : null}
                </TableHeader> : <CardItem card={item} cards={config} data={extendData}>
src/tabviews/custom/components/card/double-data-card/index.jsx
@@ -93,6 +93,14 @@
        }
      }
      if (item.style.clear === 'left') {
        item.wStyle = {clear: 'left'}
      } else if (item.style.clear === 'right') {
        item.wStyle = {float: 'right'}
      }
      delete item.style.clear
      if (item.$cardType !== 'extendCard') {
        _card = item
      } else if (!_card) {
@@ -1038,7 +1046,7 @@
          <div className={`data-zoom ${config.wrap.wrapClass}`} style={config.wrap.minWidth ? {minWidth: config.wrap.minWidth} : null}>
            <Row className={'card-row-list '}>
              {precards.map((item, index) => (
                <Col key={'pre' + index} className="extend-card" span={item.setting.width || 6}>
                <Col key={'pre' + index} className="extend-card" style={item.wStyle} span={item.setting.width || 6}>
                  {item.setting.cardRole === 'header' ? <TableHeader card={item} data={extendData} refresh={this.refreshByHeader}>
                    {item.setting.checkAll === 'show' ? <span onClick={this.checkAll} className={'circle-select' + checkAll}></span> : null}
                  </TableHeader> : <CardItem card={item} cards={config} data={extendData}>
@@ -1070,7 +1078,7 @@
                }
                return (
                  <Col key={index} span={card.setting.width}>
                  <Col key={index} span={card.setting.width} style={card.wStyle}>
                    <div className={className} style={wrapStyle}>
                      <CardItem card={card} cards={config} data={item} onDoubleClick={() => this.onDoubleClick(index, subClass)} onClick={() => {this.changeCard(index, item, subClass)}}>
                        <span className="circle-select"></span>
@@ -1087,7 +1095,7 @@
                )
              })}
              {nextcards.map((item, index) => (
                <Col key={'next' + index} className="extend-card" span={item.setting.width || 6}>
                <Col key={'next' + index} className="extend-card" style={item.wStyle} span={item.setting.width || 6}>
                  {item.setting.cardRole === 'header' ? <TableHeader card={item} data={extendData} refresh={this.refreshByHeader}>
                    {item.setting.checkAll === 'show' ? <span onClick={this.checkAll} className={'circle-select' + checkAll}></span> : null}
                  </TableHeader> : <CardItem card={item} cards={config} data={extendData}>
src/tabviews/custom/components/card/prop-card/index.jsx
@@ -95,6 +95,14 @@
          card.setting.click = ''
        }
      }
      if (card.style.clear === 'left') {
        card.wStyle = {clear: 'left'}
      } else if (card.style.clear === 'right') {
        card.wStyle = {float: 'right'}
      }
      delete card.style.clear
    })
    let selected = _config.wrap.selected || 'false'
@@ -532,7 +540,7 @@
            }
            return (
              <Col className={className} key={index} span={item.setting.width || 6} offset={item.offset || 0}>
              <Col className={className} key={index} style={item.wStyle} span={item.setting.width || 6} offset={item.offset || 0}>
                <CardItem card={item} cards={config} data={data} onClick={() => {this.changeCard(index, item)}}/>
              </Col>
            )