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
dec562da
Commit
dec562da
authored
Mar 11, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
8bb5a96f
27eb0673
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
665 additions
and
85 deletions
+665
-85
ReadXmlApi.java
src/main/java/com/yxproject/start/api/ReadXmlApi.java
+0
-1
TagPrintApi.java
src/main/java/com/yxproject/start/api/TagPrintApi.java
+20
-0
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+32
-2
PreproPersonMapper.java
...n/java/com/yxproject/start/mapper/PreproPersonMapper.java
+38
-35
TaskListMapper.java
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
+0
-0
TaskListService.java
...ain/java/com/yxproject/start/service/TaskListService.java
+4
-0
ImportXmlServiceImpl.java
...om/yxproject/start/service/impl/ImportXmlServiceImpl.java
+1
-1
TaskListServiceImpl.java
...com/yxproject/start/service/impl/TaskListServiceImpl.java
+0
-0
analysisDialog.html
src/main/resources/static/dialogs/analysisDialog.html
+0
-3
app.js
src/main/resources/static/js/app.js
+3
-3
service.js
src/main/resources/static/js/service.js
+38
-6
createTaskList.html
...resources/static/views/createTaskList/createTaskList.html
+51
-2
createTaskList.js
...n/resources/static/views/createTaskList/createTaskList.js
+18
-1
dispatchTask.html
...ain/resources/static/views/dispatchTask/dispatchTask.html
+80
-2
dispatchTask.js
src/main/resources/static/views/dispatchTask/dispatchTask.js
+17
-1
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+9
-2
task.js
src/main/resources/static/views/task/task.js
+0
-0
taskListCutting.html
src/main/resources/static/views/task/taskListCutting.html
+85
-2
taskListPreLocating.html
...main/resources/static/views/task/taskListPreLocating.html
+85
-2
taskListPrint.html
src/main/resources/static/views/task/taskListPrint.html
+85
-2
taskListPushing.html
src/main/resources/static/views/task/taskListPushing.html
+85
-2
xmlAndSearch.html
...ain/resources/static/views/xmlAndSearch/xmlAndSearch.html
+1
-7
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+13
-11
No files found.
src/main/java/com/yxproject/start/api/ReadXmlApi.java
View file @
dec562da
...
...
@@ -81,7 +81,6 @@ public class ReadXmlApi {
// 如果fileitem中封装的是上传文件
// 得到上传的文件名称
filename
=
item
.
getName
();
System
.
out
.
println
(
filename
+
"==============="
);
if
(
filename
==
null
||
filename
.
trim
().
equals
(
""
))
{
continue
;
}
...
...
src/main/java/com/yxproject/start/api/TagPrintApi.java
0 → 100644
View file @
dec562da
package
com
.
yxproject
.
start
.
api
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
@RequestMapping
(
"tagPrint"
)
public
class
TagPrintApi
{
@RequestMapping
(
"selectTagPrintData"
)
public
List
selectTagPrintData
(
@RequestParam
(
"idCard"
)
String
idCard
){
List
list
=
new
ArrayList
();
return
list
;
}
}
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
dec562da
...
...
@@ -102,7 +102,6 @@ public class TaskListApi {
JSONArray
jsonArray
=
(
JSONArray
)
jsonObject
.
get
(
"taskIdList"
);
String
process
=
jsonObject
.
get
(
"process"
).
toString
();
String
name
=
jsonObject
.
get
(
"name"
).
toString
();
Boolean
b
=
true
;
List
<
String
>
list
=
(
List
<
String
>)
jsonArray
;
return
taskListService
.
updateState
(
list
,
process
,
name
);
}
...
...
@@ -123,7 +122,6 @@ public class TaskListApi {
String
process
=
jsonObject
.
get
(
"process"
).
toString
();
String
name
=
jsonObject
.
get
(
"name"
).
toString
();
String
printer
=
jsonObject
.
get
(
"printer"
).
toString
();
Boolean
b
=
true
;
List
<
String
>
list
=
(
List
<
String
>)
jsonArray
;
return
taskListService
.
updateState2
(
list
,
process
,
name
,
Long
.
valueOf
(
printer
));
}
...
...
@@ -204,6 +202,38 @@ public class TaskListApi {
}
/**
* 查询任务单详情(历史)
* (辅助库)
*(创建、下发、数据核验、预订位、平压、冲切)
* @param process 工序
* @param resp
* @return
*/
@RequestMapping
(
"queryHistoryTaskAtAuxiliary"
)
public
List
<
Object
>
queryHistoryTaskAtAuxiliary
(
@RequestParam
(
"process"
)
String
process
,
@RequestParam
(
"date"
)
String
date
,
HttpServletResponse
resp
)
{
List
<
Object
>
objects
=
taskListService
.
selectHistoryTaskAtAuxiliary
(
Long
.
valueOf
(
process
)
,
replaceDate
(
date
));
return
objects
;
}
/**
* 查询任务单详情(历史)
* (辅助库)
*(分拣)
* @param resp
* @return
*/
@RequestMapping
(
"queryHistoryTaskAtAuxiliary2"
)
public
List
<
Object
>
queryHistoryTaskAtAuxiliary2
(
@RequestParam
(
"date"
)
String
date
,
HttpServletResponse
resp
)
{
List
<
Object
>
objects
=
taskListService
.
selectHistoryTaskAtAuxiliary2
(
replaceDate
(
date
));
return
objects
;
}
/**
* 生成任务单
* <p>
...
...
src/main/java/com/yxproject/start/mapper/PreproPersonMapper.java
View file @
dec562da
...
...
@@ -13,10 +13,10 @@ import java.util.Map;
public
interface
PreproPersonMapper
{
/*导入XMl*/
@Insert
(
"INSERT INTO PREPRO_PERSON (JMSFZSLH,GMSFHM,XM,XBDM,MZDM,CSRQ,SSXQDM,DZMC,SDXP,ZWY_ZWTXSJ,ZWY_ZWTZSJ,ZWE_ZWTXSJ,ZWE_ZWTZSJ,"
+
"QFJG_GAJGMC,YXQQSRQ,YXQJZRQ,JMSFZSLYYDM,JMSFZZZLXDM,JMSFZLZFSDM,SJR_XM,SJR_LXDH,SJR_YZBM,SJR_TXDZ,SID)"
+
"QFJG_GAJGMC,YXQQSRQ,YXQJZRQ,JMSFZSLYYDM,JMSFZZZLXDM,JMSFZLZFSDM,SJR_XM,SJR_LXDH,SJR_YZBM,SJR_TXDZ,SID
,FILE_ID
)"
+
"VALUES(#{jmsfzslh},#{gmsfhm},#{xm},#{xbdm},#{mzdm},#{csrq},#{ssxqdm},#{dzmc},#{sdxp},#{zwyZwtxsj},#{zwyZwtzsj},#{zweZwtxsj},"
+
"#{zweZwtzsj},#{qfjgGajgmc},#{yxqqsrq},#{yxqjzrq},#{jmsfzslyydm},#{jmsfzzzlxdm},#{jmsfzlzfsdm},#{sjrXm},#{sjrLxdh},#{sjrYzbm},"
+
"#{sjrTxdz},#{sid})"
)
"#{sjrTxdz},#{sid}
,#{fileId}
)"
)
public
boolean
savePreproPersonEntity
(
PreproPersonEntity
personEntity
);
/*更新制证数据是否邮寄*/
...
...
@@ -25,61 +25,63 @@ public interface PreproPersonMapper {
/*按条件查询制证数据*/
@Select
({
"<script>"
+
"select * from PREPRO_PERSON left join files on PREPRO_PERSON.FILE_ID = files.ID left join NEW_FILES on PREPRO_PERSON.FILE_ID = NEW_FILES.ID "
+
@Select
({
"<script>"
+
"select * from PREPRO_PERSON left join files on PREPRO_PERSON.FILE_ID = files.ID left join NEW_FILES on PREPRO_PERSON.FILE_ID = NEW_FILES.ID "
+
"<where> "
+
" 1=1"
+
"<if test='uploadNo != null '>"
+
"and PREPRO_PERSON.JMSFZSLH = #{uploadNo}"
+
"</if>"
+
" <if test='IDCard != null '> "
,
"and GMSFHM = #{IDCard} "
,
"</if> "
,
" <if test='oldFile != null '> "
,
"and files.SOURCE_FILE_NAME =#{oldFile} "
,
" </if> "
,
" <if test='newFile != null'> "
,
"and NEW_FILES.NEW_FILE_NAME = #{newFile}"
,
" </if> "
,
" <if test='SSXQDM != null '> "
,
"and PREPRO_PERSON.SSXQDM =#{SSXQDM}"
,
" </if>"
,
" <if test='cardType != null '>"
,
" and PREPRO_PERSON.CARD_TYPE_ID =#{cardType}"
,
" </if> "
,
" <if test='state != null'>"
,
" and PREPRO_PERSON.state = #{state}"
,
" </if> "
,
" <if test='uploadDate != null '>"
,
" and files.CREAT_TIME = #{uploadDate}"
,
" </if> "
,
"</where>"
+
"</script>"
})
public
List
<
PreproPersonEntity
>
selectPreproPerson
(
@Param
(
"uploadNo"
)
String
uploadNo
,
@Param
(
"IDCard"
)
String
IDCard
,
@Param
(
"oldFile"
)
String
oldFile
,
@Param
(
"newFile"
)
String
newFile
,
@Param
(
"SSXQDM"
)
String
SSXQDM
,
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"state"
)
String
state
,
@Param
(
"uploadDate"
)
String
uploadDate
);
"<if test='uploadNo != null '>"
+
"and PREPRO_PERSON.JMSFZSLH = #{uploadNo}"
+
"</if>"
+
" <if test='IDCard != null '> "
,
"and GMSFHM = #{IDCard} "
,
"</if> "
,
" <if test='oldFile != null '> "
,
"and files.SOURCE_FILE_NAME =#{oldFile} "
,
" </if> "
,
" <if test='newFile != null'> "
,
"and NEW_FILES.NEW_FILE_NAME = #{newFile}"
,
" </if> "
,
" <if test='SSXQDM != null '> "
,
"and PREPRO_PERSON.SSXQDM =#{SSXQDM}"
,
" </if>"
,
" <if test='cardType != null '>"
,
" and PREPRO_PERSON.CARD_TYPE_ID =#{cardType}"
,
" </if> "
,
" <if test='state != null'>"
,
" and PREPRO_PERSON.state = #{state}"
,
" </if> "
,
" <if test='uploadDate != null '>"
,
" and files.CREAT_TIME = #{uploadDate}"
,
" </if> "
,
"</where>"
+
"</script>"
})
public
List
<
PreproPersonEntity
>
selectPreproPerson
(
@Param
(
"uploadNo"
)
String
uploadNo
,
@Param
(
"IDCard"
)
String
IDCard
,
@Param
(
"oldFile"
)
String
oldFile
,
@Param
(
"newFile"
)
String
newFile
,
@Param
(
"SSXQDM"
)
String
SSXQDM
,
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"state"
)
String
state
,
@Param
(
"uploadDate"
)
String
uploadDate
);
/*修改标记制证数据状态*/
@Update
(
"UPDATE PREPRO_PERSON SET STATE = #{state} WHERE JMSFZSLH=#{acceptNo}"
)
public
boolean
updateState
(
@Param
(
"state"
)
String
state
,
@Param
(
"acceptNo"
)
String
acceptNo
);
public
boolean
updateState
(
@Param
(
"state"
)
String
state
,
@Param
(
"acceptNo"
)
String
acceptNo
);
@Update
(
"UPDATE PREPRO_PERSON SET NEW_FILE_ID=#{newFileId} where JMSFZSLH=#{jmsfzslh}"
)
public
boolean
updateNewFileName
(
PreproPersonEntity
personEntity
);
public
boolean
updateNewFileName
(
PreproPersonEntity
personEntity
);
/**
* 更新制证数据是否有效
*
* @param personEntity
* @return
*/
@Update
(
"UPDATE PREPRO_PERSON SET IS_VALID=#{isValid} where JMSFZSLH=#{jmsfzslh}"
)
public
boolean
updatePreproPersonIsValid
(
PreproPersonEntity
personEntity
);
public
boolean
updatePreproPersonIsValid
(
PreproPersonEntity
personEntity
);
/**
* 查询制证信息的上传受理号
* 受理库和制证库
*
* @param acceptNo 受理组号
* @return
*/
@Select
(
"select UPLOAD_NO,ACCEPT_NO from ACC_CARD_T@ACCU_LINK WHERE ACCEPT_NO =#{acceptNo}\n"
+
"UNION all \n"
+
"select UPLOAD_NO,ACCEPT_NO from PROD_CARD_T@PROD_LINK WHERE ACCEPT_NO =#{acceptNo}"
)
public
List
<
Map
<
String
,
Object
>>
selectUploadNoByAcceptNo
(
String
acceptNo
);
public
List
<
Map
<
String
,
Object
>>
selectUploadNoByAcceptNo
(
String
acceptNo
);
}
\ No newline at end of file
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
View file @
dec562da
This diff is collapsed.
Click to expand it.
src/main/java/com/yxproject/start/service/TaskListService.java
View file @
dec562da
...
...
@@ -29,6 +29,10 @@ public interface TaskListService {
public
List
<
Object
>
selectByCountyAtAuxiliary
(
long
process
);
public
List
selectHistoryTaskAtAuxiliary
(
long
process
,
String
date
);
public
List
selectHistoryTaskAtAuxiliary2
(
String
date
);
public
Map
selectByCountyAtAuxiliary2
(
long
process
);
public
List
<
Object
>
selectByCountyAtAuxiliary3
(
long
process
);
...
...
src/main/java/com/yxproject/start/service/impl/ImportXmlServiceImpl.java
View file @
dec562da
...
...
@@ -33,7 +33,7 @@ public class ImportXmlServiceImpl implements ImportXmlService {
public
boolean
importPersonXml
(
List
<
PreproPersonEntity
>
preproPersonEntities
,
FilesEntity
filesEntity
)
{
long
l
=
filesMapper
.
insertFiles
(
filesEntity
);
for
(
PreproPersonEntity
preproPersonEntity
:
preproPersonEntities
)
{
preproPersonEntity
.
setFileId
(
l
);
preproPersonEntity
.
setFileId
(
filesEntity
.
getId
()
);
preproPersonMapper
.
savePreproPersonEntity
(
preproPersonEntity
);
}
return
true
;
...
...
src/main/java/com/yxproject/start/service/impl/TaskListServiceImpl.java
View file @
dec562da
This diff is collapsed.
Click to expand it.
src/main/resources/static/dialogs/analysisDialog.html
View file @
dec562da
...
...
@@ -83,9 +83,6 @@
</tbody>
</table>
<div
style=
"padding-left: 27%;"
ng-if=
"resultData.length>0"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
</div>
<div
class=
"ui-dialog-confirm"
>
<div
class=
"progress"
>
...
...
src/main/resources/static/js/app.js
View file @
dec562da
...
...
@@ -159,7 +159,6 @@ angular.module('AvatarCheck', [
}
$scope
.
doSearch
=
function
(
searchInput
)
{
$rootScope
.
searchResult
=
{};
$scope
.
msg
=
""
;
$scope
.
alertMsg
=
""
;
var
pattern
=
/^
[
0-9
]
*$/
...
...
@@ -171,8 +170,9 @@ angular.module('AvatarCheck', [
if
(
data
==
''
){
$scope
.
alertMsg
=
"暂无数据"
;
}
else
{
$rootScope
.
searchResult
=
data
;
console
.
log
(
$rootScope
.
searchResult
)
$scope
.
searchResult
=
data
;
console
.
log
(
$scope
.
searchResult
,
"searchResult"
)
console
.
log
(
$scope
.
searchResult
[
'workOrderDate'
],
"searchResultWorkOrderDate"
)
}
})
...
...
src/main/resources/static/js/service.js
View file @
dec562da
...
...
@@ -437,6 +437,32 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
})
},
getCreateHistoryTask
:
function
(
date
,
success
){
console
.
log
(
date
)
$http
({
method
:
'GET'
,
url
:
"../TaskList/queryHistoryTaskAtAuxiliary"
+
urlTimeStamp
(),
params
:{
process
:
$rootScope
.
loginData
.
roleList
[
0
].
process
-
1
,
date
:
date
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
getHistoryTask
:
function
(
date
,
success
){
console
.
log
(
date
)
$http
({
method
:
'GET'
,
url
:
"../TaskList/queryHistoryTaskAtAuxiliary"
+
urlTimeStamp
(),
params
:{
process
:
$rootScope
.
loginData
.
roleList
[
0
].
process
,
date
:
date
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
getGroupListData
:
function
(
saveDate
,
countyCode
,
typeCode
,
currPage
,
pageSize
,
success
){
$http
({
method
:
'GET'
,
...
...
@@ -530,23 +556,29 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
})
},
analyseData
:
function
(
date
,
currPage
,
pageSize
,
success
){
analyseData
:
function
(
date
,
success
){
if
(
date
==
''
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
date
)
$http
({
method
:
'GET'
,
url
:
"../
importXML/queryPersonXML
"
+
urlTimeStamp
(),
url
:
"../
LogApi/selectAnalysisData
"
+
urlTimeStamp
(),
params
:{
importDate
:
date
,
currPage
:
currPage
,
pageSize
:
pageSize
uploadName
:
date
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
analyseDataCount
:
function
(
date
,
success
)
{
if
(
date
==
''
){
date
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
date
)
$http
({
method
:
'GET'
,
url
:
"../
importXML/queryPersonXML
Count"
+
urlTimeStamp
(),
url
:
"../
LogApi/selectAnalysisLog
Count"
+
urlTimeStamp
(),
params
:{
importDate
:
date
}
...
...
src/main/resources/static/views/createTaskList/createTaskList.html
View file @
dec562da
...
...
@@ -40,7 +40,7 @@
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
class=
"box-body"
ng-if=
"isHistory==0"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
...
...
@@ -94,7 +94,56 @@
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
<div
class=
"box-body"
ng-if=
"isHistory==1"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
<li
ng-class=
"{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat=
"tab in cycleSheetData track by $index"
>
<a
ng-click=
"func($index,tab.typeCode)"
>
<ul
style=
"margin: 0;padding: 0;"
>
<li
style=
"font-size: 16px;"
>
{{tab.typeName}}
</li>
<li
style=
"text-align: center;"
>
{{tab.typeSum}}
</li>
</ul>
</a>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
<table
class=
"table table-hover"
>
<thead>
<tr>
<th>
保存日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
受理组号
</th>
<th>
合格数量
</th>
<th>
不合格数量
</th>
<th></th>
</tr>
</thead>
<tbody
ng-repeat=
"task in type.countyList"
>
<tr>
<td
class=
"mailbox-star"
><b>
{{task.saveDate | date:'yyyy-MM-dd'}}
</b></td>
<td
class=
"mailbox-name"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-date"
>
{{task.countyInvalidCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.countyCode,type.typeCode)"
>
组号列表
</a></td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
</div>
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
<!-- /. box -->
...
...
src/main/resources/static/views/createTaskList/createTaskList.js
View file @
dec562da
...
...
@@ -25,7 +25,9 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
isHistory
=
0
;
$scope
.
searchCurrent
=
function
(){
$scope
.
isHistory
=
0
;
HttpService
.
getTaskListToCreate
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
...
...
@@ -36,11 +38,25 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
}
}
console
.
log
(
$scope
.
cycleSheetData
)
console
.
log
(
"当天:"
,
$scope
.
cycleSheetData
)
})
}
$scope
.
searchCurrent
();
$scope
.
searchHistory
=
function
(){
$scope
.
isHistory
=
1
;
HttpService
.
getCreateHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
$scope
.
cycleSheetData
[
i
].
isActive
=
false
;
}
}
console
.
log
(
"历史:"
,
$scope
.
cycleSheetData
)
})
}
$scope
.
currentTab
=
0
;
$scope
.
func
=
function
(
index
)
{
...
...
@@ -72,6 +88,7 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
HttpService
.
getGroupListData
(
$
(
'#datepicker'
).
val
(),
countyCode
,
typeCode
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
){
$scope
.
paginationConf
.
totalItems
=
data
.
count
;
$scope
.
policeList
=
data
.
groupList
;
console
.
log
(
data
)
})
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
...
...
src/main/resources/static/views/dispatchTask/dispatchTask.html
View file @
dec562da
...
...
@@ -9,12 +9,12 @@
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-right: 10px;"
ng-click=
"search
Curren
t()"
>
查询
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-right: 10px;"
ng-click=
"search
TaskLis
t()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
class=
"box-body"
ng-if=
"isHistory==0"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
...
...
@@ -97,6 +97,84 @@
</div>
<!-- /.mail-box-messages -->
</div>
<div
class=
"box-body"
ng-if=
"isHistory==1"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
<li
ng-class=
"{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat=
"tab in cycleSheetData track by $index"
>
<a
ng-click=
"func($index,tab.typeCode)"
>
<ul
style=
"margin: 0;padding: 0;"
>
<li
style=
"font-size: 16px;"
>
{{tab.typeName}}
</li>
<li
style=
"text-align: center;"
>
{{tab.typeSum}}
</li>
</ul>
</a>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
<table
class=
"table table-hover table-striped"
>
<thead>
<tr>
<th>
任务单编号
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
受理组号
</th>
<th>
合格数量
</th>
<th>
不合格数量
</th>
<th>
废证数量
</th>
<th>
特殊证件数量
</th>
<th></th>
</tr>
</thead>
<tbody
ng-repeat=
"task in type.countyList"
>
<tr>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-name"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-date"
>
{{task.countyInvalidCount}}
</td>
<td
class=
"mailbox-date"
ng-if=
"task.faileCount==0"
>
{{task.faileCount}}
</td>
<td
class=
"mailbox-date text-danger"
ng-if=
"task.faileCount!=0"
>
{{task.faileCount}}
</td>
<td
class=
"mailbox-date"
>
{{task.specialCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.groupList,task.taskId)"
>
组号列表
</a></td>
</tr>
<tr
ng-if=
"task.taskId==taskId"
>
<td></td>
<td
colspan=
"10"
>
<table
class=
"table"
>
<thead>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</thead>
<tbody>
<tr
ng-repeat=
"item in policeList"
>
<td>
{{item.GROUP_NO}}
</td>
<td>
{{item.VALID_COUNT}}
</td>
<td>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.FAILECOUNT}}
</td>
<td><a
ng-click=
"getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>
特殊证件详情
</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
</div>
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
<!-- /. box -->
...
...
src/main/resources/static/views/dispatchTask/dispatchTask.js
View file @
dec562da
...
...
@@ -22,7 +22,9 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
isHistory
=
0
;
$scope
.
searchTaskList
=
function
(){
$scope
.
isHistory
=
0
;
HttpService
.
getTaskListByProcess
(
function
(
data
){
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
...
...
@@ -32,11 +34,25 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
$scope
.
cycleSheetData
[
i
].
isActive
=
false
;
}
}
console
.
log
(
$scope
.
cycleSheetData
)
console
.
log
(
"当天:"
,
$scope
.
cycleSheetData
)
})
}
$scope
.
searchTaskList
();
$scope
.
searchHistory
=
function
(){
$scope
.
isHistory
=
1
;
HttpService
.
getHistoryTask
(
$
(
'#datepicker'
).
val
(),
function
(
data
){
$scope
.
cycleSheetData
=
data
;
for
(
var
i
=
0
;
i
<
$scope
.
cycleSheetData
.
length
;
i
++
){
if
(
i
==
$scope
.
currentTab
){
$scope
.
cycleSheetData
[
i
].
isActive
=
true
;
}
else
{
$scope
.
cycleSheetData
[
i
].
isActive
=
false
;
}
}
console
.
log
(
"历史:"
,
$scope
.
cycleSheetData
)
})
}
//创建变量用来保存选中结果
$scope
.
selected
=
[];
...
...
src/main/resources/static/views/searchCard/searchCard.html
View file @
dec562da
...
...
@@ -11,7 +11,7 @@
请输入要查询的受理号/身份证号/任务单编号
</h4>
<!--任务单-->
<div
class=
"panel panel-info"
ng-if=
"searchResult.workOrderDat
a
.length>0"
>
<div
class=
"panel panel-info"
ng-if=
"searchResult.workOrderDat
e
.length>0"
>
<div
class=
"panel-heading"
>
<h3
class=
"panel-title"
>
任务单
...
...
@@ -32,7 +32,7 @@
<th>
仓库
</th>
</thead>
<tbody>
<tr
ng-repeat=
"item in searchResult.workOrderDat
a
"
>
<tr
ng-repeat=
"item in searchResult.workOrderDat
e
"
>
<td>
{{item.TASK_ID}}
</td>
<td>
{{item.COUNTYNAME}}
</td>
<td>
{{item.CARD_TYPE}}
</td>
...
...
@@ -151,6 +151,13 @@
</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"
>
<h4>
没有查询到相关信息
</h4>
</div>
</div>
</div>
...
...
src/main/resources/static/views/task/task.js
View file @
dec562da
This diff is collapsed.
Click to expand it.
src/main/resources/static/views/task/taskListCutting.html
View file @
dec562da
...
...
@@ -8,13 +8,13 @@
<strong>
任务单详情
</strong>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
oday
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
askList
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
class=
"box-body"
ng-if=
"isHistory==0"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
...
...
@@ -105,6 +105,89 @@
</div>
<!-- /.mail-box-messages -->
</div>
<div
class=
"box-body"
ng-if=
"isHistory==1"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
<li
ng-class=
"{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat=
"tab in cycleSheetData track by $index"
>
<a
ng-click=
"func($index,tab.typeCode)"
>
<ul
style=
"margin: 0;padding: 0;"
>
<li
style=
"font-size: 16px;"
>
{{tab.typeName}}
</li>
<li
style=
"text-align: center;"
>
{{tab.typeSum}}
</li>
</ul>
</a>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
<table
class=
"table table-hover table-striped"
>
<thead>
<tr>
<th>
任务单编号
</th>
<th>
核验日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</tr>
</thead>
<tbody
ng-repeat=
"task in type.countyList"
>
<tr>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.saveDate | date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.specialCount}}
</td>
<td
ng-if=
"task.faileCount!=0"
class=
"mailbox-subject"
style=
"color: red;"
>
{{task.faileCount}}
</td>
<td
ng-if=
"task.faileCount==0"
class=
"mailbox-subject"
>
{{task.faileCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.groupList,task.taskId)"
>
组号列表
</a></td>
</tr>
<tr
ng-if=
"task.taskId==taskId"
>
<td></td>
<td
colspan=
"10"
>
<table
class=
"table"
>
<thead>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</thead>
<tbody>
<tr
ng-repeat=
"item in policeList"
>
<td>
{{item.GROUP_NO}}
</td>
<td>
{{item.VALID_COUNT}}
</td>
<td>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.FAILECOUNT}}
</td>
<td><a
ng-click=
"getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>
特殊证件详情
</a></td>
</tr>
</tbody>
</table>
</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
</div>
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
<!-- /. box -->
...
...
src/main/resources/static/views/task/taskListPreLocating.html
View file @
dec562da
...
...
@@ -8,13 +8,13 @@
<strong>
任务单详情
</strong>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
oday
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
askList
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
class=
"box-body"
ng-if=
"isHistory==0"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
...
...
@@ -105,6 +105,89 @@
</div>
<!-- /.mail-box-messages -->
</div>
<div
class=
"box-body"
ng-if=
"isHistory==1"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
<li
ng-class=
"{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat=
"tab in cycleSheetData track by $index"
>
<a
ng-click=
"func($index,tab.typeCode)"
>
<ul
style=
"margin: 0;padding: 0;"
>
<li
style=
"font-size: 16px;"
>
{{tab.typeName}}
</li>
<li
style=
"text-align: center;"
>
{{tab.typeSum}}
</li>
</ul>
</a>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
<table
class=
"table table-hover table-striped"
>
<thead>
<tr>
<th>
任务单编号
</th>
<th>
核验日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</tr>
</thead>
<tbody
ng-repeat=
"task in type.countyList"
>
<tr>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.saveDate | date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.specialCount}}
</td>
<td
ng-if=
"task.faileCount!=0"
class=
"mailbox-subject"
style=
"color: red;"
>
{{task.faileCount}}
</td>
<td
ng-if=
"task.faileCount==0"
class=
"mailbox-subject"
>
{{task.faileCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.groupList,task.taskId)"
>
组号列表
</a></td>
</tr>
<tr
ng-if=
"task.taskId==taskId"
>
<td></td>
<td
colspan=
"10"
>
<table
class=
"table"
>
<thead>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</thead>
<tbody>
<tr
ng-repeat=
"item in policeList"
>
<td>
{{item.GROUP_NO}}
</td>
<td>
{{item.VALID_COUNT}}
</td>
<td>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.FAILECOUNT}}
</td>
<td><a
ng-click=
"getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>
特殊证件详情
</a></td>
</tr>
</tbody>
</table>
</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
</div>
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
...
...
src/main/resources/static/views/task/taskListPrint.html
View file @
dec562da
...
...
@@ -8,13 +8,13 @@
<strong>
任务单详情
</strong>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
oday
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
askList
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
class=
"box-body"
ng-if=
"isHistory==0"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
...
...
@@ -114,6 +114,89 @@
<h4>
暂无数据
</h4>
</div>
</div>
<div
class=
"box-body"
ng-if=
"isHistory==1"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
<li
ng-class=
"{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat=
"tab in cycleSheetData track by $index"
>
<a
ng-click=
"func($index,tab.typeCode)"
>
<ul
style=
"margin: 0;padding: 0;"
>
<li
style=
"font-size: 16px;"
>
{{tab.typeName}}
</li>
<li
style=
"text-align: center;"
>
{{tab.typeSum}}
</li>
</ul>
</a>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
<table
class=
"table table-hover table-striped"
>
<thead>
<tr>
<th>
任务单编号
</th>
<th>
核验日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</tr>
</thead>
<tbody
ng-repeat=
"task in type.countyList"
>
<tr>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.saveDate | date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.specialCount}}
</td>
<td
ng-if=
"task.faileCount!=0"
class=
"mailbox-subject"
style=
"color: red;"
>
{{task.faileCount}}
</td>
<td
ng-if=
"task.faileCount==0"
class=
"mailbox-subject"
>
{{task.faileCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.groupList,task.taskId)"
>
组号列表
</a></td>
</tr>
<tr
ng-if=
"task.taskId==taskId"
>
<td></td>
<td
colspan=
"10"
>
<table
class=
"table"
>
<thead>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</thead>
<tbody>
<tr
ng-repeat=
"item in policeList"
>
<td>
{{item.GROUP_NO}}
</td>
<td>
{{item.VALID_COUNT}}
</td>
<td>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.FAILECOUNT}}
</td>
<td><a
ng-click=
"getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>
特殊证件详情
</a></td>
</tr>
</tbody>
</table>
</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
</div>
<!-- /.mail-box-messages -->
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
</div>
<!-- /.box-body -->
</div>
<!-- /. box -->
...
...
src/main/resources/static/views/task/taskListPushing.html
View file @
dec562da
...
...
@@ -8,13 +8,13 @@
<strong>
任务单详情
</strong>
<div
class=
"box-tools pull-right"
>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
oday
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"searchT
askList
()"
>
当前
</button>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;"
ng-click=
"searchHistory()"
>
查询历史
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
class=
"box-body"
ng-if=
"isHistory==0"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
...
...
@@ -105,6 +105,89 @@
</div>
<!-- /.mail-box-messages -->
</div>
<div
class=
"box-body"
ng-if=
"isHistory==1"
>
<div
ng-if=
"cycleSheetData.length>0"
>
<div
class=
"nav-tabs-custom clearfix"
style=
"margin-bottom: 0;"
>
<ul
class=
"nav nav-tabs"
>
<li
ng-class=
"{true: 'active', false: 'inactive'}[tab.isActive]"
ng-repeat=
"tab in cycleSheetData track by $index"
>
<a
ng-click=
"func($index,tab.typeCode)"
>
<ul
style=
"margin: 0;padding: 0;"
>
<li
style=
"font-size: 16px;"
>
{{tab.typeName}}
</li>
<li
style=
"text-align: center;"
>
{{tab.typeSum}}
</li>
</ul>
</a>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
<table
class=
"table table-hover table-striped"
>
<thead>
<tr>
<th>
任务单编号
</th>
<th>
核验日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</tr>
</thead>
<tbody
ng-repeat=
"task in type.countyList"
>
<tr>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
>
{{task.saveDate | date:'yyyy-MM-dd'}}
</td>
<td
class=
"mailbox-subject"
><a>
{{task.countyName}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupList.length}}
</td>
<td
class=
"mailbox-subject"
>
{{task.groupNum}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.countyValidCount-task.specialCount}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.specialCount}}
</td>
<td
ng-if=
"task.faileCount!=0"
class=
"mailbox-subject"
style=
"color: red;"
>
{{task.faileCount}}
</td>
<td
ng-if=
"task.faileCount==0"
class=
"mailbox-subject"
>
{{task.faileCount}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.groupList,task.taskId)"
>
组号列表
</a></td>
</tr>
<tr
ng-if=
"task.taskId==taskId"
>
<td></td>
<td
colspan=
"10"
>
<table
class=
"table"
>
<thead>
<th>
组号
</th>
<th>
核验数量
</th>
<th>
证件数量
</th>
<th>
特殊证件数量
</th>
<th>
废证数量
</th>
<th></th>
</thead>
<tbody>
<tr
ng-repeat=
"item in policeList"
>
<td>
{{item.GROUP_NO}}
</td>
<td>
{{item.VALID_COUNT}}
</td>
<td>
{{item.VALID_COUNT-item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.SPECIAL_CARD_COUNT}}
</td>
<td>
{{item.FAILECOUNT}}
</td>
<td><a
ng-click=
"getSpecialCardsInfo(item.GROUP_NO,item.SPECIAL_CARD_COUNT)"
>
特殊证件详情
</a></td>
</tr>
</tbody>
</table>
</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
</div>
<div
ng-if=
"cycleSheetData.length==0"
>
<h4>
暂无数据
</h4>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
<!-- /. box -->
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.html
View file @
dec562da
...
...
@@ -97,15 +97,9 @@
<div
class=
"box-body"
ng-if=
"xmlPackageData.length==0"
>
<h4>
暂无记录。
</h4>
</div>
<div
ng-if=
"xmlPackageData.length>0"
>
<div
style=
"padding-left: 27%;"
ng-if=
"xmlPackageData.length>0"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<div
class=
"row"
style=
"padding:0 25px;"
ng-if=
"postMsgDetail.length>0"
>
<div
class=
"col-md-11"
></div>
<div
class=
"col-md-1"
style=
"text-align: right;"
>
<button
id=
"rev-btn"
class=
"btn btn-primary"
data-loading-text=
"Loading..."
ng-click=
"PreviewMytableRotate()"
type=
"button"
>
打印
</button>
</div>
</div>
</div>
</div>
</div>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
dec562da
...
...
@@ -38,19 +38,19 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
width
:
876
,
cache
:
false
,
controller
:
[
'$scope'
,
'HttpService'
,
function
(
$scope
,
HttpService
)
{
$scope
.
paginationConf
=
{
currentPage
:
1
,
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
//
$scope.paginationConf = {
//
currentPage: 1,
//
itemsPerPage: 10,
//
perPageOptions: [10, 20, 30, 40, 50]
//
};
$scope
.
upDate
=
uploadDate
;
$scope
.
upCount
=
packageCount
;
$scope
.
getAnalyseData
=
function
()
{
HttpService
.
analyseDataCount
(
uploadDate
,
function
(
data
)
{
$scope
.
paginationConf
.
totalItems
=
data
.
respData
.
string
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
)
})
HttpService
.
analyseData
(
uploadDate
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
)
{
//
HttpService.analyseDataCount(uploadDate, function (data) {
//
$scope.paginationConf.totalItems =data.respData.string;
//
console.log($scope.paginationConf.totalItems)
//
})
HttpService
.
analyseData
(
uploadDate
,
function
(
data
)
{
$scope
.
resultData
=
data
;
console
.
log
(
$scope
.
resultData
)
})
...
...
@@ -72,7 +72,9 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
fd
.
append
(
'file'
,
files
[
i
]);
}
HttpService
.
uploadPackage
(
fd
,
function
(
data
)
{
console
.
log
(
"导入项目的返回结果:"
,
data
)
if
(
data
){
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