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), };