Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
6e5a61a6
Commit
6e5a61a6
authored
Jun 01, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加功能:离线导出
parent
92bcbf49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
el-table-query.js
Bailun.DC.Web/wwwroot/js/component/el-table-query.js
+1
-1
No files found.
Bailun.DC.Web/wwwroot/js/component/el-table-query.js
View file @
6e5a61a6
...
@@ -188,7 +188,7 @@
...
@@ -188,7 +188,7 @@
that
.
$prompt
(
''
,
'离线导出'
,
{
closeOnClickModal
:
false
,
inputPlaceholder
:
name
}).
then
((
result
)
=>
{
that
.
$prompt
(
''
,
'离线导出'
,
{
closeOnClickModal
:
false
,
inputPlaceholder
:
name
}).
then
((
result
)
=>
{
//异步请求
//异步请求
if
(
that
.
$refs
.
formFilter
.
validate
())
{
if
(
that
.
$refs
.
formFilter
.
validate
())
{
that
.
$http
.
post
(
"/Component/OfflineDownload/Export"
,
$
.
extend
({
name
:
result
.
value
},
((
filterParams
.
constructor
===
Object
?
filterParams
:
null
)
||
that
.
filterParams
)),
{
emulateJSON
:
true
}).
then
(
function
(
response
)
{
that
.
$http
.
post
(
"/Component/OfflineDownload/Export"
,
$
.
extend
({
name
:
result
.
value
||
name
},
((
filterParams
.
constructor
===
Object
?
filterParams
:
null
)
||
that
.
filterParams
)),
{
emulateJSON
:
true
}).
then
(
function
(
response
)
{
var
result
=
response
.
data
;
var
result
=
response
.
data
;
if
(
response
.
status
===
200
&&
result
.
result
)
{
if
(
response
.
status
===
200
&&
result
.
result
)
{
that
.
$message
({
message
:
'正在导出,请稍后在离线下载页面下载文件!'
,
type
:
'success'
});
that
.
$message
({
message
:
'正在导出,请稍后在离线下载页面下载文件!'
,
type
:
'success'
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment