|
@@ -88,8 +88,8 @@ const columns: TableProps["columns"] = [
|
|
|
|
|
|
const siteCodeData = ref({} as markSiteSetParams);
|
|
|
async function getScanSiteCode() {
|
|
|
- const res = await markSiteCodeInfo({ examId: "" });
|
|
|
- siteCodeData.value = { scanSite: res.scanSite, examId: "" };
|
|
|
+ const res = await markSiteCodeInfo({ examId: 1 });
|
|
|
+ siteCodeData.value = { scanSite: res.scanSite, examId: 1 };
|
|
|
}
|
|
|
|
|
|
const modifySiteCodeRef = ref();
|
|
@@ -101,14 +101,14 @@ function siteCodeModified(data: markSiteSetParams) {
|
|
|
}
|
|
|
|
|
|
async function getData() {
|
|
|
- const res = await subjectList({ examId: "" });
|
|
|
+ const res = await subjectList({ examId: 1 });
|
|
|
dataList.value = res || [];
|
|
|
}
|
|
|
|
|
|
async function onExportAnswer(index: number) {
|
|
|
const record = dataList.value[index];
|
|
|
const res = await dbfAnswerExport({
|
|
|
- examId: "",
|
|
|
+ examId: 1,
|
|
|
subjectCode: record.subjectCode,
|
|
|
});
|
|
|
curExportTask.value = { id: res.taskId, name: "扫描答案DBF" };
|
|
@@ -118,7 +118,7 @@ async function onExportAnswer(index: number) {
|
|
|
async function onExportPackage(index: number) {
|
|
|
const record = dataList.value[index];
|
|
|
const res = await dbfPackageExport({
|
|
|
- examId: "",
|
|
|
+ examId: 1,
|
|
|
subjectCode: record.subjectCode,
|
|
|
});
|
|
|
curExportTask.value = { id: res.taskId, name: "打包DBF" };
|