|
@@ -116,6 +116,8 @@
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
<a>删除</a>
|
|
|
</a-popconfirm>
|
|
|
+ <a-divider type="vertical" />
|
|
|
+ <a @click="print(record)" :href="printMouldUrl" target="_blank">打印</a>
|
|
|
<!-- <a-dropdown>
|
|
|
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
|
|
|
<a-menu slot="overlay">
|
|
@@ -159,6 +161,7 @@
|
|
|
data () {
|
|
|
return {
|
|
|
description: '入职登记管理页面',
|
|
|
+ printMouldUrl:"",
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
@@ -264,6 +267,9 @@
|
|
|
},
|
|
|
methods: {
|
|
|
initDictConfig(){
|
|
|
+ },
|
|
|
+ print(record){
|
|
|
+ this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/836112226480115712'+'?id='+record.id
|
|
|
}
|
|
|
|
|
|
}
|