|
|
@ -2,7 +2,7 @@ |
|
|
|
<div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always"> |
|
|
|
<div style="position: fixed;z-index: 999;right: 90px;"> |
|
|
|
<div v-if="!onlyRead && isPlatform"> |
|
|
|
<el-button v-print="'#threeFunc'" size="small" @click="handlePrint">打印</el-button> |
|
|
|
<el-button v-print="printAll" size="small" @click="handlePrint">打印</el-button> |
|
|
|
<template v-if="isCreator"> |
|
|
|
<el-button type="primary" size="small" @click="handleSaveTable">保存</el-button> |
|
|
|
<el-button type="danger" size="small" @click="handleDelete">删除</el-button> |
|
|
@ -803,6 +803,15 @@ export default { |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
printAll: { |
|
|
|
id: 'threeFunc', |
|
|
|
beforeOpenCallback(event) { |
|
|
|
document.title = `HM[E${event.$store.state.examNo}][D${event.$store.state.user.name}]` |
|
|
|
}, |
|
|
|
closeCallback() { |
|
|
|
document.title = '眼科工作平台' |
|
|
|
} |
|
|
|
}, |
|
|
|
myLayout: [ |
|
|
|
'@+-/%△°*()ᴿᴸ|1234567890|QWERTYUIOP|ASDFGHJKL|{shift:goto:1}ZXCVBNM|{space:space}{custom:custom}{delete:backspace}', |
|
|
|
'1234567890{delete:backspace}|qwertyuiop|asdfghjkl|{shift:goto:0}zxcvbnm|{space:space}{custom:custom}' |
|
|
|