From b1959edcd3fd72bb1187f3b078e6b683c5946ccc Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 5 Jul 2023 09:38:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/AppResidentInfo/components/List.vue | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/project/fengdu/app/AppResidentInfo/components/List.vue b/project/fengdu/app/AppResidentInfo/components/List.vue index 512d95de..804a5994 100644 --- a/project/fengdu/app/AppResidentInfo/components/List.vue +++ b/project/fengdu/app/AppResidentInfo/components/List.vue @@ -48,10 +48,17 @@ 详情 编辑 删除 + 生成二维码 + +
+ +
+ 确认 +
@@ -72,7 +79,9 @@ name: '', areaId: '' }, - tableData: [] + tableData: [], + dialogCode: false, + codeImgUrl: '' } }, @@ -144,6 +153,15 @@ } }) }) + }, + + qrCode(row) { + this.instance.post(`/app/appresidentapplet/generateQrCode?id=${row.id}`).then(res=>{ + if(res.code == 0) { + this.dialogCode = true + this.codeImgUrl = res.data + } + }) } } } @@ -152,5 +170,12 @@