提交 4abf9cac authored 作者: pengxiaohui's avatar pengxiaohui

修改bug

上级 b8154756
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<app-card class="class-cont" title="我的班级"> <app-card class="class-cont" title="我的班级">
<div class="item" v-for="item in classList" :key="item.id"> <div class="item" v-for="item in classList" :key="item.id">
<div class="status"> <div class="status">
<el-tag v-if="item.status === 1" type="success">Active</el-tag> <el-tag v-if="true" type="success">Active</el-tag>
<el-tag v-else type="info">Inactive</el-tag> <el-tag v-else type="info">Inactive</el-tag>
</div> </div>
<div class="cont"> <div class="cont">
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<template v-slot:table-x="{ row }"> <template v-slot:table-x="{ row }">
<el-button @click="onRemove(row)" type="danger" size="mini" plain v-if="btnAdd">删除</el-button> <el-button @click="onRemove(row)" type="danger" size="mini" plain v-if="btnAdd">删除</el-button>
</template> </template>
<AddStudent :visible.sync="isShowDialog" @success="success" /> <AddStudent v-if="isShowDialog" :visible.sync="isShowDialog" @success="success" />
</app-list> </app-list>
</template> </template>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<template v-slot:table-x="{ row }"> <template v-slot:table-x="{ row }">
<el-button @click="onRemove(row)" type="danger" size="mini" plain v-if="btnAdd">删除</el-button> <el-button @click="onRemove(row)" type="danger" size="mini" plain v-if="btnAdd">删除</el-button>
</template> </template>
<AddTeacher :visible.sync="isShowDialog" @success="success" /> <AddTeacher v-if="isShowDialog" :visible.sync="isShowDialog" @success="success" />
</app-list> </app-list>
</template> </template>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
{{row.start_time}} - {{row.end_time}} {{row.start_time}} - {{row.end_time}}
</template> </template>
<template v-slot:table-x="{ row }"> <template v-slot:table-x="{ row }">
<router-link v-if="btnView" :to="{ path: '/exam/details', query: { id: row.id, title: row.paper_title } }"> <router-link v-if="btnView" :to="{ path: '/school/exam/details', query: { id: row.id, title: row.paper_title } }">
<el-button type="primary" size="mini" plain>查看</el-button> <el-button type="primary" size="mini" plain>查看</el-button>
</router-link> </router-link>
</template> </template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论