根据数据格式用 vue+element 生成table生成如图的表格
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/922f54a215824db894587c34e922eaa5.png?x-oss-process=image/auto-orient,1/resize,w_320,m_lfit)
const staffMessageList = [
{
"auditProjectBelongStaff": [
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "1.00",
"mutualEvaluationScoreDetailsList": [
[
"小明",
"组员",
"优"
]
],
"projectName": "213123123",
"projectRole": "组长",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "无法统计",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2538,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "213123123"
},
"rectificationScore": 22
},
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "1.00",
"mutualEvaluationScoreDetailsList": [
[
"小明",
"组员",
"优"
]
],
"projectName": "0202test-2",
"projectRole": "组长",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "无法统计",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2486,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "0202test-2"
},
"rectificationScore": 33
},
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "0.85",
"mutualEvaluationScoreDetailsList": [
[
"小明",
"组员",
"良"
]
],
"projectName": "20230221lzw测试",
"projectRole": "组长",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "无法统计",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2505,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "20230221lzw测试"
},
"rectificationScore": 11
}
],
"averageAssessmentScore": "无法统计",
"averageCompleteScore": "无法统计",
"averageQualityScore": "无法统计",
"averageRectificationScore": "22.0",
"staffName": "胡椒籽"
},
{
"auditProjectBelongStaff": [
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "0.85",
"mutualEvaluationScoreDetailsList": [
[
"胡椒籽",
"组长",
"良"
]
],
"projectName": "213123123",
"projectRole": "组员",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "不考核",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2538,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "213123123"
},
"rectificationScore": 22
},
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "1.00",
"mutualEvaluationScoreDetailsList": [
[
"胡椒籽",
"组长",
"优"
]
],
"projectName": "0202test-2",
"projectRole": "组员",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "不考核",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2486,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "0202test-2"
},
"rectificationScore": 33
},
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "0.70",
"mutualEvaluationScoreDetailsList": [
[
"胡椒籽",
"组长",
"中"
]
],
"projectName": "20230221lzw测试",
"projectRole": "组员",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "不考核",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2505,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "20230221lzw测试"
},
"rectificationScore": 11
}
],
"averageAssessmentScore": "无法统计",
"averageCompleteScore": "不考核",
"averageQualityScore": "无法统计",
"averageRectificationScore": "22.0",
"staffName": "小明"
}
]
}
1
{
2
"pageStart": 0
3
}
{
"dupRecflag": null,
"firstResult": 0,
"limit": 999999999,
"maxResult": 999999999,
"message": "查询成功!",
"pageStart": 0,
"receiveflag": null,
"root": {
"staffMessageList": [
{
"auditProjectBelongStaff": [
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "1.00",
"mutualEvaluationScoreDetailsList": [
[
"格温",
"组长",
"优"
]
],
"projectName": "test071102",
"projectRole": "组员",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "不考核",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2625,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "test071102"
},
"rectificationScore": 70
},
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "0.85",
"mutualEvaluationScoreDetailsList": [
[
"格温",
"组长",
"良"
]
],
"projectName": "分支机构离任稽核hj-071002",
"projectRole": "组员",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "不考核",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2614,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "分支机构离任稽核hj-071002"
},
"rectificationScore": 80
}
],
"averageAssessmentScore": "无法统计",
"averageCompleteScore": "不考核",
"averageQualityScore": "无法统计",
"averageRectificationScore": "75.0",
"staffName": "王大强"
},
{
"auditProjectBelongStaff": [
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "1.00",
"mutualEvaluationScoreDetailsList": [
[
"王大强",
"组员",
"优"
]
],
"projectName": "test071102",
"projectRole": "组长",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "无法统计",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2625,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "test071102"
},
"rectificationScore": 70
},
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "0.93",
"mutualEvaluationScoreDetailsList": [
[
"王大强",
"组员",
"良"
],
[
"呕小君",
"组员",
"优"
]
],
"projectName": "分支机构离任稽核hj-071002",
"projectRole": "组长",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "无法统计",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2614,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "分支机构离任稽核hj-071002"
},
"rectificationScore": 80
}
],
"averageAssessmentScore": "无法统计",
"averageCompleteScore": "无法统计",
"averageQualityScore": "无法统计",
"averageRectificationScore": "75.0",
"staffName": "格温"
},
{
"auditProjectBelongStaff": [
{
"assessmentScore": -1,
"assessmentScoreStr": "无法统计",
"mutualEvaluationScore": "0.85",
"mutualEvaluationScoreDetailsList": [
[
"格温",
"组长",
"良"
]
],
"projectName": "分支机构离任稽核hj-071002",
"projectRole": "组员",
"projectScore": {
"appraiseBatchsId": null,
"checkHandlerTime": null,
"checkStatus": null,
"completeScore": -1,
"completeScoreStr": "不考核",
"docId": null,
"handleStep": null,
"handler": null,
"handlerName": null,
"id": null,
"interacterId": null,
"isCheckQualityScore": null,
"isValid": null,
"piid": null,
"projectId": 2614,
"qualityScore": -1,
"qualityScoreBak": null,
"qualityScoreStr": "无法统计",
"taskId": null,
"title": "分支机构离任稽核hj-071002"
},
"rectificationScore": 80
}
],
"averageAssessmentScore": "无法统计",
"averageCompleteScore": "不考核",
"averageQualityScore": "无法统计",
"averageRectificationScore": "80.0",
"staffName": "呕小君"
}
]