|
|
@ -8,7 +8,7 @@
|
|
|
|
<span>拓客营销</span>
|
|
|
|
<span>拓客营销</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<Menu :active-name="selectedItemName" :open-names="openName" theme="dark" width="auto"
|
|
|
|
<Menu ref="menu" :active-name="selectedItemName" :open-names="openName" theme="dark" width="auto"
|
|
|
|
:class="menuitemClasses"
|
|
|
|
:class="menuitemClasses"
|
|
|
|
@on-select="onSelectLister" :accordion="true">
|
|
|
|
@on-select="onSelectLister" :accordion="true">
|
|
|
|
<Submenu :name="item.id" v-for="item in onePermissionList" :key="item.id">
|
|
|
|
<Submenu :name="item.id" v-for="item in onePermissionList" :key="item.id">
|
|
|
@ -226,7 +226,13 @@
|
|
|
|
menuInit: function () {
|
|
|
|
menuInit: function () {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
that.selectedItemName = that.onePermissionList[0].subMenuList[0].id;
|
|
|
|
that.selectedItemName = that.onePermissionList[0].subMenuList[0].id;
|
|
|
|
that.openName = ['1'];
|
|
|
|
that.openName = "['1']";
|
|
|
|
|
|
|
|
this.$nextTick(()=>{
|
|
|
|
|
|
|
|
this.$refs.menu.updateOpened();
|
|
|
|
|
|
|
|
this.$refs.menu.updateActiveName();
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
debugger
|
|
|
|
|
|
|
|
this.$router.push({path:that.onePermissionList[0].subMenuList[0].resource});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//左侧二级权限展开-传入二级权限id
|
|
|
|
//左侧二级权限展开-传入二级权限id
|
|
|
|
subMenuUnfold: function (twoPermissionId) {
|
|
|
|
subMenuUnfold: function (twoPermissionId) {
|
|
|
|