fix(功能用例): 修复用例评审批量评审参数

This commit is contained in:
xinxin.wu 2024-07-19 15:57:09 +08:00 committed by 刘瑞斌
parent 013733e7f2
commit 74bcb70546
2 changed files with 4 additions and 1 deletions

View File

@ -137,6 +137,7 @@ export interface BatchReviewCaseParams extends BatchApiParams {
status: ReviewResult; // 评审结果 status: ReviewResult; // 评审结果
content: string; // 评论内容 content: string; // 评论内容
notifier: string; // 评论@的人的Id, 多个以';'隔开 notifier: string; // 评论@的人的Id, 多个以';'隔开
reviewCommentFileIds?: string[]; // 富文本ids
} }
// 评审详情-批量修改评审人 // 评审详情-批量修改评审人
export interface BatchChangeReviewerParams extends BatchApiParams { export interface BatchChangeReviewerParams extends BatchApiParams {

View File

@ -244,6 +244,7 @@
<MsRichText <MsRichText
v-model:raw="dialogForm.reason" v-model:raw="dialogForm.reason"
v-model:commentIds="dialogForm.commentIds" v-model:commentIds="dialogForm.commentIds"
v-model:filed-ids="reviewCommentFileIds"
:upload-image="handleUploadImage" :upload-image="handleUploadImage"
:auto-height="false" :auto-height="false"
:preview-url="PreviewEditorImageUrl" :preview-url="PreviewEditorImageUrl"
@ -889,7 +890,7 @@
} }
}); });
} }
const reviewCommentFileIds = ref<string[]>([]);
// //
function commitResult() { function commitResult() {
dialogFormRef.value?.validate(async (errors) => { dialogFormRef.value?.validate(async (errors) => {
@ -906,6 +907,7 @@
moduleIds: props.activeFolder === 'all' ? [] : [props.activeFolder, ...props.offspringIds], moduleIds: props.activeFolder === 'all' ? [] : [props.activeFolder, ...props.offspringIds],
...batchParams.value, ...batchParams.value,
...tableParams.value, ...tableParams.value,
reviewCommentFileIds: reviewCommentFileIds.value,
}); });
Message.success(t('caseManagement.caseReview.reviewSuccess')); Message.success(t('caseManagement.caseReview.reviewSuccess'));
dialogVisible.value = false; dialogVisible.value = false;