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
b04c7b86
Commit
b04c7b86
authored
Mar 17, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签打印
parent
c14b8bdb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
1 deletion
+54
-1
tagPrint.html
src/main/resources/static/views/tagPrint/tagPrint.html
+1
-1
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+53
-0
No files found.
src/main/resources/static/views/tagPrint/tagPrint.html
View file @
b04c7b86
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</td>
</td>
<td
style=
"text-align: left;"
>
<td
style=
"text-align: left;"
>
<button
class=
"btn btn-primary"
ng-click=
"searchTagPrintData()"
>
查询
</button>
<button
class=
"btn btn-primary"
ng-click=
"searchTagPrintData()"
>
查询
</button>
<button
class=
"btn btn-primary"
>
证件读取
</button>
<button
class=
"btn btn-primary"
ng-click=
"subSomething()"
>
证件读取
</button>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
b04c7b86
...
@@ -71,6 +71,59 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
...
@@ -71,6 +71,59 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
})
})
}
}
var
postParam
=
{
idCard
:
''
}
var
doQueryByIdCard
=
function
(
idcard
){
console
.
log
(
idcard
)
HttpService
.
selectTagPrintData
(
idcard
,
function
(
data
){
console
.
log
(
data
)
if
(
data
){
getPoliceListDataNotChecked
();
}
else
{
MessageService
.
showAlert
(
"生成交接单失败"
)
getPoliceListDataNotChecked
();
}
})
}
$scope
.
subSomething
=
function
()
{
$scope
.
show
=
false
;
var
flag
=
0
;
if
(
document
.
getElementById
(
"aaa"
).
OpenComm
(
1001
)
==
1
)
{
flag
=
1
;
//alert(i);
}
else
{
for
(
var
i
=
1
;
i
<
3
;
i
++
)
{
if
(
document
.
getElementById
(
"aaa"
).
OpenComm
(
i
)
==
1
)
{
flag
=
1
;
//alert(i);
break
;
}
if
(
flag
!=
1
)
{
alert
(
"打开端口失败"
);
}
}
}
if
(
flag
==
1
)
{
if
(
document
.
getElementById
(
"aaa"
).
Authen
()
==
1
)
{
var
ret
=
document
.
getElementById
(
"aaa"
).
ReadCardPath
(
"c:
\
\"
, 1);
if (ret == 1 || ret == 3) {
postParam.idCard = document.getElementById("
aaa
").sIDNo;
doQueryByIdCard(postParam.idCard)
}
}
else {
alert("
找卡错误
,
请重新放卡
!
");
}
}
aaa.EndComm();
}
$scope.PreviewMytableRotate = function(){
$scope.PreviewMytableRotate = function(){
var LODOP = getLodop();
var LODOP = getLodop();
...
...
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