@yizhou-library/cascader-checkbox-select
TypeScript icon, indicating that this package has built-in type declarations

3.0.10 • Public • Published

组织树

npm317 version

@317hu/CascaderCheckboxSelect 用于医院内部组织结构的,按院区、科室、病区三者间的关联关系进行层级选择。

- 最多支持三级联动
- 输入显示区域,可显示多项
- 复选功能开启后,使用 checkbox 形式
- 支持按初始数据,展开编辑界面
- 更新 依赖安装包
- 新增 配置面板子级菜单的高度值
- 新增 子级面板滚动样式
- 修复 所属院区应默认选中不可修改
- 更新 组件的语言中文配置方式

代码演示

:::demo 基本使用,科室管理员,可选级别(科室)。

constructor(props) {
  super(props);
  window[`data`] = [{
    "bizId": 894,
    "bizName": "江苏省人民医院",
    "children": [{
      "bizId": 61155,
      "bizName": "护理部",
      "children": [{
        "bizId": 62409,
        "bizName": "二院分院",
        "children": [{
          "bizId": 13243,
          "bizName": "二院肾内科",
          "code": "651",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13243",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13244,
          "bizName": "二院心血管科",
          "code": "652",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13244",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13245,
          "bizName": "二院呼吸皮肤科",
          "code": "653",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13245",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13246,
          "bizName": "二院血液科",
          "code": "654",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13246",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13247,
          "bizName": "二院普外科1",
          "code": "655",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13247",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13248,
          "bizName": "二院普外科2",
          "code": "656",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13248",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13249,
          "bizName": "二院骨科1",
          "code": "657",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13249",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13250,
          "bizName": "二院骨科2",
          "code": "658",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13250",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13251,
          "bizName": "二院泌尿外科",
          "code": "659",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13251",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13252,
          "bizName": "二院整形烧伤科",
          "code": "660",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13252",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13253,
          "bizName": "二院ICU病区",
          "code": "661",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13253",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13254,
          "bizName": "二院门诊",
          "code": "666",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13254",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13255,
          "bizName": "二院手术室",
          "code": "662",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13255",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13256,
          "bizName": "二院供应室",
          "code": "650",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13256",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13257,
          "bizName": "二院血液科2病区",
          "code": "667",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13257",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13241,
          "bizName": "感染病科1",
          "code": "030",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13241",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13242,
          "bizName": "感染病科2",
          "code": "031",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13242",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13132,
          "bizName": "内镜中心",
          "code": "019",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "N",
          "sid": "W13132",
          "sort": 0,
          "sparentId": "D62409",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "E",
        "sid": "D62409",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62413,
        "bizName": "放射介入(门诊)",
        "createId": 0,
        "id": 0,
        "leaf": true,
        "prefixInitial": "F",
        "sid": "D62413",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62407,
        "bizName": "感染管理科",
        "createId": 0,
        "id": 0,
        "leaf": true,
        "prefixInitial": "G",
        "sid": "D62407",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62405,
        "bizName": "供应中心",
        "children": [{
          "bizId": 13216,
          "bizName": "妇幼供应室",
          "code": "176",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13216",
          "sort": 0,
          "sparentId": "D62405",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13214,
          "bizName": "消毒供应中心一部",
          "code": "174",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13214",
          "sort": 0,
          "sparentId": "D62405",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13215,
          "bizName": "消毒供应中心二部",
          "code": "175",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13215",
          "sort": 0,
          "sparentId": "D62405",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "G",
        "sid": "D62405",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62402,
        "bizName": "河西分院",
        "children": [{
          "bizId": 13170,
          "bizName": "产科1",
          "code": "064",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "C",
          "sid": "W13170",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13171,
          "bizName": "产科2",
          "code": "065",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "C",
          "sid": "W13171",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13175,
          "bizName": "产房",
          "code": "072",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "C",
          "sid": "W13175",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13182,
          "bizName": "产科门诊(河西)",
          "code": "154",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "C",
          "sid": "W13182",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13178,
          "bizName": "妇科门诊(河西)",
          "code": "094",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13178",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13189,
          "bizName": "妇幼分院日间病区",
          "code": "186",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13189",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13274,
          "bizName": "妇幼综合外科病区",
          "code": "220",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13274",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13168,
          "bizName": "河西妇科二病区",
          "code": "061",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13168",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13169,
          "bizName": "河西妇科一病区",
          "code": "063",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13169",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13173,
          "bizName": "河西儿科一病区",
          "code": "070",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13173",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13174,
          "bizName": "河西儿科二病区",
          "code": "071",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13174",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13177,
          "bizName": "河西急诊",
          "code": "088",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13177",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13179,
          "bizName": "河西儿保",
          "code": "095",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13179",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13180,
          "bizName": "河西导医",
          "code": "116",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13180",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13181,
          "bizName": "河西妇保",
          "code": "124",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13181",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13183,
          "bizName": "河西儿科新生儿病区",
          "code": "160",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13183",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13184,
          "bizName": "河西门诊",
          "code": "161",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13184",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13185,
          "bizName": "河西综合内科病区(心脏)",
          "code": "163",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13185",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13172,
          "bizName": "康馨病房",
          "code": "066",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "K",
          "sid": "W13172",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13186,
          "bizName": "普外科乳腺病区一",
          "code": "171",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13186",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13187,
          "bizName": "普外科乳腺病区二",
          "code": "172",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13187",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13190,
          "bizName": "普外科乳腺病区三",
          "code": "191",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13190",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13176,
          "bizName": "生殖医学科(河西)",
          "code": "074",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13176",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13188,
          "bizName": "小儿胸心外科/心脏大血管外科三病区",
          "code": "173",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13188",
          "sort": 0,
          "sparentId": "D62402",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "H",
        "sid": "D62402",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62411,
        "bizName": "劲好公司",
        "createId": 0,
        "id": 0,
        "leaf": true,
        "prefixInitial": "J",
        "sid": "D62411",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62403,
        "bizName": "急诊科",
        "children": [{
          "bizId": 13194,
          "bizName": "高压氧",
          "code": "114",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13194",
          "sort": 0,
          "sparentId": "D62403",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13191,
          "bizName": "急诊病区",
          "code": "076",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "J",
          "sid": "W13191",
          "sort": 0,
          "sparentId": "D62403",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13193,
          "bizName": "急诊室",
          "code": "079",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "J",
          "sid": "W13193",
          "sort": 0,
          "sparentId": "D62403",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13192,
          "bizName": "输液室、观察病区",
          "code": "078",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13192",
          "sort": 0,
          "sparentId": "D62403",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "J",
        "sid": "D62403",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62399,
        "bizName": "老年医学科",
        "children": [{
          "bizId": 13113,
          "bizName": "老年胃镜",
          "code": "118",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13113",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13114,
          "bizName": "老年门诊",
          "code": "117",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13114",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13116,
          "bizName": "老年内分泌科1",
          "code": "136",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13116",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13117,
          "bizName": "老年内分泌科2",
          "code": "137",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13117",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13118,
          "bizName": "老年消化科1",
          "code": "138",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13118",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13119,
          "bizName": "老年消化科2",
          "code": "139",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13119",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13120,
          "bizName": "老年神经、血液内科",
          "code": "140",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13120",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13121,
          "bizName": "老年神经内科",
          "code": "141",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13121",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13122,
          "bizName": "老年呼吸科1",
          "code": "142",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13122",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13123,
          "bizName": "老年呼吸科2",
          "code": "143",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13123",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13124,
          "bizName": "老年心血管科1",
          "code": "144",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13124",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13125,
          "bizName": "老年心血管科2",
          "code": "145",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13125",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13126,
          "bizName": "老年心血管科3",
          "code": "146",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13126",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13127,
          "bizName": "老年肾科",
          "code": "150",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13127",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13128,
          "bizName": "老年干保办",
          "code": "164",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13128",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13129,
          "bizName": "老年医学科诊疗体检中心",
          "code": "170",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13129",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13130,
          "bizName": "老年肾科血透室",
          "code": "978",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13130",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13131,
          "bizName": "老年心导管室",
          "code": "466",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13131",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13275,
          "bizName": "老年传统康复科",
          "code": "221",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13275",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13115,
          "bizName": "综合病区",
          "code": "134",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13115",
          "sort": 0,
          "sparentId": "D62399",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "L",
        "sid": "D62399",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62404,
        "bizName": "门诊部",
        "children": [{
          "bizId": 13207,
          "bizName": "变态反应研究室",
          "code": "125",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "B",
          "sid": "W13207",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13195,
          "bizName": "导医组",
          "code": "080",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "D",
          "sid": "W13195",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13200,
          "bizName": "儿科门诊",
          "code": "108",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13200",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13204,
          "bizName": "妇产科门诊(本部)",
          "code": "122",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13204",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13198,
          "bizName": "会诊中心",
          "code": "090",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13198",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13201,
          "bizName": "口腔门诊",
          "code": "109",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "K",
          "sid": "W13201",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13208,
          "bizName": "门诊治疗室",
          "code": "169",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13208",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13209,
          "bizName": "门诊二楼+六楼护理单元",
          "code": "195",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13209",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13210,
          "bizName": "门诊三楼护理单元",
          "code": "196",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13210",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13211,
          "bizName": "门诊四楼护理单元",
          "code": "199",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13211",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13212,
          "bizName": "门诊五楼护理单元",
          "code": "198",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13212",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13197,
          "bizName": "内科门诊",
          "code": "082",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "N",
          "sid": "W13197",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13202,
          "bizName": "皮肤科门诊",
          "code": "110",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13202",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13199,
          "bizName": "体检中心",
          "code": "091",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "T",
          "sid": "W13199",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13196,
          "bizName": "外科门诊",
          "code": "081",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "W",
          "sid": "W13196",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13206,
          "bizName": "五官科门诊",
          "code": "102",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "W",
          "sid": "W13206",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13213,
          "bizName": "心脏超声",
          "code": "204",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13213",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13273,
          "bizName": "血液科骨穿室",
          "code": "219",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13273",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13205,
          "bizName": "眼科门诊、手术室",
          "code": "056",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13205",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13203,
          "bizName": "针灸科",
          "code": "111",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13203",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13276,
          "bizName": "B超室",
          "code": "994",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "b",
          "sid": "W13276",
          "sort": 0,
          "sparentId": "D62404",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "M",
        "sid": "D62404",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62401,
        "bizName": "麻醉手术科",
        "children": [{
          "bizId": 13163,
          "bizName": "河西手术室",
          "code": "059",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13163",
          "sort": 0,
          "sparentId": "D62401",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13164,
          "bizName": "麻醉手术科一部",
          "code": "060",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13164",
          "sort": 0,
          "sparentId": "D62401",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13166,
          "bizName": "麻醉手术科三部",
          "code": "193",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13166",
          "sort": 0,
          "sparentId": "D62401",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13167,
          "bizName": "麻醉手术科二部",
          "code": "203",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13167",
          "sort": 0,
          "sparentId": "D62401",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13165,
          "bizName": "整烫科手术室",
          "code": "101",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13165",
          "sort": 0,
          "sparentId": "D62401",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "M",
        "sid": "D62401",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62398,
        "bizName": "内科",
        "children": [{
          "bizId": 13080,
          "bizName": "导管室",
          "code": "011",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "D",
          "sid": "W13080",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13088,
          "bizName": "风湿免疫科",
          "code": "023",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13088",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13098,
          "bizName": "感染科门诊",
          "code": "105",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13098",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13096,
          "bizName": "呼吸科纤支镜",
          "code": "103",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13096",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13100,
          "bizName": "呼吸内科1",
          "code": "020",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13100",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13101,
          "bizName": "呼吸内科2",
          "code": "021",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13101",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13094,
          "bizName": "内分泌科1",
          "code": "085",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "N",
          "sid": "W13094",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13095,
          "bizName": "内分泌科2",
          "code": "086",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "N",
          "sid": "W13095",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13104,
          "bizName": "全科医学科",
          "code": "151",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Q",
          "sid": "W13104",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13272,
          "bizName": "全科医学科智慧医疗示范病区",
          "code": "218",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Q",
          "sid": "W13272",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13085,
          "bizName": "肾内科",
          "code": "016",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13085",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13091,
          "bizName": "神经内科",
          "code": "027",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13091",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13112,
          "bizName": "神经内科二病区",
          "code": "210",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13112",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13266,
          "bizName": "肾脏病重症病房",
          "code": "217",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13266",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13271,
          "bizName": "神经内科2",
          "code": "133",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13271",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13097,
          "bizName": "糖尿病健教",
          "code": "104",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "T",
          "sid": "W13097",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13081,
          "bizName": "心血管内科三病区",
          "code": "012",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13081",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13082,
          "bizName": "心血管内科CCU病区",
          "code": "013",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13082",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13083,
          "bizName": "心血管内科四病区",
          "code": "014",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13083",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13084,
          "bizName": "心血管内科一病区",
          "code": "015",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13084",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13086,
          "bizName": "血液净化中心",
          "code": "017",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13086",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13087,
          "bizName": "消化内科",
          "code": "018",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13087",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13089,
          "bizName": "血液科I病区",
          "code": "024",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13089",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13090,
          "bizName": "血液科II病区",
          "code": "025",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13090",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13103,
          "bizName": "心血管内科二病区",
          "code": "149",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13103",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13105,
          "bizName": "血液科Ⅲ病区",
          "code": "167",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13105",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13109,
          "bizName": "消化科日间病房",
          "code": "189",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13109",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13110,
          "bizName": "心血管内科五病区",
          "code": "192",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13110",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13111,
          "bizName": "血液科门诊骨髓穿刺室",
          "code": "194",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13111",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13092,
          "bizName": "肿瘤科1病区",
          "code": "028",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13092",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13093,
          "bizName": "肿瘤科2病区",
          "code": "029",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13093",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13099,
          "bizName": "肿瘤热疗",
          "code": "106",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13099",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13102,
          "bizName": "肿瘤3病区",
          "code": "148",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13102",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13107,
          "bizName": "肿瘤科4病区",
          "code": "179",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13107",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13108,
          "bizName": "肿瘤科日间病房",
          "code": "183",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13108",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13106,
          "bizName": "ECT",
          "code": "995",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "e",
          "sid": "W13106",
          "sort": 0,
          "sparentId": "D62398",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "N",
        "sid": "D62398",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62406,
        "bizName": "其他",
        "children": [{
          "bizId": 13222,
          "bizName": "辞职人员",
          "code": "200",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "C",
          "sid": "W13222",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13228,
          "bizName": "第一临床医学院",
          "code": "997",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "D",
          "sid": "W13228",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13270,
          "bizName": "进修",
          "code": "213",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "J",
          "sid": "W13270",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13218,
          "bizName": "康复科",
          "code": "083",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "K",
          "sid": "W13218",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13221,
          "bizName": "康复门诊",
          "code": "127",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "K",
          "sid": "W13221",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13229,
          "bizName": "临床工程处",
          "code": "996",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13229",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13224,
          "bizName": "入院处",
          "code": "132",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "R",
          "sid": "W13224",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13219,
          "bizName": "神经科门诊",
          "code": "121",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13219",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13232,
          "bizName": "实习",
          "code": "900",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13232",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13223,
          "bizName": "退休人员",
          "code": "201",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "T",
          "sid": "W13223",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13217,
          "bizName": "无编制非护理岗",
          "code": "100",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "W",
          "sid": "W13217",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13226,
          "bizName": "维护",
          "code": "999",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "W",
          "sid": "W13226",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13227,
          "bizName": "外院",
          "code": "998",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "W",
          "sid": "W13227",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13220,
          "bizName": "药剂科",
          "code": "010",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13220",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13230,
          "bizName": "药研办",
          "code": "986",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13230",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13225,
          "bizName": "转岗人员",
          "code": "202",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13225",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13231,
          "bizName": "职工健康管理科",
          "code": "166",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13231",
          "sort": 0,
          "sparentId": "D62406",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "Q",
        "sid": "D62406",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62408,
        "bizName": "危重科",
        "children": [{
          "bizId": 13233,
          "bizName": "呼吸科ICU",
          "code": "022",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13233",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13234,
          "bizName": "急诊监护病区",
          "code": "077",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "J",
          "sid": "W13234",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13237,
          "bizName": "老年ICU",
          "code": "147",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "L",
          "sid": "W13237",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13240,
          "bizName": "普外科ICU病区",
          "code": "162",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13240",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13238,
          "bizName": "神经外科ICU病区",
          "code": "155",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13238",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13236,
          "bizName": "心脏大血管监护病区",
          "code": "128",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13236",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13239,
          "bizName": "胸外科监护病区",
          "code": "157",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13239",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13235,
          "bizName": "重症监护病房",
          "code": "084",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13235",
          "sort": 0,
          "sparentId": "D62408",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "W",
        "sid": "D62408",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62400,
        "bizName": "外科",
        "children": [{
          "bizId": 13147,
          "bizName": "耳鼻咽喉科一病区",
          "code": "054",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "E",
          "sid": "W13147",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13133,
          "bizName": "骨科二病区",
          "code": "038",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13133",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13134,
          "bizName": "骨科一病区",
          "code": "039",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13134",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13135,
          "bizName": "骨科三病区",
          "code": "040",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13135",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13140,
          "bizName": "肝胆中心二病区",
          "code": "045",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13140",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13141,
          "bizName": "肝胆中心一病区",
          "code": "046",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13141",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13157,
          "bizName": "肝胆中心四病区",
          "code": "206",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13157",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13267,
          "bizName": "骨科四病区",
          "code": "214",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13267",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13268,
          "bizName": "肝胆中心三病区",
          "code": "215",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "G",
          "sid": "W13268",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13155,
          "bizName": "康复医学科病区",
          "code": "190",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "K",
          "sid": "W13155",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13160,
          "bizName": "口腔科、耳鼻咽喉科二病区",
          "code": "209",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "K",
          "sid": "W13160",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13142,
          "bizName": "泌尿外科一病区",
          "code": "047",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13142",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13143,
          "bizName": "泌尿外科三病区",
          "code": "048",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13143",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13149,
          "bizName": "泌尿内镜",
          "code": "120",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13149",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13159,
          "bizName": "泌尿外科四病区",
          "code": "208",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13159",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13269,
          "bizName": "泌尿外科二病区",
          "code": "216",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "M",
          "sid": "W13269",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13138,
          "bizName": "普外科胃病区",
          "code": "043",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13138",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13145,
          "bizName": "普外科结直肠病区",
          "code": "051",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13145",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13146,
          "bizName": "普外科血管病区",
          "code": "052",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13146",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13151,
          "bizName": "普外科四病区(甲状腺、胆道)",
          "code": "153",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "P",
          "sid": "W13151",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13144,
          "bizName": "神经外科一病区",
          "code": "049",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13144",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13152,
          "bizName": "神经外科二病区",
          "code": "181",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13152",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13158,
          "bizName": "神经外科三病区",
          "code": "207",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "S",
          "sid": "W13158",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13136,
          "bizName": "胸外科1",
          "code": "041",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13136",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13137,
          "bizName": "心脏大血管外科1",
          "code": "042",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13137",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13150,
          "bizName": "心脏大血管外科2",
          "code": "152",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13150",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13154,
          "bizName": "胸外科2病区",
          "code": "188",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13154",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13162,
          "bizName": "消化内镜、胰胆中心二病区",
          "code": "212",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "X",
          "sid": "W13162",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13139,
          "bizName": "胰胆中心一病区",
          "code": "044",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13139",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13148,
          "bizName": "眼科一病区",
          "code": "055",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13148",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13153,
          "bizName": "眼科日间病区",
          "code": "182",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13153",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13156,
          "bizName": "眼科二病区",
          "code": "205",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13156",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13161,
          "bizName": "胰胆中心三病区",
          "code": "211",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13161",
          "sort": 0,
          "sparentId": "D62400",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "W",
        "sid": "D62400",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62410,
        "bizName": "医技科",
        "children": [{
          "bizId": 13261,
          "bizName": "抽血处",
          "code": "112",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "C",
          "sid": "W13261",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13260,
          "bizName": "放射科",
          "code": "093",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13260",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13263,
          "bizName": "放疗科",
          "code": "165",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13263",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13264,
          "bizName": "放疗科二病区",
          "code": "178",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "F",
          "sid": "W13264",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13258,
          "bizName": "核医学科",
          "code": "087",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "H",
          "sid": "W13258",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13265,
          "bizName": "介入放射病区",
          "code": "180",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "J",
          "sid": "W13265",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13259,
          "bizName": "营养科",
          "code": "092",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Y",
          "sid": "W13259",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }, {
          "bizId": 13262,
          "bizName": "住院药房",
          "code": "089",
          "createId": 0,
          "id": 0,
          "leaf": true,
          "prefixInitial": "Z",
          "sid": "W13262",
          "sort": 0,
          "sparentId": "D62410",
          "type": 3000,
          "updateId": 0
        }],
        "createId": 0,
        "id": 0,
        "leaf": false,
        "prefixInitial": "Y",
        "sid": "D62410",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }, {
        "bizId": 62412,
        "bizName": "PET/CT",
        "createId": 0,
        "id": 0,
        "leaf": true,
        "prefixInitial": "p",
        "sid": "D62412",
        "sort": 0,
        "sparentId": "B61155",
        "type": 2000,
        "updateId": 0
      }],
      "createId": 0,
      "id": 0,
      "leaf": false,
      "prefixInitial": "H",
      "sid": "B61155",
      "sort": 4,
      "sparentId": "894",
      "type": 1000,
      "updateId": 0
    }],
    "createId": 0,
    "id": 0,
    "leaf": false,
    "prefixInitial": "\u0000",
    "sid": "894",
    "sort": 0,
    "type": 0,
    "updateId": 0
  }];
  this.state = {
    resetValue: null,
    hospitalTree: window[`data`][0].children,
  }
}

render() {
  const cascaderRangeProps = {
    dataSource: {
      value: 'bizId',
      label: 'bizName',
      children: 'children',
      regionType: 'D',
      selectRole: 'D', // 默认使用最低层级权限角色 W
      controllerRegionType: 'SELECT_ALL',
      // 10003 10001 10004
      regionIds: '', // 如果是院管理员没有该属性字段
      data: this.state.hospitalTree ? this.state.hospitalTree : [], // 直接引用院区层级
    },
    initialValue: [], // 编辑模式时使用
    treeCheckable: true,
    multiple: true,
    searchPlaceholder: '请选择院区、科室',
    style: {
      width: 600,
      verticalAlign: 'top'
    },
    dropdownStyle: {
      pannelWidth: 136,
      pannelHeight: 320,
    },
    selectModel: 'child',
    disabledParentAutoSelected: true, // 启用 child 模式时,禁用父级自动勾选功能
    reset: this.state.resetValue ? this.state.resetValue : ['0'],
    onChange: (value) => {
      this.setState({
        resetValue: value,
      })
    },
    notFoundContent: '暂无数据',
    getPopupContainer: trigger => trigger.parentNode,
  };

  return (
    <div>
      <CascaderCheckboxSelect {...cascaderRangeProps} />
    </div>
  )
}

:::

:::demo 院区管理员,可选级别(病区)。

constructor(props) {
  super(props);
  this.state = {
    resetValue: null,
    hospitalTree: window[`data`][0].children,
  }
}

render() {
  const cascaderRangeProps = {
    dataSource: {
      value: 'bizId',
      label: 'bizName',
      children: 'children',
      regionType: 'B',
      selectRole: 'W', // 默认使用最低层级权限角色 W
      controllerRegionType: 'SELECT_ALL',
      // 10003 10001 10004
      regionIds: '', // 如果是院管理员没有该属性字段
      data: this.state.hospitalTree ? this.state.hospitalTree : [], // 直接引用院区层级
    },
    initialValue: [], // 编辑模式时使用
    treeCheckable: false,
    multiple: true,
    fixedHeight: true,
    searchPlaceholder: '请选择院区、科室、病区',
    style: {
      width: 600,
      verticalAlign: 'top'
    },
    dropdownStyle: {
      pannelWidth: 136,
      pannelHeight: 320,
    },
    selectModel: 'child',
    disabledParentAutoSelected: true, // 启用 child 模式时,禁用父级自动勾选功能
    reset: this.state.resetValue ? this.state.resetValue : ['0'],
    onChange: (value) => {
      this.setState({
        resetValue: value,
      })
    },
    notFoundContent: '暂无数据',
    getPopupContainer: trigger => trigger.parentNode,
  };

  return (
    <div>
      <CascaderCheckboxSelect {...cascaderRangeProps} />
    </div>
  )
}

:::

API

参数 说明 类型 可选值 默认值
dataSource 数据源对象 Object
initialValue 编辑模式时使用 Array
treeCheckable 是否显示复选框 Boolean
multiple 设置是否多选 Boolean
searchPlaceholder 输入区的占位符文案 String
style 设置容器的样式属性 Object
dropdownStyle 设置下拉菜单的样式 Object
selectModel 可选择的级别的模式,为空时表示全部展示 String child,parent,''
disabledParentAutoSelected 启用 child 模式时,禁用父级自动勾选功能 Boolean
reset 重置树状结构数据时传入的数据值 Array
onChange 数据变化时回调函数 Function
notFoundContent 空数据时下拉菜单的文案 String
getPopupContainer 设置下拉菜单的定位父容器 ReactNode

Package Sidebar

Install

npm i @yizhou-library/cascader-checkbox-select

Weekly Downloads

1

Version

3.0.10

License

MIT

Unpacked Size

811 kB

Total Files

90

Last publish

Collaborators

  • xiweixiong
  • yzkj