From a427dc73733de616424af4e3dd971fd3db763b7b Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期一, 15 九月 2025 14:33:58 +0800
Subject: [PATCH] 新增了测试代码
---
ruoyi-ui/src/views/qrcode/pdscanInfo.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/views/qrcode/pdscanInfo.vue b/ruoyi-ui/src/views/qrcode/pdscanInfo.vue
index 4cfab4b..b56fec0 100644
--- a/ruoyi-ui/src/views/qrcode/pdscanInfo.vue
+++ b/ruoyi-ui/src/views/qrcode/pdscanInfo.vue
@@ -21,7 +21,8 @@
</template>
<script>
-import {listFScan,getFScanInfo,addFScan,delFScan,getFSInfo,updateFScan, uploadPic, uploadPic1, download} from "@/api/fscan/index";
+import {listFScan,getFScanInfo,addFScan,delFScan,getFSInfo,
+updateFScan, uploadPic, uploadPic1, download} from "@/api/fscan/index";
import {blobValidate} from "@/utils/ruoyi";
export default {
// components: {
@@ -38,10 +39,11 @@
},
mounted() {
- const id = (this.$route.query.id)
+ const id = this.$route.params && this.$route.params.id;
+ //alert(id)
//鍙戣捣璇锋眰鎷垮埌pdfSrc
let _this = this
- getFScanInfo(id).then(response => {
+ getFScanInfo(parseInt(id)).then(response => {
//console.log(response)
--
Gitblit v1.9.1