|
@@ -111,6 +111,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">
|
|
@@ -150,6 +152,7 @@
|
|
|
return {
|
|
|
description: '全馆值班登记管理页面',
|
|
|
monthShowOne: false,
|
|
|
+ printMouldUrl:'',
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
@@ -229,6 +232,9 @@
|
|
|
this.monthShowOne = false;
|
|
|
this.queryParam.dutyMonth = value;
|
|
|
},
|
|
|
+ print(record){
|
|
|
+ this.printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834337917675851776'+'?id='+record.id
|
|
|
+ },
|
|
|
loadData(arg) {
|
|
|
if(!this.url.list){
|
|
|
this.$message.error("请设置url.list属性!")
|