|
|
@ -187,17 +187,17 @@ const BASE_URL = import.meta.env.VITE_JMREPORT_BASE_URL |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/929174607016689664?token=' + getAccessToken()) |
|
|
|
// 标签打印 |
|
|
|
const handlePoint = async (row) => { |
|
|
|
window.open(src.value+'&id='+row.id) |
|
|
|
window.open(src.value+'&relateNumber='+row.id) |
|
|
|
} |
|
|
|
|
|
|
|
const srcPoint = ref(BASE_URL + '/jmreport/view/953469704945139712?token=' + getAccessToken()) |
|
|
|
// const srcPoint = ref(BASE_URL + '/jmreport/view/929174607016689664?token=' + getAccessToken()) |
|
|
|
const handleSelectionPoint = async ()=>{ |
|
|
|
let rows:any = [] |
|
|
|
selectionRows.value.forEach(item=>{ |
|
|
|
rows = [...rows,...item.selectionRows.map(item1=>item1.id)] |
|
|
|
}) |
|
|
|
console.log('批量打印',rows.join(',')) |
|
|
|
window.open(srcPoint.value+'&relateNumber='+rows.join(',')) |
|
|
|
window.open(src.value+'&relateNumber='+rows.join(',')) |
|
|
|
} |
|
|
|
|
|
|
|
// 筛选提交 |
|
|
|