|
@@ -346,13 +346,15 @@
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|
|
|
align:"center",
|
|
|
- width:120,
|
|
|
+ width:160,
|
|
|
customRender: (value, row, index) => {
|
|
|
const obj = {
|
|
|
children:
|
|
|
(
|
|
|
<span>
|
|
|
<a id="btn" onClick={() => this.handleEdit(row.cdAssetInId)}>编辑 </a>
|
|
|
+ <a-divider type="vertical" />
|
|
|
+ <a id="btn" onClick={() => this.print(row)}>打印</a>
|
|
|
<a-divider type="vertical" />
|
|
|
<a-popconfirm title="确定删除吗?" onConfirm={() => this.handleDelete(row.cdAssetInId)} placement="topRight">
|
|
|
<a>删除</a>
|
|
@@ -457,6 +459,10 @@
|
|
|
this.loading = false;
|
|
|
})
|
|
|
},
|
|
|
+ print(record){
|
|
|
+ var printMouldUrl = 'http://172.18.91.36:8081/jeecg-boot/jmreport/shareView/834580385717637120'+'?id='+record.cdAssetInId
|
|
|
+ window.open(printMouldUrl)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|