{
  "table": {
    "columns": {
      "functions": {
        "alias": "functions",
        "field": "functions",
        "events": {
          "type": "add",
          "click": "on-click"
        },
        "attrs": {
          "type": "expand",
          "label": "功能信息",
          //展示方式  column/collapse/switch
          "show-view-method": "switch",
          //隐藏的子表列, 逗号分割
          "hide-columns": "funcId,menuId,mfId,funcCode",
          "data-type": "array",
          //处理内容不显示,点击查看 或 修改 显示内容
          "show-content-title": "明细",
          "show-content-component": "bs-text",
          //引用的子表数据 模块  配置 key  主键参数 start
          "child-mkey": "bo-menu-function",
          "child-res-field": "menu",
          "child-label-field": "funcName",
          "child-value-field": "isEnabled"
          //"child-from-value": true, 
          //"active-text": "启用",
          //"inactive-text": "禁用"
          //引用的子表数据 模块  配置 key  主键参数 end
        },
        "attrsInt": {
          "active-value": 1,
          "inactive-value": 0
          //引用的子表数据 模块  配置 key  主键参数 end
        },
        "meta": {
          "component": "bs-text",
          //处理内容不显示,点击查看 或 修改 显示内容
          "html": false,
          "text": true,
          "edit": true,
          "titleField": "funcName",
          "sortField": null,
          "resMkey": "bo-menu-function",
          "resField": "menu",
          "prop": "functions",
          "type": "basis",
          "span": 24,
          "auth": true,
          "componentOp": "bo-form-child",
          "primaryId": [
            {
              "field": "mfId",
              "alias": "mf_id"
            }
          ]
        }
      }
    }
  }
}


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