king
2020-07-06 3193df5faaacb0fe903ce993b16319276528524f
src/templates/zshare/formconfig.jsx
@@ -921,7 +921,7 @@
 * @param {*} permFuncField  存储过程可用的开始字段
 * @param {*} type           按钮类型,用于区分可选的打开方式
 */
export function getActionForm (card, functip, config, permFuncField, type) {
export function getActionForm (card, functip, config, permFuncField, type, menulist = []) {
  let opentypes = [
    {
      value: 'pop',
@@ -1169,13 +1169,24 @@
    {
      type: 'select',
      key: 'tabTemplate',
      label: '标签模板',
      label: '标签类型',
      initVal: card.tabTemplate || 'FormTab',
      required: true,
      options: [{
        value: 'FormTab',
        text: '带标签表单'
        text: '表单标签页'
      }, {
        value: 'ThdMenu',
        text: Formdict['model.menu.level3']
      }]
    },
    {
      type: 'cascader',
      key: 'linkmenu',
      label: Formdict['model.form.linkmenu'],
      initVal: card.linkmenu || [],
      required: true,
      options: menulist
    },
    {
      type: 'select',
@@ -1275,6 +1286,20 @@
      options: []
    },
    {
      type: 'radio',
      key: 'joint',
      label: Formdict['model.form.paramJoint'],
      initVal: card.joint || 'true',
      required: false,
      options: [{
        value: 'true',
        text: Formdict['model.true']
      }, {
        value: 'false',
        text: Formdict['model.false']
      }]
    },
    {
      type: 'text',
      key: 'sheet',
      label: Formdict['model.form.tablename'],