我现在用的是你发的这串代码,但是我的数据是接口返回的,要求是接口中的数据渲染到我本地自动显示的模板上[{
"id": "19114",
"createBy": null,
"createTime": "2025-10-30 10:08:07",
"updateBy": null,
"updateTime": null,
"sysOrgCode": null,
"reportId": "b11128c",
"orgCode": "1",
"projectCode": "11",
"projectName": "一、营业收入",
"rowNum": null,
"unit": "万元",
"projectPcode": null,
"isStandard": "1",
"isCompute": null,
"isEdit": null,
"sn": 10,
"functionScope": null,
"promiseProjectCode": null,
"calcFormula": null,
"twoYearsAgoUnit": null,
"twoYearsAgoMoney": null,
"oneYearsAgoUnit": null,
"oneYearsAgoMoney": 0,
"thisYearActualUnit": null,
"thisYearActualMoney": null,
"thisYearBudgetUnit": null,
"thisYearBudgetMoney": 0,
"threeYearsAvgUnit": null,
"threeYearsAvgMoney": 0,
"nextYearBudgetUnit": null,
"nextYearBudgetMoney": 0,
"a": null,
"b": null,
"c": null,
"d": 0,
"e": null,
"f": null,
"g": null,
"h": "Q01_2200000000",
"j": "R/J*100",
"k": "S/K*100",
"l": "N-J",
"v": "O-K",
"b": null,
"n": null
},{
"id": "19114",
"createBy": null,
"createTime": "2025-10-30 10:08:07",
"updateBy": null,
"updateTime": null,
"sysOrgCode": null,
"reportId": "b11128c",
"orgCode": "1",
"projectCode": "11",
"projectName": "一、营业收入",
"rowNum": null,
"unit": "万元",
"projectPcode": null,
"isStandard": "1",
"isCompute": null,
"isEdit": null,
"sn": 10,
"functionScope": null,
"promiseProjectCode": null,
"calcFormula": null,
"twoYearsAgoUnit": null,
"twoYearsAgoMoney": null,
"oneYearsAgoUnit": null,
"oneYearsAgoMoney": 0,
"thisYearActualUnit": null,
"thisYearActualMoney": null,
"thisYearBudgetUnit": null,
"thisYearBudgetMoney": 0,
"threeYearsAvgUnit": null,
"threeYearsAvgMoney": 0,
"nextYearBudgetUnit": null,
"nextYearBudgetMoney": 0,
"a": null,
"b": null,
"c": null,
"d": 0,
"e": null,
"f": null,
"g": null,
"h": "Q01_2200000000",
"j": "R/J*100",
"k": "S/K*100",
"l": "N-J",
"v": "O-K",
"b": null,
"n": null
},{
"id": "19114",
"createBy": null,
"createTime": "2025-10-30 10:08:07",
"updateBy": null,
"updateTime": null,
"sysOrgCode": null,
"reportId": "b11128c",
"orgCode": "1",
"projectCode": "11",
"projectName": "一、营业收入",
"rowNum": null,
"unit": "万元",
"projectPcode": null,
"isStandard": "1",
"isCompute": null,
"isEdit": null,
"sn": 10,
"functionScope": null,
"promiseProjectCode": null,
"calcFormula": null,
"twoYearsAgoUnit": null,
"twoYearsAgoMoney": null,
"oneYearsAgoUnit": null,
"oneYearsAgoMoney": 0,
"thisYearActualUnit": null,
"thisYearActualMoney": null,
"thisYearBudgetUnit": null,
"thisYearBudgetMoney": 0,
"threeYearsAvgUnit": null,
"threeYearsAvgMoney": 0,
"nextYearBudgetUnit": null,
"nextYearBudgetMoney": 0,
"a": null,
"b": null,
"c": null,
"d": 0,
"e": null,
"f": null,
"g": null,
"h": "Q01_2200000000",
"j": "R/J*100",
"k": "S/K*100",
"l": "N-J",
"v": "O-K",
"b": null,
"n": null
},{
"id": "19114",
"createBy": null,
"createTime": "2025-10-30 10:08:07",
"updateBy": null,
"updateTime": null,
"sysOrgCode": null,
"reportId": "b11128c",
"orgCode": "1",
"projectCode": "11",
"projectName": "一、营业收入",
"rowNum": null,
"unit": "万元",
"projectPcode": null,
"isStandard": "1",
"isCompute": null,
"isEdit": null,
"sn": 10,
"functionScope": null,
"promiseProjectCode": null,
"calcFormula": null,
"twoYearsAgoUnit": null,
"twoYearsAgoMoney": null,
"oneYearsAgoUnit": null,
"oneYearsAgoMoney": 0,
"thisYearActualUnit": null,
"thisYearActualMoney": null,
"thisYearBudgetUnit": null,
"thisYearBudgetMoney": 0,
"threeYearsAvgUnit": null,
"threeYearsAvgMoney": 0,
"nextYearBudgetUnit": null,
"nextYearBudgetMoney": 0,
"a": null,
"b": null,
"c": null,
"d": 0,
"e": null,
"f": null,
"g": null,
"h": "Q01_2200000000",
"j": "R/J*100",
"k": "S/K*100",
"l": "N-J",
"v": "O-K",
"b": null,
"n": null
}]接口返回的这种数组对象 |