commit
d7857d9f45
|
@ -251,6 +251,7 @@ import whiteboard from '@/components/whiteboard/whiteboard.vue'
|
||||||
import prevReadMsgDialog from '@/views/classTask/container/newTask/prevReadMsg-Dialog.vue'
|
import prevReadMsgDialog from '@/views/classTask/container/newTask/prevReadMsg-Dialog.vue'
|
||||||
import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue'
|
import examDetailsDrawer from '@/components/exam-question/examDetailsDrawer.vue'
|
||||||
|
|
||||||
|
import { JYApiListCT, JYApiListOriginYear, JYApiListSO} from "@/utils/examQuestion/jyeoo"
|
||||||
import { useToolState } from '@/store/modules/tool'
|
import { useToolState } from '@/store/modules/tool'
|
||||||
import useUserStore from '@/store/modules/user'
|
import useUserStore from '@/store/modules/user'
|
||||||
const userStore = useUserStore().user
|
const userStore = useUserStore().user
|
||||||
|
@ -877,7 +878,19 @@ const showExamAnalyseDrawer = (row) => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(async() => {
|
||||||
|
// 获取当前学科下的试题题型
|
||||||
|
const name = userStore.edustage + userStore.edusubject;
|
||||||
|
const jyCT = await JYApiListCT(proxy, name);
|
||||||
|
if (jyCT.length == 0) {
|
||||||
|
ElMessage.error('获取题型失败!');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
entpCourseWorkTypeList.value = jyCT;
|
||||||
|
// 获取当前学科下的试题年份
|
||||||
|
entpCourseWorkYearList.value = JYApiListOriginYear();
|
||||||
|
entpCourseWorkGroupList.value = await JYApiListSO(proxy, name);
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
watch(() => props.propsformobj.uniquekey, (newVal) => {
|
watch(() => props.propsformobj.uniquekey, (newVal) => {
|
||||||
|
|
Loading…
Reference in New Issue