From 4a97d3b6f73e96b27d0929e1a411e9a8d19fd2f2 Mon Sep 17 00:00:00 2001 From: liuzhipeng <1747191978@qq.com> Date: Sun, 16 Mar 2025 10:33:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E6=9F=A5=E5=88=97=E8=A1=A8=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=95=B0=E6=8D=AE=E5=AD=97=E6=AE=B5=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/screening/index.vue | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/acupuncture-前台/src/views/screening/index.vue b/acupuncture-前台/src/views/screening/index.vue index f781f8d2..eb38dc72 100644 --- a/acupuncture-前台/src/views/screening/index.vue +++ b/acupuncture-前台/src/views/screening/index.vue @@ -130,7 +130,7 @@ label="联系方式" align="center" prop="SCWJ-PHONE" - min-width="100" + min-width="120" /> + + { this.listDat = res.data.list; this.listDat.forEach((item) => { - if (item.recordList) { - item.recordList.forEach((row) => { - item[row.code] = row.answer; + if (item.detailList) { + item.detailList?.forEach((row) => { + item[row.questionCode] = row.answer; }); } }); + console.log("this.listDat", this.listDat); + this.total = res.data.total; this.loading = false; });