优化dialog
This commit is contained in:
@@ -975,6 +975,7 @@ export default {
|
|||||||
body.append(printNode)
|
body.append(printNode)
|
||||||
window.print()
|
window.print()
|
||||||
body.children().not('script').show()
|
body.children().not('script').show()
|
||||||
|
body.children().not('#app').hide()
|
||||||
printNode.remove()
|
printNode.remove()
|
||||||
}).catch(res => {
|
}).catch(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|||||||
@@ -255,7 +255,9 @@ export default {
|
|||||||
body.append(printNode)
|
body.append(printNode)
|
||||||
window.print()
|
window.print()
|
||||||
body.children().not('script').show()
|
body.children().not('script').show()
|
||||||
|
body.children().not('#app').hide()
|
||||||
printNode.remove()
|
printNode.remove()
|
||||||
|
this.reload()
|
||||||
} else {
|
} else {
|
||||||
this.$message.error('请选择合同')
|
this.$message.error('请选择合同')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user