style:左侧单元列表
Showing
2 changed files
with
9 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-21 14:38:29 | 4 | * @LastEditTime: 2023-09-21 14:40:30 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -50,6 +50,7 @@ | ... | @@ -50,6 +50,7 @@ |
| 50 | //受理申请标识码 | 50 | //受理申请标识码 |
| 51 | bsmSlsq: this.$route.query.bsmSlsq, | 51 | bsmSlsq: this.$route.query.bsmSlsq, |
| 52 | bestepid: this.$route.query.bestepid, | 52 | bestepid: this.$route.query.bestepid, |
| 53 | bsmBusiness: this.$route.query.bsmBusiness, | ||
| 53 | // 默认选中 | 54 | // 默认选中 |
| 54 | activeIndex: '0', | 55 | activeIndex: '0', |
| 55 | // 折叠 | 56 | // 折叠 |
| ... | @@ -89,8 +90,8 @@ | ... | @@ -89,8 +90,8 @@ |
| 89 | let that = this | 90 | let that = this |
| 90 | var formdata = new FormData(); | 91 | var formdata = new FormData(); |
| 91 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 92 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
| 92 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | ||
| 93 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); | 93 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
| 94 | formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : ''); | ||
| 94 | if (this.type) { | 95 | if (this.type) { |
| 95 | jdcxLeftMenu(formdata).then((res) => { | 96 | jdcxLeftMenu(formdata).then((res) => { |
| 96 | if (res.code === 200 && res.result) { | 97 | if (res.code === 200 && res.result) { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-09-21 14:20:52 | 4 | * @LastEditTime: 2023-09-21 14:44:34 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
| ... | @@ -61,6 +61,9 @@ | ... | @@ -61,6 +61,9 @@ |
| 61 | export default { | 61 | export default { |
| 62 | data () { | 62 | data () { |
| 63 | return { | 63 | return { |
| 64 | bsmSlsq: this.$route.query.bsmSlsq, | ||
| 65 | bsmBusiness: this.$route.query.bsmBusiness, | ||
| 66 | bestepid: this.$route.query.bestepid, | ||
| 64 | // 变更前单元默认选中 | 67 | // 变更前单元默认选中 |
| 65 | activeIndex: '0', | 68 | activeIndex: '0', |
| 66 | // 变更后单元默认选中 | 69 | // 变更后单元默认选中 |
| ... | @@ -103,7 +106,8 @@ | ... | @@ -103,7 +106,8 @@ |
| 103 | var formdata = new FormData(); | 106 | var formdata = new FormData(); |
| 104 | // 受理申请标识码 | 107 | // 受理申请标识码 |
| 105 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 108 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
| 106 | formdata.append("bsmBusiness", this.$route.query.bsmBusiness); | 109 | formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : ''); |
| 110 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); | ||
| 107 | if (this.type) { | 111 | if (this.type) { |
| 108 | jdcxLeftMenu(formdata).then((res) => { | 112 | jdcxLeftMenu(formdata).then((res) => { |
| 109 | if (res.code === 200 && res.result) { | 113 | if (res.code === 200 && res.result) { | ... | ... |
-
Please register or sign in to post a comment