责任部门,选中父节点不能连带着子节点选中
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
class="filter-tree tree-line"
|
||||
:data="treeData"
|
||||
:props="defaultProps"
|
||||
:check-strictly="true"
|
||||
:current-node-key="nodeKeyId"
|
||||
node-key="id"
|
||||
:filter-node-method="filterNode"
|
||||
|
||||
@@ -5386,18 +5386,18 @@ export default {
|
||||
},
|
||||
drawerCheckZRBM(data) {
|
||||
|
||||
console.log("data", data);
|
||||
console.log("5389", data);
|
||||
let idList = ''
|
||||
let nameList = ''
|
||||
data.forEach(item => {
|
||||
if (item.hasChild === '0') {
|
||||
// if (item.hasChild === '0') {
|
||||
if (nameList.length > 0) {
|
||||
nameList += ','
|
||||
idList += ','
|
||||
}
|
||||
idList += item.id
|
||||
nameList += item.name
|
||||
}
|
||||
// }
|
||||
})
|
||||
|
||||
this.sarStandardsInfoEO.ZRBMId = idList;
|
||||
|
||||
Reference in New Issue
Block a user