自治区学生打印
This commit is contained in:
@@ -320,6 +320,32 @@ export default {
|
|||||||
|
|
||||||
reApplyV: false,
|
reApplyV: false,
|
||||||
reApplyForm: {},
|
reApplyForm: {},
|
||||||
|
|
||||||
|
printContent: {
|
||||||
|
id: 'printDiv',
|
||||||
|
extraCss: '',
|
||||||
|
extraHead: '<meta http-equiv="Content-Language"content="zh-cn"/>',
|
||||||
|
previewBeforeOpenCallback() {
|
||||||
|
console.log('正在加载预览窗口')
|
||||||
|
},
|
||||||
|
previewOpenCallback() {
|
||||||
|
console.log('已经加载完预览窗口')
|
||||||
|
},
|
||||||
|
beforeOpenCallback(vue) {
|
||||||
|
vue.printLoading = true
|
||||||
|
console.log('打开之前')
|
||||||
|
},
|
||||||
|
openCallback(vue) {
|
||||||
|
vue.printLoading = false
|
||||||
|
console.log('执行了打印')
|
||||||
|
},
|
||||||
|
closeCallback() {
|
||||||
|
console.log('关闭了打印工具')
|
||||||
|
},
|
||||||
|
clickMounted(vue) {
|
||||||
|
console.log('点击了打印按钮')
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|||||||
Reference in New Issue
Block a user