Commit 3c8e6fdf by xue_wengang

Update dwxnpgbg.vue

parent 89b5bf10
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<span class="xnbg">单位工作效能评估报告</span> <span class="xnbg">单位工作效能评估报告</span>
</div> </div>
<div class="btn"> <div class="btn">
<el-button icon="el-icon-download">导出报告</el-button> <el-button icon="el-icon-download" @click="print">导出报告</el-button>
</div> </div>
</div> </div>
<div style="padding: 0 10px;"> <div style="padding: 0 10px;">
...@@ -254,6 +254,9 @@ export default { ...@@ -254,6 +254,9 @@ export default {
}); });
}, },
methods:{ methods:{
print() {
window.print();
},
/** /**
* @description 绘制柱状图 * @description 绘制柱状图
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment