From 4600ad8fde8409961e2813ab3ff3d7df480a1921 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 5 Dec 2022 14:00:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=85=B3=E8=81=94=E9=9C=80=E6=B1=82=E5=A4=B1?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1020032 --user=陈建星 【测试跟踪】上传jira插件-测试用例-批量关联jira需求-提示关联成功,实际没关联 https://www.tapd.cn/55049933/s/1312398 --- test-track/frontend/src/api/testCase.js | 4 ++++ .../frontend/src/business/case/components/TestCaseList.vue | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/test-track/frontend/src/api/testCase.js b/test-track/frontend/src/api/testCase.js index 57cc67377e..a954ff06eb 100644 --- a/test-track/frontend/src/api/testCase.js +++ b/test-track/frontend/src/api/testCase.js @@ -82,6 +82,10 @@ export function testCasePublicBatchDeleteToGc(param) { return post(BASE_URL + 'batch/movePublic/deleteToGc', param); } +export function testCaseBatchRelateDemand(param) { + return post(BASE_URL + 'batch/relate/demand', param); +} + export function getTestCaseFollow(id) { return get(BASE_URL + `follow/${id}`); } diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index 0e4acebd79..baa9458cf9 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -246,9 +246,9 @@ import { getTestCaseStep, getTestCaseVersions, testCaseBatchCopy, testCaseBatchDelete, - testCaseBatchDeleteToGc, testCaseBatchEdit, + testCaseBatchDeleteToGc, testCaseBatchEdit, testCaseBatchRelateDemand, testCaseDelete, - testCaseDeleteToGc, testCaseList, testCasePublicBatchDeleteToGc, + testCaseDeleteToGc, testCaseList, testCaseReduction } from "@/api/testCase"; import {getGraphByCondition} from "@/api/graph"; @@ -993,7 +993,7 @@ export default { param.condition = this.condition; param.demandId = form.demandId; param.demandName = form.demandName; - testCasePublicBatchDeleteToGc(param) + testCaseBatchRelateDemand(param) .then(() => { this.$success(this.$t('commons.save_success')); this.refresh();