From 9d85bf20a70f82f59bb465693ef091151c321095 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 15 Oct 2021 17:17:18 +0800 Subject: [PATCH] =?UTF-8?q?feat=5F=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA=5F?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E6=B7=BB=E5=8A=A0=E5=85=B3=E6=B3=A8=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../review/components/TestCaseReviewEdit.vue | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue b/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue index 7999362c85..b97370fdb5 100644 --- a/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue +++ b/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue @@ -46,8 +46,22 @@ - + + + + + + + + @@ -119,7 +133,8 @@ export default { userIds: [], stage: '', description: '', - endTime: '' + endTime: '', + followPeople: '', }, dbProjectIds: [], rules: { @@ -135,7 +150,8 @@ export default { }, formLabelWidth: "100px", operationType: '', - reviewerOptions: [] + reviewerOptions: [], + maintainerOptions: [], }; }, computed: { @@ -143,7 +159,18 @@ export default { return getCurrentProjectID(); } }, + mounted() { + this.getSelectOptions(); + }, methods: { + getSelectOptions(){ + this.getMaintainerOptions(); + }, + getMaintainerOptions() { + this.$post('/user/project/member/tester/list', {projectId: getCurrentProjectID()}, response => { + this.maintainerOptions = response.data; + }); + }, reload() { this.isStepTableAlive = false; this.$nextTick(() => (this.isStepTableAlive = true)); @@ -162,6 +189,7 @@ export default { } else { this.form.tags = []; } + this.getSelectOptions(); listenGoBack(this.close); this.dialogFormVisible = true; this.reload();