|
@@ -112,6 +112,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">
|
|
@@ -201,6 +203,7 @@
|
|
|
scopedSlots: { customRender: 'action' },
|
|
|
}
|
|
|
],
|
|
|
+ printMouldUrl:'',
|
|
|
url: {
|
|
|
list: "/oa/budgetReply/list",
|
|
|
delete: "/oa/budgetReply/delete",
|
|
@@ -230,6 +233,9 @@
|
|
|
this.yearShowOne = false;
|
|
|
this.queryParam.budgetYear = value;
|
|
|
},
|
|
|
+ print(record){
|
|
|
+ this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834332600510533632'+'?id='+record.id
|
|
|
+ },
|
|
|
loadData(arg) {
|
|
|
if(!this.url.list){
|
|
|
this.$message.error("请设置url.list属性!")
|