d625a228 by lihua

fix: 产品目录传参问题

1 parent dd2f4170
......@@ -140,7 +140,7 @@ const handleTreeNodeChange = (checkedObj, id, nodeObj) => {
if (halfCheckedKeys.includes('scenario3')) {//
let list = treeRefs.getNode('scenario3')?.childNodes?.filter(c => c.checked == true);
list?.forEach(item => {
page.value.scenarioList.push(item.value);
page.value.scenarioList.push(item.data.value);
});
}
if (halfCheckedKeys.includes('medDepartmentCode')) {
......@@ -164,7 +164,7 @@ const handleTreeNodeChange = (checkedObj, id, nodeObj) => {
if (halfCheckedKeys.includes('scenario4')) {//
let list = treeRefs.getNode('scenario4')?.childNodes?.filter(c => c.checked == true);
list?.forEach(item => {
page.value.scenarioList.push(item.value);
page.value.scenarioList.push(item.data.value);
});
}
if (halfCheckedKeys.includes('subjectDomain')) {
......@@ -187,7 +187,7 @@ const handleTreeNodeChange = (checkedObj, id, nodeObj) => {
if (halfCheckedKeys.includes(domainItem.value)) {
let list = treeRefs.getNode(domainItem.value)?.childNodes?.filter(c => c.checked == true);
list?.forEach(item => {
page.value.scenarioList.push(item.value);
page.value.scenarioList.push(item.data.value);
});
} else if (checkedKeys.includes(domainItem.value)) {
page.value.domainList.push(domainItem.value); //全选要加入
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!