Commit cf743fab authored by miaojiale's avatar miaojiale

修复bug

parent 1a2ad65a
......@@ -194,7 +194,7 @@ export function getMessage(params = {}) {
// 获取驳回修改消息
export function getRefuteMessage(params) {
return request({
url: `/disease-data//sys/message/remind/${params}`,
url: `/disease-data/sys/message/remind/${params}`,
method: "get",
params,
})
......
......@@ -38,10 +38,14 @@ export default {
timeout: null,
}
},
watch: {},
mounted() {
watch: {
showPdf(v) {
if (v) {
this.loadPDF()
}
},
},
mounted() {},
methods: {
loadPDF() {
document.getElementById("pdfEle").innerHTML = ""
......
......@@ -60,7 +60,11 @@
<div class="title">{{ curPdf.articleTitle }}</div>
<div class="refuteList">
<!-- <pdf :src="pdfSrc"></pdf> -->
<pdf-view ref="pdfView" :pdf-src="pdfSrc"></pdf-view>
<pdf-view
ref="pdfView"
:pdf-src="pdfSrc"
:showPdf="showPdf"
></pdf-view>
</div>
</div>
</el-dialog>
......@@ -92,10 +96,9 @@ export default {
},
],
tableData: [],
showPdf: true,
showPdf: false,
curPdf: { articleTitle: "测试pdf" },
pdfSrc:
"https://ds.cixincloud.com/geca-api/disease-data/file/info/geca2/1630772277140377601.pdf",
pdfSrc: "",
}
},
watch: {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment