|
|
|
@ -123,14 +123,15 @@ export default { |
|
|
|
|
iconClass: mappingDataItem.iconClass || "iconjichuziliao", |
|
|
|
|
isFold: mappingDataItem.isFold || true, |
|
|
|
|
listData: mappingDataItem.carItems.map((carItem) => { |
|
|
|
|
return { |
|
|
|
|
label: carItem.label, |
|
|
|
|
value: |
|
|
|
|
let value = |
|
|
|
|
(typeof carItem.value == "function" && |
|
|
|
|
carItem.value(shineData)) || |
|
|
|
|
shineData[carItem.value] || |
|
|
|
|
carItem.fieldDefault || |
|
|
|
|
"暂无数据", |
|
|
|
|
shineData[carItem.value] == 0 |
|
|
|
|
? 0 |
|
|
|
|
: shineData[carItem.value] || carItem.fieldDefault || ""; |
|
|
|
|
return { |
|
|
|
|
label: carItem.label, |
|
|
|
|
value: value, |
|
|
|
|
field: carItem.value, |
|
|
|
|
remark: carItem.remark, |
|
|
|
|
isCopy: carItem.isCopy || false, |
|
|
|
|