Merge branch 'dev' of https://fcd.gdyditc.com/itc-framework/ma/2024/front into dev-zhaoDN/insurance
This commit is contained in:
@ -16,7 +16,6 @@
|
|||||||
:mode="node.isChooseMulti? 'multiple' : ''"
|
:mode="node.isChooseMulti? 'multiple' : ''"
|
||||||
:filterOption="search"
|
:filterOption="search"
|
||||||
></a-select>
|
></a-select>
|
||||||
</template>
|
|
||||||
<span v-show="!node.chooseAssign">{{ getAssigneeText(node) }}</span>
|
<span v-show="!node.chooseAssign">{{ getAssigneeText(node) }}</span>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -85,9 +85,9 @@
|
|||||||
let currentValue = toRaw(state.checkedKeys) as KeyType[];
|
let currentValue = toRaw(state.checkedKeys) as KeyType[];
|
||||||
if (isArray(currentValue) && searchState.startSearch) {
|
if (isArray(currentValue) && searchState.startSearch) {
|
||||||
const { key } = unref(getFieldNames);
|
const { key } = unref(getFieldNames);
|
||||||
currentValue = difference(currentValue, getChildrenKeys(e.node.$attrs.node[key]));
|
currentValue = difference(currentValue, getChildrenKeys(e.node[key]));
|
||||||
if (e.checked) {
|
if (e.checked) {
|
||||||
currentValue.push(e.node.$attrs.node[key]);
|
currentValue.push(e.node[key]);
|
||||||
}
|
}
|
||||||
state.checkedKeys = currentValue;
|
state.checkedKeys = currentValue;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user