king
2022-11-21 89f85223ff7b1b5ee3931ae01efa3dd17d5524fc
src/templates/zshare/formconfig.jsx
@@ -67,6 +67,7 @@
      key: 'sysInterface',
      label: '系统接口',
      initVal: setting.sysInterface || 'false',
      tooltip: '单点登录系统',
      required: false,
      readonly: false,
      options: [
@@ -1118,6 +1119,7 @@
      key: 'sysInterface',
      label: '系统接口',
      initVal: card.sysInterface || 'false',
      tooltip: '单点登录系统',
      required: true,
      options: [{
        value: 'true',
@@ -2379,7 +2381,7 @@
 * @param {*} linkableFields  // 可关联表单
 * @param {*} linksupFields   // 上级表单
 */
export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields) {
export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, columns = []) {
  let appType = sessionStorage.getItem('appType')
  let roleList = sessionStorage.getItem('sysRoles')
  if (roleList) {
@@ -2578,7 +2580,8 @@
      label: '字段',
      initVal: card.field || '',
      required: true,
      readonly: false
      readonly: false,
      options: columns
    },
    {
      type: 'select',