Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2f4ca57f
authored
Jun 24, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
导出文件 被拦截替代方式修改
1 parent
1a6ba506
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
src/views/alarmCenter/alarm.vue
src/views/alarmCenter/alarmLog.vue
src/views/reportManage/statistics_car.vue
src/views/reportManage/statistics_device.vue
src/views/alarmCenter/alarm.vue
View file @
2f4ca57
...
@@ -76,7 +76,7 @@ import moment from "moment";
...
@@ -76,7 +76,7 @@ import moment from "moment";
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
GlsxTable
from
"@/components/glsx-table/table"
;
import
GlsxTable
from
"@/components/glsx-table/table"
;
import
{
GET_ALARM_LIST
,
GET_ALARM_EXPORT
}
from
"@/services/alarmCenter"
;
import
{
GET_ALARM_LIST
,
GET_ALARM_EXPORT
}
from
"@/services/alarmCenter"
;
import
{
deepClone
,
showToast
}
from
"@/utils/util"
;
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
// import { alarmShortcuts } from "@/common"
// import { alarmShortcuts } from "@/common"
import
qs
from
'qs'
import
qs
from
'qs'
export
default
{
export
default
{
...
@@ -188,7 +188,8 @@ export default {
...
@@ -188,7 +188,8 @@ export default {
if
(
res
.
code
!=
200
)
{
if
(
res
.
code
!=
200
)
{
return
false
;
return
false
;
}
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
)
});
});
},
},
...
...
src/views/alarmCenter/alarmLog.vue
View file @
2f4ca57
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
<
script
>
<
script
>
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
{
GET_ALARM_HANDLE_LOG
,
GET_ALARM_HANDLE_LOG_EXPORT
}
from
"@/services/alarmCenter"
;
import
{
GET_ALARM_HANDLE_LOG
,
GET_ALARM_HANDLE_LOG_EXPORT
}
from
"@/services/alarmCenter"
;
import
{
deepClone
}
from
"@/utils/util"
;
import
{
deepClone
,
downFileByPath
}
from
"@/utils/util"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
{
alarmLogShortcuts
}
from
"@/common"
import
{
alarmLogShortcuts
}
from
"@/common"
import
GlsxTable
from
"@/components/glsx-table/table"
;
import
GlsxTable
from
"@/components/glsx-table/table"
;
...
@@ -168,7 +168,8 @@ export default {
...
@@ -168,7 +168,8 @@ export default {
if
(
res
.
code
!=
200
)
{
if
(
res
.
code
!=
200
)
{
return
false
;
return
false
;
}
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
)
});
});
},
},
...
...
src/views/reportManage/statistics_car.vue
View file @
2f4ca57
...
@@ -61,7 +61,7 @@ import {
...
@@ -61,7 +61,7 @@ import {
GET_OPEREPORT_VEHICLE_SEARCH
,
GET_OPEREPORT_VEHICLE_SEARCH
,
}
from
"services/report"
;
}
from
"services/report"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
{
deepClone
,
showToast
}
from
"@/utils/util"
;
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
import
GlsxDialog
from
"@/components/dialog"
;
import
GlsxDialog
from
"@/components/dialog"
;
import
{
staticReportCarShortcuts
}
from
"@/common"
;
import
{
staticReportCarShortcuts
}
from
"@/common"
;
export
default
{
export
default
{
...
@@ -155,7 +155,8 @@ export default {
...
@@ -155,7 +155,8 @@ export default {
if
(
res
.
code
!=
200
)
{
if
(
res
.
code
!=
200
)
{
return
false
;
return
false
;
}
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
);
});
});
},
},
...
...
src/views/reportManage/statistics_device.vue
View file @
2f4ca57
...
@@ -61,7 +61,7 @@ import {
...
@@ -61,7 +61,7 @@ import {
GET_OPEREPORT_DEVICE_EXPORT
,
GET_OPEREPORT_DEVICE_EXPORT
,
}
from
"services/report"
;
}
from
"services/report"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
GlsxOrganization
from
"@/components/glsx-organization"
;
import
{
deepClone
,
showToast
}
from
"@/utils/util"
;
import
{
deepClone
,
showToast
,
downFileByPath
}
from
"@/utils/util"
;
import
GlsxDialog
from
"@/components/dialog"
;
import
GlsxDialog
from
"@/components/dialog"
;
import
{
staticReportCarShortcuts
}
from
'@/common'
import
{
staticReportCarShortcuts
}
from
'@/common'
export
default
{
export
default
{
...
@@ -155,7 +155,8 @@ export default {
...
@@ -155,7 +155,8 @@ export default {
if
(
res
.
code
!=
200
)
{
if
(
res
.
code
!=
200
)
{
return
false
;
return
false
;
}
}
window
.
open
(
res
.
data
);
// window.open(res.data);
downFileByPath
(
res
.
data
)
});
});
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment