|
@@ -674,6 +674,9 @@ export default {
|
|
|
this.fileList = [];
|
|
|
|
|
|
if (response.result) {
|
|
|
+ if (document.location.href.startsWith("https://")) {
|
|
|
+ response.data = response.data.replace("http://", "https://");
|
|
|
+ }
|
|
|
//导出
|
|
|
this.$message({
|
|
|
showClose: true,
|
|
@@ -686,10 +689,6 @@ export default {
|
|
|
this.importDayStatVisible = false;
|
|
|
|
|
|
this.changePage(1);
|
|
|
-
|
|
|
- if (document.location.href.startsWith("https://")) {
|
|
|
- response.data = response.data.replace("http://", "https://");
|
|
|
- }
|
|
|
} else {
|
|
|
this.$message.warning(response.message + "");
|
|
|
}
|