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
ce4d3e9f
Commit
ce4d3e9f
authored
Mar 12, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签打印页面
parent
18d8917f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
23 deletions
+38
-23
service.js
src/main/resources/static/js/service.js
+11
-0
cardProdUpdate.html
...resources/static/views/cardProdUpdate/cardProdUpdate.html
+3
-3
cardProdUpdate.js
...n/resources/static/views/cardProdUpdate/cardProdUpdate.js
+9
-7
tagPrint.html
src/main/resources/static/views/tagPrint/tagPrint.html
+15
-13
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+0
-0
No files found.
src/main/resources/static/js/service.js
View file @
ce4d3e9f
...
...
@@ -308,6 +308,17 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
})
},
getPoliceCardsList
:
function
(
id
,
success
)
{
$http
({
method
:
'GET'
,
url
:
"../ReceiptApi/selectDetailList"
+
urlTimeStamp
(),
params
:{
receiptId
:
id
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
selectAnalyseLogCount
:
function
(
oldPackageName
,
date
,
success
)
{
if
(
angular
.
isUndefined
(
oldPackageName
)){
oldPackageName
=
''
;
...
...
src/main/resources/static/views/cardProdUpdate/cardProdUpdate.html
View file @
ce4d3e9f
...
...
@@ -81,7 +81,7 @@
<div
class=
"box box-default"
>
<strong
class=
"box-header with-border"
>
查询结果
</strong>
<div
class=
"box-info"
style=
"padding: 10px;"
>
<table
class=
"table table-bordered table-hover"
ng-if=
"xmlDatas"
>
<table
class=
"table table-bordered table-hover"
ng-if=
"xmlDatas
.length>0
"
>
<thead>
<tr>
<th>
NO.
</th>
...
...
@@ -103,10 +103,10 @@
</tr>
</tbody>
</table>
<div
style=
"padding-left: 27%;"
ng-if=
"xmlDatas
"
>
<div
style=
"padding-left: 27%;"
ng-if=
"xmlDatas.length>0
"
>
<tm-pagination
conf=
"paginationConf"
class=
"ul"
></tm-pagination>
</div>
<h4
ng-if=
"
postData
.length==0"
>
暂无记录。
</h4>
<h4
ng-if=
"
xmlDatas
.length==0"
>
暂无记录。
</h4>
</div>
</div>
</div>
...
...
src/main/resources/static/views/cardProdUpdate/cardProdUpdate.js
View file @
ce4d3e9f
...
...
@@ -51,7 +51,6 @@ angular.module('AvatarCheck.cardProdUpdate', ['ngRoute', 'AvatarCheck.http'])
itemsPerPage
:
10
,
perPageOptions
:
[
10
,
20
,
30
,
40
,
50
]
};
$scope
.
paginationConf
.
totalItems
=
50
;
$scope
.
doXmlQuery
=
function
()
{
var
startDate
=
$
(
"#datepicker1"
).
val
();
...
...
@@ -71,16 +70,18 @@ angular.module('AvatarCheck.cardProdUpdate', ['ngRoute', 'AvatarCheck.http'])
if
(
endDate
==
''
){
endDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
}
console
.
log
(
$scope
.
startPackageNo
,
$scope
.
endPackageNo
,
$scope
.
pcs_name
,
startDate
,
endDate
)
console
.
log
(
$scope
.
startPackageNo
,
$scope
.
endPackageNo
,
$scope
.
pcs_name
,
startDate
,
endDate
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
)
HttpService
.
selectXmlDataCount
(
$scope
.
startPackageNo
,
$scope
.
endPackageNo
,
$scope
.
pcs_name
,
startDate
,
endDate
,
function
(
data
){
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
$scope
.
paginationConf
.
totalItems
,
"count"
)
})
HttpService
.
selectXmlData
(
$scope
.
startPackageNo
,
$scope
.
endPackageNo
,
$scope
.
pcs_name
,
startDate
,
endDate
,
$scope
.
paginationConf
.
currentPage
,
$scope
.
paginationConf
.
itemsPerPage
,
function
(
data
)
{
$scope
.
xmlDatas
=
data
;
console
.
log
(
$scope
.
xmlDatas
)
})
HttpService
.
selectXmlDataCount
(
$scope
.
startPackageNo
,
$scope
.
endPackageNo
,
$scope
.
pcs_name
,
startDate
,
endDate
,
function
(
data
){
$scope
.
paginationConf
.
totalItems
=
data
;
console
.
log
(
data
)
})
}
// 通过$watch currentPage和itemperPage 当他们一变化的时候,重新获取数据条目
$scope
.
$watch
(
'paginationConf.currentPage +paginationConf.itemsPerPage'
,
$scope
.
doXmlQuery
);
});
\ No newline at end of file
src/main/resources/static/views/tagPrint/tagPrint.html
View file @
ce4d3e9f
...
...
@@ -38,9 +38,9 @@
<div
class=
"box-header with-border"
>
<strong
>
详情信息
</strong>
</div>
<div
class=
"box-body
no-padding
col-md-12"
>
<div
class=
"col-md-5"
style=
"padding
-right: 0px;
"
>
<table
class=
"table table-bordered table-hover postTable
"
>
<div
class=
"box-body col-md-12"
>
<div
class=
"col-md-5"
style=
"padding
:0
"
>
<table
class=
"table table-bordered table-hover postTable
"
ng-if=
"tagPrintData.length>0
"
>
<thead>
<tr>
<th>
NO.
</th>
...
...
@@ -59,14 +59,17 @@
<td>
{{item.POLICE_NAME}}
</td>
<td>
{{item.download}}
</td>
<td>
{{item.electricCount}}
</td>
<td
ng-if=
"item.STATE"
>
未复核
</td>
<td
ng-if=
"item.STATE
==0
"
>
未复核
</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<h4
class=
"col-md-7"
ng-if=
"tagPrintData.length==0"
style=
"padding: 0;"
>
暂无数据
</h4>
</div>
<div
class=
"col-md-7"
style=
""
ng-if=
"policeCardsList
"
>
<div
class=
"col-md-7"
ng-if=
"json.policeCardsList.length>0
"
>
<table
class=
"table table-bordered"
>
<thead>
<tr>
...
...
@@ -80,7 +83,7 @@
</tr>
</thead>
<tbody>
<tr
ng-repeat=
"item in policeCardsList"
>
<tr
ng-repeat=
"item in
json.
policeCardsList"
>
<td>
{{$index+1}}
</td>
<td>
{{item.acceptNo}}
</td>
<td>
{{item.username}}
</td>
...
...
@@ -105,15 +108,14 @@
</tr>
</tbody>
</table>
<div
class=
"box-footer clearfix"
style=
"border: 0;"
>
<button
class=
"btn btn-success pull-right"
style=
"margin-right: 20px;"
ng-click=
"checkSame(json.id)"
>
复核一致
</button>
<button
class=
"btn btn-info pull-right"
style=
"margin-right: 20px;"
>
打印标签
</button>
</div>
</div>
<div
class=
"box-footer clearfix"
>
<button
class=
"btn btn-success pull-right "
style=
"margin-right: 20px;"
>
复核一致
</button>
<button
class=
"btn btn-info pull-right"
style=
"margin-right: 20px;"
>
打印标签
</button>
<h4
class=
"col-md-7"
ng-if=
"json.policeCardsList.length==0"
>
暂无数据
</h4>
</div>
</div>
</div>
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
ce4d3e9f
This diff is collapsed.
Click to expand it.
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