|
|
@@ -1747,6 +1747,7 @@ export default {
|
|
|
if(ctype == 2){
|
|
|
this.copyCourse(this.cid);
|
|
|
}
|
|
|
+ this.loadgetCourseDetail();
|
|
|
this.uploadFile2(pptJsonFile, this.courseId);
|
|
|
this.addOp3(
|
|
|
"1",
|
|
|
@@ -1838,6 +1839,7 @@ export default {
|
|
|
if(ctype == 2){
|
|
|
this.copyCourse(this.cid);
|
|
|
}
|
|
|
+ this.loadgetCourseDetail();
|
|
|
this.addOp3(
|
|
|
"1",
|
|
|
"",
|
|
|
@@ -2297,6 +2299,17 @@ export default {
|
|
|
this.$message.success(this.lang.ssAddOk);
|
|
|
}
|
|
|
},
|
|
|
+ loadgetCourseDetail(){
|
|
|
+ let _pptIframe = this.$refs.pptIframeRef;
|
|
|
+ if (
|
|
|
+ _pptIframe &&
|
|
|
+ _pptIframe.contentWindow &&
|
|
|
+ _pptIframe.contentWindow.window &&
|
|
|
+ typeof _pptIframe.contentWindow.window.getCourseDetail === "function"
|
|
|
+ ){
|
|
|
+ _pptIframe.contentWindow.window.getCourseDetail(this.cid);
|
|
|
+ }
|
|
|
+ },
|
|
|
addContent(data, type = 1){
|
|
|
let _pptIframe = this.$refs.pptIframeRef;
|
|
|
if (
|