杭州-乙方运维-解决项目评价部分列不展示问题。原因:数字类型列表不能展示,暂时处理
Showing
1 changed file
with
16 additions
and
1 deletions
@@ -116,7 +116,22 @@ export default { | @@ -116,7 +116,22 @@ export default { | ||
116 | proxy.$http.post("/api-web/bOpsScoreDetails/page", params, function (res) { | 116 | proxy.$http.post("/api-web/bOpsScoreDetails/page", params, function (res) { |
117 | if(res && res.code == 0){ | 117 | if(res && res.code == 0){ |
118 | closeDetail(true); | 118 | closeDetail(true); |
119 | - dataList.value = res.data; | 119 | + //Strat XuHaoJie 2021/12/31 10:56 TODO 解决列表不能展示数字类型的数据 暂时处理 |
120 | + let li =res.data.map(item =>{ | ||
121 | + let element = { | ||
122 | + deduction: item.duration, | ||
123 | + id: item.id, | ||
124 | + item: item.item, | ||
125 | + projectScoreId: item.projectScoreId, | ||
126 | + rater: item.rater, | ||
127 | + remark: item.remark+'', | ||
128 | + score: item.score+'', | ||
129 | + standardScore: item.standardScore+'' | ||
130 | + } | ||
131 | + return element; | ||
132 | + }); | ||
133 | + dataList.value =li; | ||
134 | + //End XuHaoJie 2021/12/31 10:56 TODO 解决列表不能展示数字类型的数据 暂时处理 | ||
120 | } | 135 | } |
121 | }); | 136 | }); |
122 | } | 137 | } |
-
Please register or login to post a comment