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
c294aa22
Commit
c294aa22
authored
Apr 24, 2019
by
cuizhiyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增报表
parent
7cea6b4c
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
774 additions
and
1 deletion
+774
-1
index.html
src/main/resources/static/index.html
+7
-0
app.js
src/main/resources/static/js/app.js
+26
-1
service.js
src/main/resources/static/js/service.js
+78
-0
ReadDeliveredInfo.html
...ces/static/views/ReadDeliveredInfo/ReadDeliveredInfo.html
+28
-0
ReadDeliveredInfo.js
...urces/static/views/ReadDeliveredInfo/ReadDeliveredInfo.js
+48
-0
queryDeliveredReport.html
...atic/views/queryDeliveredReport/queryDeliveredReport.html
+67
-0
queryDeliveredReport.js
...static/views/queryDeliveredReport/queryDeliveredReport.js
+48
-0
queryQualityCheckReport.html
...iews/queryQualityCheckReport/queryQualityCheckReport.html
+70
-0
queryQualityCheckReport.js
.../views/queryQualityCheckReport/queryQualityCheckReport.js
+52
-0
querySortingReport.html
...s/static/views/querySortingReport/querySortingReport.html
+70
-0
querySortingReport.js
...ces/static/views/querySortingReport/querySortingReport.js
+51
-0
queryWorkGroupReport.html
...atic/views/queryWorkGroupReport/queryWorkGroupReport.html
+89
-0
queryWorkGroupReport.js
...static/views/queryWorkGroupReport/queryWorkGroupReport.js
+49
-0
saveDeliveredFailedInfo.html
...iews/saveDeliveredFailedInfo/saveDeliveredFailedInfo.html
+60
-0
saveDeliveredFailedInfo.js
.../views/saveDeliveredFailedInfo/saveDeliveredFailedInfo.js
+31
-0
No files found.
src/main/resources/static/index.html
View file @
c294aa22
...
@@ -184,5 +184,11 @@
...
@@ -184,5 +184,11 @@
<script
src=
"views/tagPrint/tagPrint.js"
></script>
<script
src=
"views/tagPrint/tagPrint.js"
></script>
<script
src=
"views/addTag/addTag.js"
></script>
<script
src=
"views/addTag/addTag.js"
></script>
<script
src=
"views/autoCheck/autoCheck.js"
></script>
<script
src=
"views/autoCheck/autoCheck.js"
></script>
<script
src=
"views/queryWorkGroupReport/queryWorkGroupReport.js"
></script>
<script
src=
"views/querySortingReport/querySortingReport.js"
></script>
<script
src=
"views/queryQualityCheckReport/queryQualityCheckReport.js"
></script>
<script
src=
"views/ReadDeliveredInfo/ReadDeliveredInfo.js"
></script>
<script
src=
"views/saveDeliveredFailedInfo/saveDeliveredFailedInfo.js"
></script>
<script
src=
"views/queryDeliveredReport/queryDeliveredReport.js"
></script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/resources/static/js/app.js
View file @
c294aa22
...
@@ -26,7 +26,13 @@ angular.module('AvatarCheck', [
...
@@ -26,7 +26,13 @@ angular.module('AvatarCheck', [
'AvatarCheck.tagPrint'
,
'AvatarCheck.tagPrint'
,
'tm.pagination'
,
'tm.pagination'
,
'AvatarCheck.addTag'
,
'AvatarCheck.addTag'
,
'AvatarCheck.autoCheck'
'AvatarCheck.autoCheck'
,
'AvatarCheck.queryWorkGroupReport'
,
'AvatarCheck.querySortingReport'
,
'AvatarCheck.queryQualityCheckReport'
,
'AvatarCheck.ReadDeliveredInfo'
,
'AvatarCheck.saveDeliveredFailedInfo'
,
'AvatarCheck.queryDeliveredReport'
]).
config
([
'$locationProvider'
,
'$routeProvider'
,
'localStorageServiceProvider'
,
'$qProvider'
,
function
(
$locationProvider
,
$routeProvider
,
localStorageServiceProvider
,
$qProvider
)
{
]).
config
([
'$locationProvider'
,
'$routeProvider'
,
'localStorageServiceProvider'
,
'$qProvider'
,
function
(
$locationProvider
,
$routeProvider
,
localStorageServiceProvider
,
$qProvider
)
{
$locationProvider
.
hashPrefix
(
'!'
);
$locationProvider
.
hashPrefix
(
'!'
);
$routeProvider
.
otherwise
({
redirectTo
:
'/createTaskList'
});
$routeProvider
.
otherwise
({
redirectTo
:
'/createTaskList'
});
...
@@ -155,6 +161,25 @@ angular.module('AvatarCheck', [
...
@@ -155,6 +161,25 @@ angular.module('AvatarCheck', [
if
(
$location
.
path
()
==
"/autoCheck"
){
if
(
$location
.
path
()
==
"/autoCheck"
){
$rootScope
.
tab
=
'/autoCheck'
;
$rootScope
.
tab
=
'/autoCheck'
;
}
}
if
(
$location
.
path
()
==
"/queryWorkGroupReport"
){
$rootScope
.
tab
=
'/queryWorkGroupReport'
;
}
if
(
$location
.
path
()
==
"/querySortingReport"
){
$rootScope
.
tab
=
'/querySortingReport'
;
}
if
(
$location
.
path
()
==
"/queryQualityCheckReport"
){
$rootScope
.
tab
=
'/queryQualityCheckReport'
;
}
if
(
$location
.
path
()
==
"/ReadDeliveredInfo"
){
$rootScope
.
tab
=
'/ReadDeliveredInfo'
;
}
if
(
$location
.
path
()
==
"/saveDeliveredFailedInfo"
){
$rootScope
.
tab
=
'/saveDeliveredFailedInfo'
;
}
if
(
$location
.
path
()
==
"/queryDeliveredReport"
){
$rootScope
.
tab
=
'/queryDeliveredReport'
;
}
...
...
src/main/resources/static/js/service.js
View file @
c294aa22
...
@@ -1009,6 +1009,83 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
...
@@ -1009,6 +1009,83 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
}).
then
(
function
successCallback
(
response
)
{
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
success
(
response
.
data
)
})
})
},
queryWorkGroupReport
:
function
(
date1
,
date2
,
success
)
{
$http
({
method
:
'GET'
,
url
:
"../ReportApi/queryWorkGroupReport"
+
urlTimeStamp
(),
params
:{
startDate
:
date1
,
endDate
:
date2
,
workGroup
:
$rootScope
.
loginData
.
workGroup
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
querySortingReport
:
function
(
date1
,
date2
,
name
,
success
)
{
$http
({
method
:
'GET'
,
url
:
"../ReportApi/querySortingReport"
+
urlTimeStamp
(),
params
:{
startDate
:
date1
,
endDate
:
date2
,
name
:
name
}
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
queryQualityCheckReport
:
function
(
date1
,
date2
,
success
)
{
$http
({
method
:
'GET'
,
url
:
"../ReportApi/queryQualityCheckReport"
+
urlTimeStamp
(),
params
:{
startDate
:
date1
,
endDate
:
date2
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
ReadDeliveredInfo
:
function
(
fd
,
importName
,
success
){
$http
({
method
:
'POST'
,
url
:
"../DeliveredApi/ReadDeliveredInfo?importName="
+
importName
,
data
:
fd
,
headers
:
{
'Content-Type'
:
undefined
},
transformRequest
:
angular
.
identity
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
saveDeliveredFailedInfo
:
function
(
arr
,
success
)
{
var
body
=
JSON
.
stringify
(
arr
);
console
.
log
(
body
)
$http
({
method
:
'POST'
,
url
:
"../DeliveredApi/saveDeliveredFailedInfo"
,
data
:
body
,
headers
:
{
'Content-Type'
:
'application/json'
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
queryDeliveredReport
:
function
(
date1
,
date2
,
success
)
{
$http
({
method
:
'GET'
,
url
:
"../DeliveredApi/queryDeliveredReport"
+
urlTimeStamp
(),
params
:{
startDate
:
date1
,
endDate
:
date2
,
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
}
}
});
});
\ No newline at end of file
src/main/resources/static/views/ReadDeliveredInfo/ReadDeliveredInfo.html
0 → 100644
View file @
c294aa22
<div
class=
"box"
>
<strong
class=
"box-header"
>
导入妥投信息表
</strong>
<div
class=
"box-primary"
>
<table
class=
"table table-bordered"
>
<tr>
<td>
文件名称
</td>
<td><input
type=
"text"
ng-model=
"importName"
/></td>
</tr>
<tr>
<td>
选择Excel文件:
</td>
<td
colspan=
"2"
>
<input
type=
"file"
id=
"id_file_photo_for_check"
class=
"file"
data-show-preview=
"false"
data-allowed-file-extensions=
'["XLS","xls","XLSX","xlsx"]'
multiple
/>
</td>
<td>
<div
style=
"float: left"
>
<button
class=
"btn btn-primary"
ng-click=
"ReadDeliveredInfo()"
>
导入
</button>
</div>
</td>
</tr>
</table>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/ReadDeliveredInfo/ReadDeliveredInfo.js
0 → 100644
View file @
c294aa22
'use strict'
;
angular
.
module
(
"AvatarCheck.ReadDeliveredInfo"
,[
'ngRoute'
,
'AvatarCheck.http'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
){
$routeProvider
.
when
(
'/ReadDeliveredInfo'
,
{
templateUrl
:
'views/ReadDeliveredInfo/ReadDeliveredInfo.html'
+
urlTimeStamp
(),
controller
:
'readDeliveredInfoContr'
,
cache
:
false
});
}])
.
controller
(
'readDeliveredInfoContr'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
$filter
,
$interval
,
MessageService
,
ngDialog
)
{
$scope
.
ReadDeliveredInfo
=
function
()
{
var
importName
=
$scope
.
importName
;
var
fd
=
new
FormData
();
var
files
=
document
.
querySelector
(
'input#id_file_photo_for_check'
).
files
;
if
(
files
.
length
==
0
){
MessageService
.
showAlert
(
"请选择上传的文件..."
)
}
else
{
for
(
var
i
in
files
){
fd
.
append
(
'file'
,
files
[
i
]);
}
// var getData = $scope.getPostPackage;
ngDialog
.
openConfirm
({
template
:
'dialogs/alert.html'
+
urlTimeStamp
(),
width
:
600
,
cache
:
false
,
closeByDocument
:
false
,
controller
:
[
'$scope'
,
function
(
$scope
)
{
$scope
.
wrongMsg
=-
1
;
$scope
.
msgText
=
"上传中,请稍等..."
console
.
log
(
fd
,
importName
)
HttpService
.
ReadDeliveredInfo
(
fd
,
importName
,
function
(
data
)
{
console
.
log
(
data
)
if
(
data
){
$scope
.
closeThisDialog
();
// getData();
MessageService
.
showAlert
(
"上传成功"
)
}
else
{
$scope
.
wrongMsg
=
'上传失败'
;
}
})
}]
});
}
}
})
\ No newline at end of file
src/main/resources/static/views/queryDeliveredReport/queryDeliveredReport.html
0 → 100644
View file @
c294aa22
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"row"
>
<!-- /.col -->
<div
class=
"col-md-12"
>
<div
class=
"box box-primary"
>
<div
class=
"box-header"
>
<!--<strong ng-if="state==2">膜打印数据报表</strong>-->
<strong
>
妥投信息报表
</strong>
<div
class=
"box-tools pull-right"
>
<span>
查询日期:
</span><input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"startDate"
id=
"datepicker1"
readonly
/>
<span>
至
</span>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"endDate"
id=
"datepicker2"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"queryDeliveredReport()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
ng-if=
"deliveredReportList.length==0"
>
<h4>
暂无数据
</h4>
</div>
<div
ng-if=
"deliveredReportList.length>0"
>
<div
class=
"table-responsive mailbox-messages"
>
<div
class=
"mailbox-messages"
>
<table
class=
"table table-hover postTable"
>
<thead>
<tr>
<!--<th ng-if="state==2">打印日期</th>-->
<!--<th ng-if="state==3">预定位日期</th>-->
<!--<th>邮寄证</th>-->
<th>
邮寄数量
</th>
<th>
妥投数量
</th>
<th>
妥投失败数量
</th>
<th>
未妥投数量
</th>
<th>
打印时间
</th>
</tr>
</thead>
<tbody
ng-repeat=
"item in deliveredReportList"
>
<tr
style=
"background-color: #eee"
>
<td>
{{item.POST_COUNT}}
</td>
<!--<td style="color: #3c8dbc">{{item.pu}}</td>-->
<td>
{{item.DELIVERED_COUNT}}
</td>
<td>
{{item.DELIVERED_FAILED_COUNT}}
</td>
<td>
{{item.POST_COUNT-item.DELIVERED_COUNT-item.DELIVERED_FAILED_COUNT}}
</td>
<td>
{{item.PRINT_DATE}}
</td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
<!-- /.table -->
</div>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/queryDeliveredReport/queryDeliveredReport.js
0 → 100644
View file @
c294aa22
'use strict'
;
angular
.
module
(
"AvatarCheck.queryDeliveredReport"
,[
'ngRoute'
,
'AvatarCheck.http'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
){
$routeProvider
.
when
(
'/queryDeliveredReport'
,
{
templateUrl
:
'views/queryDeliveredReport/queryDeliveredReport.html'
+
urlTimeStamp
(),
controller
:
'queryDeliveredReportContr'
,
cache
:
false
});
}])
.
controller
(
'queryDeliveredReportContr'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
$filter
,
$interval
,
MessageService
,
ngDialog
)
{
//Date picker
$
(
'#datepicker1'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
//Date picker
$
(
'#datepicker2'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
$scope
.
queryDeliveredReport
=
function
()
{
var
date1
=
$
(
"#datepicker1"
).
val
();
var
date2
=
$
(
"#datepicker2"
).
val
();
HttpService
.
queryDeliveredReport
(
date1
,
date2
,
function
(
data
)
{
$scope
.
deliveredReportList
=
data
;
console
.
log
(
$scope
.
deliveredReportList
);
})
}
})
\ No newline at end of file
src/main/resources/static/views/queryQualityCheckReport/queryQualityCheckReport.html
0 → 100644
View file @
c294aa22
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"row"
>
<!-- /.col -->
<div
class=
"col-md-12"
>
<div
class=
"box box-primary"
>
<div
class=
"box-header"
>
<!--<strong ng-if="state==2">膜打印数据报表</strong>-->
<strong
>
质检报表
</strong>
<div
class=
"box-tools pull-right"
>
<span>
查询日期:
</span><input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"startDate"
id=
"datepicker1"
readonly
/>
<span>
至
</span>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"endDate"
id=
"datepicker2"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"queryQualityCheckReport()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
ng-if=
"qualityCheckReportList.length==0"
>
<h4>
暂无数据
</h4>
</div>
<div
ng-if=
"qualityCheckReportList.length>0"
>
<div
class=
"table-responsive mailbox-messages"
>
<div
class=
"mailbox-messages"
>
<table
class=
"table table-hover postTable"
>
<thead>
<tr>
<!--<th ng-if="state==2">打印日期</th>-->
<!--<th ng-if="state==3">预定位日期</th>-->
<th>
分局代码
</th>
<th>
数量
</th>
<th>
公安机关名称
</th>
<!--<th>普通证</th>-->
<!--<th>废证</th>-->
</tr>
</thead>
<tbody
ng-repeat=
"item in qualityCheckReportList"
>
<tr
style=
"background-color: #eee"
>
<td>
{{item.DATA_AUDITING.POLICE_SUBSTATION}}
</td>
<td>
{{item.sum(count)}}
</td>
<td>
{{item.GAJG_DM.GAJG_MC}}
</td>
<!--<td style="color: #3c8dbc">{{item.pu}}</td>-->
<!--<td>{{item.POLICE_CODE}}</td>-->
<!--<td>{{item.SUM(RECEIPT_LIST:FINISH_COUNT)}}</td>-->
<!--<td>{{item.kuai}}</td>-->
<!--<td>{{item.pu}}</td>-->
<!--<td>{{item.fei}}</td>-->
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
<!-- /.table -->
</div>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/queryQualityCheckReport/queryQualityCheckReport.js
0 → 100644
View file @
c294aa22
'use strict'
;
angular
.
module
(
"AvatarCheck.queryQualityCheckReport"
,[
'ngRoute'
,
'AvatarCheck.http'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
){
$routeProvider
.
when
(
'/queryQualityCheckReport'
,
{
templateUrl
:
'views/queryQualityCheckReport/queryQualityCheckReport.html'
+
urlTimeStamp
(),
controller
:
'queryQualityCheckReportContro'
,
cache
:
false
});
}])
.
controller
(
'queryQualityCheckReportContro'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
$filter
,
$interval
,
MessageService
,
ngDialog
)
{
//Date picker
$
(
'#datepicker1'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
//Date picker
$
(
'#datepicker2'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
$scope
.
queryQualityCheckReport
=
function
()
{
var
date1
=
$
(
"#datepicker1"
).
val
();
var
date2
=
$
(
"#datepicker2"
).
val
();
HttpService
.
queryQualityCheckReport
(
date1
,
date2
,
function
(
data
)
{
$scope
.
qualityCheckReportList
=
data
;
console
.
log
(
$scope
.
qualityCheckReportList
);
})
}
})
\ No newline at end of file
src/main/resources/static/views/querySortingReport/querySortingReport.html
0 → 100644
View file @
c294aa22
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"row"
>
<!-- /.col -->
<div
class=
"col-md-12"
>
<div
class=
"box box-primary"
>
<div
class=
"box-header"
>
<!--<strong ng-if="state==2">膜打印数据报表</strong>-->
<strong
>
分拣报表
</strong>
<div
class=
"box-tools pull-right"
>
分拣人员姓名:
<input
type=
"text"
ng-model=
"name"
/>
<span>
查询日期:
</span><input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"startDate"
id=
"datepicker1"
readonly
/>
<span>
至
</span>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"endDate"
id=
"datepicker2"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"querySortingReport()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
ng-if=
"sortingReportList.length==0"
>
<h4>
暂无数据
</h4>
</div>
<div
ng-if=
"sortingReportList.length>0"
>
<div
class=
"table-responsive mailbox-messages"
>
<div
class=
"mailbox-messages"
>
<table
class=
"table table-hover postTable"
>
<thead>
<tr>
<!--<th ng-if="state==2">打印日期</th>-->
<!--<th ng-if="state==3">预定位日期</th>-->
<th>
公安机关名称
</th>
<th>
公安机关代码
</th>
<th>
数量
</th>
<!--<th>普通证</th>-->
<!--<th>废证</th>-->
</tr>
</thead>
<tbody
ng-repeat=
"item in sortingReportList"
>
<tr
style=
"background-color: #eee"
>
<td>
{{item.GAJG_MC}}
</td>
<td>
{{item.POLICE_CODE}}
</td>
<td>
{{item.FINISH_COUNT}}
</td>
<!--<td style="color: #3c8dbc">{{item.pu}}</td>-->
<!--<td>{{item.POLICE_CODE}}</td>-->
<!--<td>{{item.SUM(RECEIPT_LIST:FINISH_COUNT)}}</td>-->
<!--<td>{{item.kuai}}</td>-->
<!--<td>{{item.pu}}</td>-->
<!--<td>{{item.fei}}</td>-->
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
<!-- /.table -->
</div>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/querySortingReport/querySortingReport.js
0 → 100644
View file @
c294aa22
'use strict'
;
angular
.
module
(
"AvatarCheck.querySortingReport"
,[
'ngRoute'
,
'AvatarCheck.http'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
){
$routeProvider
.
when
(
'/querySortingReport'
,
{
templateUrl
:
'views/querySortingReport/querySortingReport.html'
+
urlTimeStamp
(),
controller
:
'querySortingReportContro'
,
cache
:
false
});
}])
.
controller
(
'querySortingReportContro'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
$filter
,
$interval
,
MessageService
,
ngDialog
)
{
//Date picker
$
(
'#datepicker1'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
//Date picker
$
(
'#datepicker2'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
$scope
.
querySortingReport
=
function
()
{
var
date1
=
$
(
"#datepicker1"
).
val
();
var
date2
=
$
(
"#datepicker2"
).
val
();
var
name
=
$scope
.
name
;
HttpService
.
querySortingReport
(
date1
,
date2
,
name
,
function
(
data
)
{
$scope
.
sortingReportList
=
data
;
console
.
log
(
$scope
.
sortingReportList
);
})
}
})
\ No newline at end of file
src/main/resources/static/views/queryWorkGroupReport/queryWorkGroupReport.html
0 → 100644
View file @
c294aa22
<!--<title>Title</title>-->
<!--<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" value="{{startDate}}" id="datepicker1" readonly/>-->
<!--<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>-->
<!--<div class="input-group-addon">-->
<!--<i class="fa fa-calendar">结束日期</i>-->
<!--</div>-->
<!--<input type="text" class="form-control pull-right" value="{{endDate}}" id="datepicker2" readonly/>-->
<!--<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>-->
<!--</div>-->
<!--<button class="btn btn-primary" style="margin-right: 7px;" ng-click="queryWorkGroupReport()">查询工作组报表</button>-->
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"row"
>
<!-- /.col -->
<div
class=
"col-md-12"
>
<div
class=
"box box-primary"
>
<div
class=
"box-header"
>
<!--<strong ng-if="state==2">膜打印数据报表</strong>-->
<strong
>
工作组报表
</strong>
<div
class=
"box-tools pull-right"
>
<span>
查询日期:
</span><input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"startDate"
id=
"datepicker1"
readonly
/>
<span>
至
</span>
<input
type=
"text"
style=
"height: 30px;margin-right: 10px;border-radius: 4px;background-color: #eee;cursor: not-allowed;border: 1px solid #ccc;"
ng-model=
"endDate"
id=
"datepicker2"
readonly
/>
<button
type=
"button"
class=
"btn btn-primary pull-right"
style=
"height: 30px;line-height: 17px;margin-left: 10px;"
ng-click=
"queryWorkGroupReport()"
>
查询
</button>
</div>
<!-- /.box-tools -->
</div>
<!-- /.box-header -->
<div
class=
"box-body"
>
<div
ng-if=
"groupReportList.length==1"
>
<h4>
暂无数据
</h4>
</div>
<div
ng-if=
"groupReportList.length>1"
>
<div
class=
"table-responsive mailbox-messages"
>
<div
class=
"mailbox-messages"
>
<table
class=
"table table-hover postTable"
>
<thead>
<tr>
<th
ng-if=
"state==2"
>
打印日期
</th>
<!--<th ng-if="state==3">预定位日期</th>-->
<th>
邮寄证
</th>
<th>
军人证
</th>
<th>
快证
</th>
<th>
普通证
</th>
<th>
废证
</th>
</tr>
</thead>
<tbody
ng-repeat=
"item in groupReportList"
>
<tr
style=
"background-color: #eee"
>
<td>
{{item.date}}
</td>
<!--<td style="color: #3c8dbc">{{item.pu}}</td>-->
<td>
{{item.you}}
</td>
<td>
{{item.jun}}
</td>
<td>
{{item.kuai}}
</td>
<td>
{{item.pu}}
</td>
<td>
{{item.fei}}
</td>
</tr>
</tbody>
</table>
<!-- /.table -->
</div>
<!-- /.table -->
</div>
</div>
<!-- /.mail-box-messages -->
</div>
<!-- /.box-body -->
</div>
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
</div>
src/main/resources/static/views/queryWorkGroupReport/queryWorkGroupReport.js
0 → 100644
View file @
c294aa22
'use strict'
;
angular
.
module
(
"AvatarCheck.queryWorkGroupReport"
,[
'ngRoute'
,
'AvatarCheck.http'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
){
$routeProvider
.
when
(
'/queryWorkGroupReport'
,
{
templateUrl
:
'views/queryWorkGroupReport/queryWorkGroupReport.html'
+
urlTimeStamp
(),
controller
:
'queryWorkGroupReportContro'
,
cache
:
false
});
}])
.
controller
(
'queryWorkGroupReportContro'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
$filter
,
$interval
,
MessageService
,
ngDialog
)
{
//Date picker
$
(
'#datepicker1'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
//Date picker
$
(
'#datepicker2'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
//清除的代码
$
(
".glyphicon-remove"
).
click
(
function
(){
$
(
$
(
$
(
this
).
parent
()).
prev
()).
val
(
""
);
})
$scope
.
queryWorkGroupReport
=
function
()
{
var
date1
=
$
(
"#datepicker1"
).
val
();
var
date2
=
$
(
"#datepicker2"
).
val
();
HttpService
.
queryWorkGroupReport
(
date1
,
date2
,
function
(
data
)
{
$scope
.
groupReportList
=
data
;
console
.
log
(
$scope
.
groupReportList
);
})
}
})
src/main/resources/static/views/saveDeliveredFailedInfo/saveDeliveredFailedInfo.html
0 → 100644
View file @
c294aa22
<style>
.table
th
,
.table
td
{
text-align
:
center
;
vertical-align
:
middle
!important
;
}
.select2-search__field
{
height
:
30px
;
}
.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>
<div
class=
"content row"
>
<div
class=
"col-md-12"
style=
"margin-top:20px;"
>
<div
class=
"box "
>
<strong
class=
"box-header"
>
登记投递失败信息
</strong>
<div
class=
"box box-primary"
>
<table
class=
"table table-bordered"
style=
"margin-bottom: 0;"
>
<tr>
<td>
运单号:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"waybillNumber"
placeholder=
"运单号"
></td>
<td>
登记人姓名:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"registerName"
placeholder=
"登记人姓名"
></td>
<td>
身份证号码:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"cardId"
placeholder=
"身份证号码"
></td>
</tr>
<tr>
<td>
退回原因:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"backReason"
placeholder=
"退回原因"
></td>
<td>
备注:
</td>
<td><input
type=
"text"
class=
"form-control"
ng-model=
"note"
placeholder=
"备注"
></td>
<td><div
style=
"text-align: right;"
>
<button
class=
"btn btn-primary"
ng-click=
"saveDeliveredFailedInfo()"
>
提交
</button>
</div></td>
</tr>
</table>
</div>
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/saveDeliveredFailedInfo/saveDeliveredFailedInfo.js
0 → 100644
View file @
c294aa22
'use strict'
;
angular
.
module
(
"AvatarCheck.saveDeliveredFailedInfo"
,[
'ngRoute'
,
'AvatarCheck.http'
])
.
config
([
'$routeProvider'
,
function
(
$routeProvider
){
$routeProvider
.
when
(
'/saveDeliveredFailedInfo'
,
{
templateUrl
:
'views/saveDeliveredFailedInfo/saveDeliveredFailedInfo.html'
+
urlTimeStamp
(),
controller
:
'saveDeliveredFailedInfoContr'
,
cache
:
false
});
}])
.
controller
(
'saveDeliveredFailedInfoContr'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
$filter
,
$interval
,
MessageService
,
ngDialog
)
{
$scope
.
saveDeliveredFailedInfo
=
function
()
{
var
waybillNumber
=
$scope
.
waybillNumber
;
var
registerName
=
$scope
.
registerName
;
var
cardId
=
$scope
.
cardId
;
var
backReason
=
$scope
.
backReason
;
var
note
=
$scope
.
note
;
var
arr
=
[{
"waybillNumber"
:
waybillNumber
,
"registerName"
:
registerName
,
"cardId"
:
cardId
,
"backReason"
:
backReason
,
"note"
:
note
}];
console
.
log
(
arr
);
HttpService
.
saveDeliveredFailedInfo
(
arr
,
function
(
data
)
{
if
(
data
==
true
){
confirm
(
"提交成功"
);
}
else
{
alert
(
"提交失败!!"
)
}
})
}
})
\ No newline at end of file
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