fix(功能用例): 修复用例评审批量评审参数
This commit is contained in:
parent
013733e7f2
commit
74bcb70546
|
@ -137,6 +137,7 @@ export interface BatchReviewCaseParams extends BatchApiParams {
|
|||
status: ReviewResult; // 评审结果
|
||||
content: string; // 评论内容
|
||||
notifier: string; // 评论@的人的Id, 多个以';'隔开
|
||||
reviewCommentFileIds?: string[]; // 富文本ids
|
||||
}
|
||||
// 评审详情-批量修改评审人
|
||||
export interface BatchChangeReviewerParams extends BatchApiParams {
|
||||
|
|
|
@ -244,6 +244,7 @@
|
|||
<MsRichText
|
||||
v-model:raw="dialogForm.reason"
|
||||
v-model:commentIds="dialogForm.commentIds"
|
||||
v-model:filed-ids="reviewCommentFileIds"
|
||||
:upload-image="handleUploadImage"
|
||||
:auto-height="false"
|
||||
:preview-url="PreviewEditorImageUrl"
|
||||
|
@ -889,7 +890,7 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
const reviewCommentFileIds = ref<string[]>([]);
|
||||
// 提交评审结果
|
||||
function commitResult() {
|
||||
dialogFormRef.value?.validate(async (errors) => {
|
||||
|
@ -906,6 +907,7 @@
|
|||
moduleIds: props.activeFolder === 'all' ? [] : [props.activeFolder, ...props.offspringIds],
|
||||
...batchParams.value,
|
||||
...tableParams.value,
|
||||
reviewCommentFileIds: reviewCommentFileIds.value,
|
||||
});
|
||||
Message.success(t('caseManagement.caseReview.reviewSuccess'));
|
||||
dialogVisible.value = false;
|
||||
|
|
Loading…
Reference in New Issue