style:登记薄跳转功能的完善
Showing
2 changed files
with
5 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-11-09 08:45:33 | 4 | * @LastEditTime: 2023-11-10 10:33:47 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="content"> | 7 | <div class="content"> |
| ... | @@ -123,7 +123,7 @@ | ... | @@ -123,7 +123,7 @@ |
| 123 | } else { | 123 | } else { |
| 124 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | 124 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); |
| 125 | this.activeName = this.sfqdata.length - 1; | 125 | this.activeName = this.sfqdata.length - 1; |
| 126 | this.isActive = "" | 126 | |
| 127 | this.titleActive = this.activeName | 127 | this.titleActive = this.activeName |
| 128 | } | 128 | } |
| 129 | 129 | ||
| ... | @@ -135,6 +135,7 @@ | ... | @@ -135,6 +135,7 @@ |
| 135 | ); | 135 | ); |
| 136 | this.sfqdata[0].children.forEach((item, index) => { | 136 | this.sfqdata[0].children.forEach((item, index) => { |
| 137 | if (item.id == this.defaultNode.id) { | 137 | if (item.id == this.defaultNode.id) { |
| 138 | this.isActive = index | ||
| 138 | this.loadComponent(item.form); | 139 | this.loadComponent(item.form); |
| 139 | } | 140 | } |
| 140 | }); | 141 | }); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-10-09 10:49:37 | 4 | * @LastEditTime: 2023-11-10 10:28:56 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | render: false | 32 | render: false |
| 33 | }; | 33 | }; |
| 34 | }, | 34 | }, |
| 35 | created () { | 35 | mounted () { |
| 36 | this.loadData(); | 36 | this.loadData(); |
| 37 | }, | 37 | }, |
| 38 | methods: { | 38 | methods: { | ... | ... |
-
Please register or sign in to post a comment