From a46f2000f85c91b0e118a0af1bc6022a16feadcb Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 04 七月 2024 17:15:57 +0800 Subject: [PATCH] 测试完成 --- src/views/knowledge/questionnaire/index.vue | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/views/knowledge/questionnaire/index.vue b/src/views/knowledge/questionnaire/index.vue index a201461..21d4429 100644 --- a/src/views/knowledge/questionnaire/index.vue +++ b/src/views/knowledge/questionnaire/index.vue @@ -416,7 +416,12 @@ <div class="qrcode-text"> {{ namequestionnaire }}<span>{{ haoquestionnaire }}</span> </div> - <div class="qrcode-img"></div> + <div class="qrcode-img"> + <el-image + src="D:/qrcode/fc9a1fa37e394ac3ac606bf6b77b17c3" + fit="cover" + ></el-image> + </div> </div> </el-dialog> </div> @@ -440,6 +445,7 @@ getillnesslist, illnesslistget, getillness, + getQRcode, } from "@/api/AiCentre/index"; import { listDept } from "@/api/system/dept"; @@ -466,6 +472,7 @@ total: 0, namequestionnaire: "", haoquestionnaire: "", + QRcodeurl: "", // 鐢ㄦ埛琛ㄦ牸鏁版嵁 userList: [], @@ -540,6 +547,12 @@ }, goQRCode(row) { + getQRcode({ + url: "/outsideChain?param1=KHRYDSSuTpwGWDhAS6OnpfxObRZf8fd/TIagYWPvDuyku+MjtrWt1efC1htoBDc+G4QP2UOWPNitAO4TwH4oIQ==¶m2=CP/xYqwqDhWACt2aQ/HOwhgRM62Lh4/1upwYDl7dmKSuiaa4zRzMgu7rmRztiwQj2YvJ1KAX1zBTpUAIdxPvUA==", + }).then((res) => { + console.log(res); + this.QRcodeurl = "D:/qrcode/fc9a1fa37e394ac3ac606bf6b77b17c3"; + }); this.goQRCodeVisible = true; this.namequestionnaire = row.userName; this.haoquestionnaire = row.nickName; @@ -806,13 +819,7 @@ this.single = selection.length != 1; this.multiple = !selection.length; }, - /** 鏂板鎸夐挳鎿嶄綔 */ - handleAdd() { - this.$router.push({ - path: "/knowledge/verbaltrick/particulars/", - query: { id: "1" }, - }); - }, + /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { -- Gitblit v1.9.3