fix:获取所有的教材;
This commit is contained in:
parent
9afd5f417d
commit
baa1fa7483
|
@ -45,6 +45,7 @@
|
||||||
import { onMounted, ref, nextTick, toRaw, reactive } from 'vue';
|
import { onMounted, ref, nextTick, toRaw, reactive } from 'vue';
|
||||||
import { cloneDeep } from 'lodash'
|
import { cloneDeep } from 'lodash'
|
||||||
import { listEvaluation } from '@/api/subject'
|
import { listEvaluation } from '@/api/subject'
|
||||||
|
import { sessionStore } from '@/utils/store'
|
||||||
|
|
||||||
const BaseUrl = import.meta.env.VITE_APP_BUILD_BASE_PATH
|
const BaseUrl = import.meta.env.VITE_APP_BUILD_BASE_PATH
|
||||||
// 定义要发送的emit事件
|
// 定义要发送的emit事件
|
||||||
|
@ -195,6 +196,7 @@
|
||||||
//获取学科列表
|
//获取学科列表
|
||||||
const { rows } = await listEvaluation(subjectParams)
|
const { rows } = await listEvaluation(subjectParams)
|
||||||
// 获取所有的教材
|
// 获取所有的教材
|
||||||
|
subjectList.value = sessionStore.get('subject.bookList')
|
||||||
const res = await listEvaluation(unitParams)
|
const res = await listEvaluation(unitParams)
|
||||||
unitList.value = [...res.rows]
|
unitList.value = [...res.rows]
|
||||||
// 当前教材
|
// 当前教材
|
||||||
|
|
Loading…
Reference in New Issue