king
2022-07-11 6904c9273f5c7c3607ac5a9155aa511253d49b35
2022-07-11
11个文件已修改
65 ■■■■■ 已修改文件
public/options.json 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/modalconfig/index.scss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/excelInbutton/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/popupbutton/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/printbutton/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/cardcomponent/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/cardcomponent/index.scss 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.jsx 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.scss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/modalconfig/dragelement/index.scss 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/options.json
@@ -1,20 +1,20 @@
{
  "appId": "201912040924165801464FF1788654BC5AC73",
  "appkey": "20191106103859640976D6E924E464D029CF0",
  "appId": "202108312122504607B107A83F55B40C98CCF",
  "appkey": "20210831212235413F287EC3BF489424496C8",
  "mainSystemApi": "http://sso.mk9h.cn/cloud/webapi/dostars",
  "systemType": "",
  "externalDatabase": "false",
  "lineColor": "",
  "filter": "false",
  "defaultApp": "mk",
  "defaultApp": "mkindustry",
  "defaultLang": "zh-CN",
  "WXAppID": "wx4d8a34c8d4494872",
  "WXminiAppID": "wx9b9af4dbe2698680",
  "WXAppID": "",
  "WXminiAppID": "",
  "debugger": false,
  "licenseKey": "",
  "probation": "",
  "keepPassword": "true",
  "platforms": ["H5", "wechat", "android", "ios", "wxMiniProgram"],
  "host": "http://qingqiumarket.cn",
  "service": "MKWMS/"
  "host": "http://demo.mk9h.cn",
  "service": "erp_new/"
}
src/menu/modalconfig/index.scss
@@ -134,6 +134,8 @@
          .ant-form-item-label {
            width: 100%!important;
            text-align: left;
            height: 24px;
            line-height: 24px;
          }
          .ant-form-item-control-wrapper {
            width: 100%!important;
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -505,7 +505,7 @@
      className = 'mk-btn mk-' + btn.class
    }
    return <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}>
    return <>
      <Button
        type={type}
        title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
@@ -514,10 +514,10 @@
        style={btn.style}
        icon={icon}
        className={className}
        onClick={() => {this.actionTrigger()}}
        onClick={(e) => {e.stopPropagation(); this.actionTrigger()}}
      >{label}</Button>
      <ExcelIn btn={btn} triggerExcelIn={() => this.setState({ loading: true })} returndata={this.getexceldata} ref="excelIn" />
    </div>
    </>
  }
}
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -2270,32 +2270,32 @@
    } else if (!btn.$toolbtn) {
      icon = btn.icon || ''
      label = btn.label
      className = 'mk-btn mk-' + btn.class
      className = 'mk-btn mk-' + (btn.class || 'unset')
    } else {
      type = ''
      icon = btn.icon || ''
      label = btn.label
      className = 'mk-btn mk-' + btn.class
      className = 'mk-btn mk-' + (btn.class || 'unset')
    }
    if (loadingNumber && !loadingTotal && btn.$toolbtn && (!btn.show || btn.show === 'button')) {
      label = (loadingNumber && !loadingTotal ? `(${loadingNumber})` : '') + btn.label
    }
    return <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}>
    return <>
      <Button
        type={type}
        icon={icon}
        title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
        loading={loading}
        disabled={disabled}
        style={btn.style || null}
        style={btn.style}
        className={className}
        onClick={() => {this.actionTrigger()}}
        onClick={(e) => {e.stopPropagation(); this.actionTrigger()}}
      >{label}</Button>
      {this.getModels()}
      {loadingTotal ? <Progress className="mk-button-progress" percent={(loadingTotal - loadingNumber) / loadingTotal * 100} size="small" showInfo={false} /> : null}
    </div>
    </>
  }
}
src/tabviews/zshare/actionList/popupbutton/index.jsx
@@ -347,7 +347,7 @@
    }
    return (
      <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}>
      <>
        <Button
          type={type}
          title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
@@ -356,10 +356,10 @@
          style={btn.style}
          icon={icon}
          className={className}
          onClick={() => {this.actionTrigger()}}
          onClick={(e) => {e.stopPropagation(); this.actionTrigger()}}
        >{label}</Button>
        {this.getPop()}
      </div>
      </>
    )
  }
}
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -1682,7 +1682,7 @@
      className = 'mk-btn mk-' + btn.class
    }
    return <div style={{display: 'inline-block'}} onClick={(e) => e.stopPropagation()}>
    return <>
      <Button
        type={type}
        title={disabled ? (btn.reason || '') : (btn.show === 'icon' ? btn.label : '')}
@@ -1691,10 +1691,10 @@
        style={btn.style || null}
        icon={icon}
        className={className}
        onClick={() => {this.actionTrigger()}}
        onClick={(e) => {e.stopPropagation(); this.actionTrigger()}}
      >{label}</Button>
      {this.getModels()}
    </div>
    </>
  }
}
src/tabviews/zshare/cardcomponent/index.jsx
@@ -694,6 +694,10 @@
    card.switch = plot.switch !== 'false'
    if (!insertAction.icon) {
      insertAction.icon = 'plus'
    }
    card.insertAction = insertAction // 添加卡片
    this.setState({card: card, colMap: colMap, actionList: actionList})
src/tabviews/zshare/cardcomponent/index.scss
@@ -88,9 +88,6 @@
      right: 0;
      bottom: 0;
      div {
        width: 100%;
        height: 100%;
        .ant-btn {
          border: 0;
          width: 100%;
@@ -99,10 +96,9 @@
          transition: color 0.3s linear;
        }
      }
    }
    .mk-card-insert:hover {
      .ant-btn {
        color: #1890ff;
        color: var(--mk-sys-color);
      }
    }
  }
src/tabviews/zshare/mutilform/index.jsx
@@ -101,6 +101,11 @@
      if (!item.field || !['text', 'number', 'switch', 'rate', 'select', 'link', 'linkMain', 'funcvar', 'date', 'datemonth', 'radio', 'checkbox', 'checkcard', 'fileupload', 'textarea', 'multiselect', 'brafteditor', 'color'].includes(item.type)) return false
      if (/^\s+$/.test(item.label)) {
        item.style = item.style || {}
        item.style.color = 'transparent'
      }
      // 数据自动填充
      let readin = item.readin !== 'false'
      item.readin = item.readin !== 'false' && item.readin !== 'top'
src/tabviews/zshare/mutilform/index.scss
@@ -137,6 +137,8 @@
    .ant-form-item-label {
      width: 100%!important;
      text-align: left;
      height: 24px;
      line-height: 24px;
    }
    .ant-form-item-control-wrapper {
      width: 100%!important;
src/templates/modalconfig/dragelement/index.scss
@@ -131,6 +131,8 @@
    .ant-form-item-label {
      width: 100%!important;
      text-align: left;
      height: 24px;
      line-height: 24px;
    }
    .ant-form-item-control-wrapper {
      width: 100%!important;