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