Compare commits
5 Commits
7b3f00ba67
...
cb15855fc1
Author | SHA1 | Date |
---|---|---|
“zouyf” | cb15855fc1 | |
yangws | 988c6160bb | |
小杨 | 0119a92501 | |
yangws | e1dfc0f8b4 | |
小杨 | 31f9ec61ea |
|
@ -266,6 +266,9 @@ const btnSave = () => {
|
||||||
}
|
}
|
||||||
//新建小组
|
//新建小组
|
||||||
const addGroup = () => {
|
const addGroup = () => {
|
||||||
|
// 做清空处理
|
||||||
|
groupForm.groupname = ''
|
||||||
|
groupForm.orderidx = 0
|
||||||
groupVisible.value = true
|
groupVisible.value = true
|
||||||
}
|
}
|
||||||
const btnGroupSave = () => {
|
const btnGroupSave = () => {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<el-descriptions-item label="班级名称">{{ classInfo.caption }}</el-descriptions-item>
|
<el-descriptions-item label="班级名称">{{ classInfo.caption }}</el-descriptions-item>
|
||||||
<el-descriptions-item label="教师">
|
<el-descriptions-item label="教师">
|
||||||
<template v-if="classInfo.teacher.length > 0">
|
<template v-if="classInfo.teacher.length > 0">
|
||||||
<el-tag type="primary" v-for="(item, index) in classInfo.teacher" :key="index">{{item.name}}</el-tag>
|
<el-tag style="margin-right: 5px;margin-bottom: 5px;" type="primary" v-for="(item, index) in classInfo.teacher" :key="index">{{item.name}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>{{ classInfo.teachername }}</template>
|
<template v-else>{{ classInfo.teachername }}</template>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
|
Loading…
Reference in New Issue