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
a145ed63
Commit
a145ed63
authored
Mar 02, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增添加废证、余证、回迁证页面
增加解析日志和打包日志页面
parent
d8ca0dbf
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
750 additions
and
84 deletions
+750
-84
index.html
src/main/resources/static/index.html
+10
-0
app.js
src/main/resources/static/js/app.js
+7
-0
service.js
src/main/resources/static/js/service.js
+11
-0
addFailed.html
src/main/resources/static/views/addFailed/addFailed.html
+53
-2
addFailed.js
src/main/resources/static/views/addFailed/addFailed.js
+11
-0
addRest.html
src/main/resources/static/views/addRest/addRest.html
+34
-2
addRest.js
src/main/resources/static/views/addRest/addRest.js
+11
-0
analysisLog.html
src/main/resources/static/views/analysisLog/analysisLog.html
+114
-0
analysisLog.js
src/main/resources/static/views/analysisLog/analysisLog.js
+35
-0
excelAndSearch.html
...resources/static/views/excelAndSearch/excelAndSearch.html
+1
-1
excelAndSearch.js
...n/resources/static/views/excelAndSearch/excelAndSearch.js
+18
-0
historyBack.html
...main/resources/static/views/historyCards/historyBack.html
+61
-0
historyBack.js
src/main/resources/static/views/historyCards/historyBack.js
+26
-0
packageLog.html
src/main/resources/static/views/packageLog/packageLog.html
+119
-0
packageLog.js
src/main/resources/static/views/packageLog/packageLog.js
+35
-0
task.js
src/main/resources/static/views/task/task.js
+132
-36
taskListPreLocating.html
...main/resources/static/views/task/taskListPreLocating.html
+20
-9
taskListPrint.html
src/main/resources/static/views/task/taskListPrint.html
+30
-24
taskListQualityCheck.html
...ain/resources/static/views/task/taskListQualityCheck.html
+20
-8
xmlAndSearch.html
...ain/resources/static/views/xmlAndSearch/xmlAndSearch.html
+1
-1
xmlAndSearch.js
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
+1
-1
No files found.
src/main/resources/static/index.html
View file @
a145ed63
...
...
@@ -216,6 +216,12 @@
<span>
添加余证
</span>
</a>
</li>
<li
ng-class=
"{true: 'active', false: ''}[tab =='/historyBack']"
ng-click=
"getFocus('/historyBack')"
>
<a
href=
"#!/historyBack"
>
<i
class=
"fa fa-plus"
></i>
<span>
历史回迁证
</span>
</a>
</li>
<li>
<a
ng-click=
"logout()"
>
<i
class=
"glyphicon glyphicon-user"
></i>
...
...
@@ -257,5 +263,8 @@
<script
src=
"views/dispatchTask/dispatchTask.js"
></script>
<script
src=
"views/addRest/addRest.js"
></script>
<script
src=
"views/login/login.js"
></script>
<script
src=
"views/historyCards/historyBack.js"
></script>
<script
src=
"views/analysisLog/analysisLog.js"
></script>
<script
src=
"views/packageLog/packageLog.js"
></script>
</body>
</html>
\ No newline at end of file
src/main/resources/static/js/app.js
View file @
a145ed63
...
...
@@ -19,6 +19,9 @@ angular.module('AvatarCheck', [
'AvatarCheck.createTaskList'
,
'AvatarCheck.dispatchTask'
,
'AvatarCheck.login'
,
'AvatarCheck.historyBack'
,
'AvatarCheck.analysisLog'
,
'AvatarCheck.packageLog'
,
'tm.pagination'
]).
config
([
'$locationProvider'
,
'$routeProvider'
,
'localStorageServiceProvider'
,
'$qProvider'
,
function
(
$locationProvider
,
$routeProvider
,
localStorageServiceProvider
,
$qProvider
)
{
$locationProvider
.
hashPrefix
(
'!'
);
...
...
@@ -99,6 +102,10 @@ angular.module('AvatarCheck', [
if
(
$location
.
path
()
==
"/dispatchTask"
)
{
$rootScope
.
tab
=
'/dispatchTask'
;
}
if
(
$location
.
path
()
==
"/historyBack"
)
{
$rootScope
.
tab
=
'/historyBack'
;
}
console
.
log
(
$rootScope
.
tab
)
...
...
src/main/resources/static/js/service.js
View file @
a145ed63
...
...
@@ -153,6 +153,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
})
},
uploadExcelFile
:
function
(
fd
,
success
){
$http
({
method
:
'POST'
,
url
:
"../ReadExcel/ReadPersonPost"
,
data
:
fd
,
headers
:
{
'Content-Type'
:
undefined
},
transformRequest
:
angular
.
identity
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
logout
:
function
(
success
){
$http
({
method
:
'GET'
,
...
...
src/main/resources/static/views/addFailed/addFailed.html
View file @
a145ed63
<style>
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
</style>
<section
class=
"content-header"
style=
"padding-top: 1px;"
>
<h4>
添加废证
</h4>
</section>
\ No newline at end of file
</section>
<div
style=
"padding: 15px;"
>
<div
class=
"box box-primary"
>
<div
class=
"box-primary"
>
<form
ng-submit=
"createInputs()"
style=
"padding-left: 15px;"
>
<span
style=
"font-size:20px;"
>
废证数量:
</span>
<input
style=
"margin-top:20px;height: 30px;"
type=
"text"
ng-model=
"failedCount"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
</form>
<div
style=
"padding: 15px;"
>
<table
class=
"table table-bordered"
>
<tr
ng-repeat=
"item in arr"
>
<td>
{{$index+1}}
</td>
<td>
身份证号:
</td>
<td>
<input
type=
"text"
placeholder=
"请填写身份证号"
style=
"height: 34px;"
>
</td>
<td>
废证原因:
</td>
<td>
<input
type=
"text"
placeholder=
"请填写废证原因"
style=
"height: 34px;"
>
</td>
<td>
废证类型:
</td>
<td>
<select
class=
"form-control select2"
id=
"state"
>
<option
value=
""
>
芯片废
</option>
<option
value=
""
>
压废
</option>
<option
value=
""
>
膜废
</option>
</select>
</td>
</tr>
</table>
<div
ng-if=
"arr.length>0"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
>
添加
</button>
<button
class=
"btn btn-danger"
ng-click=
"cancelAdd()"
>
取消
</button>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/addFailed/addFailed.js
View file @
a145ed63
...
...
@@ -11,5 +11,15 @@ angular.module('AvatarCheck.addFailed', ['ngRoute', 'AvatarCheck.http'])
.
controller
(
'addFailedCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
)
{
$scope
.
createInputs
=
function
(){
$scope
.
arr
=
[];
for
(
var
i
=
0
;
i
<
$scope
.
failedCount
;
i
++
){
$scope
.
arr
.
push
(
i
);
}
}
$scope
.
cancelAdd
=
function
(){
$scope
.
arr
=
[];
}
});
\ No newline at end of file
src/main/resources/static/views/addRest/addRest.html
View file @
a145ed63
<style>
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
/*清除浮动代码*/
.cl
:after
{
display
:
block
;
clear
:
both
;
content
:
""
;
visibility
:
hidden
;
height
:
0
}
.cl
{
zoom
:
1
}
</style>
<section
class=
"content-header"
style=
"padding-top: 1px;"
>
<h4>
添加余证
</h4>
</section>
\ No newline at end of file
</section>
<div
style=
"padding: 15px;"
>
<div
class=
"box box-primary"
>
<div
class=
"box-primary"
>
<form
ng-submit=
"createInputs()"
style=
"padding-left: 15px;"
>
<span
style=
"font-size:20px;"
>
余证数量:
</span>
<input
style=
"margin-top:20px;height: 30px;"
type=
"text"
ng-model=
"restCount"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
</form>
<div
style=
"padding: 15px;"
>
<ul
class=
"cl"
>
<li
ng-repeat=
"item in arr"
style=
"float: left;margin:0 10px 10px 0"
>
<input
type=
"text"
style=
"height: 34px;"
placeholder=
"请输入身份证号或受理号"
>
</li>
</ul>
<div
ng-if=
"arr.length>0"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
>
添加
</button>
<button
class=
"btn btn-danger"
ng-click=
"cancelAddRest()"
>
取消
</button>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/addRest/addRest.js
View file @
a145ed63
...
...
@@ -11,5 +11,15 @@ angular.module('AvatarCheck.addRest', ['ngRoute', 'AvatarCheck.http'])
.
controller
(
'addRestCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
)
{
$scope
.
createInputs
=
function
(){
$scope
.
arr
=
[];
for
(
var
i
=
0
;
i
<
$scope
.
restCount
;
i
++
){
$scope
.
arr
.
push
(
i
);
}
}
$scope
.
cancelAddRest
=
function
(){
$scope
.
arr
=
[];
}
});
\ No newline at end of file
src/main/resources/static/views/analysisLog/analysisLog.html
0 → 100644
View file @
a145ed63
<style>
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
.ul
li
{
cursor
:
pointer
;
}
.page-list
.pagination
{
float
:
left
;}
.page-list
.pagination
span
{
cursor
:
pointer
;}
.page-list
.pagination
.separate
span
{
cursor
:
default
;
border-top
:
none
;
border-bottom
:
none
;}
.page-list
.pagination
.separate
span
:hover
{
background
:
none
;}
.page-list
.page-total
{
float
:
left
;
margin
:
25px
20px
;}
.page-list
.page-total
input
,
.page-list
.page-total
select
{
height
:
26px
;
border
:
1px
solid
#ddd
;}
.page-list
.page-total
input
{
width
:
40px
;
padding-left
:
3px
;}
.page-list
.page-total
select
{
width
:
50px
;}
.page-list
:after
{
display
:
block
;
clear
:
both
;
content
:
""
}
.page-list
{
zoom
:
1
}
</style>
<section
class=
"content-header"
style=
"padding-top: 1px;"
>
<h4>
解析日志
</h4>
</section>
<div
style=
"padding: 15px;"
>
<div
class=
"box box-primary"
>
<strong
class=
"box-header"
></strong>
<div
class=
"box-primary"
style=
"padding: 15px;padding-top: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<td>
原始包数据:
</td>
<td>
<input
type=
"text"
class=
"form-control"
placeholder=
"原始包数据"
/>
</td>
<td>
解析时间
</td>
<td>
<div
class=
"input-group date"
>
<div
class=
"input-group-addon"
>
<i
class=
"fa fa-calendar"
></i>
</div>
<input
type=
"text"
class=
"form-control pull-right"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
</div>
</td>
<td>
<button
class=
"btn btn-primary"
>
查询
</button>
</td>
</tr>
</table>
<table
class=
"table table-bordered table-hover postTable"
>
<thead>
<tr>
<th>
NO.
</th>
<th>
原数据包名
</th>
<th>
记录数
</th>
<th>
格口文件名
</th>
<th>
解析时间
</th>
<th>
普通证
</th>
<th>
个人邮寄证
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
1
</td>
<td>
123420190302001
</td>
<td>
300
</td>
<td>
格口信息.xls
</td>
<td>
20190302
</td>
<td>
200
</td>
<td>
150
</td>
</tr>
<tr>
<td>
2
</td>
<td>
123420190302002
</td>
<td>
300
</td>
<td>
格口信息.xls
</td>
<td>
20190301
</td>
<td>
50
</td>
<td>
250
</td>
</tr>
<tr
ng-repeat=
"item in postMsgDetail"
>
<td>
<input
ng-if=
"$index==0"
type=
"radio"
name=
"r1"
class=
"minimal"
value=
"{{item.id}}"
ng-click=
"changeIndex($index)"
checked=
"checked"
>
<input
ng-if=
"$index!=0"
type=
"radio"
name=
"r1"
class=
"minimal"
value=
"{{item.id}}"
ng-click=
"changeIndex($index)"
>
</td>
<td>
{{item.id}}
</td>
<td>
{{item.ddh}}
</td>
<td>
{{item.yjh}}
</td>
<td>
{{item.fxyjh}}
</td>
<td>
{{item.sbsll}}
</td>
<td>
{{item.sjrxm}}
</td>
<td>
{{item.sjrlxfs}}
</td>
<td>
{{item.sjrdz}}
</td>
<td>
{{item.sqrxm}}
</td>
<td>
{{item.printTime | date:'yyyy-MM-dd hh:mm:ss'}}
</td>
</tr>
</tbody>
</table>
<div
style=
"padding-left: 27%;"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/analysisLog/analysisLog.js
0 → 100644
View file @
a145ed63
'use strict'
;
angular
.
module
(
'AvatarCheck.analysisLog'
,
[
'ngRoute'
,
'AvatarCheck.http'
,
'tm.pagination'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
)
{
$routeProvider
.
when
(
'/analysisLog'
,
{
templateUrl
:
'views/analysisLog/analysisLog.html'
+
urlTimeStamp
(),
controller
:
'analysisLogCtrl'
,
cache
:
false
});
}])
.
controller
(
'analysisLogCtrl'
,
function
(
$scope
,
$rootScope
,
HttpService
,
$interval
,
MessageService
,
$timeout
,
$filter
,
ngDialog
)
{
//Date picker
$
(
'#datepicker'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
paginationConf
=
{
currentPage
:
1
,
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
paginationConf
.
totalItems
=
50
;
});
src/main/resources/static/views/excelAndSearch/excelAndSearch.html
View file @
a145ed63
...
...
@@ -64,7 +64,7 @@
<td
colspan=
"2"
>
<input
type=
"file"
id=
"id_file_photo_for_check"
class=
"file"
data-show-preview=
"true"
multiple
/>
</td>
<td
style=
"text-align: left;"
><button
class=
"btn btn-primary"
ng-click=
"upload
File
()"
>
上传
</button></td>
<td
style=
"text-align: left;"
><button
class=
"btn btn-primary"
ng-click=
"upload
Excel
()"
>
上传
</button></td>
</tr>
</table>
</div>
...
...
src/main/resources/static/views/excelAndSearch/excelAndSearch.js
View file @
a145ed63
...
...
@@ -45,5 +45,22 @@ angular.module('AvatarCheck.excelAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm
};
$scope
.
paginationConf
.
totalItems
=
50
;
$scope
.
uploadExcel
=
function
()
{
var
fd
=
new
FormData
();
var
files
=
document
.
querySelector
(
'input#id_file_photo_for_check'
).
files
;
for
(
var
i
in
files
){
fd
.
append
(
'file'
,
files
[
i
]);
}
if
(
angular
.
isUndefined
(
files
)){
MessageService
.
showAlert
(
"请选择上传的文件..."
)
}
else
{
fd
.
append
(
'file'
,
files
);
HttpService
.
uploadExcelFile
(
fd
,
function
(
data
)
{
console
.
log
(
"导入项目的返回结果:"
,
data
)
})
}
}
});
\ No newline at end of file
src/main/resources/static/views/historyCards/historyBack.html
0 → 100644
View file @
a145ed63
<style>
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
</style>
<section
class=
"content-header"
style=
"padding-top: 1px;"
>
<h4>
历史回迁证
</h4>
</section>
<div
style=
"padding: 15px;"
>
<div
class=
"box box-primary"
>
<div
class=
"box-primary"
>
<form
style=
"padding-left: 15px;"
>
<span
style=
"font-size:20px;"
>
回迁证数量:
</span>
<input
style=
"margin-top:20px;height: 30px;"
type=
"text"
ng-model=
"historyCount"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"确定"
ng-click=
"createHistoryInputs()"
>
<span
style=
"font-size:14px;color: red;"
ng-if=
"errMsglb"
>
{{errMsglb}}
</span>
</form>
<div
style=
"padding: 15px;"
>
<table
class=
"table table-bordered"
>
<tr
ng-repeat=
"item in arr"
>
<td>
{{$index+1}}
</td>
<td>
身份证号:
</td>
<td>
<input
type=
"text"
placeholder=
"请填写身份证号"
style=
"height: 34px;"
>
</td>
<td>
制证类型:
</td>
<td>
<select
class=
"form-control select2"
id=
"state"
>
<option
value=
""
>
普通证
</option>
<option
value=
""
>
邮寄证
</option>
</select>
</td>
<td>
地区:
</td>
<td>
<select
class=
"form-control select2"
id=
"state"
>
<option
value=
""
>
回迁证
</option>
<option
value=
""
>
东城区
</option>
<option
value=
""
>
西城区
</option>
</select>
</td>
</tr>
</table>
<div
ng-if=
"arr.length>0"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
>
添加
</button>
<button
class=
"btn btn-danger"
ng-click=
"cancelAddHistory()"
>
取消
</button>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/historyCards/historyBack.js
0 → 100644
View file @
a145ed63
'use strict'
;
angular
.
module
(
'AvatarCheck.historyBack'
,
[
'ngRoute'
,
'AvatarCheck.http'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
)
{
$routeProvider
.
when
(
'/historyBack'
,
{
templateUrl
:
'views/historyCards/historyBack.html'
+
urlTimeStamp
(),
controller
:
'historyBackCtrl'
,
cache
:
false
});
}])
.
controller
(
'historyBackCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
)
{
$scope
.
createHistoryInputs
=
function
(){
$scope
.
arr
=
[];
for
(
var
i
=
0
;
i
<
$scope
.
historyCount
;
i
++
){
$scope
.
arr
.
push
(
i
);
}
}
$scope
.
cancelAddHistory
=
function
(){
$scope
.
arr
=
[];
}
});
\ No newline at end of file
src/main/resources/static/views/packageLog/packageLog.html
0 → 100644
View file @
a145ed63
<style>
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
.ul
li
{
cursor
:
pointer
;
}
.page-list
.pagination
{
float
:
left
;}
.page-list
.pagination
span
{
cursor
:
pointer
;}
.page-list
.pagination
.separate
span
{
cursor
:
default
;
border-top
:
none
;
border-bottom
:
none
;}
.page-list
.pagination
.separate
span
:hover
{
background
:
none
;}
.page-list
.page-total
{
float
:
left
;
margin
:
25px
20px
;}
.page-list
.page-total
input
,
.page-list
.page-total
select
{
height
:
26px
;
border
:
1px
solid
#ddd
;}
.page-list
.page-total
input
{
width
:
40px
;
padding-left
:
3px
;}
.page-list
.page-total
select
{
width
:
50px
;}
.page-list
:after
{
display
:
block
;
clear
:
both
;
content
:
""
}
.page-list
{
zoom
:
1
}
</style>
<section
class=
"content-header"
style=
"padding-top: 1px;"
>
<h4>
打包日志
</h4>
</section>
<div
style=
"padding: 15px;"
>
<div
class=
"box box-primary"
>
<strong
class=
"box-header"
></strong>
<div
class=
"box-primary"
style=
"padding: 15px;padding-top: 0;"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<td
width=
"10%"
>
新包名:
</td>
<td
width=
"15%"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"原始包数据"
/>
</td>
<td
width=
"10%"
>
身份证:
</td>
<td
width=
"15%"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"身份证号"
/>
</td>
<td
width=
"10%"
>
生成时间:
</td>
<td
width=
"15%"
>
<div
class=
"input-group date"
>
<div
class=
"input-group-addon"
>
<i
class=
"fa fa-calendar"
></i>
</div>
<input
type=
"text"
class=
"form-control pull-right"
ng-model=
"choseDate"
id=
"datepicker"
readonly
/>
</div>
</td>
<td
width=
"10%"
>
上传地区:
</td>
<td
width=
"15%"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"上传地区名称"
/>
</td>
<td><button
class=
"btn btn-primary"
>
查询
</button></td>
</tr>
</table>
<table
class=
"table table-bordered table-hover postTable"
>
<thead>
<tr>
<th>
NO.
</th>
<th>
新包名
</th>
<th>
生成时间
</th>
<th>
记录数
</th>
<th>
上传地区代码
</th>
<th>
上传地区名称
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
1
</td>
<td>
123420190302001
</td>
<td>
20190302
</td>
<td>
300
</td>
<td>
110012
</td>
<td>
朝阳区
</td>
</tr>
<tr>
<td>
2
</td>
<td>
123420190302002
</td>
<td>
20190301
</td>
<td>
400
</td>
<td>
110013
</td>
<td>
海淀区
</td>
</tr>
<tr
ng-repeat=
"item in postMsgDetail"
>
<td>
<input
ng-if=
"$index==0"
type=
"radio"
name=
"r1"
class=
"minimal"
value=
"{{item.id}}"
ng-click=
"changeIndex($index)"
checked=
"checked"
>
<input
ng-if=
"$index!=0"
type=
"radio"
name=
"r1"
class=
"minimal"
value=
"{{item.id}}"
ng-click=
"changeIndex($index)"
>
</td>
<td>
{{item.id}}
</td>
<td>
{{item.ddh}}
</td>
<td>
{{item.yjh}}
</td>
<td>
{{item.fxyjh}}
</td>
<td>
{{item.sbsll}}
</td>
<td>
{{item.sjrxm}}
</td>
<td>
{{item.sjrlxfs}}
</td>
<td>
{{item.sjrdz}}
</td>
<td>
{{item.sqrxm}}
</td>
<td>
{{item.printTime | date:'yyyy-MM-dd hh:mm:ss'}}
</td>
</tr>
</tbody>
</table>
<div
style=
"padding-left: 27%;"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/packageLog/packageLog.js
0 → 100644
View file @
a145ed63
'use strict'
;
angular
.
module
(
'AvatarCheck.packageLog'
,
[
'ngRoute'
,
'AvatarCheck.http'
,
'tm.pagination'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
)
{
$routeProvider
.
when
(
'/packageLog'
,
{
templateUrl
:
'views/packageLog/packageLog.html'
+
urlTimeStamp
(),
controller
:
'packageLogCtrl'
,
cache
:
false
});
}])
.
controller
(
'packageLogCtrl'
,
function
(
$scope
,
$rootScope
,
HttpService
,
$interval
,
MessageService
,
$timeout
,
$filter
,
ngDialog
)
{
//Date picker
$
(
'#datepicker'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
$scope
.
paginationConf
=
{
currentPage
:
1
,
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
paginationConf
.
totalItems
=
50
;
});
src/main/resources/static/views/task/task.js
View file @
a145ed63
...
...
@@ -146,22 +146,31 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
taskId
:
'20190228001'
,
county
:
'西城区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
},
{
taskId
:
'20190228001'
,
county
:
'东城区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
},
{
taskId
:
'20190228001'
,
county
:
'海淀区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
}
]
},
...
...
@@ -173,17 +182,23 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
countyList
:
[
{
taskId
:
'20190228001'
,
county
:
'
朝阳
区'
,
county
:
'
东城
区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
1
},
{
taskId
:
'20190228001'
,
county
:
'
昌平
区'
,
county
:
'
海淀
区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
}
]
}
...
...
@@ -257,22 +272,31 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
taskId
:
'20190228001'
,
county
:
'西城区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
},
{
taskId
:
'20190228001'
,
county
:
'东城区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
},
{
taskId
:
'20190228001'
,
county
:
'海淀区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
}
]
},
...
...
@@ -284,21 +308,53 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
countyList
:
[
{
taskId
:
'20190228001'
,
county
:
'
朝阳
区'
,
county
:
'
东城
区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
1
},
{
taskId
:
'20190228001'
,
county
:
'
昌平
区'
,
county
:
'
海淀
区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
}
]
}
]
$scope
.
getPoliceList
=
function
(
taskId
){
ngDialog
.
open
({
template
:
'dialogs/policeList.html'
+
urlTimeStamp
(),
width
:
600
,
cache
:
false
,
closeByDocument
:
false
,
controller
:
[
'$scope'
,
function
(
$scope
)
{
$scope
.
policeList
=
[
{
policeName
:
'东城派出所'
,
dataCheckCount
:
100
,
printCount
:
0
,
qualityCheckCount
:
0
},
{
policeName
:
'西城派出所'
,
dataCheckCount
:
200
,
printCount
:
0
,
qualityCheckCount
:
0
}
]
}]
});
};
$scope
.
currentTab
=
0
;
$scope
.
func
=
function
(
index
)
{
for
(
var
idx
in
$scope
.
cycleSheetData
)
{
...
...
@@ -343,22 +399,31 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
taskId
:
'20190228001'
,
county
:
'西城区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
},
{
taskId
:
'20190228001'
,
county
:
'东城区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
},
{
taskId
:
'20190228001'
,
county
:
'海淀区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
}
]
},
...
...
@@ -370,17 +435,23 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
countyList
:
[
{
taskId
:
'20190228001'
,
county
:
'
朝阳
区'
,
county
:
'
东城
区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
1
},
{
taskId
:
'20190228001'
,
county
:
'
昌平
区'
,
county
:
'
海淀
区'
,
groupNo
:
'00234653-03687587'
,
valid
:
240
,
invalid
:
0
checkDate
:
'20190301'
,
groupCount
:
160
,
dataCheckCount
:
160
,
electricCount
:
160
,
failedCards
:
0
}
]
}
...
...
@@ -397,6 +468,31 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
$scope
.
currentTab
=
index
;
}
$scope
.
getPoliceList
=
function
(
taskId
){
ngDialog
.
open
({
template
:
'dialogs/policeList.html'
+
urlTimeStamp
(),
width
:
600
,
cache
:
false
,
closeByDocument
:
false
,
controller
:
[
'$scope'
,
function
(
$scope
)
{
$scope
.
policeList
=
[
{
policeName
:
'东城派出所'
,
dataCheckCount
:
100
,
printCount
:
0
,
qualityCheckCount
:
0
},
{
policeName
:
'西城派出所'
,
dataCheckCount
:
200
,
printCount
:
0
,
qualityCheckCount
:
0
}
]
}]
});
}
})
.
controller
(
'taskListSortingCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
)
{
...
...
src/main/resources/static/views/task/taskListPreLocating.html
View file @
a145ed63
<section
class=
"content-header"
style=
"padding-top: 1px;"
>
<h4>
任务单
...
...
@@ -13,8 +12,8 @@
<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=
"searchToday()"
>
当前
</button>
<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=
"searchCurrent()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
...
...
@@ -31,6 +30,9 @@
</ul>
</a>
</li>
<li
style=
"float: right; padding-right: 30px;"
>
<h4>
任务总数:8001
</h4>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
...
...
@@ -39,10 +41,13 @@
<tr>
<th><input
type=
"checkbox"
></th>
<th>
任务单编号
</th>
<th>
核验日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
合格数
</th>
<th>
不合格数
</th>
<th>
数据核验数量
</th>
<th>
电写入数量
</th>
<th>
废证数量
</th>
<th></th>
</tr>
</thead>
...
...
@@ -50,11 +55,14 @@
<tr
ng-repeat=
"task in type.countyList"
>
<td><input
type=
"checkbox"
class=
"icheckbox_flat-blue"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-name"
><a>
{{task.county}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupNo}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.valid}}
</td>
<td
class=
"mailbox-date"
>
{{task.invalid}}
</td>
<td
class=
"mailbox-date"
><a
href=
"#"
>
组号列表
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.checkDate}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.county}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.groupCount}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.groupNo}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.dataCheckCount}}
</a></td>
<td
class=
"mailbox-attachment"
>
{{task.electricCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.failedCards}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号列表
</a></td>
</tr>
</tbody>
</table>
...
...
@@ -63,6 +71,9 @@
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
<div
class=
"box-footer"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
ng-click=
"goes()"
>
下发任务单
</button>
</div>
</div>
<!-- /. box -->
</div>
...
...
src/main/resources/static/views/task/taskListPrint.html
View file @
a145ed63
...
...
@@ -30,7 +30,7 @@
</ul>
</a>
</li>
<li
style=
"float: right; padding-right: 3
0px;"
>
<li
class=
"pull-right"
style=
"padding-right: 2
0px;"
>
<h5>
任务总数:8001
</h5>
<h4>
余证数:1
</h4>
</li>
...
...
@@ -38,29 +38,35 @@
</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><input
type=
"checkbox"
></th>
<th>
任务单编号
</th>
<th>
地区
</th>
<th>
组号
</th>
<th>
合格数
</th>
<th>
不合格数
</th>
<th></th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"task in type.countyList"
>
<td><input
type=
"checkbox"
class=
"icheckbox_flat-blue"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-name"
><a>
{{task.county}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupNo}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.valid}}
</td>
<td
class=
"mailbox-date"
>
{{task.invalid}}
</td>
<td
class=
"mailbox-date"
><a
href=
"#"
>
组号列表
</a></td>
</tr>
</tbody>
</table>
<thead>
<tr>
<th><input
type=
"checkbox"
></th>
<th>
任务单编号
</th>
<th>
核验日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
数据核验数量
</th>
<th>
电写入数量
</th>
<th>
废证数量
</th>
<th></th>
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"task in type.countyList"
>
<td><input
type=
"checkbox"
class=
"icheckbox_flat-blue"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-subject"
><a>
{{task.checkDate}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.county}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.groupCount}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.groupNo}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.dataCheckCount}}
</a></td>
<td
class=
"mailbox-attachment"
>
{{task.electricCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.failedCards}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号列表
</a></td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
<!-- /.mail-box-messages -->
...
...
src/main/resources/static/views/task/taskListQualityCheck.html
View file @
a145ed63
...
...
@@ -12,8 +12,8 @@
<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=
"searchToday()"
>
当前
</button>
<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=
"searchCurrent()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
...
...
@@ -30,6 +30,9 @@
</ul>
</a>
</li>
<li
style=
"float: right; padding-right: 30px;"
>
<h4>
任务总数:8001
</h4>
</li>
</ul>
</div>
<div
ng-repeat=
"type in cycleSheetData track by $index"
class=
"table-responsive mailbox-messages"
ng-show=
"currentTab==$index"
>
...
...
@@ -38,10 +41,13 @@
<tr>
<th><input
type=
"checkbox"
></th>
<th>
任务单编号
</th>
<th>
核验日期
</th>
<th>
地区
</th>
<th>
组数
</th>
<th>
组号
</th>
<th>
合格数
</th>
<th>
不合格数
</th>
<th>
数据核验数量
</th>
<th>
电写入数量
</th>
<th>
废证数量
</th>
<th></th>
</tr>
</thead>
...
...
@@ -49,11 +55,14 @@
<tr
ng-repeat=
"task in type.countyList"
>
<td><input
type=
"checkbox"
class=
"icheckbox_flat-blue"
></td>
<td
class=
"mailbox-star"
><b>
{{task.taskId}}
</b></td>
<td
class=
"mailbox-name"
><a>
{{task.county}}
</a></td>
<td
class=
"mailbox-subject"
>
{{task.groupNo}}
</td>
<td
class=
"mailbox-attachment"
>
{{task.valid}}
</td>
<td
class=
"mailbox-date"
>
{{task.invalid}}
</td>
<td
class=
"mailbox-date"
><a
href=
"#"
>
组号列表
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.checkDate}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.county}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.groupCount}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.groupNo}}
</a></td>
<td
class=
"mailbox-subject"
><a>
{{task.dataCheckCount}}
</a></td>
<td
class=
"mailbox-attachment"
>
{{task.electricCount}}
</td>
<td
class=
"mailbox-subject"
>
{{task.failedCards}}
</td>
<td
class=
"mailbox-date"
><a
ng-click=
"getPoliceList(task.taskId)"
>
组号列表
</a></td>
</tr>
</tbody>
</table>
...
...
@@ -62,6 +71,9 @@
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
<div
class=
"box-footer"
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
ng-click=
"goes()"
>
下发任务单
</button>
</div>
</div>
<!-- /. box -->
</div>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.html
View file @
a145ed63
...
...
@@ -42,7 +42,7 @@
<td
colspan=
"2"
width=
"35%"
>
<input
type=
"file"
id=
"id_file_photo_for_check"
class=
"file"
data-show-preview=
"false"
multiple=
"multiple"
/>
</td>
<td
style=
"text-align: left;"
><button
class=
"btn btn-primary"
ng-click=
"upload
File
()"
>
上传
</button></td>
<td
style=
"text-align: left;"
><button
class=
"btn btn-primary"
ng-click=
"upload
Xml
()"
>
上传
</button></td>
</tr>
</table>
</div>
...
...
src/main/resources/static/views/xmlAndSearch/xmlAndSearch.js
View file @
a145ed63
...
...
@@ -48,7 +48,7 @@ angular.module('AvatarCheck.xmlAndSearch', ['ngRoute', 'AvatarCheck.http', 'tm.p
});
}
$scope
.
upload
File
=
function
()
{
$scope
.
upload
Xml
=
function
()
{
var
fd
=
new
FormData
();
var
files
=
document
.
querySelector
(
'input#id_file_photo_for_check'
).
files
;
for
(
var
i
in
files
){
...
...
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