|
|
|
@ -66864,6 +66864,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(items, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -66876,9 +66877,11 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var newItems = []; |
|
|
|
|
BI.each(items, function (i, item) { |
|
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
|
delete selectedMap[items[i]]; |
|
|
|
|
} |
|
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
|
newItems.push(item); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -66932,6 +66935,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
|
if (!map[v]) { |
|
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
|
map[v] = v; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -66939,6 +66943,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67262,6 +67267,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(items, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67274,9 +67280,11 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var newItems = []; |
|
|
|
|
BI.each(items, function (i, item) { |
|
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
|
delete selectedMap[items[i]]; |
|
|
|
|
} |
|
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
|
newItems.push(item); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67307,6 +67315,8 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
|
if (!map[v]) { |
|
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
// value更新的时候assist也需要更新
|
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
|
map[v] = v; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67314,6 +67324,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67648,6 +67659,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(items, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67660,9 +67672,11 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var newItems = []; |
|
|
|
|
BI.each(items, function (i, item) { |
|
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
|
delete selectedMap[items[i]]; |
|
|
|
|
} |
|
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
|
newItems.push(item); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67693,6 +67707,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
|
if (!map[v]) { |
|
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
|
map[v] = v; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -67700,6 +67715,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -72835,6 +72851,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(items, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -72847,9 +72864,11 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
var newItems = []; |
|
|
|
|
BI.each(items, function (i, item) { |
|
|
|
|
if (BI.isNotNull(selectedMap[items[i]])) { |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(selectedMap[items[i]]); |
|
|
|
|
delete selectedMap[items[i]]; |
|
|
|
|
} |
|
|
|
|
if (BI.isNull(notSelectedMap[items[i]])) { |
|
|
|
|
BI.remove(self.storeValue.assist, item); |
|
|
|
|
newItems.push(item); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -72905,6 +72924,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.value, function (i, v) { |
|
|
|
|
if (!map[v]) { |
|
|
|
|
self.storeValue.value.push(v); |
|
|
|
|
BI.remove(self.storeValue.assist, v); |
|
|
|
|
map[v] = v; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
@ -72912,6 +72932,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
|
|
|
|
|
BI.each(res.assist, function (i, v) { |
|
|
|
|
if (BI.isNotNull(map[v])) { |
|
|
|
|
change = true; |
|
|
|
|
self.storeValue.assist && self.storeValue.assist.push(map[v]); |
|
|
|
|
delete map[v]; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|