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
dbf0d279
Commit
dbf0d279
authored
Mar 09, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加快证
parent
971ee28a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
30 deletions
+71
-30
app.js
src/main/resources/static/js/app.js
+25
-2
service.js
src/main/resources/static/js/service.js
+12
-0
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+34
-28
No files found.
src/main/resources/static/js/app.js
View file @
dbf0d279
...
...
@@ -198,8 +198,31 @@ angular.module('AvatarCheck', [
$location
.
path
(
"/createTaskList"
);
}
$scope
.
addQuickCard
=
function
(){
$scope
.
addQuickCardAccu
=
function
(){
var
check
=
$
(
".accu:checked"
).
val
();
console
.
log
(
check
);
var
json
=
{};
json
.
acceptNo
=
check
.
ACCEPT_NO
;
json
.
cardType
=
check
.
CARD_TYPE
;
json
.
countyCode
=
check
.
COUNTY_CODE
;
json
.
name
=
check
.
NAME
;
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
console
.
log
(
$scope
.
searchInput
)
$scope
.
doSearch
(
$scope
.
searchInput
)
})
}
$scope
.
addQuickCardProd
=
function
(){
var
check
=
$
(
".prod:checked"
).
val
();
console
.
log
(
check
);
var
json
=
{};
json
.
acceptNo
=
check
.
ACCEPT_NO
;
json
.
cardType
=
check
.
CARD_TYPE
;
json
.
countyCode
=
check
.
COUNTY_CODE
;
json
.
name
=
check
.
NAME
;
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
console
.
log
(
$scope
.
searchInput
)
$scope
.
doSearch
(
$scope
.
searchInput
)
})
}
...
...
src/main/resources/static/js/service.js
View file @
dbf0d279
...
...
@@ -527,6 +527,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
addSpecialCard
:
function
(
data
,
success
){
var
body
=
JSON
.
stringify
(
data
);
$http
({
method
:
'POST'
,
url
:
"../TaskList/createFastTask"
,
data
:
body
,
headers
:
{
'Content-Type'
:
'application/json'
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
}
}
});
\ No newline at end of file
src/main/resources/static/views/searchCard/searchCard.html
View file @
dbf0d279
...
...
@@ -59,6 +59,7 @@
<table
class=
"table table-hover table-bordered"
>
<thead>
<tr>
<th></th>
<th>
受理号
</th>
<th>
区县
</th>
<th>
姓名
</th>
...
...
@@ -74,25 +75,27 @@
</tr>
</thead>
<tbody>
<tr>
<td>
02213546871
</td>
<td>
海淀区
</td>
<td>
伯阳
</td>
<td>
普通证
</td>
<td>
130133199405250011
</td>
<td>
男
</td>
<td>
赵县公安局
</td>
<td>
20090228
</td>
<td>
20190228
</td>
<td>
赵县派出所
</td>
<td>
快证
</td>
<td>
2019-03-03 13:58:30
</td>
<tr
ng-repeat=
"item in searchResult.ACCdata"
>
<td><input
type=
"checkbox"
value=
"{{item}}"
class=
"accu"
></td>
<td>
{{item.ACCEPT_NO}}
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.NAME}}
</td>
<td>
{{item.CARD_TYPE}}
</td>
<td>
{{item.ID_NO}}
</td>
<td
ng-if=
"item.SEX_NO==1"
>
男
</td>
<td
ng-if=
"item.SEX_NO==2"
>
女
</td>
<td>
{{item.GAJG1}}
</td>
<td>
{{item.BEGIN_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.EXPIRE_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.SIGN_GOVT}}
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<button
class=
"btn btn-info"
ng-click=
"addQuickCard()"
>
添加快证
</button>
<button
class=
"btn btn-info"
ng-click=
"addQuickCard
Accu
()"
>
添加快证
</button>
<button
class=
"btn btn-danger"
>
退证
</button>
</div>
</div>
...
...
@@ -107,6 +110,7 @@
<table
class=
"table table-hover table-bordered"
>
<thead>
<tr>
<th></th>
<th>
受理号
</th>
<th>
区县
</th>
<th>
姓名
</th>
...
...
@@ -122,25 +126,27 @@
</tr>
</thead>
<tbody>
<tr>
<td>
02213546871
</td>
<td>
海淀区
</td>
<td>
伯阳
</td>
<td>
普通证
</td>
<td>
130133199405250011
</td>
<td>
男
</td>
<td>
赵县公安局
</td>
<td>
20090228
</td>
<td>
20190228
</td>
<td>
赵县派出所
</td>
<td>
快证
</td>
<td>
2019-03-03 13:58:30
</td>
<tr
ng-repeat=
"item in searchResult.PRODData"
>
<td><input
type=
"checkbox"
value=
"{{item}}"
class=
"prod"
></td>
<td>
{{item.ACCEPT_NO}}
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.NAME}}
</td>
<td>
{{item.CARD_TYPE}}
</td>
<td>
{{item.ID_NO}}
</td>
<td
ng-if=
"item.SEX_NO==1"
>
男
</td>
<td
ng-if=
"item.SEX_NO==2"
>
女
</td>
<td>
{{item.GAJG1}}
</td>
<td>
{{item.BEGIN_DATE}}
</td>
<td>
{{item.EXPIRE_DATE}}
</td>
<td>
{{item.SIGN_GOVT}}
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<button
class=
"btn btn-info"
>
添加快证
</button>
<button
class=
"btn btn-info"
ng-click=
"addQuickCardProd()"
>
添加快证
</button>
<button
class=
"btn btn-danger"
>
退证
</button>
</div>
</div>
...
...
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