fix(功能用例): 修复评审关联用例不立即刷新列表以及接口场景回收站按钮文字显示问题
--bug=1038414 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038414
This commit is contained in:
parent
d6cc864783
commit
06fe3f5204
|
@ -155,7 +155,7 @@
|
||||||
class="!mr-0"
|
class="!mr-0"
|
||||||
@click="deleteOperation(record)"
|
@click="deleteOperation(record)"
|
||||||
>
|
>
|
||||||
{{ t('common.delete') }}
|
{{ t('api_scenario.recycle.batchCleanOut') }}
|
||||||
</MsButton>
|
</MsButton>
|
||||||
</template>
|
</template>
|
||||||
</ms-base-table>
|
</ms-base-table>
|
||||||
|
|
|
@ -648,7 +648,6 @@
|
||||||
async function getCaseLevelFields() {
|
async function getCaseLevelFields() {
|
||||||
const result = await getCaseDefaultFields(appStore.currentProjectId);
|
const result = await getCaseDefaultFields(appStore.currentProjectId);
|
||||||
caseLevelFields.value = result.customFields.find((item: any) => item.internal && item.fieldName === '用例等级');
|
caseLevelFields.value = result.customFields.find((item: any) => item.internal && item.fieldName === '用例等级');
|
||||||
caseFilters.value = caseLevelFields.value?.options.map((item: any) => item.text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 批量重新评审
|
// 批量重新评审
|
||||||
|
|
|
@ -191,8 +191,7 @@
|
||||||
async function initDetail() {
|
async function initDetail() {
|
||||||
try {
|
try {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
const res = await getReviewDetail(reviewId.value);
|
reviewDetail.value = await getReviewDetail(reviewId.value);
|
||||||
reviewDetail.value = res;
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.log(error);
|
console.log(error);
|
||||||
|
@ -259,7 +258,7 @@
|
||||||
baseAssociateCaseRequest: params,
|
baseAssociateCaseRequest: params,
|
||||||
});
|
});
|
||||||
Message.success(t('caseManagement.caseReview.associateSuccess'));
|
Message.success(t('caseManagement.caseReview.associateSuccess'));
|
||||||
initDetail();
|
await initDetail();
|
||||||
folderTreeRef.value?.initModules();
|
folderTreeRef.value?.initModules();
|
||||||
caseTableRef.value?.searchCase();
|
caseTableRef.value?.searchCase();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in New Issue