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
e8ef54f4
Commit
e8ef54f4
authored
Mar 15, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
05afe5ef
c8ab0cf1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
200 additions
and
133 deletions
+200
-133
pom.xml
pom.xml
+93
-93
ReadExcelApi.java
src/main/java/com/yxproject/start/api/ReadExcelApi.java
+1
-1
LogMapper.java
src/main/java/com/yxproject/start/mapper/LogMapper.java
+1
-1
confirmFailedCards.html
src/main/resources/static/dialogs/confirmFailedCards.html
+4
-0
confirmRestCards.html
src/main/resources/static/dialogs/confirmRestCards.html
+5
-0
confirmTagCards.html
src/main/resources/static/dialogs/confirmTagCards.html
+4
-0
app.js
src/main/resources/static/js/app.js
+73
-26
service.js
src/main/resources/static/js/service.js
+12
-0
addFailed.js
src/main/resources/static/views/addFailed/addFailed.js
+1
-1
addRest.js
src/main/resources/static/views/addRest/addRest.js
+1
-1
addTag.js
src/main/resources/static/views/addTag/addTag.js
+1
-1
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+4
-9
No files found.
pom.xml
View file @
e8ef54f4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<parent>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.1.2.RELEASE
</version>
<version>
2.1.2.RELEASE
</version>
<relativePath/>
<!-- lookup parent from repository -->
<relativePath/>
<!-- lookup parent from repository -->
</parent>
</parent>
<groupId>
com.yxproject
</groupId>
<groupId>
com.yxproject
</groupId>
<artifactId>
start
</artifactId>
<artifactId>
start
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<version>
0.0.1-SNAPSHOT
</version>
<name>
start
</name>
<name>
start
</name>
<description>
Demo project for Spring Boot
</description>
<description>
Demo project for Spring Boot
</description>
<properties>
<properties>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
1.3.2
</version>
<version>
1.3.2
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.mybatis.generator
</groupId>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-core
</artifactId>
<artifactId>
mybatis-generator-core
</artifactId>
<version>
1.3.2
</version>
<version>
1.3.2
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-jdbc
</artifactId>
<artifactId>
spring-boot-starter-jdbc
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.shiro
</groupId>
<groupId>
org.apache.shiro
</groupId>
<artifactId>
shiro-spring-boot-web-starter
</artifactId>
<artifactId>
shiro-spring-boot-web-starter
</artifactId>
<version>
1.4.0
</version>
<version>
1.4.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
net.sf.json-lib
</groupId>
<groupId>
net.sf.json-lib
</groupId>
<artifactId>
json-lib
</artifactId>
<artifactId>
json-lib
</artifactId>
<version>
2.4
</version>
<version>
2.4
</version>
<classifier>
jdk15
</classifier>
<classifier>
jdk15
</classifier>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi
</artifactId>
<artifactId>
poi
</artifactId>
<version>
4.0.1
</version>
<version>
4.0.1
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
commons-fileupload
</groupId>
<groupId>
commons-fileupload
</groupId>
<artifactId>
commons-fileupload
</artifactId>
<artifactId>
commons-fileupload
</artifactId>
<version>
1.3.3
</version>
<version>
1.3.3
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml-schemas
</artifactId>
<artifactId>
poi-ooxml-schemas
</artifactId>
<version>
3.14
</version>
<version>
3.14
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
net.sourceforge.jexcelapi
</groupId>
<groupId>
net.sourceforge.jexcelapi
</groupId>
<artifactId>
jxl
</artifactId>
<artifactId>
jxl
</artifactId>
<version>
2.6.10
</version>
<version>
2.6.10
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
javax.ws.rs
</groupId>
<groupId>
javax.ws.rs
</groupId>
<artifactId>
javax.ws.rs-api
</artifactId>
<artifactId>
javax.ws.rs-api
</artifactId>
<version>
2.0
</version>
<version>
2.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
commons-fileupload
</groupId>
<groupId>
commons-fileupload
</groupId>
<artifactId>
commons-fileupload
</artifactId>
<artifactId>
commons-fileupload
</artifactId>
<version>
1.3.3
</version>
<version>
1.3.3
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
src/main/java/com/yxproject/start/api/ReadExcelApi.java
View file @
e8ef54f4
...
@@ -136,7 +136,7 @@ public class ReadExcelApi {
...
@@ -136,7 +136,7 @@ public class ReadExcelApi {
personPostEntity
.
setLatticeMouthInformation
((
String
)
list2
.
get
(
19
));
personPostEntity
.
setLatticeMouthInformation
((
String
)
list2
.
get
(
19
));
personPostEntity
.
setNatureOfTheInternal
((
String
)
list2
.
get
(
20
));
personPostEntity
.
setNatureOfTheInternal
((
String
)
list2
.
get
(
20
));
personPostEntity
.
setNatureOfTheInformation
((
String
)
list2
.
get
(
21
));
personPostEntity
.
setNatureOfTheInformation
((
String
)
list2
.
get
(
21
));
personPostEntity
.
setFirstWhite
(
list2
.
get
(
22
).
toString
().
substring
(
5
,
2
4
)
);
personPostEntity
.
setFirstWhite
(
list2
.
get
(
22
).
toString
().
substring
(
5
,
2
7
)
);
personPostEntity
.
setFileId
(
fileNameDicEntity
.
getFileId
());
personPostEntity
.
setFileId
(
fileNameDicEntity
.
getFileId
());
entityList
.
add
(
personPostEntity
);
entityList
.
add
(
personPostEntity
);
}
}
...
...
src/main/java/com/yxproject/start/mapper/LogMapper.java
View file @
e8ef54f4
...
@@ -24,7 +24,7 @@ public interface LogMapper {
...
@@ -24,7 +24,7 @@ public interface LogMapper {
//TODO XML的时间+post的file_id
//TODO XML的时间+post的file_id
@Update
(
"UPDATE PREPRO_PERSON SET CARD_TYPE_ID =9 \n"
+
@Update
(
"UPDATE PREPRO_PERSON SET CARD_TYPE_ID =9 \n"
+
"WHERE JMSFZSLH
=
(\n"
+
"WHERE JMSFZSLH
in
(\n"
+
"SELECT PREPRO_PERSON.JMSFZSLH \n"
+
"SELECT PREPRO_PERSON.JMSFZSLH \n"
+
"FROM PREPRO_PERSON \n"
+
"FROM PREPRO_PERSON \n"
+
"LEFT JOIN PERSON_POST ON PERSON_POST.FIRST_WHITE = PREPRO_PERSON.JMSFZSLH\n"
+
"LEFT JOIN PERSON_POST ON PERSON_POST.FIRST_WHITE = PREPRO_PERSON.JMSFZSLH\n"
+
...
...
src/main/resources/static/dialogs/confirmFailedCards.html
View file @
e8ef54f4
...
@@ -17,6 +17,10 @@
...
@@ -17,6 +17,10 @@
<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
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==0"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
src/main/resources/static/dialogs/confirmRestCards.html
View file @
e8ef54f4
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<th>
身份证号
</th>
<th>
身份证号
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th>
性别
</th>
<th>
性别
</th>
<th>
类型
</th>
</thead>
</thead>
<tbody>
<tbody>
<tr
ng-repeat=
"item in personInfo"
>
<tr
ng-repeat=
"item in personInfo"
>
...
@@ -17,6 +18,10 @@
...
@@ -17,6 +18,10 @@
<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
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==0"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
src/main/resources/static/dialogs/confirmTagCards.html
View file @
e8ef54f4
...
@@ -17,6 +17,10 @@
...
@@ -17,6 +17,10 @@
<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
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SEX_NO==-1"
>
错误
</td>
<td
ng-if=
"item.SPECIAL_TYPE==2"
>
快证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==1"
>
余证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==0"
>
废证
</td>
<td
ng-if=
"item.SPECIAL_TYPE==3"
>
退证
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
...
src/main/resources/static/js/app.js
View file @
e8ef54f4
...
@@ -32,7 +32,7 @@ angular.module('AvatarCheck', [
...
@@ -32,7 +32,7 @@ angular.module('AvatarCheck', [
$qProvider
.
errorOnUnhandledRejections
(
false
)
$qProvider
.
errorOnUnhandledRejections
(
false
)
}])
}])
.
controller
(
'appCtrl'
,
function
(
$scope
,
$location
,
$rootScope
,
HttpService
,
localStorageService
,
DebugService
)
{
.
controller
(
'appCtrl'
,
function
(
$scope
,
$location
,
$rootScope
,
HttpService
,
localStorageService
,
DebugService
,
MessageService
)
{
DebugService
.
debug
(
"appCtrl:"
+
"AvatarCheck initial."
)
DebugService
.
debug
(
"appCtrl:"
+
"AvatarCheck initial."
)
...
@@ -172,6 +172,7 @@ angular.module('AvatarCheck', [
...
@@ -172,6 +172,7 @@ angular.module('AvatarCheck', [
}
else
{
}
else
{
HttpService
.
searchCards
(
searchInput
,
function
(
data
)
{
HttpService
.
searchCards
(
searchInput
,
function
(
data
)
{
if
(
data
==
''
){
if
(
data
==
''
){
$scope
.
msg
=
""
;
$scope
.
alertMsg
=
"暂无数据"
;
$scope
.
alertMsg
=
"暂无数据"
;
}
else
{
}
else
{
$scope
.
searchResult
=
data
;
$scope
.
searchResult
=
data
;
...
@@ -203,33 +204,79 @@ angular.module('AvatarCheck', [
...
@@ -203,33 +204,79 @@ angular.module('AvatarCheck', [
}
}
$scope
.
addQuickCardAccu
=
function
(){
$scope
.
addQuickCardAccu
=
function
(){
var
idx
=
$
(
".accu:checked"
).
val
();
if
(
$
(
".accu:checked"
).
length
>
0
){
var
check
=
idx
.
split
(
"+"
);
var
idx
=
$
(
".accu:checked"
).
val
();
var
json
=
{};
var
check
=
idx
.
split
(
"+"
);
json
.
acceptNo
=
check
[
0
];
var
json
=
{};
json
.
cardType
=
check
[
2
];
json
.
acceptNo
=
check
[
0
];
json
.
countyCode
=
check
[
1
];
json
.
cardType
=
check
[
2
];
json
.
name
=
$rootScope
.
loginData
.
name
;
json
.
countyCode
=
check
[
1
];
console
.
log
(
json
)
json
.
name
=
$rootScope
.
loginData
.
name
;
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
console
.
log
(
json
)
console
.
log
(
$scope
.
searchInput
)
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
$scope
.
doSearch
(
$scope
.
searchInput
)
MessageService
.
showAlert
(
data
.
msg
)
})
$scope
.
doSearch
(
$scope
.
searchInput
)
})
}
else
{
MessageService
.
showAlert
(
"请选择要添加的信息"
)
}
}
}
$scope
.
addQuickCardProd
=
function
(){
$scope
.
addQuickCardProd
=
function
(){
var
idx
=
$
(
".prod:checked"
).
val
();
if
(
$
(
".prod:checked"
).
length
>
0
){
var
check
=
idx
.
split
(
"+"
);
var
idx
=
$
(
".prod:checked"
).
val
();
console
.
log
(
idx
,
check
)
var
check
=
idx
.
split
(
"+"
);
var
json
=
{};
console
.
log
(
idx
,
check
)
json
.
acceptNo
=
check
[
0
];
var
json
=
{};
json
.
cardType
=
check
[
2
];
json
.
acceptNo
=
check
[
0
];
json
.
countyCode
=
check
[
1
];
json
.
cardType
=
check
[
2
];
json
.
name
=
$rootScope
.
loginData
.
name
;
json
.
countyCode
=
check
[
1
];
console
.
log
(
json
)
json
.
name
=
$rootScope
.
loginData
.
name
;
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
console
.
log
(
json
)
console
.
log
(
$scope
.
searchInput
)
HttpService
.
addSpecialCard
(
json
,
function
(
data
)
{
$scope
.
doSearch
(
$scope
.
searchInput
)
MessageService
.
showAlert
(
data
.
msg
)
})
$scope
.
doSearch
(
$scope
.
searchInput
)
})
}
else
{
MessageService
.
showAlert
(
"请选择要添加快证的信息"
)
}
}
$scope
.
giveBackCardAccu
=
function
()
{
if
(
$
(
".accu:checked"
).
length
>
0
){
var
idx
=
$
(
".accu:checked"
).
val
();
var
check
=
idx
.
split
(
"+"
);
var
json
=
{};
json
.
acceptNo
=
check
[
0
];
json
.
taskId
=
$scope
.
searchResult
.
workOrderDate
[
0
].
TASK_ID
;
json
.
name
=
$rootScope
.
loginData
.
name
;
console
.
log
(
json
)
HttpService
.
giveBackCard
(
json
,
function
(
data
)
{
console
.
log
(
data
)
MessageService
.
showAlert
(
data
.
msg
)
$scope
.
doSearch
(
$scope
.
searchInput
)
})
}
else
{
MessageService
.
showAlert
(
"请选择要退证的信息"
)
}
}
$scope
.
giveBackCardProd
=
function
()
{
if
(
$
(
".prod:checked"
).
length
>
0
){
var
idx
=
$
(
".prod:checked"
).
val
();
var
check
=
idx
.
split
(
"+"
);
var
json
=
{};
json
.
acceptNo
=
check
[
0
];
json
.
taskId
=
$scope
.
searchResult
.
workOrderDate
[
0
].
TASK_ID
;
json
.
name
=
$rootScope
.
loginData
.
name
;
console
.
log
(
json
)
HttpService
.
giveBackCard
(
json
,
function
(
data
)
{
console
.
log
(
data
)
MessageService
.
showAlert
(
data
.
msg
)
$scope
.
doSearch
(
$scope
.
searchInput
)
})
}
else
{
MessageService
.
showAlert
(
"请选择要退证的信息"
)
}
}
}
...
...
src/main/resources/static/js/service.js
View file @
e8ef54f4
...
@@ -827,6 +827,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -827,6 +827,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
}).
then
(
function
successCallback
(
response
)
{
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
giveBackCard
:
function
(
data
,
success
)
{
var
body
=
JSON
.
stringify
(
data
);
$http
({
method
:
'POST'
,
url
:
"../TaskList/addBackCard"
,
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/addFailed/addFailed.js
View file @
e8ef54f4
...
@@ -82,7 +82,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
...
@@ -82,7 +82,7 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
$scope
.
personInfo
=
data
;
$scope
.
personInfo
=
data
;
$scope
.
can
=
false
;
$scope
.
can
=
false
;
for
(
var
i
=
0
;
i
<
$scope
.
personInfo
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
personInfo
.
length
;
i
++
){
if
(
$scope
.
personInfo
[
i
].
SEX_NO
==-
1
){
if
(
$scope
.
personInfo
[
i
].
SEX_NO
==-
1
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
0
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
1
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
2
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
3
){
$scope
.
can
=
true
;
$scope
.
can
=
true
;
}
}
}
}
...
...
src/main/resources/static/views/addRest/addRest.js
View file @
e8ef54f4
...
@@ -58,7 +58,7 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
...
@@ -58,7 +58,7 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
$scope
.
personInfo
=
data
;
$scope
.
personInfo
=
data
;
$scope
.
can
=
false
;
$scope
.
can
=
false
;
for
(
var
i
=
0
;
i
<
$scope
.
personInfo
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
personInfo
.
length
;
i
++
){
if
(
$scope
.
personInfo
[
i
].
SEX_NO
==-
1
){
if
(
$scope
.
personInfo
[
i
].
SEX_NO
==-
1
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
0
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
1
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
2
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
3
){
$scope
.
can
=
true
;
$scope
.
can
=
true
;
}
}
}
}
...
...
src/main/resources/static/views/addTag/addTag.js
View file @
e8ef54f4
...
@@ -75,7 +75,7 @@ angular.module('AvatarCheck.addTag', ['ngRoute', 'AvatarCheck.http'])
...
@@ -75,7 +75,7 @@ angular.module('AvatarCheck.addTag', ['ngRoute', 'AvatarCheck.http'])
$scope
.
personInfo
=
data
;
$scope
.
personInfo
=
data
;
$scope
.
can
=
false
;
$scope
.
can
=
false
;
for
(
var
i
=
0
;
i
<
$scope
.
personInfo
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
$scope
.
personInfo
.
length
;
i
++
){
if
(
$scope
.
personInfo
[
i
].
SEX_NO
==-
1
){
if
(
$scope
.
personInfo
[
i
].
SEX_NO
==-
1
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
0
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
1
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
2
||
$scope
.
personInfo
[
i
].
SPECIAL_TYPE
==
3
){
$scope
.
can
=
true
;
$scope
.
can
=
true
;
}
}
}
}
...
...
src/main/resources/static/views/searchCard/searchCard.html
View file @
e8ef54f4
...
@@ -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.ACCEPT_NO}}+{{item.COUNTY_CODE}}+{{item.CARD_TYPE_ID}}"
class=
"accu"
></td>
<td><input
ng-checked=
"searchResult.ACCdata.length==1"
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>
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
</div>
</div>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<button
class=
"btn btn-info"
ng-click=
"addQuickCardAccu()"
>
添加快证
</button>
<button
class=
"btn btn-info"
ng-click=
"addQuickCardAccu()"
>
添加快证
</button>
<button
class=
"btn btn-danger"
>
退证
</button>
<button
class=
"btn btn-danger"
ng-click=
"giveBackCardAccu()"
>
退证
</button>
</div>
</div>
</div>
</div>
<!--制证库-->
<!--制证库-->
...
@@ -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.ACCEPT_NO}}+{{item.COUNTY_CODE}}+{{item.CARD_TYPE_ID}}"
class=
"prod"
></td>
<td><input
ng-checked=
"searchResult.PRODData.length==1"
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>
...
@@ -147,14 +147,9 @@
...
@@ -147,14 +147,9 @@
</div>
</div>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<div
style=
"text-align:right;padding: 10px;padding-top: 0;"
>
<button
class=
"btn btn-info"
ng-click=
"addQuickCardProd()"
>
添加快证
</button>
<button
class=
"btn btn-info"
ng-click=
"addQuickCardProd()"
>
添加快证
</button>
<button
class=
"btn btn-danger"
>
退证
</button>
<button
class=
"btn btn-danger"
ng-click=
"giveBackCardAccu()"
>
退证
</button>
</div>
</div>
</div>
</div>
<h4>
{{searchResult.workOrderDate}}
</h4>
<h4>
{{searchResult.workOrderDate.length}}
</h4>
<h4>
{{searchResult.ACCdata.length}}
</h4>
<h4>
{{searchResult.PRODData.length}}
</h4>
<div
ng-if=
"searchResult.workOrderDate.length==0&&searchResult.ACCdata.length==0&&searchResult.PRODData.length==0"
>
<div
ng-if=
"searchResult.workOrderDate.length==0&&searchResult.ACCdata.length==0&&searchResult.PRODData.length==0"
>
<h4>
没有查询到相关信息
</h4>
<h4>
没有查询到相关信息
</h4>
</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