@check="this.onCheck">
name:"tree",
data() {return{
treeData: [],
parentId: [],//根节点
checkedId: [], //选中节点ID
treeDisabledArr: [1000], //置灰/禁用的节点ID
replaceFields: { //根据后端返回数据调整
children: 'childList',
title:'orgName',
key:'id'},
}
},
mounted() {
let that= this;
let tree=[{"id": 1000,"orgName": "四川省","orgType": "02","orderNum": 1,"orgCode": null,"areaParentId": null,"parentOrgId": null,"childList": [{"id": 44000,"orgName": "阿坝州","orgType": "02","orderNum": 44000,"orgCode": null,"areaParentId": null,"parentOrgId": 1000,"childList": [{"i