修改打印界面

master
夜笙歌 1 week ago
parent e896858bd7
commit b47706939a

@ -132,15 +132,15 @@
cardIds.forEach(v => { cardIds.forEach(v => {
let data = cardList.filter(i => i.objid === v) let data = cardList.filter(i => i.objid === v)
card += ` card += `
<div class="card"> <div class="card" ${data.length >2 ? `style="width:calc(98% - 2px)"`:''}>
<div class="left"> <div class="left" ${data.length >2 ? `style="width:calc(25% - 2px)"`:''}>
<div style="height: 100%;display: flex; flex-direction: column;justify-content: space-between;"> <div style="height: 100%;display: flex; flex-direction: column;justify-content: space-between;">
<div><span style="display: inline-block;width: 70px;text-align: right">机坪名称: </span><span style="display: inline-block;width:12px; "> </span>${data[0].areaName || ''}</div> <div><span style="display: inline-block;width: 70px;text-align: right">机坪名称: </span><span style="display: inline-block;width:12px; "> </span>${data[0].areaName || ''}</div>
<div><span style="display: inline-block;width: 70px;text-align: right">机位码: </span><span style="display: inline-block;width:12px; "> </span>${data[0].planePosition || ''}</div> <div><span style="display: inline-block;width: 70px;text-align: right">机位码: </span><span style="display: inline-block;width:12px; "> </span>${data[0].planePosition || ''}</div>
<div><span style="display: inline-block;width: 70px;text-align: right">完成状态: </span><span style="display: inline-block;width:12px; "> </span>${data[0].taskState || ''}</div> <div><span style="display: inline-block;width: 70px;text-align: right">完成状态: </span><span style="display: inline-block;width:12px; "> </span>${data[0].taskState || ''}</div>
</div> </div>
</div> </div>
<div class="right"> <div class="right" ${data.length >2 ? `style="width:calc(75% - 2px)"`:''}>
${ ${
data.map(vv => { data.map(vv => {
return ` return `

Loading…
Cancel
Save