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
c39909d2
Commit
c39909d2
authored
Mar 02, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化:组件功能
parent
382a3d01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
el-table-query.js
Bailun.DC.Web/wwwroot/js/component/el-table-query.js
+3
-3
No files found.
Bailun.DC.Web/wwwroot/js/component/el-table-query.js
View file @
c39909d2
...
@@ -98,9 +98,9 @@
...
@@ -98,9 +98,9 @@
Vue
.
set
(
that
.
filterParams
,
'currentPage'
,
1
);
Vue
.
set
(
that
.
filterParams
,
'currentPage'
,
1
);
}
}
Vue
.
set
(
that
.
filterParams
,
'code'
,
that
.
code
);
Vue
.
set
(
that
.
filterParams
,
'code'
,
that
.
code
);
if
(
!
filterParams
)
{
if
(
!
filterParams
||
filterParams
.
constructor
===
Array
)
{
//获取过虑条件
//获取过虑条件
this
.
getFilter
();
this
.
getFilter
(
filterParams
);
//查询
//查询
that
.
$refs
.
table
.
onSearch
(
null
,
cb
);
that
.
$refs
.
table
.
onSearch
(
null
,
cb
);
}
else
{
}
else
{
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
var
that
=
this
;
var
that
=
this
;
//异步请求
//异步请求
if
(
that
.
$refs
.
formFilter
.
validate
())
{
if
(
that
.
$refs
.
formFilter
.
validate
())
{
that
.
$http
.
post
(
"/Component/Table/Export"
,
(
filterParams
||
that
.
filterParams
),
{
emulateJSON
:
true
},
{
that
.
$http
.
post
(
"/Component/Table/Export"
,
(
(
filterParams
.
constructor
===
Object
?
filterParams
:
null
)
||
that
.
filterParams
),
{
emulateJSON
:
true
},
{
responseType
:
'arraybuffer'
,
responseType
:
'arraybuffer'
,
headers
:
{
headers
:
{
'Accept'
:
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=utf-8'
'Accept'
:
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=utf-8'
...
...
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