显示结果

{
    "data":{
        "role":["1","2","3"]
    }
}

columns childarray textColName valueColName

    "job": {
      "tableId": 1,
      "filter": {},
      "isSearch": false,
      "isNull": false,
      "field": "job",
      "name": "job",
      "title": "职位",
      "dataType": "varchar",
      "dimJoin": {
        "fromDimField": null
      },
      "isData": false,
      "editPropertie": {
        "showMethod": "child",
        "defaultValue": "_defaultJobId"
      },
      "pagePropertie": {
        "showMethod": "childarray"
      },
      "childTable": {
        "isDyh": false,
        "joinChar": ",",
        "textColName": "job_name",
        "valueColName": "job_id",
        "row": {
          "primaryColName": "user_id",
          "foreginColName": "user_id"
        }
      }
    },

responseField

 "manager_detail": {
      "auth": true,
      "saveSqlExtand": true,
      "extend": "basis_detail",
      "bridgeColumn": "level,address,birthday,city,email,head_icon,id_card,is_hide_phone,nike_name,post_code,province,real_name,remark,sex,sort_id,telephone,user_id,role,dep,area,job",
      "show": "level,address,birthday,city,email,head_icon,id_card,is_hide_phone,nike_name,post_code,province,real_name,remark,sex,sort_id,telephone,user_id",
      //distance_val,json_val,level,money,role_val,geography_val,geography_val_text,
      "original": "null account,user_status,null user_name,null dep_id,null role_id,null role,null dep,null area,null job,'' merger",
      "fieldChild": {
        //1对多  1对1 情况下 继承操作
        "account": {
          "moduleKey": "bo-user-account",
          "responseField": "basis_detail",
          "showMethod": "childobject",
          //控制 bridge里面子表数据显示的位置
          "tabId": "3",
          "rowId": "3",
          "columnBridges": {
            "userId": {
              "hidden": true
            },
            "nikeName": {
              "fieldSort": 10000,
              "tabId": "9",
              "rowId": "9"
            },
            "userName": {
              "fieldSort": 10004,
              "tabId": "9",
              "rowId": "9"
            },
            "userPwd": {
              "fieldSort": 10005,
              "tabId": "9",
              "rowId": "9"
            },
            "isMultipleLogin": {
              "fieldSort": 10015,
              "tabId": "9",
              "rowId": "9"
            },
            "isDeveloper": {
              "fieldSort": 10018,
              "tabId": "9",
              "rowId": "9"
            },
            "isApp": {
              "fieldSort": 10020,
              "tabId": "9",
              "rowId": "9"
            },
            "unlockTime": {
              "fieldSort": 10023,
              "tabId": "9",
              "rowId": "9"
            },
            "errorCount": {
              "fieldSort": 10025,
              "tabId": "9",
              "rowId": "9"
            },
            "userStatus": {
              "fieldSort": 10027,
              "tabId": "9",
              "rowId": "9",
              "fromShowMethod": "childobject"
            },
            "refusalReason": {
              "fieldSort": 10030,
              "tabId": "9",
              "rowId": "9"
            }
          }
        },
        "role": {
          "moduleKey": "bo-user-role",
          "responseField": "basis_detail",
          //多对多, 数据映射, 便于前端控制转换
          "showMethod": "child",
          "dimBridges": {
            "id": "roleId",
            "value": "roleId",
            "name": "roleName"
          }
        },
        "dep": {
          "moduleKey": "bo-user-dep",
          "responseField": "basis_detail",
          //多对多, 数据映射, 便于前端控制转换
          "showMethod": "child",
          "dimBridges": {
            "id": "depId",
            "value": "depId",
            "name": "depName"
          }
        },
        "area": {
          "moduleKey": "bo-user-area",
          "responseField": "basis_detail",
          //多对多, 数据映射, 便于前端控制转换
          "showMethod": "child",
          "dimBridges": {
            "id": "areaCode",
            "value": "areaCode",
            "name": "areaName"
          }
        },
        "job": {
          "moduleKey": "bo-user-job",
          "responseField": "basis_detail",
          //多对多, 数据映射, 便于前端控制转换
          "showMethod": "child",
          "dimBridges": {
            "id": "jobId",
            "value": "jobId",
            "name": "jobName"
          }
        },
        "merger": {
          "moduleKey": "bo-user-merge",
          "responseField": "login",
          //多对多, 数据映射, 便于前端控制转换
          "showMethod": "child",
          "dimBridges": {
            "id": "userId",
            "value": "mergeUserId",
            "name": "mergeUserId"
          }
        }
      }
    },
文档更新时间: 2021-12-06 21:26   作者:admin