feat [P-227]: отправляем id теста

This commit is contained in:
Denis Voinovich committed 2025-05-30 10:20:44 +03:00
1 parent dd3e4ff5e5
commit 77ff1c9449
3 files changed
+1 -3

No files matched your search

@@ -209,7 +209,7 @@ export default {
}
const response = await axiosApiInstance.post(
`/api/tests/testresultview/?${queryParams.toString()}`,
`/api/tests/testresultview/?${queryParams.toString()}&id=${testId}`,
answersToSubmit,
);
-1
View File
@@ -247,7 +247,6 @@ async function createTest(testData) {
async function assignTest(testId, employeeIds, completionDate) {
try {
if (!completionDate) {
// If no completion date provided, get it from test details
const testDetails = await getTestDetail(testId);
completionDate = testDetails.dateend;
}
-1
View File
@@ -228,7 +228,6 @@ export default {
})
.finally(() => {
if (activeTab.value === 0) {
// Считаем только активные тесты для счётчика
currentTest.value = getAllTests.value.filter(test => test.is_active).length;
}
});