cyc
This commit is contained in:
parent
5542e7f6bb
commit
8411fc2d84
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div v-loading.fullscreen="fullscreenLoading">
|
||||||
<div class="xml-read" v-if="show">
|
<div class="xml-read" v-if="show">
|
||||||
<xml-digital-teaching
|
<xml-digital-teaching
|
||||||
v-if="digitalTeaching"
|
v-if="digitalTeaching"
|
||||||
@ -73,6 +73,7 @@ export default {
|
|||||||
bookId: '',
|
bookId: '',
|
||||||
show:false,
|
show:false,
|
||||||
showError:false,
|
showError:false,
|
||||||
|
fullscreenLoading:true,
|
||||||
errormsg:'无数据',
|
errormsg:'无数据',
|
||||||
location: '',
|
location: '',
|
||||||
basisPath: 'https://smile-ebook.oss-cn-qingdao.aliyuncs.com/newjc/',
|
basisPath: 'https://smile-ebook.oss-cn-qingdao.aliyuncs.com/newjc/',
|
||||||
@ -146,6 +147,7 @@ export default {
|
|||||||
this.textBookData = await bookApi.bookinfo.detail({bookId:this.bookId})
|
this.textBookData = await bookApi.bookinfo.detail({bookId:this.bookId})
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
this.fullscreenLoading = false
|
||||||
this.show= false
|
this.show= false
|
||||||
this.showError = true
|
this.showError = true
|
||||||
this.errormsg = error
|
this.errormsg = error
|
||||||
@ -154,8 +156,10 @@ export default {
|
|||||||
this.basisPath = this.textBookData.basisPath
|
this.basisPath = this.textBookData.basisPath
|
||||||
this.catalogList = await bookApi.bookinfo.category({bookId:this.bookId})
|
this.catalogList = await bookApi.bookinfo.category({bookId:this.bookId})
|
||||||
this.looseLeafData = await bookApi.bookinfo.data({bookId:this.bookId})
|
this.looseLeafData = await bookApi.bookinfo.data({bookId:this.bookId})
|
||||||
|
this.data.resources.list = await bookApi.resource.list({bookId:this.bookId})
|
||||||
this.show = true
|
this.show = true
|
||||||
|
this.fullscreenLoading = false
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user