king
2024-11-20 fe837c3f5cc3aec41031d0f338a424b8b7949137
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -1,5 +1,5 @@
import React from 'react'
import { btnClasses } from '@/utils/option.js'
import { btnClasses, modalClasses } from '@/utils/option.js'
/**
 * @description 获取按钮表单配置信息
@@ -187,6 +187,9 @@
    } else {
      appMenus = []
    }
    // if (appType === 'mob') {
    //   appMenus.push({value: 'sign', text: '签名(系统页)'})
    // }
    appMenus.push({value: 'goback', text: '返回(上一页)'})
  } else {
    menulist = sessionStorage.getItem('fstMenuList')
@@ -217,6 +220,7 @@
      { value: 'expPdf', text: '导出PDF' },
      { value: 'shareLink', text: '分享链接' },
      { value: 'openLocation', text: '打开地图'},
      { value: 'wxPublicAuth', text: '微信公众号授权'},
      { value: 'logout', text: '退出' },
      { value: 'goBack', text: '返回' },
    ]
@@ -1464,6 +1468,15 @@
    },
    {
      type: 'text',
      key: 'extValue',
      label: '扩展值',
      initVal: card.extValue || '',
      required: true,
      readonly: false,
      forbid: appType === 'mob'
    },
    {
      type: 'text',
      key: 'extLabel',
      label: '扩展名称',
      initVal: card.extLabel || '',
@@ -1472,12 +1485,30 @@
      forbid: appType === 'mob'
    },
    {
      type: 'select',
      key: 'extStyle',
      label: '扩展样式',
      initVal: card.extStyle || '',
      required: false,
      options: modalClasses,
      forbid: appType === 'mob'
    },
    {
      type: 'text',
      key: 'extValue',
      label: '扩展值',
      initVal: card.extValue || '',
      required: true,
      key: 'confLabel',
      label: '确定名称',
      initVal: card.confLabel || '',
      required: false,
      readonly: false,
      forbid: appType === 'mob'
    },
    {
      type: 'select',
      key: 'confStyle',
      label: '确定样式',
      initVal: card.confStyle || '',
      required: false,
      options: modalClasses,
      forbid: appType === 'mob'
    },
    {
@@ -2739,6 +2770,14 @@
    },
    {
      type: 'text',
      key: 'extValue',
      label: '扩展值',
      initVal: card.extValue || '',
      required: true,
      readonly: false
    },
    {
      type: 'text',
      key: 'extLabel',
      label: '扩展名称',
      initVal: card.extLabel || '',
@@ -2746,14 +2785,30 @@
      readonly: false
    },
    {
      type: 'select',
      key: 'extStyle',
      label: '扩展样式',
      initVal: card.extStyle || '',
      required: false,
      options: modalClasses
    },
    {
      type: 'text',
      key: 'extValue',
      label: '扩展值',
      initVal: card.extValue || '',
      required: true,
      key: 'confLabel',
      label: '确定名称',
      initVal: card.confLabel || '',
      required: false,
      readonly: false
    },
    {
      type: 'select',
      key: 'confStyle',
      label: '确定样式',
      initVal: card.confStyle || '',
      required: false,
      options: modalClasses
    },
    {
      type: 'radio',
      key: 'execType',
      label: '请求方式',