king
2021-11-16 cb8c83978177a8d3de769fca12d2aa3642eb0275
src/templates/zshare/formconfig.jsx
@@ -314,9 +314,9 @@
    }, {
      value: 'datemonth',
      text: Formdict['model.form.datemonth']
    }, {
      value: 'daterange',
      text: Formdict['model.form.daterange']
    // }, {
    //   value: 'daterange',
    //   text: Formdict['model.form.daterange']
    }]
  } else {
    typeOptions = [{
@@ -734,14 +734,14 @@
    {
      type: 'radio',
      key: 'labelShow',
      label: '显示名称',
      label: '名称',
      initVal: card.labelShow || 'true',
      options: [{
        value: 'true',
        text: Formdict['model.true']
        text: '显示'
      }, {
        value: 'false',
        text: Formdict['model.false']
        text: '隐藏'
      }]
    },
    {
@@ -2208,9 +2208,8 @@
 * @param {*} tabfields       // 可切换表单
 * @param {*} linkableFields  // 可关联表单
 * @param {*} linksupFields   // 上级表单
 * @param {*} subtable        // 是否为子表表单
 */
export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, subtable = false) {
export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields) {
  let appType = sessionStorage.getItem('appType')
  let roleList = sessionStorage.getItem('sysRoles')
  if (roleList) {
@@ -2740,17 +2739,20 @@
      type: 'select',
      key: 'fileType',
      label: '显示方式',
      initVal: card.fileType || (appType === 'mob' ? 'picture-card' : 'text'),
      initVal: card.fileType || 'text',
      options: [{
        value: 'text',
        text: '文件'
      }, {
      },
      {
        value: 'picture',
        text: '图文信息'
      }, {
      },
      {
        value: 'picture-card',
        text: '图片卡'
      }]
      }],
      forbid: appType === 'mob'
    },
    {
      type: 'number',
@@ -2947,20 +2949,20 @@
        text: 'nvarchar(50)'
      }]
    },
    {
      type: 'radio',
      key: 'mode',
      label: '模式',
      initVal: card.mode || 'picker',
      options: [{
        value: 'picker',
        text: '选择器'
      }, {
        value: 'calendar',
        text: '日历'
      }],
      forbid: appType !== 'mob'
    },
    // {
    //   type: 'radio',
    //   key: 'mode',
    //   label: '模式',
    //   initVal: card.mode || 'picker',
    //   options: [{
    //     value: 'picker',
    //     text: '选择器'
    //   }, {
    //     value: 'calendar',
    //     text: '日历'
    //   }],
    //   forbid: appType !== 'mob'
    // },
    {
      type: 'number',
      key: 'span',