king
2023-02-23 31060c20e8d232f2bdb426fed620b7c15018b8df
2023-02-23
7个文件已修改
29 ■■■■ 已修改文件
src/menu/components/card/cardcellcomponent/elementform/index.jsx 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/commontable/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/double-data-card/index.scss 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/subtable/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/subtabtable/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/printbutton/index.jsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/elementform/index.jsx
@@ -188,15 +188,16 @@
        if (item.key === 'field') {
          item.options = []
          if (side === 'sub') {
            config.subColumns.forEach(col => {
              let label = `${col.field}(${col.label})`
              if (/^(Int|Decimal)/ig.test(col.datatype) && (card.eleType === 'number' || card.eleType === 'slider')) {
              if (/^(Int|Decimal)/ig.test(col.datatype) && (value === 'number' || value === 'slider')) {
                item.options.push({
                  value: col.field,
                  text: label
                })
              } else if (/^(Nvarchar|date)/ig.test(col.datatype) && card.eleType !== 'number' && card.eleType !== 'slider') {
              } else if (/^(Nvarchar|date)/ig.test(col.datatype) && value !== 'number' && value !== 'slider') {
                item.options.push({
                  value: col.field,
                  text: label
src/tabviews/commontable/index.jsx
@@ -319,6 +319,7 @@
      config.action.forEach(item => {
        item.logLabel = MenuName + '-' + item.label // 用于sPC_TableData_InUpDe记录操作按钮
        item.$menuId = this.props.MenuID
        item.$old = true
        item.ContainerId = this.state.ContainerId
        if (item.OpenType === 'funcbutton' && item.funcType === 'print' && item.verify) { // 打印机设置
src/tabviews/custom/components/card/double-data-card/index.scss
@@ -284,6 +284,11 @@
      overflow: hidden;
      transition: height 0.3s;
    }
    .sub-card-wrap {
      .card-item-box:hover {
        background-color: var(--mk-sys-color2);
      }
    }
  }
  .card-item-wrap.flex-card {
    >.card-item-box:first-child {
@@ -299,7 +304,7 @@
  .sub-card-wrap.mk-parity-bg {
    .ant-col:nth-child(even){
      .card-item-box {
      .card-item-box:not(:hover) {
        background-color: var(--mk-sys-color1);
      }
    }
src/tabviews/subtable/index.jsx
@@ -241,6 +241,7 @@
      config.action.forEach(item => {
        item.logLabel = Tab.label + '-' + item.label // 用于sPC_TableData_InUpDe记录操作按钮
        item.$menuId = this.props.MenuID
        item.$old = true
        if (item.OpenType === 'funcbutton' && item.funcType === 'print' && item.verify) { // 打印机设置
          let _item = window.GLOB.UserCacheMap.get(Tab.uuid + item.uuid)
src/tabviews/subtabtable/index.jsx
@@ -211,6 +211,7 @@
      config.action.forEach(item => {
        item.logLabel = Tab.label + '-' + item.label // 用于sPC_TableData_InUpDe记录操作按钮
        item.$menuId = this.props.MenuID
        item.$old = true
        if (item.position === 'toolbar') {
          item.$toolbtn = true
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -2431,6 +2431,13 @@
          }, 100)
        }
      }
    } else if (!btn.$old) {
      notification.warning({
        top: 92,
        message: '未获取到按钮配置信息!',
        duration: 5
      })
      this.setState({ loading: false })
    } else {
      Api.getCacheConfig({
        func: 'sPC_Get_LongParam',
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -2020,6 +2020,13 @@
          }, 100)
        }
      }
    } else if (!btn.$old) {
      notification.warning({
        top: 92,
        message: '未获取到按钮配置信息!',
        duration: 5
      })
      this.setState({ loading: false })
    } else {
      Api.getCacheConfig({
        func: 'sPC_Get_LongParam',