111
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -80,8 +80,9 @@ export default { | ... | @@ -80,8 +80,9 @@ export default { |
80 | bdcdj.getWorkerStatistics().then((res) => { | 80 | bdcdj.getWorkerStatistics().then((res) => { |
81 | this.tableData.data = res.result; | 81 | this.tableData.data = res.result; |
82 | for (let item of this.tableData.data) { | 82 | for (let item of this.tableData.data) { |
83 | item.womanRatio = ((item.womanNum / item.total) * 100).toFixed(2)+'%'; } | 83 | item.womanRatio = |
84 | console.log(this.tableData.data); | 84 | ((item.womanNum / item.total) * 100).toFixed(2) + "%"; |
85 | } | ||
85 | }); | 86 | }); |
86 | }, | 87 | }, |
87 | // 重置 | 88 | // 重置 | ... | ... |
-
Please register or sign in to post a comment