| 
					
					
					
				 | 
				@ -1,6 +1,12 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				<template> | 
				 | 
				 | 
				<template> | 
			
		
		
	
		
			
				 | 
				 | 
				  <div style="background: #F4F8FF"> | 
				 | 
				 | 
				  <div style="background: #F4F8FF"> | 
			
		
		
	
		
			
				 | 
				 | 
				    <div style="position: absolute; top:15px;right:5px; z-index: 1000;"> | 
				 | 
				 | 
				    <div style="position: absolute; top:15px;right:5px; z-index: 1000;"> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      <el-tooltip class="item" content="刷新" placement="left"> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        <i class="el-icon-refresh" @click="reloadIgnoringCache" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          style="padding-right: 5px;font-size: 22px;cursor:pointer;"></i> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      </el-tooltip> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      <i class="el-icon-minus" @click="windowMin" style="padding-right: 5px;font-size: 22px;cursor:pointer;"></i> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      <i class="el-icon-copy-document" @click="btnMax" style="padding-right: 5px;font-size: 22px;cursor:pointer;"></i> | 
			
		
		
	
		
			
				 | 
				 | 
				      <i class="el-icon-close" @click="windowClose" style="padding-right: 5px;font-size: 22px;cursor:pointer;"></i> | 
				 | 
				 | 
				      <i class="el-icon-close" @click="windowClose" style="padding-right: 5px;font-size: 22px;cursor:pointer;"></i> | 
			
		
		
	
		
			
				 | 
				 | 
				    </div> | 
				 | 
				 | 
				    </div> | 
			
		
		
	
		
			
				 | 
				 | 
				    <div> | 
				 | 
				 | 
				    <div> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -27,7 +33,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				          </div> | 
				 | 
				 | 
				          </div> | 
			
		
		
	
		
			
				 | 
				 | 
				          --> | 
				 | 
				 | 
				          --> | 
			
		
		
	
		
			
				 | 
				 | 
				            <!--动态生成菜单支持多级 add by pengj --> | 
				 | 
				 | 
				            <!--动态生成菜单支持多级 add by pengj --> | 
			
		
		
	
		
			
				 | 
				 | 
				            <div :style="`display:flex;justify-content:center;width: ${(window.pageWidth - 350)}px;`"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            <div :style="`display:flex;justify-content:center;width: ${(window.pageWidth - 450)}px;`"> | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" | 
				 | 
				 | 
				              <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" | 
			
		
		
	
		
			
				 | 
				 | 
				                style="display: flex"> | 
				 | 
				 | 
				                style="display: flex"> | 
			
		
		
	
		
			
				 | 
				 | 
				                <!--1级菜单--> | 
				 | 
				 | 
				                <!--1级菜单--> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -84,7 +90,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				              </el-menu> | 
				 | 
				 | 
				              </el-menu> | 
			
		
		
	
		
			
				 | 
				 | 
				            </div> | 
				 | 
				 | 
				            </div> | 
			
		
		
	
		
			
				 | 
				 | 
				            <!--  --> | 
				 | 
				 | 
				            <!--  --> | 
			
		
		
	
		
			
				 | 
				 | 
				            <div class="btn"> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				            <div> | 
			
		
		
	
		
			
				 | 
				 | 
				              <img src="@/assets/images/me.png" alt="" class="currentuser" /> | 
				 | 
				 | 
				              <img src="@/assets/images/me.png" alt="" class="currentuser" /> | 
			
		
		
	
		
			
				 | 
				 | 
				              <!-- <i class="el-icon-arrow-down el-icon--right"></i> --> | 
				 | 
				 | 
				              <!-- <i class="el-icon-arrow-down el-icon--right"></i> --> | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-dropdown> | 
				 | 
				 | 
				              <el-dropdown> | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -102,10 +108,9 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-dropdown-item @click.native="editpassword">修改密码</el-dropdown-item> | 
				 | 
				 | 
				                  <el-dropdown-item @click.native="editpassword">修改密码</el-dropdown-item> | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-dropdown-item @click.native="localSet">本地设置</el-dropdown-item> | 
				 | 
				 | 
				                  <el-dropdown-item @click.native="localSet">本地设置</el-dropdown-item> | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-dropdown-item v-if="LocalConfig.normal.isDevTool" @click.native="toggleDevTools">调试工具</el-dropdown-item> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-dropdown-item @click.native="clientConfigShow">客户端参数</el-dropdown-item> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-dropdown-item @click.native="windowMin">最小化</el-dropdown-item> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-dropdown-item @click.native="reloadIgnoringCache">刷新</el-dropdown-item> | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                  <el-dropdown-item v-if="LocalConfig.normal.isDevTool" | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                    @click.native="toggleDevTools">调试工具</el-dropdown-item> | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                  <el-dropdown-item @click.native="clientConfigShow">客户端参数</el-dropdown-item>                   | 
			
		
		
	
		
			
				 | 
				 | 
				                  <!-- | 
				 | 
				 | 
				                  <!-- | 
			
		
		
	
		
			
				 | 
				 | 
				                  <el-dropdown-item @click.native="windowMax" | 
				 | 
				 | 
				                  <el-dropdown-item @click.native="windowMax" | 
			
		
		
	
		
			
				 | 
				 | 
				                  >最大化</el-dropdown-item | 
				 | 
				 | 
				                  >最大化</el-dropdown-item | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -340,7 +345,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    //打开客户端调试工具 | 
				 | 
				 | 
				    //打开客户端调试工具 | 
			
		
		
	
		
			
				 | 
				 | 
				    toggleDevTools() { | 
				 | 
				 | 
				    toggleDevTools() { | 
			
		
		
	
		
			
				 | 
				 | 
				      if (!this.$peisAPI) { | 
				 | 
				 | 
				      if (!this.$peisAPI) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!"}); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }); | 
			
		
		
	
		
			
				 | 
				 | 
				        return; | 
				 | 
				 | 
				        return; | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				      this.$peisAPI.toggleDevTools(); | 
				 | 
				 | 
				      this.$peisAPI.toggleDevTools(); | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -349,7 +354,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    // 打开客户端设置 | 
				 | 
				 | 
				    // 打开客户端设置 | 
			
		
		
	
		
			
				 | 
				 | 
				    clientConfigShow() { | 
				 | 
				 | 
				    clientConfigShow() { | 
			
		
		
	
		
			
				 | 
				 | 
				      if (!this.$peisAPI) { | 
				 | 
				 | 
				      if (!this.$peisAPI) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!"}) | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }) | 
			
		
		
	
		
			
				 | 
				 | 
				        return | 
				 | 
				 | 
				        return | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				      this.$peisAPI.clientConfigShow(); | 
				 | 
				 | 
				      this.$peisAPI.clientConfigShow(); | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -362,8 +367,16 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				      this.$peisAPI.windowMin(); | 
				 | 
				 | 
				      this.$peisAPI.windowMin(); | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    btnMax() { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      if (!this.$peisAPI) { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.$message.info("此功能,需要在壳客户端才可运行!") | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        return | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.$peisAPI.windowMax(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    // 刷新 | 
				 | 
				 | 
				    // 刷新 | 
			
		
		
	
		
			
				 | 
				 | 
				    reloadIgnoringCache(){ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    reloadIgnoringCache() { | 
			
		
		
	
		
			
				 | 
				 | 
				      if (!this.$peisAPI) { | 
				 | 
				 | 
				      if (!this.$peisAPI) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }); | 
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }); | 
			
		
		
	
		
			
				 | 
				 | 
				        return; | 
				 | 
				 | 
				        return; | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -373,14 +386,14 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    // 最大化 | 
				 | 
				 | 
				    // 最大化 | 
			
		
		
	
		
			
				 | 
				 | 
				    windowMax() { | 
				 | 
				 | 
				    windowMax() { | 
			
		
		
	
		
			
				 | 
				 | 
				      if (!this.$peisAPI) { | 
				 | 
				 | 
				      if (!this.$peisAPI) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!"}); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }); | 
			
		
		
	
		
			
				 | 
				 | 
				        return; | 
				 | 
				 | 
				        return; | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				      this.$peisAPI.windowMax(); | 
				 | 
				 | 
				      this.$peisAPI.windowMax(); | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    windowClose() { | 
				 | 
				 | 
				    windowClose() { | 
			
		
		
	
		
			
				 | 
				 | 
				      if (!this.$peisAPI) { | 
				 | 
				 | 
				      if (!this.$peisAPI) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!"}); | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.$message.info({ showClose: true, message: "此功能,需要在壳客户端才可运行!" }); | 
			
		
		
	
		
			
				 | 
				 | 
				        return; | 
				 | 
				 | 
				        return; | 
			
		
		
	
		
			
				 | 
				 | 
				      } | 
				 | 
				 | 
				      } | 
			
		
		
	
		
			
				 | 
				 | 
				      this.$peisAPI.windowClose(); | 
				 | 
				 | 
				      this.$peisAPI.windowClose(); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |