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
b4b5c1c0
Commit
b4b5c1c0
authored
Apr 11, 2019
by
dahai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
c4fbe9cb
73c27124
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
tagPrint.html
src/main/resources/static/views/tagPrint/tagPrint.html
+1
-7
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+7
-1
No files found.
src/main/resources/static/views/tagPrint/tagPrint.html
View file @
b4b5c1c0
<style>
<style>
form
input
{
border
:
0
;
color
:
black
;
font-weight
:
bold
;
margin-left
:
10px
;
}
.postTable
th
,
.postTable
td
{
.postTable
th
,
.postTable
td
{
text-align
:
center
;
text-align
:
center
;
vertical-align
:
middle
!important
;
vertical-align
:
middle
!important
;
...
@@ -25,7 +19,7 @@
...
@@ -25,7 +19,7 @@
<input
type=
"text"
class=
"form-control"
placeholder=
"身份证号"
ng-model=
"idCard"
/>
<input
type=
"text"
class=
"form-control"
placeholder=
"身份证号"
ng-model=
"idCard"
/>
</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
search
"
ng-click=
"searchTagPrintData()"
>
查询
</button>
<button
class=
"btn btn-primary"
ng-click=
"subSomething()"
>
证件读取
</button>
<button
class=
"btn btn-primary"
ng-click=
"subSomething()"
>
证件读取
</button>
</td>
</td>
</tr>
</tr>
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
b4b5c1c0
...
@@ -35,8 +35,10 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
...
@@ -35,8 +35,10 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
}
}
var
getDetailListById
=
function
(
id
)
{
var
getDetailListById
=
function
(
id
)
{
console
.
log
(
id
)
HttpService
.
getPoliceCardsList
(
id
,
function
(
data
)
{
HttpService
.
getPoliceCardsList
(
id
,
function
(
data
)
{
$scope
.
json
.
policeCardsList
=
data
;
$scope
.
json
.
policeCardsList
=
data
;
console
.
log
(
"---------"
,
$scope
.
json
.
policeCardsList
)
for
(
var
i
=
0
;
i
<
$scope
.
json
.
policeCardsList
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
json
.
policeCardsList
.
length
;
i
++
){
if
(
$scope
.
json
.
policeCardsList
[
i
].
CARD_ID
==
$scope
.
idCard
){
if
(
$scope
.
json
.
policeCardsList
[
i
].
CARD_ID
==
$scope
.
idCard
){
$scope
.
json
.
policeCardsList
[
i
].
styleClass
=
"bg-danger"
$scope
.
json
.
policeCardsList
[
i
].
styleClass
=
"bg-danger"
...
@@ -82,14 +84,16 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
...
@@ -82,14 +84,16 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
var
doQueryByIdCard
=
function
(
idcard
){
var
doQueryByIdCard
=
function
(
idcard
){
HttpService
.
selectTagPrintData
(
idcard
,
function
(
data
){
HttpService
.
selectTagPrintData
(
idcard
,
function
(
data
){
$
(
".search"
).
removeAttr
(
"disabled"
);
console
.
log
(
data
)
console
.
log
(
data
)
if
(
data
.
state
==
1
){
if
(
data
.
state
==
1
){
$scope
.
json
.
isShow
=
true
;
$scope
.
json
.
isShow
=
true
;
getPoliceListDataNotChecked
();
getPoliceListDataNotChecked
();
getDetailListById
(
data
.
id
)
getDetailListById
(
data
.
id
)
}
else
if
(
data
.
state
==
2
){
}
else
if
(
data
.
state
==
2
){
if
(
data
.
checkName
==
$rootScope
.
loginData
.
name
){
if
(
data
.
checkName
==
=
$rootScope
.
loginData
.
name
){
$scope
.
json
.
isShow
=
true
;
$scope
.
json
.
isShow
=
true
;
getDetailListById
(
data
.
id
)
for
(
var
i
=
0
;
i
<
$scope
.
json
.
policeCardsList
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
json
.
policeCardsList
.
length
;
i
++
){
if
(
$scope
.
json
.
policeCardsList
[
i
].
CARD_ID
==
idcard
&&
$scope
.
json
.
policeCardsList
[
i
].
styleClass
==
''
){
if
(
$scope
.
json
.
policeCardsList
[
i
].
CARD_ID
==
idcard
&&
$scope
.
json
.
policeCardsList
[
i
].
styleClass
==
''
){
$scope
.
json
.
policeCardsList
[
i
].
styleClass
=
"bg-danger"
$scope
.
json
.
policeCardsList
[
i
].
styleClass
=
"bg-danger"
...
@@ -106,7 +110,9 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
...
@@ -106,7 +110,9 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
}
}
})
})
}
}
$scope
.
searchTagPrintData
=
function
(){
$scope
.
searchTagPrintData
=
function
(){
$
(
".search"
).
prop
(
"disabled"
,
"true"
);
doQueryByIdCard
(
$scope
.
idCard
)
doQueryByIdCard
(
$scope
.
idCard
)
}
}
$scope
.
subSomething
=
function
()
{
$scope
.
subSomething
=
function
()
{
...
...
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