讲书回显

This commit is contained in:
徐哼唧L
2024-01-17 17:13:17 +08:00
parent b9ca779f7a
commit ac20aa9c9a
3 changed files with 8 additions and 2 deletions

View File

@@ -375,6 +375,7 @@
this.dataForm.novel = data.book.novel
this.dataForm.clockIn = data.book.clockIn
this.dataForm.teachIn = data.book.teachIn
this.dataForm.canListen = data.book.canListen
var checklist = data.book.type
var medicaldeschecklist = data.book.medicaldesBookType
var authorList = data.book.authorId

View File

@@ -35,7 +35,7 @@
<a v-if="scope.row.type == 3" :href="scope.row.url" target="_blank">{{ scope.row.url }}</a>
</template>
</el-table-column>
<el-table-column label="排序" align="center">
<el-table-column label="排序" align="center" width="50">
<template slot-scope="scope">
{{ scope.row.sort }}
</template>

View File

@@ -26,6 +26,11 @@
{{ scope.row.book.name }}
</template>
</el-table-column>
<el-table-column label="排序" align="center" width="50">
<template slot-scope="scope">
{{ scope.row.sort }}
</template>
</el-table-column>
<el-table-column fixed="right" header-align="center" align="center" width="150" label="操作">
<template slot-scope="scope">
<el-button type="text" size="small" @click="editOrUpdateHandle(scope.row)">修改</el-button>
@@ -176,7 +181,7 @@
data
}) => {
if (data && data.code === 0) {
this.booknameList = data.page.result
this.booknameList = data.result
} else {
this.booknameList = []
}