From e6283656de6fa4b435cfcbf715c969c8ffb1d9a5 Mon Sep 17 00:00:00 2001 From: lihui_ocr Date: Tue, 9 Apr 2024 09:29:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BD=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task/content/Content.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/task/content/Content.vue b/src/views/task/content/Content.vue index 7ffd82d..2b0b3b7 100644 --- a/src/views/task/content/Content.vue +++ b/src/views/task/content/Content.vue @@ -271,11 +271,17 @@ async function getTableData() { "拜访小结", "拜访项目类别", ]; + fieldList.map((v) => { if (userFieldList.includes(v.name)) { + let locationobj = {address:""} + if(v.name=='location'){ + locationobj=JSON.parse(taskDetailInfo.value.ocrPicture[v.name]); + + } const item = { label: v.fieldDesc, - value: taskDetailInfo.value.ocrPicture[v.name], + value: v.name=='location'?locationobj.address:taskDetailInfo.value.ocrPicture[v.name], key: v.name, blue: blueList.includes(v.fieldDesc), };