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
19e0f001
Commit
19e0f001
authored
Mar 09, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
411154e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
18 deletions
+21
-18
app.js
src/main/resources/static/js/app.js
+15
-12
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+6
-6
No files found.
src/main/resources/static/js/app.js
View file @
19e0f001
...
@@ -199,26 +199,29 @@ angular.module('AvatarCheck', [
...
@@ -199,26 +199,29 @@ angular.module('AvatarCheck', [
}
}
$scope
.
addQuickCardAccu
=
function
(){
$scope
.
addQuickCardAccu
=
function
(){
var
check
=
$
(
".accu:checked"
).
val
();
var
idx
=
$
(
".accu:checked"
).
val
();
console
.
log
(
check
);
var
check
=
idx
.
split
(
"+"
);
var
json
=
{};
var
json
=
{};
json
.
acceptNo
=
check
.
ACCEPT_NO
;
json
.
acceptNo
=
check
[
0
];
json
.
cardType
=
check
.
CARD_TYPE
;
json
.
cardType
=
check
[
2
];
json
.
countyCode
=
check
.
COUNTY_CODE
;
json
.
countyCode
=
check
[
1
];
json
.
name
=
check
.
NAME
;
json
.
name
=
$rootScope
.
loginData
.
name
;
console
.
log
(
json
)
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
console
.
log
(
$scope
.
searchInput
)
console
.
log
(
$scope
.
searchInput
)
$scope
.
doSearch
(
$scope
.
searchInput
)
$scope
.
doSearch
(
$scope
.
searchInput
)
})
})
}
}
$scope
.
addQuickCardProd
=
function
(){
$scope
.
addQuickCardProd
=
function
(){
var
check
=
$
(
".prod:checked"
).
val
();
var
idx
=
$
(
".prod:checked"
).
val
();
console
.
log
(
check
);
var
check
=
idx
.
split
(
"+"
);
console
.
log
(
idx
,
check
)
var
json
=
{};
var
json
=
{};
json
.
acceptNo
=
check
.
ACCEPT_NO
;
json
.
acceptNo
=
check
[
0
];
json
.
cardType
=
check
.
CARD_TYPE
;
json
.
cardType
=
check
[
2
];
json
.
countyCode
=
check
.
COUNTY_CODE
;
json
.
countyCode
=
check
[
1
];
json
.
name
=
check
.
NAME
;
json
.
name
=
$rootScope
.
loginData
.
name
;
console
.
log
(
json
)
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
console
.
log
(
$scope
.
searchInput
)
console
.
log
(
$scope
.
searchInput
)
$scope
.
doSearch
(
$scope
.
searchInput
)
$scope
.
doSearch
(
$scope
.
searchInput
)
...
...
src/main/resources/static/views/searchCard/searchCard.html
View file @
19e0f001
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"item in searchResult.ACCdata"
>
<tr
ng-repeat=
"item in searchResult.ACCdata"
>
<td><input
type=
"checkbox"
value=
"{{item}}"
class=
"accu"
></td>
<td><input
type=
"checkbox"
value=
"{{item
.ACCEPT_NO}}+{{item.COUNTY_CODE}}+{{item.CARD_TYPE_ID
}}"
class=
"accu"
></td>
<td>
{{item.ACCEPT_NO}}
</td>
<td>
{{item.ACCEPT_NO}}
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.NAME}}
</td>
<td>
{{item.NAME}}
</td>
...
@@ -85,8 +85,8 @@
...
@@ -85,8 +85,8 @@
<td
ng-if=
"item.SEX_NO==1"
>
男
</td>
<td
ng-if=
"item.SEX_NO==1"
>
男
</td>
<td
ng-if=
"item.SEX_NO==2"
>
女
</td>
<td
ng-if=
"item.SEX_NO==2"
>
女
</td>
<td>
{{item.GAJG1}}
</td>
<td>
{{item.GAJG1}}
</td>
<td>
{{item.BEGIN_DATE |
date:'yyyy-MM-dd HH:mm:ss'
}}
</td>
<td>
{{item.BEGIN_DATE |
myDateFilter
}}
</td>
<td>
{{item.EXPIRE_DATE |
date:'yyyy-MM-dd HH:mm:ss'
}}
</td>
<td>
{{item.EXPIRE_DATE |
myDateFilter
}}
</td>
<td>
{{item.SIGN_GOVT}}
</td>
<td>
{{item.SIGN_GOVT}}
</td>
<td></td>
<td></td>
<td></td>
<td></td>
...
@@ -127,7 +127,7 @@
...
@@ -127,7 +127,7 @@
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"item in searchResult.PRODData"
>
<tr
ng-repeat=
"item in searchResult.PRODData"
>
<td><input
type=
"checkbox"
value=
"{{item}}"
class=
"prod"
></td>
<td><input
type=
"checkbox"
value=
"{{item
.ACCEPT_NO}}+{{item.COUNTY_CODE}}+{{item.CARD_TYPE_ID
}}"
class=
"prod"
></td>
<td>
{{item.ACCEPT_NO}}
</td>
<td>
{{item.ACCEPT_NO}}
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.NAME}}
</td>
<td>
{{item.NAME}}
</td>
...
@@ -136,8 +136,8 @@
...
@@ -136,8 +136,8 @@
<td
ng-if=
"item.SEX_NO==1"
>
男
</td>
<td
ng-if=
"item.SEX_NO==1"
>
男
</td>
<td
ng-if=
"item.SEX_NO==2"
>
女
</td>
<td
ng-if=
"item.SEX_NO==2"
>
女
</td>
<td>
{{item.GAJG1}}
</td>
<td>
{{item.GAJG1}}
</td>
<td>
{{item.BEGIN_DATE}}
</td>
<td>
{{item.BEGIN_DATE
| myDateFilter
}}
</td>
<td>
{{item.EXPIRE_DATE}}
</td>
<td>
{{item.EXPIRE_DATE
| myDateFilter
}}
</td>
<td>
{{item.SIGN_GOVT}}
</td>
<td>
{{item.SIGN_GOVT}}
</td>
<td></td>
<td></td>
<td></td>
<td></td>
...
...
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