king
2023-07-16 1f5c6ac307a134dfa45b64c5723f2481ead9f213
2023-07-16
11个文件已修改
62 ■■■■ 已修改文件
src/menu/components/form/formaction/actionform/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/formaction/formconfig.jsx 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/simple-form/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/step-form/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/tab-form/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/actionform/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/formconfig.jsx 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/modalconfig/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/modalconfig/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/modalconfig/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/form/formaction/actionform/index.jsx
@@ -61,7 +61,7 @@
      
      if (this.record.intertype === 'custom') {
        shows.pop()
        shows.push('procMode', 'interface', 'callbackType', 'proInterface', 'method', 'cross', 'stringify', 'ContentType')
        shows.push('procMode', 'interface', 'callbackType', 'proInterface', 'method', 'cross', 'stringify', 'ContentType', 'outerBlacklist')
        if (this.record.procMode === 'system') {
          shows.push('sql', 'sqlType')
        } else if (this.record.procMode === 'inner') {
src/menu/components/form/formaction/formconfig.jsx
@@ -310,6 +310,14 @@
      required: false
    },
    {
      type: 'text',
      key: 'outerBlacklist',
      label: '字段黑名单',
      initVal: card.outerBlacklist || '',
      tooltip: '不需要回传的字段可设置字段黑名单,多个值请用逗号分隔。',
      required: false
    },
    {
      type: 'radio',
      key: 'Ot',
      label: '行设置',
src/menu/components/form/simple-form/index.jsx
@@ -344,6 +344,8 @@
        index = i
      }
      if (!item.field) return
      if (['text', 'number', 'textarea', 'color'].includes(item.type) && _item.field !== item.field) {
        _inputfields.push({
          field: item.field,
@@ -373,7 +375,7 @@
      if (item.type === 'multiselect' || (item.type === 'checkcard' && item.multiple === 'true')) return
      if (item.field && !uniq.has(item.field)) {
      if (!uniq.has(item.field)) {
        uniq.set(item.field, true)
        _linkableFields.push({
src/menu/components/form/step-form/index.jsx
@@ -445,6 +445,8 @@
        index = i
      }
      if (!item.field) return
      if (['text', 'number', 'textarea', 'color'].includes(item.type) && _item.field !== item.field) {
        _inputfields.push({
          field: item.field,
@@ -475,7 +477,7 @@
      if (item.type === 'multiselect' || (item.type === 'checkcard' && item.multiple === 'true')) return
      if (item.field && !uniq.has(item.field)) {
      if (!uniq.has(item.field)) {
        uniq.set(item.field, true)
        _linkableFields.push({
src/menu/components/form/tab-form/index.jsx
@@ -451,6 +451,8 @@
        index = i
      }
      if (!item.field) return
      if (['text', 'number', 'textarea', 'color'].includes(item.type) && _item.field !== item.field) {
        _inputfields.push({
          field: item.field,
@@ -480,7 +482,7 @@
      if (item.type === 'multiselect' || (item.type === 'checkcard' && item.multiple === 'true')) return
      if (item.field && !uniq.has(item.field)) {
      if (!uniq.has(item.field)) {
        uniq.set(item.field, true)
        _linkableFields.push({
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -166,7 +166,7 @@
      reOptions.intertype = this.state.interTypeOptions
      if (intertype === 'custom') {
        shows.push('procMode', 'interface', 'callbackType', 'proInterface', 'method', 'cross', 'stringify', 'ContentType')
        shows.push('procMode', 'interface', 'callbackType', 'proInterface', 'method', 'cross', 'stringify', 'ContentType', 'outerBlacklist')
        if (this.record.procMode === 'system') {
          shows.push('sql', 'sqlType')
        } else if (this.record.procMode === 'inner') {
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -585,6 +585,14 @@
      required: false
    },
    {
      type: 'text',
      key: 'outerBlacklist',
      label: '字段黑名单',
      initVal: card.outerBlacklist || '',
      tooltip: '不需要回传的字段可设置字段黑名单,多个值请用逗号分隔。',
      required: false
    },
    {
      type: 'select',
      key: 'Ot',
      label: '行设置',
@@ -1674,6 +1682,14 @@
      required: false
    },
    {
      type: 'text',
      key: 'outerBlacklist',
      label: '字段黑名单',
      initVal: card.outerBlacklist || '',
      tooltip: '不需要回传的字段可设置字段黑名单,多个值请用逗号分隔。',
      required: false
    },
    {
      type: 'select',
      key: 'Ot',
      label: '行设置',
src/menu/modalconfig/index.jsx
@@ -125,6 +125,8 @@
        index = i
      }
      if (!item.field) return
      if (['text', 'number', 'textarea', 'color'].includes(item.type) && card.field !== item.field) {
        _inputfields.push({
          field: item.field,
@@ -154,7 +156,7 @@
      if (item.type === 'multiselect' || (item.type === 'checkcard' && item.multiple === 'true')) return
      if (item.field && !uniq.has(item.field)) {
      if (!uniq.has(item.field)) {
        uniq.set(item.field, true)
        _linkableFields.push({
src/mob/modalconfig/index.jsx
@@ -147,6 +147,8 @@
        index = i
      }
      if (!item.field) return
      if (['text', 'number', 'textarea', 'color'].includes(item.type) && card.field !== item.field) {
        _inputfields.push({
          field: item.field,
@@ -176,7 +178,7 @@
      if (item.type === 'checkcard' && item.multiple === 'true') return
      if (item.field && !uniq.has(item.field)) {
      if (!uniq.has(item.field)) {
        uniq.set(item.field, true)
        _linkableFields.push({
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -1341,6 +1341,16 @@
        if (Array.isArray(res)) {
          res = { data: res }
        }
        if (btn.outerBlacklist) {
          let list = btn.outerBlacklist.split(',').map(m => m.toLowerCase())
          Object.keys(res).forEach(key => {
            if (list.includes(key.toLowerCase())) {
             delete res[key]
            }
          })
        }
        res.mk_api_key = mkey
        this.customCallbackRequest(params, res, record, _resolve)
      }
src/templates/modalconfig/index.jsx
@@ -255,6 +255,8 @@
        index = i
      }
      if (!item.field) return
      if (['text', 'number', 'textarea', 'color'].includes(item.type) && card.field !== item.field) {
        _inputfields.push({
          field: item.field,
@@ -284,7 +286,7 @@
      if (item.type === 'multiselect' || (item.type === 'checkcard' && item.multiple === 'true')) return
      if (item.field && !uniq.has(item.field)) {
      if (!uniq.has(item.field)) {
        uniq.set(item.field, true)
        _linkableFields.push({