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
c3b6a23a
Commit
c3b6a23a
authored
Mar 12, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
制证信息管理
parent
48fa6188
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
5 deletions
+52
-5
service.js
src/main/resources/static/js/service.js
+12
-0
tagPrint.html
src/main/resources/static/views/tagPrint/tagPrint.html
+16
-3
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+24
-2
No files found.
src/main/resources/static/js/service.js
View file @
c3b6a23a
...
...
@@ -334,6 +334,18 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
success
(
response
.
data
)
})
},
updateReceiptList
:
function
(
id
,
success
)
{
$http
({
method
:
'GET'
,
url
:
"../LogApi/selectNewFileLogCount"
+
urlTimeStamp
(),
params
:{
receiptId
:
id
,
checkName
:
$rootScope
.
loginData
.
name
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
})
},
selectAnalyseLogCount
:
function
(
oldPackageName
,
date
,
success
)
{
if
(
angular
.
isUndefined
(
oldPackageName
)){
oldPackageName
=
''
;
...
...
src/main/resources/static/views/tagPrint/tagPrint.html
View file @
c3b6a23a
...
...
@@ -110,7 +110,7 @@
</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>
<button
class=
"btn btn-info pull-right"
style=
"margin-right: 20px;"
ng-click=
"PreviewMytableRotate()"
>
打印标签
</button>
</div>
</div>
<h4
class=
"col-md-7"
ng-if=
"json.policeCardsList.length==0"
>
...
...
@@ -118,5 +118,18 @@
</h4>
</div>
</div>
<button
class=
"btn btn-info pull-right"
style=
"margin-right: 20px;"
ng-click=
"PreviewMytableRotate()"
>
打印标签
</button>
</div>
</section>
\ No newline at end of file
</section>
<div
style=
"display: none;"
>
<div
id=
"div1"
>
<p>
<object
id=
"LODOP_OB"
classid=
"clsid:2105C259-1E0C-4534-8141-A753534CB4CA"
width=
0
height=
0
>
<embed
id=
"LODOP_EM"
type=
"application/x-print-lodop"
width=
0
height=
0
pluginspage=
"install_lodop32.exe"
></embed>
</object>
</p>
<div
style=
"font-family:'黑体';height:7mm;position: absolute;top:5mm;left:5mm;"
>
密云分局
</div>
<div
style=
"font-family:'黑体';height:7mm;position: absolute;top:12mm;left:3mm;"
>
河南寨派出所
</div>
<div
style=
"font-family:'黑体';height:7mm;position: absolute;top:20mm;left:5mm;"
>
数量:1张
</div>
</div>
</div>
\ No newline at end of file
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
c3b6a23a
...
...
@@ -61,9 +61,31 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
})
}
$scope
.
checkSame
=
function
()
{
$scope
.
checkSame
=
function
(
id
)
{
HttpService
.
updateReceiptList
(
id
,
function
(
data
)
{
if
(
data
){
getPoliceListDataNotChecked
();
}
else
{
MessageService
.
showAlert
(
"复核失败"
)
}
})
}
$scope
.
PreviewMytableRotate
=
function
(){
var
LODOP
=
getLodop
();
LODOP
.
SET_LICENSES
(
""
,
"15F0BE661E7F32F37491843CB2510905"
,
"C94CEE276DB2187AE6B65D56B3FC2848"
,
""
);
LODOP
.
SET_PRINT_STYLE
(
"FontName"
,
"黑体"
);
LODOP
.
PRINT_INIT
(
"标签"
);
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
"70mm"
,
"40mm"
,
""
);
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP1'
),
document
.
getElementById
(
'LODOP_EM'
));
LODOP
.
SET_PRINT_STYLE
(
"FontName"
,
"黑体"
);
LODOP
.
ADD_PRINT_BARCODE
(
7
,
20
,
242
,
60
,
"128A"
,
"E1006155001"
);
LODOP
.
ADD_PRINT_HTM
(
60
,
80
,
300
,
300
,
document
.
getElementById
(
"div1"
).
innerHTML
);
LODOP
.
SET_PRINT_STYLEA
(
0
,
"AngleOfPageInside"
,
0
);
LODOP
.
PREVIEW
();
// LODOP.PRINT();
};
});
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