不在前端处理
Showing
2 changed files
with
0 additions
and
6 deletions
... | @@ -83,9 +83,6 @@ | ... | @@ -83,9 +83,6 @@ |
83 | qszt: this.checkList, | 83 | qszt: this.checkList, |
84 | }).then((res) => { | 84 | }).then((res) => { |
85 | if (res.code === 200) { | 85 | if (res.code === 200) { |
86 | res.result.length && res.result.forEach(i => { | ||
87 | i.ytmc == 'null' ? i.ytmc = "" : i.ytmc = i.ytmc; | ||
88 | }); | ||
89 | this.tableData = res.result; | 86 | this.tableData = res.result; |
90 | this.tableData.forEach(item => { | 87 | this.tableData.forEach(item => { |
91 | item.sjlx = getSjlx(item.sjlx) | 88 | item.sjlx = getSjlx(item.sjlx) | ... | ... |
... | @@ -95,9 +95,6 @@ export default { | ... | @@ -95,9 +95,6 @@ export default { |
95 | this.$endLoading() | 95 | this.$endLoading() |
96 | if (res.code === 200) { | 96 | if (res.code === 200) { |
97 | let { total, records } = res.result; | 97 | let { total, records } = res.result; |
98 | records.length && records.forEach(i => { | ||
99 | i.ytmc == 'null' ? i.ytmc = "" : i.ytmc = i.ytmc; | ||
100 | }); | ||
101 | this.tableData.data = records; | 98 | this.tableData.data = records; |
102 | this.tableData.total = total; | 99 | this.tableData.total = total; |
103 | } | 100 | } | ... | ... |
-
Please register or sign in to post a comment