refactor(功能用例): 调整单独用例批量关联需求接口
This commit is contained in:
parent
b913879f2f
commit
bf19d03d24
|
@ -81,7 +81,10 @@
|
||||||
import AddDemandModal from './addDemandModal.vue';
|
import AddDemandModal from './addDemandModal.vue';
|
||||||
import AssociatedDemandTable from './associatedDemandTable.vue';
|
import AssociatedDemandTable from './associatedDemandTable.vue';
|
||||||
|
|
||||||
import { batchAssociationDemand, getThirdDemandList } from '@/api/modules/case-management/featureCase';
|
import {
|
||||||
|
addDemandRequest,
|
||||||
|
getThirdDemandList
|
||||||
|
} from '@/api/modules/case-management/featureCase';
|
||||||
import { getCaseRelatedInfo } from '@/api/modules/project-management/menuManagement';
|
import { getCaseRelatedInfo } from '@/api/modules/project-management/menuManagement';
|
||||||
import { useI18n } from '@/hooks/useI18n';
|
import { useI18n } from '@/hooks/useI18n';
|
||||||
import { useAppStore } from '@/store';
|
import { useAppStore } from '@/store';
|
||||||
|
@ -255,7 +258,7 @@
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
drawerLoading.value = true;
|
drawerLoading.value = true;
|
||||||
await batchAssociationDemand(params);
|
await addDemandRequest(params);
|
||||||
Message.success(t('caseManagement.featureCase.associatedSuccess'));
|
Message.success(t('caseManagement.featureCase.associatedSuccess'));
|
||||||
linkDemandDrawer.value = false;
|
linkDemandDrawer.value = false;
|
||||||
demandRef.value.initData();
|
demandRef.value.initData();
|
||||||
|
|
Loading…
Reference in New Issue