Signed-off-by: yinxr <2273460044@qq.com>

master
yinxr 7 years ago
parent b0d1a2284e
commit fe65622ebf
  1. 10
      src/main/webapp/WEB-INF/manager/index.ftl

@ -2,9 +2,9 @@
<html> <html>
<head> <head>
<title></title> <title></title>
<#include "/include/head-file.ftl"/> <!-- <#include "/include/head-file.ftl"/>
<#include "/reset-password.ftl"/> <#include "/reset-password.ftl"/>
<#include "/exit-system.ftl"/> <#include "/exit-system.ftl"/> -->
<link rel="stylesheet" href="${base}/static/ms-admin/4.7.0/css/index.css"> <link rel="stylesheet" href="${base}/static/ms-admin/4.7.0/css/index.css">
<!--#include virtual="include/head-file.ftl" --> <!--#include virtual="include/head-file.ftl" -->
@ -81,6 +81,7 @@
:collapse-transition='true' :collapse-transition='true'
:unique-opened='true' :unique-opened='true'
ref='menu' ref='menu'
:default-openeds='subMenuList'
> >
<el-submenu <el-submenu
:index="i+''" :index="i+''"
@ -161,6 +162,7 @@
peopleInfo:{ peopleInfo:{
managerName:''//账号 managerName:''//账号
}, },
subMenuList:[],//
}, },
watch:{ watch:{
menuList:function(n,o){ menuList:function(n,o){
@ -172,6 +174,9 @@
parentMenuList:function(n,o){ parentMenuList:function(n,o){
this.mainParentMenuList = n.slice(0,5); this.mainParentMenuList = n.slice(0,5);
}, },
subMenuList:function(n,o){
console.log('zicai',n);
}
}, },
methods: { methods: {
// 菜单列表 // 菜单列表
@ -252,7 +257,6 @@
}, },
// 打开修改密码,退出的模态框 // 打开修改密码,退出的模态框
openModal:function(){ openModal:function(){
console.log('event.target',event.target.innerText);
event.target.innerText.indexOf('修改密码')>-1 event.target.innerText.indexOf('修改密码')>-1
? resetPasswordVue.isShow=true : exitSystemVue.isShow=true ? resetPasswordVue.isShow=true : exitSystemVue.isShow=true
} }

Loading…
Cancel
Save