|
@@ -11538,7 +11538,7 @@ const getFile = (url) => {
|
|
_url2 = url2;
|
|
_url2 = url2;
|
|
}
|
|
}
|
|
var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
|
|
var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
|
|
- let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
|
|
|
|
|
|
+ let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
|
|
var params = {
|
|
var params = {
|
|
Bucket: "ccrb",
|
|
Bucket: "ccrb",
|
|
Key: name
|
|
Key: name
|
|
@@ -13529,7 +13529,7 @@ export default {
|
|
) != -1
|
|
) != -1
|
|
) {
|
|
) {
|
|
this.pptImgUrl =
|
|
this.pptImgUrl =
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
|
|
|
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
|
|
this.showPDF = false;
|
|
this.showPDF = false;
|
|
} else if (
|
|
} else if (
|
|
w.works
|
|
w.works
|
|
@@ -13578,7 +13578,7 @@ export default {
|
|
) != -1
|
|
) != -1
|
|
) {
|
|
) {
|
|
this.pptImgUrl =
|
|
this.pptImgUrl =
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
|
|
|
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
|
|
this.showPDF = false;
|
|
this.showPDF = false;
|
|
} else if (
|
|
} else if (
|
|
w.works
|
|
w.works
|
|
@@ -15845,7 +15845,7 @@ export default {
|
|
this.showType = 2;
|
|
this.showType = 2;
|
|
this.pptImgUrl1 =
|
|
this.pptImgUrl1 =
|
|
"https://view.officeapps.live.com/op/view.aspx?src=" +
|
|
"https://view.officeapps.live.com/op/view.aspx?src=" +
|
|
- _url;
|
|
|
|
|
|
+ encodeURIComponent(_url);
|
|
}
|
|
}
|
|
} else if (_chapterData[this.taskCount][0].type == 13) {
|
|
} else if (_chapterData[this.taskCount][0].type == 13) {
|
|
this.showType = 4;
|
|
this.showType = 4;
|
|
@@ -15987,7 +15987,7 @@ export default {
|
|
this.showType = 2;
|
|
this.showType = 2;
|
|
this.pptImgUrl1 =
|
|
this.pptImgUrl1 =
|
|
"https://view.officeapps.live.com/op/view.aspx?src=" +
|
|
"https://view.officeapps.live.com/op/view.aspx?src=" +
|
|
- _url;
|
|
|
|
|
|
+ encodeURIComponent(_url);
|
|
}
|
|
}
|
|
} else if (_chapterData[this.taskCount][0].type == 13) {
|
|
} else if (_chapterData[this.taskCount][0].type == 13) {
|
|
this.showType = 4;
|
|
this.showType = 4;
|
|
@@ -16719,7 +16719,7 @@ export default {
|
|
-1
|
|
-1
|
|
) {
|
|
) {
|
|
this.pptImgUrl =
|
|
this.pptImgUrl =
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + f;
|
|
|
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
|
|
this.showPDF = false;
|
|
this.showPDF = false;
|
|
this.dialogVisible3 = true;
|
|
this.dialogVisible3 = true;
|
|
} else if (
|
|
} else if (
|
|
@@ -16770,7 +16770,7 @@ export default {
|
|
) != -1
|
|
) != -1
|
|
) {
|
|
) {
|
|
this.pptImgUrl1 =
|
|
this.pptImgUrl1 =
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
|
|
|
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
|
|
// this.dialogVisible3 = true;
|
|
// this.dialogVisible3 = true;
|
|
this.showType = 2;
|
|
this.showType = 2;
|
|
} else if (
|
|
} else if (
|
|
@@ -18064,7 +18064,7 @@ export default {
|
|
} else if (t == 3) {
|
|
} else if (t == 3) {
|
|
this.fulltype = 2;
|
|
this.fulltype = 2;
|
|
this.fullUrl =
|
|
this.fullUrl =
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
|
|
|
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
openSname(n, id, i, uid) {
|
|
openSname(n, id, i, uid) {
|
|
@@ -18169,7 +18169,7 @@ export default {
|
|
|
|
|
|
_this.downLoading = true
|
|
_this.downLoading = true
|
|
var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
|
|
var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
|
|
- let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
|
|
|
|
|
|
+ let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
|
|
var params = {
|
|
var params = {
|
|
Bucket: "ccrb",
|
|
Bucket: "ccrb",
|
|
Key: name
|
|
Key: name
|
|
@@ -18246,7 +18246,7 @@ export default {
|
|
text: "文件加载中...",
|
|
text: "文件加载中...",
|
|
});
|
|
});
|
|
var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
|
|
var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
|
|
- let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
|
|
|
|
|
|
+ let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
|
|
var params = {
|
|
var params = {
|
|
Bucket: "ccrb",
|
|
Bucket: "ccrb",
|
|
Key: name
|
|
Key: name
|