fix(测试用例): 修复测试用例关联接口入参错误bug
This commit is contained in:
parent
a19aa5ee2e
commit
f99ff9a304
|
@ -628,7 +628,7 @@
|
||||||
];
|
];
|
||||||
// 处理系统自定义字段
|
// 处理系统自定义字段
|
||||||
searchCustomFields.value = result.map((item: any) => {
|
searchCustomFields.value = result.map((item: any) => {
|
||||||
const FilterTypeKey: keyof typeof FilterType = CustomTypeMaps[item.type].type;
|
const FilterTypeKey: keyof typeof FilterType = CustomTypeMaps[item.type]?.type;
|
||||||
const formType = FilterType[FilterTypeKey];
|
const formType = FilterType[FilterTypeKey];
|
||||||
const formObject = CustomTypeMaps[item.type];
|
const formObject = CustomTypeMaps[item.type];
|
||||||
const { props: formProps } = formObject;
|
const { props: formProps } = formObject;
|
||||||
|
@ -744,6 +744,7 @@
|
||||||
moduleIds: [],
|
moduleIds: [],
|
||||||
version: '',
|
version: '',
|
||||||
};
|
};
|
||||||
|
innerProject.value = '';
|
||||||
activeFolder.value = 'all';
|
activeFolder.value = 'all';
|
||||||
activeFolderName.value = t('ms.case.associate.allCase');
|
activeFolderName.value = t('ms.case.associate.allCase');
|
||||||
resetSelector();
|
resetSelector();
|
||||||
|
@ -754,6 +755,7 @@
|
||||||
() => props.visible,
|
() => props.visible,
|
||||||
(val) => {
|
(val) => {
|
||||||
if (val) {
|
if (val) {
|
||||||
|
caseType.value = props.currentSelectCase;
|
||||||
resetFilterParams();
|
resetFilterParams();
|
||||||
resetSelector();
|
resetSelector();
|
||||||
if (!props.hideProjectSelect) {
|
if (!props.hideProjectSelect) {
|
||||||
|
@ -786,10 +788,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function selectedProtocolsChange() {
|
function selectedProtocolsChange() {
|
||||||
|
if (innerProject.value) {
|
||||||
initModules();
|
initModules();
|
||||||
setAllSelectModule();
|
setAllSelectModule();
|
||||||
initFilter();
|
initFilter();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// 改变项目
|
// 改变项目
|
||||||
function changeProject(
|
function changeProject(
|
||||||
value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]
|
value: string | number | boolean | Record<string, any> | (string | number | boolean | Record<string, any>)[]
|
||||||
|
|
Loading…
Reference in New Issue