fix(用例管理): 修复自定义字段成员的单选时的显示以及模块移动需要强制刷新以及接口定义默认模块不可拖拽问题
--bug=1038803 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038803 --bug=1038673 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038673 --bug=1037653 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001037653
This commit is contained in:
parent
ae998fc7b8
commit
e0bc4c67bc
|
@ -422,6 +422,7 @@
|
|||
return {
|
||||
...e,
|
||||
hideMoreAction: e.id === 'root',
|
||||
draggable: e.id !== 'root',
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<template #right>
|
||||
<a-radio-group v-model:model-value="showType" type="button" class="file-show-type">
|
||||
<a-radio value="list" class="show-type-icon p-[2px]"><MsIcon type="icon-icon_view-list_outlined" /></a-radio>
|
||||
<a-radio value="xMind" class="show-type-icon p-[2px]"><MsIcon type="icon-icon_mindnote_outlined" /></a-radio>
|
||||
<!-- <a-radio value="xMind" class="show-type-icon p-[2px]"><MsIcon type="icon-icon_mindnote_outlined" /></a-radio>-->
|
||||
</a-radio-group>
|
||||
</template>
|
||||
</MsAdvanceFilter>
|
||||
|
|
|
@ -273,7 +273,14 @@
|
|||
console.log(error);
|
||||
} finally {
|
||||
loading.value = false;
|
||||
// initModules();
|
||||
await initModules();
|
||||
const treeNode = ref<MsTreeNodeData | null>(null);
|
||||
treeNode.value = dropNode;
|
||||
treeNode.value.children = [];
|
||||
if (dropPosition === 0) {
|
||||
treeNode.value.children.push(dragNode);
|
||||
}
|
||||
caseNodeSelect(dropNode.id, treeNode.value);
|
||||
emits('dragUpdate');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -151,6 +151,9 @@ export function getTableFields(customFields: CustomAttributes[], itemDataIndex:
|
|||
const index = selectValue.indexOf('CREATE_USER');
|
||||
selectValue.splice(index, 1, userId);
|
||||
}
|
||||
if (selectValue === 'CREATE_USER') {
|
||||
selectValue = userId;
|
||||
}
|
||||
return (
|
||||
(currentColumnData.options || [])
|
||||
.filter((item: any) => selectValue.includes(item.value))
|
||||
|
|
|
@ -210,6 +210,7 @@
|
|||
const confirmRef = ref();
|
||||
const addSubVisible = ref(false);
|
||||
const caseTreeRef = ref();
|
||||
const caseTableRef = ref();
|
||||
|
||||
// 添加子模块
|
||||
const confirmHandler = async () => {
|
||||
|
@ -365,7 +366,6 @@
|
|||
validateResultModal.value = false;
|
||||
caseTreeRef.value.initModules();
|
||||
}
|
||||
const caseTableRef = ref();
|
||||
const importLoading = ref<boolean>(false);
|
||||
// 确定导入
|
||||
async function conFirmImport() {
|
||||
|
|
Loading…
Reference in New Issue