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);
|
||||
}
|
||||
|
||||
export function testCaseBatchRelateDemand(param) {
|
||||
return post(BASE_URL + 'batch/relate/demand', param);
|
||||
}
|
||||
|
||||
export function getTestCaseFollow(id) {
|
||||
return get(BASE_URL + `follow/${id}`);
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue