|
|
|
@ -532,7 +532,7 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
|
|
|
|
|
var checkState = op.checkState || {}; |
|
|
|
|
var parentValues = op.parentValues || []; |
|
|
|
|
var selectedValues = op.selectedValues || {}; |
|
|
|
|
function getResult(parentValues) { |
|
|
|
|
function getResult(parentValues, checkState) { |
|
|
|
|
var valueMap = {}; |
|
|
|
|
// if (judgeState(parentValues, selectedValues, checkState)) {
|
|
|
|
|
valueMap = dealWithSelectedValue(parentValues, selectedValues); |
|
|
|
@ -557,12 +557,12 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, {
|
|
|
|
|
warningTitle: nodes[i].warningTitle, |
|
|
|
|
}); |
|
|
|
|
if (openState) { |
|
|
|
|
getResult(parentValues.concat([nodes[i].value])); |
|
|
|
|
getResult(parentValues.concat([nodes[i].value]), {checked: state[0], half: state[1]}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getResult(parentValues); |
|
|
|
|
getResult(parentValues, checkState); |
|
|
|
|
|
|
|
|
|
// 如果指定节点全部打开
|
|
|
|
|
// if (o.open) {
|
|
|
|
|