{
  "table": {
    "columns": {
      "iciPdf": {
        "attrs": {
          //,file/doc,file/docx,file/ppt,file/pptx,file/xls,file/xlsx
          "accept": "file/pdf",
          //处理内容不显示,点击查看 或 修改 显示内容
          "show-content-title": "明细",
          "show-content-component": "bs-text"
          //引用的子表数据 模块  配置 key  主键参数 start
        }
      }
    }
  },
  "form": { "columns": {} },
  "search": {}
}

完整配置

{
  "table": {
    "columns": {
      "iciPdf": {
        "attrsForm": {},
        "attrsFormInt": {},
        "query": {},
        "queryLeft": {},
        "queryRight": {},
        "queryMenu": {},
        "params": {},
        "sortId": 140,
        "alias": "ici_pdf",
        "field": "iciPdf",
        "events": {},
        "attrs": {
          "type": "expand",
          "label": "条款文件",
          //处理内容不显示,点击查看 或 修改 显示内容
          "show-content-title": "明细",
          "show-content-component": "bs-text",
          //引用的子表数据 模块  配置 key  主键参数 start
          "accept": "file/pdf,file/doc,file/docx,file/ppt,file/pptx,file/xls,file/xlsx",
          "maxSize": 5000,
          "multiple": false,
          "limit": 1,
          "listType": "text",
          "drag": true,
          "hideTitle": "hide"
        },
        "attrsInt": {},
        "styles": {},
        "meta": {
          "edit": true,
          "html": true,
          "component": "bs-text",
          "componentOp": "bs-upload",
          "rowId": "1",
          "tabId": "1",
          "type": "basis",
          "span": 12,
          "dataType": "string2file"
        }
      }
    }
  },
  "form": {
    "columns": {
      "iciPdf": {
        "attrsForm": {},
        "attrsFormInt": {},
        "query": {},
        "queryLeft": {},
        "queryRight": {},
        "queryMenu": {},
        "params": {},
        "sortId": 9999,
        "alias": "ici_pdf",
        "field": "iciPdf",
        "events": {},
        "attrs": {
          "label": "条款文件",
          "accept": "file/pdf,file/doc,file/docx,file/ppt,file/pptx,file/xls,file/xlsx",
          "limit-type": "file/pdf,file/doc,file/docx,file/ppt,file/pptx,file/xls,file/xlsx",
          "verify-method": "file",
          "maxSize": 5000,
          "multiple": false,
          "limit": 1,
          "listType": "text",
          "drag": true,
          "hideTitle": "hide"
        },
        "attrsInt": {},
        "styles": {},
        "meta": {
          "edit": true,
          "component": "bs-upload",
          "rowId": "1",
          "tabId": "1",
          "span": 24,
          "dataType": "string2file"
        }
      }
    }
  },
  "search": {}
}

http://localhost:5900/bo/api/v3/bridge/build/used?ownerId=bt&sysId&mkey=bt-insurance-clause&ignore=true

文档更新时间: 2022-08-24 10:29   作者:admin