Compare commits
No commits in common. "59be0c07d10667bafac32742472d203c6e1d1b78" and "be222a2ba60742533646a6eea12e1099c6fa69d6" have entirely different histories.
59be0c07d1
...
be222a2ba6
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<el-tabs v-model="active" class="demo-tabs" @tab-change="handleClick">
|
<el-tabs v-model="active" class="demo-tabs" @tab-change="handleClick">
|
||||||
<template v-for="(item,index) in gradeList" :key="index">
|
<template v-for="(item,index) in gradeList" :key="index">
|
||||||
<el-tab-pane :label="item.label" :name="item.value" disabled>
|
<el-tab-pane :label="item.label" :name="item.value">
|
||||||
<SelectSubject ref="selectSubject" :subjectList="subjectList" @clickTag="getTagId"></SelectSubject>
|
<SelectSubject ref="selectSubject" :subjectList="subjectList" @clickTag="getTagId"></SelectSubject>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</template>
|
</template>
|
||||||
|
@ -24,9 +24,7 @@ const active = ref(1)
|
||||||
const subjectList = ref([])
|
const subjectList = ref([])
|
||||||
//用来获取学科的id
|
//用来获取学科的id
|
||||||
const textbookVersionId = ref(0)
|
const textbookVersionId = ref(0)
|
||||||
//不需要切换年级教材了
|
|
||||||
const handleClick = (tab) => {
|
const handleClick = (tab) => {
|
||||||
console.log(tab,'tab')
|
|
||||||
getSubject(tab)
|
getSubject(tab)
|
||||||
}
|
}
|
||||||
//获取当前学段所有学科
|
//获取当前学段所有学科
|
||||||
|
|
Loading…
Reference in New Issue