{
  "form": {
    "tab": {
      "tabPosition": "left",
      "type": "border-card"
    },
    "attrs": {
      "visible": false,
      "labelWidth": "80px",
      "style": "margin-top:1.5rem;"
    },
    "steps": {
      "active": 1
    },
    "tabs": [
      {
        "tabId": 1,
        "attrs": {
          "label": "基本信息"
        },
        "rows": []
      },
      {
        "tabId": 2,
        "attrs": {
          "label": "功能信息"
        },
        "rows": []
      },
    ],
    "rows": [
      {
        "rowId": 1,
        "attrs": {
          "label": "基本信息"
        },
        "meta": {
          "tabId": 1
        },
        "columns": []
      },
      {
        "rowId": 2,
        "attrs": {
          "label": "功能信息"
        },
        "meta": {
          "tabId": 2
        },
        "columns": []
      }
    ],
    "columns": {
      "functions": {
        "alias": "functions",
        "field": "functions",
        "events": {
          "type": "add",
          "click": "on-click"
        },
        "attrs": {
          //展示方式  switch/column/collapse
          "show-view-method": "column",
          //隐藏的子表列, 逗号分割
          "hide-columns": "funcId,menuId,mfId,funcCode",
          "data-type": "array",
          //开启 多对多  单行 状态修改
          "child-columns": true,
          "maxSize": 500,
          "label": "功能信息",
          "hideTitle": "hide"
        },
        "meta": {
          //"fromValue": true,
          "titleField": "funcName",
          "sortField": null,
          "resMkey": "bo-menu-function",
          "resField": "menu",
          "prop": "functions",
          "rowId": 2,
          "tabId": 2,
          "type": "basis",
          "span": 24,
          "auth": true,
          "component": "bo-form-child",
          //"component": "bo-form-child-mult",
          "primaryId": [
            {
              "field": "mfId",
              "alias": "mf_id"
            }
          ]
        }
      }
    }
  }
}

文档更新时间: 2021-12-31 20:03   作者:admin