|
|
@ -27,6 +27,7 @@ |
|
|
<i class="el-icon-upload2"></i>导出(医生版) |
|
|
<i class="el-icon-upload2"></i>导出(医生版) |
|
|
</div> |
|
|
</div> |
|
|
<div |
|
|
<div |
|
|
|
|
|
v-if="!isAPP" |
|
|
style="width: 130px; margin-right: 10px" |
|
|
style="width: 130px; margin-right: 10px" |
|
|
class="div-print cardRig-but" |
|
|
class="div-print cardRig-but" |
|
|
@click="handlePrinting('医生版', true)" |
|
|
@click="handlePrinting('医生版', true)" |
|
|
@ -41,6 +42,7 @@ |
|
|
<i class="el-icon-upload2"></i>导出(阳性版) |
|
|
<i class="el-icon-upload2"></i>导出(阳性版) |
|
|
</div> |
|
|
</div> |
|
|
<div |
|
|
<div |
|
|
|
|
|
v-if="!isAPP" |
|
|
style="width: 130px; margin-right: 10px" |
|
|
style="width: 130px; margin-right: 10px" |
|
|
class="div-print cardRig-but" |
|
|
class="div-print cardRig-but" |
|
|
@click="handlePrinting('阳性版')" |
|
|
@click="handlePrinting('阳性版')" |
|
|
@ -55,6 +57,7 @@ |
|
|
<i class="el-icon-upload2"></i>导出(个人版) |
|
|
<i class="el-icon-upload2"></i>导出(个人版) |
|
|
</div> |
|
|
</div> |
|
|
<div |
|
|
<div |
|
|
|
|
|
v-if="!isAPP" |
|
|
class="div-print cardRig-but" |
|
|
class="div-print cardRig-but" |
|
|
@click="handlePrinting('个人版')" |
|
|
@click="handlePrinting('个人版')" |
|
|
style="width: 130px" |
|
|
style="width: 130px" |
|
|
@ -359,6 +362,7 @@ export default { |
|
|
signData: {}, |
|
|
signData: {}, |
|
|
reportPath: "", |
|
|
reportPath: "", |
|
|
icdList: [], |
|
|
icdList: [], |
|
|
|
|
|
isAPP: JSON.parse(localStorage.getItem("isAndroid")), |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
@ -502,18 +506,18 @@ export default { |
|
|
// 调用打印方法 |
|
|
// 调用打印方法 |
|
|
handleInvoke(_path) { |
|
|
handleInvoke(_path) { |
|
|
try { |
|
|
try { |
|
|
if (JSON.parse(localStorage.getItem("isAndroid"))) { |
|
|
// if (JSON.parse(localStorage.getItem("isAndroid"))) { |
|
|
this.$message({ |
|
|
// this.$message({ |
|
|
message: "请在wps中预览并打印", |
|
|
// message: "请在wps中预览并打印", |
|
|
type: "success", |
|
|
// type: "success", |
|
|
center: true, |
|
|
// center: true, |
|
|
duration: 6000, |
|
|
// duration: 6000, |
|
|
}); |
|
|
// }); |
|
|
// window.open(_path); |
|
|
// // window.open(_path); |
|
|
// 导出下载 |
|
|
// // 导出下载 |
|
|
this.$download(_path); |
|
|
// this.$download(_path); |
|
|
return; |
|
|
// return; |
|
|
} |
|
|
// } |
|
|
this.reportPath = _path; |
|
|
this.reportPath = _path; |
|
|
var iframe = document.getElementById( |
|
|
var iframe = document.getElementById( |
|
|
"reportPartIframe" + this.timestamp, |
|
|
"reportPartIframe" + this.timestamp, |
|
|
|