本帖最后由 waha 于 2023-10-18 18:48 编辑
数据源是JSON格式,想实现图片中效果
数据样例:
[{
"bedNo": "30345-13",
"execBillItemInfos": [{
"combNo": "64629014",
"combMark": "┓",
"doseOnce": "500",
"doseUnit": "ml",
"frequencyName": "日一次",
"inpatientNo": "000000002",
"itemName": "5%葡萄糖注射液(塑瓶)500ml",
"useName": "静点"
}, {
"combNo": "64629014",
"combMark": "┛",
"doseOnce": "2",
"doseUnit": "g",
"frequencyName": "日一次",
"inpatientNo": "000000002",
"itemName": "维生素C注射液",
"useName": "静点"
}, {
"combNo": "64629015",
"combMark": "┓",
"doseOnce": "500",
"doseUnit": "ml",
"frequencyName": "日一次",
"inpatientNo": "000000002",
"itemName": "5%葡萄糖注射液(塑瓶)500ml",
"useName": "续静点"
}, {
"combNo": "64629015",
"combMark": "┛",
"doseOnce": "10",
"doseUnit": "单位",
"frequencyName": "日一次",
"inpatientNo": "000000002",
"itemName": "缩宫素注射液",
"useName": "续静点"
}, {
"combNo": "64629059",
"combMark": null,
"doseOnce": "500",
"doseUnit": "ml",
"frequencyName": "立即执行",
"inpatientNo": "000000002",
"itemName": "复方氯化钠注射液",
"useName": "续静点"
}, {
"combNo": "64629062",
"combMark": "┓",
"doseOnce": "250",
"doseUnit": "ml",
"frequencyName": "立即执行",
"inpatientNo": "000000002",
"itemName": "氯化钠注射液(塑瓶)",
"useName": "续静点"
}, {
"combNo": "64629062",
"combMark": "┛",
"doseOnce": "1.5",
"doseUnit": "g",
"frequencyName": "立即执行",
"inpatientNo": "000000002",
"itemName": "注射用头孢呋辛钠",
"useName": "续静点"
}],
"inpatientNo": "000000002",
"name": "刘某某",
"nurseName": "产二科护士站",
"patientNo": "000000004",
"execDate": "2022-08-16",
"printer": "000115",
"shortBedNo": "5-13",
"billName": null
}, {
"bedNo": "30345-16",
"execBillItemInfos": [{
"combNo": "64627970",
"combMark": "┓",
"doseOnce": "500",
"doseUnit": "ml",
"frequencyName": "日一次",
"inpatientNo": "000000001",
"itemName": "5%葡萄糖注射液(塑瓶)500ml",
"useName": "续静点"
}, {
"combNo": "64627970",
"combMark": "┛",
"doseOnce": "10",
"doseUnit": "单位",
"frequencyName": "日一次",
"inpatientNo": "000000001",
"itemName": "缩宫素注射液",
"useName": "续静点"
}, {
"combNo": "64627976",
"combMark": "┓",
"doseOnce": "1.5",
"doseUnit": "g",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "注射用头孢呋辛钠",
"useName": "续静点"
}, {
"combNo": "64627976",
"combMark": "┛",
"doseOnce": "250",
"doseUnit": "ml",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "氯化钠注射液(塑瓶)",
"useName": "续静点"
}, {
"combNo": "64629406",
"combMark": "┓",
"doseOnce": "25",
"doseUnit": "mg",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "****注射液",
"useName": "肌肉注射"
}, {
"combNo": "64629406",
"combMark": "┛",
"doseOnce": ".05",
"doseUnit": "g",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "**哌替啶注射液",
"useName": "肌肉注射"
}, {
"combNo": "64629407",
"combMark": "┓",
"doseOnce": "1",
"doseUnit": "g",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "葡萄糖酸钙注射液",
"useName": "续静点"
}, {
"combNo": "64629407",
"combMark": "┛",
"doseOnce": "100",
"doseUnit": "ml",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "5%葡萄糖注射液",
"useName": "续静点"
}, {
"combNo": "64630140",
"combMark": null,
"doseOnce": "200",
"doseUnit": "ml",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "碳酸氢钠注射液",
"useName": "续静点"
}, {
"combNo": "64630141",
"combMark": "┓",
"doseOnce": "500",
"doseUnit": "ml",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "5%葡萄糖注射液(塑瓶)500ml",
"useName": "续静点"
}, {
"combNo": "64630141",
"combMark": "┛",
"doseOnce": "10",
"doseUnit": "单位",
"frequencyName": "立即执行",
"inpatientNo": "000000001",
"itemName": "缩宫素注射液",
"useName": "续静点"
}],
"inpatientNo": "000000001",
"name": "马某",
"nurseName": "产二科护士站",
"patientNo": "000000003",
"execDate": "2022-08-16",
"printer": "000115",
"shortBedNo": "5-16",
"billName": null
}]
报表应该怎么实现。
|