| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-07-05 16:31:54 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-07-05 16:40:11 |
| | | * @Last Modified time: 2021-07-08 17:20:37 |
| | | * menu-name 保安员证打印 |
| | | */ |
| | | <template> |
| | | <div> |
| | | 保安员证打印 |
| | | </div> |
| | | <el-row class="morpheus-box"> |
| | | <el-col :span="24"> |
| | | <el-card> |
| | | <el-button type="primary" |
| | | @click="handlePrint1">打印局部</el-button> |
| | | |
| | | <div id="test" style="position: fixed;top: 0;left: 0; right: 0;bottom: 0;margin: 0;display: none;"> |
| | | <h2 style="color:red">12312</h2> |
| | | </div> |
| | | </el-card> |
| | | </el-col> |
| | | </el-row> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | |
| | | |
| | | |
| | | export default { |
| | | data () { |
| | | return { |
| | | |
| | | } |
| | | }, |
| | | created () { |
| | | |
| | | |
| | | }, |
| | | mounted () { |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | handlePrint1 () { |
| | | this.$Print('#test'); |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | <style lang="scss" scoped> |
| | | </style> |