king
2023-07-24 3ba2c1910e0545fe0afc007b780b67f8bf4d312d
Merge branch 'master' into positec
7个文件已修改
37 ■■■■■ 已修改文件
src/components/header/index.scss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sidemenu/index.scss 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/popview/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/topSearch/index.jsx 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/sharecomponent/searchcomponent/searchform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/formconfig.jsx 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/header/index.scss
@@ -7,8 +7,8 @@
  width: 100%;
  height: 48px;
  display: flex;
  background: var(--mk-sys-background);
  color: var(--mk-sys-font-color);
  background: var(--mk-sys-background)!important;
  color: var(--mk-sys-font-color)!important;
  .header-logo {
    width: 180px;
src/components/sidemenu/index.scss
@@ -6,7 +6,7 @@
  padding: 48px 0 40px;
  transition: width 0.2s, flex 0.2s;
  border-right: 1px solid #d9d9d9;
  background: var(--mk-sys-background);
  background: var(--mk-sys-background)!important;
  .ant-menu-item {
    padding-left: 0!important;
    cursor: default;
src/tabviews/custom/index.jsx
@@ -920,8 +920,7 @@
        })
        return component
      } else if (component.type === 'group') {
        component.components = this.formatSetting(component.components, params, inherit, regs, balMap)
        component = {...component, ...inherit}
        component.components = this.formatSetting(component.components, params, null, regs, balMap)
        return component
      } else if (component.wrap && component.wrap.datatype === 'public') {
        component.setting.useMSearch = false
src/tabviews/custom/popview/index.jsx
@@ -714,8 +714,7 @@
        })
        return component
      } else if (component.type === 'group') {
        component.components = this.formatSetting(component.components, params, inherit, regs, balMap)
        component = {...component, ...inherit}
        component.components = this.formatSetting(component.components, params, null, regs, balMap)
        return component
      } else if (component.wrap && component.wrap.datatype === 'public') {
        component.setting.useMSearch = false
src/tabviews/zshare/topSearch/index.jsx
@@ -151,9 +151,6 @@
        // 数据源查询语句
        if (item.resourceType === '1' && item.dataSource) {
          if (item.multiple === 'dropdown') {
            item.parentField = 'pid'
          }
          let _option = Utils.getSelectQueryOptions(item)
          if (window.GLOB.debugger === true || (window.debugger === true && options.sysType !== 'cloud')) {
@@ -228,10 +225,11 @@
  }
  resetCheckcard = (item) => {
    let pid = item.resourceType === '0' ? 'pid' : item.parentField
    let _options = []
    let _others = []
    item.oriOptions.forEach(op => {
      if (op.pid === item.mark) {
      if (op[pid] === item.mark) {
        _options.push(op)
      } else {
        _others.push(op)
@@ -242,7 +240,7 @@
      op.children = []
      _others = _others.filter(cell => {
        if (cell.pid === op.$value) {
        if (cell[pid] === op.$value) {
          op.children.push(cell)
          return false
        }
src/templates/sharecomponent/searchcomponent/searchform/index.jsx
@@ -210,8 +210,8 @@
        if (this.record.selectStyle === 'custom') {
          shows.push('backgroundColor')
        }
        if (this.record.multiple === 'dropdown') {
          shows.push('mark')
        if (this.record.multiple === 'dropdown' && this.record.resourceType === '1') {
          shows.push('mark', 'parentField')
        }
      }
      shows.push('linkField')
src/templates/zshare/formconfig.jsx
@@ -597,9 +597,18 @@
      key: 'multiple',
      label: '选择形式',
      initVal: card.multiple || 'false',
      tooltip: appType === '' ? '使用下拉菜单时,选项会依据 pid 组织数据的上下级关系,二级选项会下拉展示。注:1、显示为文本时有效;2、使用数据源请返回 pid 字段。' : '',
      // tooltip: appType === '' ? '使用下拉菜单时,选项会依据 pid 组织数据的上下级关系,二级选项会下拉展示。注:1、显示为文本时有效;2、使用数据源请返回 pid 字段。' : '',
      required: true,
      options: muloptions
    },
    {
      type: 'text',
      key: 'parentField',
      label: '上级字段',
      initVal: card.parentField || '',
      tooltip: '用于组织数据上下级关系,请注意填写顶级标识。',
      required: true,
      readonly: false
    },
    {
      type: 'select',
@@ -923,7 +932,7 @@
      key: 'mark',
      label: '顶级标识',
      initVal: card.mark || '',
      tooltip: 'pid与顶级标识相同时,视为顶级节点。',
      tooltip: '上级字段(pid)与顶级标识相同时,视为顶级节点。',
      required: false
    },
    {