king
2022-02-14 2504ff3e6e7143d3afba45527ef00b173376f7f8
2022-02-14
3个文件已修改
39 ■■■■■ 已修改文件
src/tabviews/custom/components/table/edit-table/normalTable/index.scss 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/normalTable/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/table/edit-table/normalTable/index.scss
@@ -159,6 +159,9 @@
    border: none;
    box-shadow: none!important;
    height: auto;
    border-radius: 0;
    position: unset;
    .ant-input-number-handler-wrap {
      display: none;
    }
@@ -171,6 +174,20 @@
  .editing_table_cell {
    .ant-input {
      padding: 0px;
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      border: 1px solid #1890ff;
    }
    .ant-input-number-input {
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      border: 1px solid #1890ff;
    }
    .anticon {
      color: #ff4d4f;
src/tabviews/zshare/normalTable/index.jsx
@@ -216,7 +216,11 @@
          }
        }
        
        _columns.push(cell)
        if (item.type === 'action' && item.position === 'left') {
          _columns.unshift(cell)
        } else {
          _columns.push(cell)
        }
      })
  
      if (rowspans.length === 0) {
src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx
@@ -21,7 +21,7 @@
        required: true
      },
      {
        type: 'select',
        type: 'radio',
        key: 'Align',
        label: this.props.dict['model.form.align'],
        initVal: this.props.card.Align,
@@ -44,6 +44,20 @@
        label: this.props.dict['model.form.columnWidth'],
        initVal: this.props.card.Width,
        required: true
      },
      {
        type: 'radio',
        key: 'position',
        label: '显示位置',
        initVal: this.props.card.position || 'right',
        required: true,
        options: [{
          MenuID: 'right',
          text: '右侧'
        }, {
          MenuID: 'left',
          text: '左侧'
        }]
      }
    ]
  }