8b279153 by renchao@pashanhoo.com

style:左侧单元列表

1 parent 478efee1
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-21 14:38:29
* @LastEditTime: 2023-09-21 14:40:30
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -50,6 +50,7 @@
//受理申请标识码
bsmSlsq: this.$route.query.bsmSlsq,
bestepid: this.$route.query.bestepid,
bsmBusiness: this.$route.query.bsmBusiness,
// 默认选中
activeIndex: '0',
// 折叠
......@@ -89,8 +90,8 @@
let that = this
var formdata = new FormData();
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("bestepid", this.bestepid ? this.bestepid : '');
formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : '');
if (this.type) {
jdcxLeftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
......
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2023-09-21 14:20:52
* @LastEditTime: 2023-09-21 14:44:34
-->
<template>
<div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
......@@ -61,6 +61,9 @@
export default {
data () {
return {
bsmSlsq: this.$route.query.bsmSlsq,
bsmBusiness: this.$route.query.bsmBusiness,
bestepid: this.$route.query.bestepid,
// 变更前单元默认选中
activeIndex: '0',
// 变更后单元默认选中
......@@ -103,7 +106,8 @@
var formdata = new FormData();
// 受理申请标识码
formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
formdata.append("bsmBusiness", this.$route.query.bsmBusiness);
formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : '');
formdata.append("bestepid", this.bestepid ? this.bestepid : '');
if (this.type) {
jdcxLeftMenu(formdata).then((res) => {
if (res.code === 200 && res.result) {
......