update code

master
bettleChen 1 year ago
parent 7e07967092
commit d068118588

@ -78,7 +78,12 @@ const routes = [
path: "courseManage",
name: "课程管理",
component: require("@/views/teacher/courseManage.vue").default
}
},
{
path: "gradeManage",
name: "成绩管理",
component: require("@/views/teacher/gradeManage.vue").default
},
]
}
]

@ -19,7 +19,8 @@
<el-menu-item index="/teacher/home"><template slot="title"><i class="el-icon-info"></i>老师主页</template></el-menu-item>
<el-menu-item index="/teacher/teacherInfo"><template slot="title"><i class="el-icon-setting"></i>信息编辑</template></el-menu-item>
<el-menu-item index="/teacher/studentManage"><template slot="title"><i class="el-icon-menu"></i>学生管理</template></el-menu-item>
<el-menu-item index="/teacher/courseManage"><template slot="title"><i class="el-icon-tickets"></i>课程管理</template></el-menu-item>
<!-- <el-menu-item index="/teacher/courseManage"><template slot="title"><i class="el-icon-tickets"></i>课程管理</template></el-menu-item> -->
<el-menu-item index="/teacher/gradeManage"><template slot="title"><i class="el-icon-tickets"></i>成绩管理</template></el-menu-item>
</el-menu>
</el-aside>
<el-main>

@ -48,9 +48,7 @@
label="姓名"
width="120">
<template slot-scope="scope">
<div slot="reference" class="name-wrapper">
<el-tag size="medium">{{ scope.row.fields.name }}</el-tag>
</div>
<span style="margin-left: 10px">{{ scope.row.fields.name }}</span>
</template>
</el-table-column>
<el-table-column

Loading…
Cancel
Save