Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
79dcf199
Commit
79dcf199
authored
Apr 23, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印条数限制
parent
28b7f30b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
receitp.html
src/main/resources/static/views/receitp/receitp.html
+5
-5
receitp.js
src/main/resources/static/views/receitp/receitp.js
+8
-1
No files found.
src/main/resources/static/views/receitp/receitp.html
View file @
79dcf199
...
...
@@ -156,19 +156,19 @@
<table
cellpadding=
"0"
cellspacing=
"0"
border=
"1"
style=
"text-align: center;"
>
<thead>
<tr>
<th
width=
"60"
>
<th
width=
"60"
style=
"text-align: center;"
>
序号
</th>
<th
width=
"130"
>
<th
width=
"130"
style=
"text-align: center;"
>
身份证受理组号
</th>
<th
colspan=
"2"
>
<th
colspan=
"2"
style=
"text-align: center;"
>
身份证所属派出所名称
</th>
<th
width=
"80"
>
<th
width=
"80"
style=
"text-align: center;"
>
数量
</th>
<th
width=
"145"
>
<th
width=
"145"
style=
"text-align: center;"
>
备注
</th>
</tr>
...
...
src/main/resources/static/views/receitp/receitp.js
View file @
79dcf199
...
...
@@ -127,7 +127,11 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
endDate
:
endDate
,
list
:[]
}
var
checks
=
$
(
".checkAllPolice:checked"
)
var
checks
=
$
(
".checkAllPolice:checked"
);
if
(
checks
.
length
>
37
){
$scope
.
chooseCount
=
checks
.
length
;
MessageService
.
showAlert
(
"一张纸上只能显示37条数据,本次已选择"
+
$scope
.
chooseCount
+
"条,请去掉"
+
37
-
$scope
.
chooseCount
+
"条数据再打印"
)
}
else
{
for
(
var
i
=
0
;
i
<
checks
.
length
;
i
++
){
for
(
var
j
=
0
;
j
<
JSON
.
parse
(
checks
[
i
].
value
).
length
;
j
++
){
json
.
list
.
push
(
JSON
.
parse
(
checks
[
i
].
value
)[
j
].
POLICE_CODE
)
...
...
@@ -161,10 +165,13 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
LODOP
.
ADD_PRINT_TABLE
(
110
,
3
,
740
,
"100%"
,
document
.
getElementById
(
"divPrint"
).
innerHTML
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"HOrient"
,
2
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"Vorient"
,
3
);
LODOP
.
SET_PRINTER_INDEXA
(
-
1
);
LODOP
.
PREVIEW
();
// LODOP.PRINT();
})
})
}
}
...
...
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