讲书回显
This commit is contained in:
@@ -375,6 +375,7 @@
|
|||||||
this.dataForm.novel = data.book.novel
|
this.dataForm.novel = data.book.novel
|
||||||
this.dataForm.clockIn = data.book.clockIn
|
this.dataForm.clockIn = data.book.clockIn
|
||||||
this.dataForm.teachIn = data.book.teachIn
|
this.dataForm.teachIn = data.book.teachIn
|
||||||
|
this.dataForm.canListen = data.book.canListen
|
||||||
var checklist = data.book.type
|
var checklist = data.book.type
|
||||||
var medicaldeschecklist = data.book.medicaldesBookType
|
var medicaldeschecklist = data.book.medicaldesBookType
|
||||||
var authorList = data.book.authorId
|
var authorList = data.book.authorId
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<a v-if="scope.row.type == 3" :href="scope.row.url" target="_blank">{{ scope.row.url }}</a>
|
<a v-if="scope.row.type == 3" :href="scope.row.url" target="_blank">{{ scope.row.url }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="排序" align="center">
|
<el-table-column label="排序" align="center" width="50">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.sort }}
|
{{ scope.row.sort }}
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -26,6 +26,11 @@
|
|||||||
{{ scope.row.book.name }}
|
{{ scope.row.book.name }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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="操作">
|
<el-table-column fixed="right" header-align="center" align="center" width="150" label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" size="small" @click="editOrUpdateHandle(scope.row)">修改</el-button>
|
<el-button type="text" size="small" @click="editOrUpdateHandle(scope.row)">修改</el-button>
|
||||||
@@ -176,7 +181,7 @@
|
|||||||
data
|
data
|
||||||
}) => {
|
}) => {
|
||||||
if (data && data.code === 0) {
|
if (data && data.code === 0) {
|
||||||
this.booknameList = data.page.result
|
this.booknameList = data.result
|
||||||
} else {
|
} else {
|
||||||
this.booknameList = []
|
this.booknameList = []
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user