|  | @@ -1,10 +1,10 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  |  	<div class="all-box">
 | 
	
		
			
				|  |  |  		<div class="all">
 | 
	
		
			
				|  |  | -			<div class="flex-box">
 | 
	
		
			
				|  |  | +			<div class="flex-box" v-loading="groups_loading">
 | 
	
		
			
				|  |  |  				<div class="terr-left">
 | 
	
		
			
				|  |  | -					<el-button v-if="!this.$authoritys('employee') && !this.$authoritys('dept_manager')" size="medium" @click="addGroup" type="primary">新建分组</el-button>
 | 
	
		
			
				|  |  | -					<el-menu default-active="0" class="el-menu-vertical-demo" style="border: none" v-if="groups_list.length>0" v-loading="groups_loading">
 | 
	
		
			
				|  |  | +					<el-button v-if="employeeOrdept" size="medium" @click="addGroup" type="primary">新建分组</el-button>
 | 
	
		
			
				|  |  | +					<el-menu default-active="0" class="el-menu-vertical-demo" style="border: none" v-if="groups_list.length>0">
 | 
	
		
			
				|  |  |  						<el-menu-item
 | 
	
		
			
				|  |  |  							style="height: 47px;line-height: 47px;"
 | 
	
		
			
				|  |  |  							:index="index.toString()"
 | 
	
	
		
			
				|  | @@ -23,12 +23,12 @@
 | 
	
		
			
				|  |  |  						还没有自定义分组
 | 
	
		
			
				|  |  |  					</div>
 | 
	
		
			
				|  |  |  				</div>
 | 
	
		
			
				|  |  | -				<div class="terr-right border-right flex-1">
 | 
	
		
			
				|  |  | -					<div class="listData" v-loading="table_loading" v-if="table_list.length > 0">
 | 
	
		
			
				|  |  | +				<div class="terr-right border-right flex-1" v-loading="table_loading">
 | 
	
		
			
				|  |  | +					<div class="listData" v-if="table_list.length > 0">
 | 
	
		
			
				|  |  |  						<div class="flex-box">
 | 
	
		
			
				|  |  |  							<div class="flex-box flex-v-ce margin-bottom">
 | 
	
		
			
				|  |  |  								<div class="groupsName">{{groups_info.name}}<span class="blue">({{total}}人)</span></div>
 | 
	
		
			
				|  |  | -								<el-button v-if="!this.$authoritys('employee') && !this.$authoritys('dept_manager')" @click="editGroup" size="medium">编辑</el-button>
 | 
	
		
			
				|  |  | +								<el-button v-if="employeeOrdept" @click="editGroup" size="medium">编辑</el-button>
 | 
	
		
			
				|  |  |  							</div>
 | 
	
		
			
				|  |  |  						</div>
 | 
	
		
			
				|  |  |  						<!-- form -->
 | 
	
	
		
			
				|  | @@ -79,7 +79,7 @@
 | 
	
		
			
				|  |  |  					<div v-else style="margin-top: 10%;">
 | 
	
		
			
				|  |  |  						<noData :isSolt="true">
 | 
	
		
			
				|  |  |  							<template v-slot:default>
 | 
	
		
			
				|  |  | -								<div style="text-align: center;">还没有分组,<span style="color:#26A2FF;cursor:pointer" @click="addGroup">去添加 >></span></div>
 | 
	
		
			
				|  |  | +								<div style="text-align: center;">还没有分组<span v-if="employeeOrdept">,</span><span v-if="employeeOrdept" style="color:#26A2FF;cursor:pointer" @click="addGroup">去添加 >></span></div>
 | 
	
		
			
				|  |  |  							</template>
 | 
	
		
			
				|  |  |  						</noData>
 | 
	
		
			
				|  |  |  					</div>
 | 
	
	
		
			
				|  | @@ -264,6 +264,7 @@ export default {
 | 
	
		
			
				|  |  |  			treedata: [],
 | 
	
		
			
				|  |  |  			isEmployeeShow:false,
 | 
	
		
			
				|  |  |  			employeeNames:'',
 | 
	
		
			
				|  |  | +			employeeOrdept:!this.$authoritys('employee') && !this.$authoritys('dept_manager'),
 | 
	
		
			
				|  |  |  		};
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	created() {
 |