king
2022-02-07 ad328dea146ab06dcaadb69d6cefb5ce658d659f
2022-02-07
11个文件已修改
63 ■■■■ 已修改文件
src/menu/components/card/cardcellcomponent/elementform/index.jsx 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/normal-form/index.scss 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/tab-form/index.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/tab-form/index.scss 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/edit-table/columns/tableIn/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/datasource/verifycard/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/sysinterface/settingform/simplescript/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/settingcomponent/settingform/simplescript/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/customscript/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycard/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcellcomponent/elementform/index.jsx
@@ -62,15 +62,19 @@
        if (item.key === 'field' || item.key === 'linkurl') {
          item.options = []
          config.columns.forEach(col => {
            let label = col.label
            if (label !== col.field) {
              label = col.field + ' ' + col.label
            }
            if (/^(Int|Decimal)/ig.test(col.datatype) && (card.eleType === 'number' || card.eleType === 'slider')) {
              item.options.push({
                value: col.field,
                text: col.label
                text: label
              })
            } else if (/^(Nvarchar|date)/ig.test(col.datatype) && card.eleType !== 'number' && card.eleType !== 'slider') {
              item.options.push({
                value: col.field,
                text: col.label
                text: label
              })
            }
          })
@@ -154,15 +158,20 @@
        if (item.key === 'field') {
          item.options = []
          config.columns.forEach(col => {
            let label = col.label
            if (label !== col.field) {
              label = col.field + ' ' + col.label
            }
            if (/^(Int|Decimal)/ig.test(col.datatype) && (value === 'number' || value === 'slider')) {
              item.options.push({
                value: col.field,
                text: col.label
                text: label
              })
            } else if (/^(Nvarchar|date)/ig.test(col.datatype) && value !== 'number' && value !== 'slider') {
              item.options.push({
                value: col.field,
                text: col.label
                text: label
              })
            }
          })
src/menu/components/form/normal-form/index.scss
@@ -36,6 +36,9 @@
  }
  .form-area {
    position: relative;
    .page-card {
      background: transparent;
    }
    >.plus {
      color: #26C281;
      cursor: pointer;
@@ -65,6 +68,9 @@
      padding-top: 10px;
      padding-bottom: 30px;
    }
    .am-list-item {
      background-color: transparent;
    }
  }
}
.menu-normal-form-edit-box::after {
src/menu/components/form/tab-form/index.jsx
@@ -76,7 +76,21 @@
        scripts: [],
        subcards: [{
          uuid: Utils.getuuid(),
          setting: {title: '第一步', align: 'left_right'},
          setting: {title: '分组1', align: 'left_right'},
          sort: 1,
          style: {},
          fields: [],
          subButton: {label: '提交', type: 'submit', enable: 'true', style: {backgroundColor: '#1890ff', color: '#ffffff', paddingLeft: '25px', paddingRight: '25px', paddingTop: '5px', paddingBottom: '5px'}},
        }, {
          uuid: Utils.getuuid(),
          setting: {title: '分组2', align: 'left_right'},
          sort: 1,
          style: {},
          fields: [],
          subButton: {label: '提交', type: 'submit', enable: 'true', style: {backgroundColor: '#1890ff', color: '#ffffff', paddingLeft: '25px', paddingRight: '25px', paddingTop: '5px', paddingBottom: '5px'}},
        }, {
          uuid: Utils.getuuid(),
          setting: {title: '分组3', align: 'left_right'},
          sort: 1,
          style: {},
          fields: [],
src/menu/components/form/tab-form/index.scss
@@ -36,6 +36,9 @@
  }
  .form-area {
    position: relative;
    .page-card {
      background: transparent;
    }
    >.plus {
      color: #26C281;
      cursor: pointer;
@@ -65,6 +68,9 @@
      padding-top: 10px;
      padding-bottom: 30px;
    }
    .am-list-item {
      background-color: transparent;
    }
  }
}
.menu-normal-form-edit-box::after {
src/menu/components/table/edit-table/columns/tableIn/index.jsx
@@ -104,7 +104,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
src/menu/datasource/verifycard/index.jsx
@@ -105,7 +105,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
src/menu/sysinterface/settingform/simplescript/index.jsx
@@ -41,7 +41,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx
@@ -179,7 +179,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
src/templates/sharecomponent/settingcomponent/settingform/simplescript/index.jsx
@@ -44,7 +44,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
src/templates/zshare/customscript/index.jsx
@@ -44,7 +44,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
src/templates/zshare/verifycard/index.jsx
@@ -233,7 +233,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
@@ -303,7 +303,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )
@@ -372,7 +372,7 @@
          return (
            <div>
              {title ? <span style={{color: '#a50'}}>{title}</span> : null}
              {title ? <span style={{color: '#a50'}}>{title}<span style={{fontSize: '12px', marginLeft: '5px'}}>{_text.length}</span></span> : null}
              <Paragraph copyable={{ text: text }} ellipsis={{ rows: 4, expandable: true }}>{_text}</Paragraph>
            </div>
          )