fix:位置信息修改

pull/118/head
lihui_ocr 1 year ago
parent 22fb56564d
commit e6283656de

@ -271,11 +271,17 @@ async function getTableData() {
"拜访小结", "拜访小结",
"拜访项目类别", "拜访项目类别",
]; ];
fieldList.map((v) => { fieldList.map((v) => {
if (userFieldList.includes(v.name)) { if (userFieldList.includes(v.name)) {
let locationobj = {address:""}
if(v.name=='location'){
locationobj=JSON.parse(taskDetailInfo.value.ocrPicture[v.name]);
}
const item = { const item = {
label: v.fieldDesc, label: v.fieldDesc,
value: taskDetailInfo.value.ocrPicture[v.name], value: v.name=='location'?locationobj.address:taskDetailInfo.value.ocrPicture[v.name],
key: v.name, key: v.name,
blue: blueList.includes(v.fieldDesc), blue: blueList.includes(v.fieldDesc),
}; };

Loading…
Cancel
Save