king
2023-03-02 d1f19b794216b37417e114b71c1cd7a2ac3d7748
src/templates/zshare/formconfig.jsx
@@ -1268,7 +1268,7 @@
      key: 'execSuccess',
      label: '成功后',
      initVal: card.execSuccess || 'grid',
      tooltip: '选择刷新行时,如果选择多条数据会刷新表格。',
      tooltip: '选择刷新行时,如果选择多条数据会刷新表格。如需语音播报请以@speak@开头,播报内容或文件放置于<<>>中。',
      required: true,
      options: [{
        value: 'never',
@@ -1287,7 +1287,7 @@
      key: 'execError',
      label: '失败后',
      initVal: card.execError || 'never',
      tooltip: '选择刷新行时,如果选择多条数据会刷新表格。',
      tooltip: '选择刷新行时,如果选择多条数据会刷新表格。如需语音播报请以@speak@开头,播报内容或文件放置于<<>>中。',
      required: true,
      options: [{
        value: 'never',
@@ -2383,7 +2383,7 @@
/**
 * @description 获取表单配置信息
 * @param {*} card            // 表单对象
 * @param {*} inputfields     // 可关联表单
 * @param {*} inputfields     // 可写入表单
 * @param {*} tabfields       // 可切换表单
 * @param {*} linkableFields  // 可关联表单
 * @param {*} linksupFields   // 上级表单
@@ -2407,6 +2407,27 @@
  } else {
    roleList = []
  }
  inputfields = inputfields.map((item, index) => {
    item.label = `${index + 1}、${item.field || ''}(${item.label})`
    return item
  })
  tabfields = tabfields.map((item, index) => {
    item.label = `${index + 1}、${item.field || ''}(${item.label})`
    return item
  })
  tabfields.unshift({field: '', label: '原表单'})
  linkableFields = linkableFields.map((item, index) => {
    item.label = `${index + 1}、${item.field || ''}(${item.label})`
    return item
  })
  linksupFields = linksupFields.map((item, index) => {
    item.label = `${index + 1}、${item.field || ''}(${item.label})`
    return item
  })
  
  let _openType = [{
    value: 'text',
@@ -3365,6 +3386,20 @@
    },
    {
      type: 'radio',
      key: 'inputType',
      label: '加密显示',
      initVal: card.inputType || 'text',
      required: false,
      options: [{
        value: 'text',
        text: '否'
      }, {
        value: 'password',
        text: '是'
      }]
    },
    {
      type: 'radio',
      key: 'interception',
      label: '截取空格',
      initVal: card.interception || 'true',
@@ -3817,6 +3852,18 @@
    //   forbid: appType !== 'mob'
    // },
    {
      type: 'radio',
      key: 'empty',
      label: '空值隐藏',
      initVal: card.empty || 'show',
      tooltip: '当选项为空时,隐藏该表单。',
      required: false,
      options: [
        {value: 'show', text: '否'},
        {value: 'hidden', text: '是'},
      ]
    },
    {
      type: 'multiselect',
      key: 'blacklist',
      label: '黑名单',