07c30198 by yangwei

登记薄土地用途字段展示错误

1 parent d867a9d0
...@@ -83,6 +83,9 @@ ...@@ -83,6 +83,9 @@
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 });
86 this.tableData = res.result; 89 this.tableData = res.result;
87 this.tableData.forEach(item => { 90 this.tableData.forEach(item => {
88 item.sjlx = getSjlx(item.sjlx) 91 item.sjlx = getSjlx(item.sjlx)
......
...@@ -95,6 +95,9 @@ export default { ...@@ -95,6 +95,9 @@ 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 });
98 this.tableData.data = records; 101 this.tableData.data = records;
99 this.tableData.total = total; 102 this.tableData.total = total;
100 } 103 }
......