|
|
@ -7,7 +7,7 @@
|
|
|
|
<a-button type="primary" size="small" @click="downLoad" style="margin: 0 10px">下载</a-button>
|
|
|
|
<a-button type="primary" size="small" @click="downLoad" style="margin: 0 10px">下载</a-button>
|
|
|
|
<a-button type="primary" size="small" @click="openMail" >发送邮件</a-button>
|
|
|
|
<a-button type="primary" size="small" @click="openMail" >发送邮件</a-button>
|
|
|
|
<a-button type="primary" size="small" style="margin: 0 10px">盖章</a-button>
|
|
|
|
<a-button type="primary" size="small" style="margin: 0 10px">盖章</a-button>
|
|
|
|
<a-popover overlayClassName="printMoadl-card">
|
|
|
|
<a-popover overlayClassName="printMoadl-card">
|
|
|
|
<template #content>
|
|
|
|
<template #content>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div style="font-weight: bold;margin: 10px 0;">分享</div>
|
|
|
|
<div style="font-weight: bold;margin: 10px 0;">分享</div>
|
|
|
@ -54,6 +54,7 @@ async function init(url,name) {
|
|
|
|
let result = await QRCode.toDataURL(fileURL.value);
|
|
|
|
let result = await QRCode.toDataURL(fileURL.value);
|
|
|
|
codeUrl.value = result
|
|
|
|
codeUrl.value = result
|
|
|
|
fileName.value = name
|
|
|
|
fileName.value = name
|
|
|
|
|
|
|
|
console.log(url,result)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function openMail(){
|
|
|
|
function openMail(){
|
|
|
|
EmailModalRef.value.init(fileURL.value,fileName.value)
|
|
|
|
EmailModalRef.value.init(fileURL.value,fileName.value)
|
|
|
@ -103,6 +104,7 @@ defineExpose({
|
|
|
|
<style lang="less">
|
|
|
|
<style lang="less">
|
|
|
|
.printMoadl-card {
|
|
|
|
.printMoadl-card {
|
|
|
|
width: 385px;
|
|
|
|
width: 385px;
|
|
|
|
|
|
|
|
z-index: 1200 !important;
|
|
|
|
|
|
|
|
|
|
|
|
.ant-popover-inner-content {
|
|
|
|
.ant-popover-inner-content {
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|