fix(测试跟踪): 批量关联需求失效
--bug=1020032 --user=陈建星 【测试跟踪】上传jira插件-测试用例-批量关联jira需求-提示关联成功,实际没关联 https://www.tapd.cn/55049933/s/1312398
This commit is contained in:
parent
647b8f61f7
commit
4600ad8fde
|
@ -82,6 +82,10 @@ export function testCasePublicBatchDeleteToGc(param) {
|
||||||
return post(BASE_URL + 'batch/movePublic/deleteToGc', 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) {
|
export function getTestCaseFollow(id) {
|
||||||
return get(BASE_URL + `follow/${id}`);
|
return get(BASE_URL + `follow/${id}`);
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,9 +246,9 @@ import {
|
||||||
getTestCaseStep,
|
getTestCaseStep,
|
||||||
getTestCaseVersions, testCaseBatchCopy,
|
getTestCaseVersions, testCaseBatchCopy,
|
||||||
testCaseBatchDelete,
|
testCaseBatchDelete,
|
||||||
testCaseBatchDeleteToGc, testCaseBatchEdit,
|
testCaseBatchDeleteToGc, testCaseBatchEdit, testCaseBatchRelateDemand,
|
||||||
testCaseDelete,
|
testCaseDelete,
|
||||||
testCaseDeleteToGc, testCaseList, testCasePublicBatchDeleteToGc,
|
testCaseDeleteToGc, testCaseList,
|
||||||
testCaseReduction
|
testCaseReduction
|
||||||
} from "@/api/testCase";
|
} from "@/api/testCase";
|
||||||
import {getGraphByCondition} from "@/api/graph";
|
import {getGraphByCondition} from "@/api/graph";
|
||||||
|
@ -993,7 +993,7 @@ export default {
|
||||||
param.condition = this.condition;
|
param.condition = this.condition;
|
||||||
param.demandId = form.demandId;
|
param.demandId = form.demandId;
|
||||||
param.demandName = form.demandName;
|
param.demandName = form.demandName;
|
||||||
testCasePublicBatchDeleteToGc(param)
|
testCaseBatchRelateDemand(param)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$success(this.$t('commons.save_success'));
|
this.$success(this.$t('commons.save_success'));
|
||||||
this.refresh();
|
this.refresh();
|
||||||
|
|
Loading…
Reference in New Issue