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 @@