style:区县接入
Showing
1 changed file
with
8 additions
and
5 deletions
| ... | @@ -167,6 +167,9 @@ export default { | ... | @@ -167,6 +167,9 @@ export default { |
| 167 | getDetail({ bsmReport: this.dataReport.bsmReport }).then((res) => { | 167 | getDetail({ bsmReport: this.dataReport.bsmReport }).then((res) => { |
| 168 | if (res.code == 200) { | 168 | if (res.code == 200) { |
| 169 | this.headerList = res.result; | 169 | this.headerList = res.result; |
| 170 | this.activeName = res.result[0].soleurl | ||
| 171 | this.bsmYwsjb = this.headerList[0].bsmYwsjb; | ||
| 172 | this.editItem = this.loadView(this.activeName); | ||
| 170 | } | 173 | } |
| 171 | }); | 174 | }); |
| 172 | }, | 175 | }, |
| ... | @@ -177,11 +180,11 @@ export default { | ... | @@ -177,11 +180,11 @@ export default { |
| 177 | this.index = _index; | 180 | this.index = _index; |
| 178 | this.bsmYwsjb = this.headerList[val.index].bsmYwsjb; | 181 | this.bsmYwsjb = this.headerList[val.index].bsmYwsjb; |
| 179 | this.editItem = this.loadView(this.activeName); | 182 | this.editItem = this.loadView(this.activeName); |
| 180 | this.diaData.list.forEach((item) => { | 183 | // this.diaData.list.forEach((item) => { |
| 181 | if (item.soleurl == this.activeName) { | 184 | // if (item.soleurl == this.activeName) { |
| 182 | this.dataTable = item.dataTable; | 185 | // this.dataTable = item.dataTable; |
| 183 | } | 186 | // } |
| 184 | }); | 187 | // }); |
| 185 | }, | 188 | }, |
| 186 | loadView (view) { | 189 | loadView (view) { |
| 187 | return (r) => | 190 | return (r) => | ... | ... |
-
Please register or sign in to post a comment