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
06ac962a
Commit
06ac962a
authored
Nov 18, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决用身份证添加废证身份证号重复的问题
parent
ec8e652f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
addBackCard.js
src/main/resources/static/views/addBackCard/addBackCard.js
+1
-1
addFailed.js
src/main/resources/static/views/addFailed/addFailed.js
+8
-4
historyBack.js
src/main/resources/static/views/historyCards/historyBack.js
+7
-3
No files found.
src/main/resources/static/views/addBackCard/addBackCard.js
View file @
06ac962a
...
...
@@ -125,7 +125,7 @@ angular.module('AvatarCheck.addBackCard', ['ngRoute', 'AvatarCheck.http'])
HttpService
.
addBackCardDataBySjhy
(
list
,
function
(
data
){
$scope
.
can
=
false
;
$scope
.
closeThisDialog
();
// MessageService.showAlert("添加成功"
);
MessageService
.
showAlert
(
data
.
msg
);
reGetData
();
cancel
();
console
.
log
(
data
)
...
...
src/main/resources/static/views/addFailed/addFailed.js
View file @
06ac962a
...
...
@@ -138,11 +138,15 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
$scope
.
confirmAdd
=
function
(){
$scope
.
can
=
true
;
HttpService
.
addFailedCard
(
list
,
function
(
data
){
$scope
.
can
=
false
;
$scope
.
closeThisDialog
();
reGet
();
cancelAdd
();
console
.
log
(
data
)
if
(
data
){
$scope
.
can
=
false
;
reGet
();
cancelAdd
();
console
.
log
(
data
)
}
else
{
MessageService
.
showAlert
(
"重复的身份证号,请用个人受理号添加"
);
}
})
}
}]
...
...
src/main/resources/static/views/historyCards/historyBack.js
View file @
06ac962a
...
...
@@ -128,9 +128,13 @@ angular.module('AvatarCheck.historyBack', ['ngRoute', 'AvatarCheck.http'])
$scope
.
confirmAdd
=
function
(){
HttpService
.
addHistoryCard
(
list
,
function
(
data
){
$scope
.
closeThisDialog
();
reGet
();
cancelAdd
();
console
.
log
(
data
)
if
(
data
){
reGet
();
cancelAdd
();
console
.
log
(
data
)
}
else
{
MessageService
.
showAlert
(
"重复的身份证号,请用个人受理号添加"
);
}
})
}
}]
...
...
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