{
  "table": {
    "columns": {
      "url": {
        "attrsForm": {},
        "attrsFormInt": {},
        "query": {},
        "queryLeft": {},
        "queryRight": {},
        "queryMenu": {},
        "params": {},
        "sortId": 490,
        "alias": "url",
        "field": "url",
        "events": {},
        "attrs": {
          "type": null,
          "label": "图片地址",
          "fromVmodel": "row-data",
          "accept": "image/jpeg,image/jpg,image/png,image/gif",
          "maxSize": 4000,
          "multiple": false,
          "limit": 1,
          "listType": "picture",
          "drag": true,
          "hideTitle": "hide",
          "width": "1.5rem",
          "height": "1.5rem",
          "round": true,
          //#region 图片基本信息,通常用于1对多子表 对应入库的field
          // size:sizeKb  name:name suffix:suffix
          "size-field": "size",
          "name-field": "name",
          "suffix-field": "suffix"
          //#end 图片基本信息,通常用于1对多子表
        },
        "attrsInt": {},
        "meta": {
          "edit": true,
          "html": false,
          "component": "bo-img",
          "componentOp": "bs-upload",
          "rowId": "1",
          "tabId": "1",
          "type": "basis",
          "span": 12,
          "dataType": "string2file"
        }
      },
      //#region 下拉框配置
      "position": {
        "attrs": {
          "label": "显示位置",
          "maxlength": 10,
          "clearable": true,
          //自定义组件
          "component-type": "custom",
          "lazy-renger": true,
          "multiple": false
        },
        "attrsInt": {},
        "meta": {
          //显示应用  mobile  pc   ipad   不设置表示全部显示
          //"showApp": "",
          "fromValue": true,
          "dimSessionKey": "dim-position-app",
          "dimLocalKey": "dim-position-app",
          "dimMkey": "mall-commodity-file",
          "dimResField": "basis",
          "dimColumnField": "position",
          //数据类型不一致导致问题设置  int 或 string
          "dimDataType": "string",
          "dimRemote": true,
          "dimUrl": null,
          "prop": "position",
          "rowId": 1,
          "type": "basis",
          "span": 12,
          "auth": true,
          "component": "bs-text",
          "componentOp": "bs-select"
        }
      }
      //#endregion 下拉框配置
    }
  }
}
文档更新时间: 2022-02-04 16:04   作者:admin