cyc
This commit is contained in:
parent
61abf3ecca
commit
29beaa6ec8
@ -285,7 +285,7 @@ export const processReuestData =(data)=>{
|
||||
|
||||
// 发请求前 业务处理
|
||||
|
||||
debugger
|
||||
|
||||
|
||||
// 设置公共报文逻辑
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@ export default {
|
||||
return {
|
||||
action:'http://60.xxxx.137.15:8081/admin-api/teachingMaterial/resource/upload/16550/6940601956829184',
|
||||
headers:{Authorization:`eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjYyMDFlYjA3LTY4ZWUtNGJhOC1iMjc3LTk4MjU0ZGI0MzUwMSJ9.zvW8Rr8ShOvwH5i7Cvl9bgp4MtznyLusrY86LMLW7MplNOjRp6j8lx6zkAD4_CvNXVF7v7MsYcRhN90DvhTq1g`},
|
||||
digitalTeaching: true,
|
||||
digitalTeaching: false,
|
||||
// textBookData: LOCAL_VIEW_DETAIL,
|
||||
// catalogList: LOCAL_VIEW_CATALOG,
|
||||
// looseLeafData: LOCAL_VIEW_DATA,
|
||||
@ -111,9 +111,7 @@ export default {
|
||||
|
||||
created() {
|
||||
this.bookId = this.$route.query.bookId
|
||||
if (this.$route.query.chapterId){
|
||||
this.chapterId = this.$route.query.chapterId
|
||||
}
|
||||
|
||||
// this.userType = this.$route.query.userType || 'student'
|
||||
this.$store.state.redirecturl = this.$route.query.redirecturl
|
||||
var userType = getStore("userType")
|
||||
@ -163,6 +161,7 @@ export default {
|
||||
|
||||
|
||||
|
||||
|
||||
try {
|
||||
this.textBookData = await bookApi.bookinfo.detail({bookId:this.bookId})
|
||||
this.$store.state.textBookData = this.textBookData
|
||||
@ -177,13 +176,17 @@ export default {
|
||||
|
||||
this.basisPath = this.textBookData.basisPath
|
||||
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.show = true
|
||||
this.fullscreenLoading = false
|
||||
|
||||
this.data.resources.list = await bookApi.resource.list({bookId:this.bookId})
|
||||
|
||||
this.digitalTeaching = true
|
||||
|
||||
if (this.$route.query.chapterId){
|
||||
this.chapterId = this.$route.query.chapterI
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user