Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-solr
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
常超
xzxt-solr
Commits
f6423ede
Commit
f6423ede
authored
Apr 23, 2019
by
wangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出数据修改
parent
1a548471
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
69 additions
and
75 deletions
+69
-75
src/main/webapp/macx.jsp
+21
-25
src/main/webapp/rasc.jsp
+6
-6
src/main/webapp/rycx.jsp
+7
-7
src/main/webapp/static/rasc/js/navCategory_zj.js
+7
-13
src/main/webapp/szrycx.jsp
+7
-6
src/main/webapp/szrycxcx.jsp
+7
-6
src/main/webapp/wzmstcx.jsp
+7
-6
src/main/webapp/wzmstcxcx.jsp
+7
-6
No files found.
src/main/webapp/macx.jsp
View file @
f6423ede
...
...
@@ -1864,11 +1864,12 @@
}
});
});
//解析已选待选表头
function
getTableSetDom
()
{
var
searchType
=
navCategory
.
searchType
;
if
(
searchType
)
{
var
table_header_info
;
var
list_config
;
var
table_header_info
;
//默认表头数组 目前,因保存查询表头记录,默认表头弃用
var
list_config
;
//待选表头数组
if
(
searchType
==
"xyr"
)
{
table_header_info
=
xyrcheckConfig
[
'checkList'
][
0
];
list_config
=
xyrwaitingConfig
[
'checkList'
][
0
];
...
...
@@ -2082,7 +2083,7 @@
id
=
groupid
;
}
str
+=
"<div class=
\"
newNav
\"
id=
\"
"
+
id
+
"
\"
>"
;
str
+=
"<div class=
\"
newNavTop
\"
>"
+
text
+
"分类</div>"
;
str
+=
"<div class=
\"
newNavTop
\"
>"
+
text
+
"分类</div>"
;
//分类显示
str
+=
"<div class=
\"
newNavbody
\"
>"
;
str
+=
"<div class=
\"
newLayoutDiv pull-clear
\"
>"
;
var
daohan
=
""
;
...
...
@@ -2090,45 +2091,35 @@
daohan
=
item
.
daohan
;;
str
+=
item
.
daohan
+
"</div>"
;
}
else
{
str
+=
"<a onclick=
\"
navCategory.searchForm('"
+
searchType
+
"');
\"
class=
\"
newNavA pull-left
\"
>"
+
text
+
"导航</a>"
;
str
+=
"<a onclick=
\"
navCategory.searchForm('"
+
searchType
+
"');
\"
class=
\"
newNavA pull-left
\"
>"
+
text
+
"导航</a>"
;
//导航显示
str
+=
"<a onclick=
\"
navCategory.goSlide(this)
\"
class=
\"
newNavA newNavBtn newMore newNavTools pull-right
\"
>更多</a>"
;
str
+=
"<div class=
\"
fillColorCheckBox pull-right
\"
></div></div>"
;
}
str
+=
"<div class=
\"
newNavInfo
\"
isshowed=
\"
false
\"
><div class=
\"
newClear
\"
></div>"
;
var
num
=
item
.
groupList
.
length
-
1
;
$
.
each
(
item
.
groupList
,
function
(
i
,
item
){
//导航栏选择解析
var
groupvalue
=
item
.
groupValue
;
//十指指纹编号和人员DNA编号分类(已采集,未采集)
if
(
groupid
==
"SZZWBH"
||
groupid
==
'RYDNABH'
)
{
if
(
groupvalue
==
null
||
groupvalue
==
'null'
)
{
groupvalue
=
"未采集"
;
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getSingleCodeLevel('"
+
searchType
+
"','"
+
groupid
+
"','"
+
item
.
groupValue
+
"','"
+
groupvalue
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
else
{
groupvalue
=
"已采集"
;
if
(
i
==
num
){
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getSingleCodeLevel('"
+
searchType
+
"','"
+
groupid
+
"','"
+
item
.
groupValue
+
"','"
+
groupvalue
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
num
+
")</a>"
;
}
}
}
else
{
if
(
groupvalue
==
null
||
groupvalue
==
'null'
)
{
groupvalue
=
"未知"
;
}
//公安机关机构代码解析,共四级,
if
(
groupid
.
indexOf
(
"GAJGJGDM"
)
!=-
1
)
{
if
(
groupid
.
indexOf
(
"GAJGJGDM_FIRST"
)
>
0
){
if
(
groupvalue
==
"未知"
)
{
if
(
groupid
.
indexOf
(
"XXDJDW"
)
!=-
1
){
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getGajgjgdmFirstLevel('"
+
searchType
+
"','"
+
groupid
.
replace
(
"GAJGJGDM_FIRST"
,
"GAJGMC"
)
+
"','"
+
groupvalue
+
"','','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
else
{
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getGajgjgdmFirstLevel('"
+
searchType
+
"','"
+
groupid
.
replace
(
"GAJGJGDM_FIRST"
,
"GAJGMC"
)
+
"','"
+
groupvalue
+
"','','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
}
else
{
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getGajgjgdmFirstLevel('"
+
searchType
+
"','"
+
groupid
.
replace
(
"GAJGJGDM_FIRST"
,
"GAJGJGDM_SECOND"
)
+
"','"
+
item
.
groupValue
+
"','"
+
item
.
groupid
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
...
...
@@ -2149,7 +2140,6 @@
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getGajgmcLevel('"
+
searchType
+
"','"
+
groupid
.
replace
(
"GAJGJGDM_FOURTH"
,
"GAJGMC"
)
+
"','"
+
item
.
groupValue
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
else
{
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getGajgjgdmFourthLevel('"
+
searchType
+
"','"
+
groupid
.
replace
(
"GAJGJGDM_FOURTH"
,
"GAJGMC"
)
+
"','"
+
item
.
groupValue
+
"','"
+
item
.
groupid
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
}
else
if
(
groupid
.
indexOf
(
"GAJGMC"
)
>
0
){
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getGajgmcLevel('"
+
searchType
+
"','"
+
groupid
+
"','"
+
item
.
groupValue
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
...
...
@@ -2234,19 +2224,21 @@
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.searchFormByDate('"
+
searchType
+
"','"
+
groupid
+
"','"
+
item
.
groupValue
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
else
{
str
+=
"<a class=
\"
newNavA
\"
style=
\"
text-decoration:none;
\"
onclick=
\"
navCategory.getSingleCodeLevel('"
+
searchType
+
"','"
+
groupid
+
"','"
+
item
.
groupValue
+
"','"
+
groupvalue
+
"','"
+
id
+
"')
\"
>"
+
groupvalue
+
"("
+
item
.
groupNum
+
")</a>"
;
}
}
}
}
});
str
+=
" </div> </div> </div>"
;
});
$
(
"#groupList"
).
html
(
str
);
}
//导出功能
function
daochu
(){
if
(
!
total
){
layer
.
alert
(
"请先查询!"
);
}
else
{
if
(
total
<=
5000
){
var
selectedCols
=
""
;
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
if
(
selected_ul
.
length
>
0
){
selected_ul
.
each
(
function
(
index
){
if
(
index
==
selected_ul
.
length
-
1
){
...
...
@@ -2255,9 +2247,7 @@
selectedCols
+=
$
(
this
).
attr
(
'name'
)
+
":"
+
$
(
this
).
attr
(
'rel'
)
+
","
;
}
});
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
var
searchType
=
navCategory
.
searchType
;
var
url
=
""
;
var
sorlInstance
=
""
;
...
...
@@ -2275,13 +2265,17 @@
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
){
//把所有被选中的复选框的值存入数组
checkIds
.
push
(
item
.
id
);
});
}
if
(
checkIds
.
length
!=
0
||
total
<
5000
){
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
$
.
post
(
url
,
{
"listMapStr"
:
listMapStr
,
"selectedCols"
:
selectedCols
,
"maxValue"
:
5000
,
"sorlInstance"
:
sorlInstance
,
"checkIds[]"
:
checkIds
},
function
(
data
){
$
(
"#fileName"
).
val
(
data
);
$
(
"#downform"
).
submit
();
layer
.
close
(
index
);
});
}
}
else
{
}
else
{
layer
.
alert
(
"最大导出数量不能大于5000条!"
);
}
}
...
...
@@ -2335,6 +2329,7 @@
<
/div
>
{{
/
for
}}
</script>
<script
id=
"pagerXyrPageData"
type=
"text/x-jsrender"
>
{{
for
#
data
}}
<
div
class
=
"currResult"
>
...
...
@@ -2433,6 +2428,7 @@
<
/p
>
<
/div
>
{{
/
for
}}
</script>
<div
class=
"backToTop"
title=
"返回顶部"
style=
"display: none;"
><img
src=
"static/rasc/images/gotop.png"
></div>
</body>
...
...
src/main/webapp/rasc.jsp
View file @
f6423ede
...
...
@@ -3044,7 +3044,6 @@
if
(
!
total
)
{
layer
.
alert
(
"请先查询!"
);
}
else
{
if
(
total
<=
5000
)
{
var
selectedCols
=
""
;
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
if
(
selected_ul
.
length
>
0
)
{
...
...
@@ -3055,9 +3054,6 @@
selectedCols
+=
$
(
this
).
attr
(
'name'
)
+
":"
+
$
(
this
).
attr
(
'rel'
)
+
","
;
}
});
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
var
searchType
=
navCategory
.
searchType
;
var
url
=
""
;
var
sorlInstance
=
""
;
...
...
@@ -3075,6 +3071,11 @@
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
)
{
//把所有被选中的复选框的值存入数组
checkIds
.
push
(
item
.
id
);
});
}
if
(
checkIds
.
length
!=
0
||
total
<
5000
){
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
$
.
post
(
url
,
{
"listMapStr"
:
listMapStr
,
"selectedCols"
:
selectedCols
,
...
...
@@ -3086,8 +3087,7 @@
$
(
"#downform"
).
submit
();
layer
.
close
(
index
);
});
}
}
else
{
}
else
{
layer
.
alert
(
"最大导出数量不能大于5000条!"
);
}
}
...
...
src/main/webapp/rycx.jsp
View file @
f6423ede
...
...
@@ -930,7 +930,6 @@
if
(
!
total
){
layer
.
alert
(
"请先查询!"
);
}
else
{
if
(
total
<=
5000
){
var
selectedCols
=
""
;
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
if
(
selected_ul
.
length
>
0
){
...
...
@@ -941,22 +940,23 @@
selectedCols
+=
$
(
this
).
attr
(
'name'
)
+
":"
+
$
(
this
).
attr
(
'rel'
)
+
","
;
}
});
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
var
searchType
=
navCategory
.
searchType
;
var
url
=
"createFileRy"
;
var
checkIds
=
[];
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
){
//把所有被选中的复选框的值存入数组
checkIds
.
push
(
item
.
id
);
});
}
if
(
checkIds
.
length
!=
0
||
total
<
5000
){
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
$
.
post
(
url
,
{
"listMapStr"
:
listMapStr
,
"selectedCols"
:
selectedCols
,
"maxValue"
:
5000
,
"checkIds[]"
:
checkIds
},
function
(
data
){
$
(
"#fileName"
).
val
(
data
);
$
(
"#downform"
).
submit
();
layer
.
close
(
index
);
});
}
}
else
{
}
else
{
layer
.
alert
(
"最大导出数量不能大于5000条!"
);
}
}
...
...
src/main/webapp/static/rasc/js/navCategory_zj.js
View file @
f6423ede
...
...
@@ -15,6 +15,7 @@ var navCategory = {
navCheckedAllFlag
:
false
,
searchForm
:
function
(
searchType
,
groupid
,
groupvalue
,
zdyl
,
daohan
)
{
//searchType 为查询类型(案件、受害人、嫌疑人等)
var
navFieldMap
=
navCategory
.
navFieldMap
,
type
=
"case_div"
,
forms
=
$
(
"#"
+
type
+
" .div_form[flag='true']"
),
...
...
@@ -165,7 +166,7 @@ var navCategory = {
searchTerm
.
daohan
=
daohan
;
var
presentType
=
""
;
var
url
=
""
;
var
sorlInstance
=
""
;
var
sorlInstance
=
""
;
//需要查询的实例的名字
if
(
searchType
==
'aj'
){
presentType
=
$
(
'input[type=radio][name="asjPresentType"]:checked '
).
val
();
url
=
"listTbStAsj"
;
...
...
@@ -229,6 +230,7 @@ var navCategory = {
getTableSetDom
();
}
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
//解析表头数据,将selectedCols 传入后台保存
var
selectedCols
=
""
;
selected_ul
.
each
(
function
(
index
){
if
(
index
==
selected_ul
.
length
-
1
){
...
...
@@ -238,6 +240,7 @@ var navCategory = {
}
});
searchTerm
.
selectedCols
=
selectedCols
;
//查询结果操作栏 添加庸才合一连接
if
(
selected_ul
.
length
>
0
)
{
var
s
=
"[[{title:'操作',field:'cz',align:'center',width:50,checkbox: true},"
selected_ul
.
each
(
function
(
index
){
...
...
@@ -270,7 +273,7 @@ var navCategory = {
fit
:
false
,
pagination
:
true
,
pageSize
:
10
,
pageList
:
[
10
,
20
],
//rows
pageList
:
[
10
,
20
,
30
,
40
,
50
,
100
],
//rows
pageNumber
:
1
,
loadFilter
:
function
(
data
)
{
zxajUrl
=
data
.
configMap
.
zxajurl
;
...
...
@@ -291,16 +294,7 @@ var navCategory = {
}
}
}
/* zxajUrl = data.configMap.zxajurl;
for(var i=0;i<data.rows.length;i++){
var bh = data.rows[i].id;
var stbh = data.rows[i].wzmst_stbh;
console.log("尸体编号"+data.rows[i].wzmst_stbh);
if(stbh.indexOf("S")==0){
data.rows[i].id="<a onclick=\"navCategory.stbhDetail('"+stbh+"','"+zxajUrl+"')\" title='查看尸体详情'>"+stbh+"</a>";
}
}*/
total
=
data
.
total
;
total
=
data
.
total
;
//查询结果总数
listMapStr
=
data
.
flag
;
zhyyPath
=
data
.
configMap
.
zhyyPath
;
mainUrl
=
data
.
configMap
.
mainurl
;
...
...
@@ -328,7 +322,7 @@ var navCategory = {
frozenColumns
:
[[]],
pagination
:
true
,
pageSize
:
10
,
pageList
:
[
10
,
20
],
//rows
pageList
:
[
10
,
20
,
30
,
40
,
50
,
100
],
//rows
pageNumber
:
1
,
loadFilter
:
function
(
data
)
{
zxajUrl
=
data
.
configMap
.
zxajurl
;
...
...
src/main/webapp/szrycx.jsp
View file @
f6423ede
...
...
@@ -568,7 +568,6 @@
if
(
!
total
){
layer
.
alert
(
"请先查询!"
);
}
else
{
if
(
total
<=
5000
){
var
selectedCols
=
""
;
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
if
(
selected_ul
.
length
>
0
){
...
...
@@ -579,9 +578,6 @@
selectedCols
+=
$
(
this
).
attr
(
'name'
)
+
":"
+
$
(
this
).
attr
(
'rel'
)
+
","
;
}
});
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
var
searchType
=
navCategory
.
searchType
;
var
url
=
""
;
var
sorlInstance
=
""
;
...
...
@@ -593,13 +589,18 @@
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
){
//把所有被选中的复选框的值存入数组
checkIds
.
push
(
item
.
id
);
});
}
if
(
checkIds
.
length
!=
0
||
total
<
5000
){
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
$
.
post
(
url
,
{
"listMapStr"
:
listMapStr
,
"selectedCols"
:
selectedCols
,
"maxValue"
:
5000
,
"sorlInstance"
:
sorlInstance
,
"checkIds[]"
:
checkIds
},
function
(
data
){
$
(
"#fileName"
).
val
(
data
);
$
(
"#downform"
).
submit
();
layer
.
close
(
index
);
});
}
}
else
{
}
else
{
layer
.
alert
(
"最大导出数量不能大于5000条!"
);
}
}
...
...
src/main/webapp/szrycxcx.jsp
View file @
f6423ede
...
...
@@ -512,7 +512,6 @@
if
(
!
total
){
layer
.
alert
(
"请先查询!"
);
}
else
{
if
(
total
<=
5000
){
var
selectedCols
=
""
;
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
if
(
selected_ul
.
length
>
0
){
...
...
@@ -523,9 +522,6 @@
selectedCols
+=
$
(
this
).
attr
(
'name'
)
+
":"
+
$
(
this
).
attr
(
'rel'
)
+
","
;
}
});
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
var
searchType
=
navCategory
.
searchType
;
var
url
=
""
;
var
sorlInstance
=
""
;
...
...
@@ -537,13 +533,18 @@
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
){
//把所有被选中的复选框的值存入数组
checkIds
.
push
(
item
.
id
);
});
}
if
(
checkIds
.
length
!=
0
||
total
<
5000
){
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
$
.
post
(
url
,
{
"listMapStr"
:
listMapStr
,
"selectedCols"
:
selectedCols
,
"maxValue"
:
5000
,
"sorlInstance"
:
sorlInstance
,
"checkIds[]"
:
checkIds
},
function
(
data
){
$
(
"#fileName"
).
val
(
data
);
$
(
"#downform"
).
submit
();
layer
.
close
(
index
);
});
}
}
else
{
}
else
{
layer
.
alert
(
"最大导出数量不能大于5000条!"
);
}
}
...
...
src/main/webapp/wzmstcx.jsp
View file @
f6423ede
...
...
@@ -712,7 +712,6 @@
if
(
!
total
){
layer
.
alert
(
"请先查询!"
);
}
else
{
if
(
total
<=
5000
){
var
selectedCols
=
""
;
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
if
(
selected_ul
.
length
>
0
){
...
...
@@ -723,9 +722,6 @@
selectedCols
+=
$
(
this
).
attr
(
'name'
)
+
":"
+
$
(
this
).
attr
(
'rel'
)
+
","
;
}
});
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
var
searchType
=
navCategory
.
searchType
;
var
url
=
""
;
var
sorlInstance
=
""
;
...
...
@@ -740,13 +736,18 @@
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
){
//把所有被选中的复选框的值存入数组
checkIds
.
push
(
item
.
id
);
});
}
if
(
checkIds
.
length
!=
0
||
total
<
5000
){
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
$
.
post
(
url
,
{
"listMapStr"
:
listMapStr
,
"selectedCols"
:
selectedCols
,
"maxValue"
:
5000
,
"sorlInstance"
:
sorlInstance
,
"checkIds[]"
:
checkIds
},
function
(
data
){
$
(
"#fileName"
).
val
(
data
);
$
(
"#downform"
).
submit
();
layer
.
close
(
index
);
});
}
}
else
{
}
else
{
layer
.
alert
(
"最大导出数量不能大于5000条!"
);
}
}
...
...
src/main/webapp/wzmstcxcx.jsp
View file @
f6423ede
...
...
@@ -521,7 +521,6 @@
if
(
!
total
){
layer
.
alert
(
"请先查询!"
);
}
else
{
if
(
total
<=
5000
){
var
selectedCols
=
""
;
var
selected_ul
=
$
(
'#selected_ul li'
).
find
(
'div'
);
if
(
selected_ul
.
length
>
0
){
...
...
@@ -532,9 +531,6 @@
selectedCols
+=
$
(
this
).
attr
(
'name'
)
+
":"
+
$
(
this
).
attr
(
'rel'
)
+
","
;
}
});
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
var
searchType
=
navCategory
.
searchType
;
var
url
=
""
;
var
sorlInstance
=
""
;
...
...
@@ -546,13 +542,18 @@
$
.
each
(
$
(
'#Table'
).
datagrid
(
'getChecked'
),
function
(
index
,
item
){
//把所有被选中的复选框的值存入数组
checkIds
.
push
(
item
.
id
);
});
}
if
(
checkIds
.
length
!=
0
||
total
<
5000
){
var
index
=
layer
.
load
(
1
,
{
shade
:
[
0.1
,
'#fff'
]
//0.1透明度的白色背景
});
$
.
post
(
url
,
{
"listMapStr"
:
listMapStr
,
"selectedCols"
:
selectedCols
,
"maxValue"
:
5000
,
"sorlInstance"
:
sorlInstance
,
"checkIds[]"
:
checkIds
},
function
(
data
){
$
(
"#fileName"
).
val
(
data
);
$
(
"#downform"
).
submit
();
layer
.
close
(
index
);
});
}
}
else
{
}
else
{
layer
.
alert
(
"最大导出数量不能大于5000条!"
);
}
}
...
...
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