|
@@ -112,7 +112,7 @@ export default {
|
|
|
const h = html[i].clientHeight
|
|
|
printCons.push({
|
|
|
h: h<=pageHeight?pageHeight:h,
|
|
|
- t: '<div style="height:'+(h<=pageHeight?(pageHeight+'px'):'auto')+';">'+html[i].innerHTML+'</div>'
|
|
|
+ t: '<div style="height:'+(h<=pageHeight?(pageHeight+'px'):'auto')+';border:1px solid #fff;">'+html[i].innerHTML+'</div>'
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -127,7 +127,7 @@ export default {
|
|
|
this.$store.state.app.curActionPermission = 'B_SkPrint'
|
|
|
// html, type, callback, printLogParams
|
|
|
this.spinning = true
|
|
|
- jGPlPrint(htmlStr.join('').split('&-NEWPAGE-&'), 'preview', function (res) {
|
|
|
+ jGPlPrint(htmlStr.join('').split('&-NEWPAGE-&'), 'print', function (res) {
|
|
|
if(res){
|
|
|
_this.handleCommonCancel()
|
|
|
}
|