|
@@ -31,7 +31,21 @@
|
|
download-btn-title="违纪导入模版"
|
|
download-btn-title="违纪导入模版"
|
|
:download-handle="downloadHandle"
|
|
:download-handle="downloadHandle"
|
|
@upload-success="uploadSuccessHandle"
|
|
@upload-success="uploadSuccessHandle"
|
|
- />
|
|
|
|
|
|
+ >
|
|
|
|
+ <a-form-item
|
|
|
|
+ label="科目"
|
|
|
|
+ :label-col="{ style: { width: '80px' } }"
|
|
|
|
+ label-align="left"
|
|
|
|
+ >
|
|
|
|
+ <SelectSubject
|
|
|
|
+ v-model="uploadData.subjectCode"
|
|
|
|
+ :exam-id="userStore.curExam?.id"
|
|
|
|
+ ></SelectSubject>
|
|
|
|
+ <template #help v-if="showTip">
|
|
|
|
+ <p class="tips-info tips-error">请选择科目</p>
|
|
|
|
+ </template>
|
|
|
|
+ </a-form-item>
|
|
|
|
+ </ImportDialog>
|
|
|
|
|
|
<!-- TaskProgressDialog -->
|
|
<!-- TaskProgressDialog -->
|
|
<TaskProgressDialog ref="taskProgressDialogRef" :task="curExportTask" />
|
|
<TaskProgressDialog ref="taskProgressDialogRef" :task="curExportTask" />
|
|
@@ -42,6 +56,7 @@ import { ref, onMounted } from "vue";
|
|
import { ExclamationCircleOutlined } from "@ant-design/icons-vue";
|
|
import { ExclamationCircleOutlined } from "@ant-design/icons-vue";
|
|
import type { TableProps } from "ant-design-vue";
|
|
import type { TableProps } from "ant-design-vue";
|
|
import { message } from "ant-design-vue";
|
|
import { message } from "ant-design-vue";
|
|
|
|
+import SelectSubject from "@/components/SelectSubject/index.vue";
|
|
|
|
|
|
import { BreachListItem } from "@/ap/types/resultExport";
|
|
import { BreachListItem } from "@/ap/types/resultExport";
|
|
import { breachList, breachTemplateDownload } from "@/ap/resultExport";
|
|
import { breachList, breachTemplateDownload } from "@/ap/resultExport";
|
|
@@ -54,7 +69,7 @@ defineOptions({
|
|
name: "BreachImport",
|
|
name: "BreachImport",
|
|
});
|
|
});
|
|
const userStore = useUserStore();
|
|
const userStore = useUserStore();
|
|
-
|
|
|
|
|
|
+const showTip = ref(false);
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
const dataList = ref<BreachListItem[]>([]);
|
|
const dataList = ref<BreachListItem[]>([]);
|
|
|
|
|