Merge branch 'dev' of https://fcd.gdyditc.com/itc-framework/ma/2024/front into dev-zhaoDN/insurance

This commit is contained in:
lvjunzhao
2025-03-17 11:41:11 +08:00
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -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 {