|  |  |  | @ -17,6 +17,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |               <span style="font-size: 16px;color: #409EFF;margin-left: 20px">当前业务类型:    <span style="font-size: 16px;color: #000000">{{this.formData.busName}}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                    <el-button type="primary" @click="toggleBusType" style="margin-left: 10px;" >切换业务</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-button type="danger" @click="closeAllTabs" style="margin-left: 10px;" v-if="this.showContextMenu">关闭所有</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             </span> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-col> | 
			
		
	
	
		
			
				
					|  |  |  | @ -125,9 +126,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             @contextmenu.stop.prevent="handleTabContextMenu($event, item)" | 
			
		
	
		
			
				
					|  |  |  |  |             style="background-color: white" | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <ul v-if="showContextMenu" class="context-menu" :style="contextMenuPosition"> | 
			
		
	
		
			
				
					|  |  |  |  |               <li @click="closeAllTabs">关闭所有</li> | 
			
		
	
		
			
				
					|  |  |  |  |             </ul> | 
			
		
	
		
			
				
					|  |  |  |  | <!--            <ul v-if="showContextMenu" class="context-menu" :style="contextMenuPosition">--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--              <li @click="closeAllTabs">关闭所有</li>--> | 
			
		
	
		
			
				
					|  |  |  |  | <!--            </ul>--> | 
			
		
	
		
			
				
					|  |  |  |  |             <div > | 
			
		
	
		
			
				
					|  |  |  |  |               <component v-if="showChild" :is="item.component" v-bind="item.componentProps" :reset-key="resetKeys[item.name]" @parent-method="parentMethod" | 
			
		
	
		
			
				
					|  |  |  |  |               style="margin-top: -14px"/> | 
			
		
	
	
		
			
				
					|  |  |  | @ -508,13 +509,13 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleTabContextMenu(event, tab) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.showContextMenu = true; | 
			
		
	
		
			
				
					|  |  |  |  |       this.contextMenuTab = tab; | 
			
		
	
		
			
				
					|  |  |  |  |       this.contextMenuPosition = { x: event.clientX, y: event.clientY }; | 
			
		
	
		
			
				
					|  |  |  |  |       // this.contextMenuTab = tab; | 
			
		
	
		
			
				
					|  |  |  |  |       // this.contextMenuPosition = { x: event.clientX, y: event.clientY }; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     closeContextMenu() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.showContextMenu = false; | 
			
		
	
		
			
				
					|  |  |  |  |       this.contextMenuStyle.display = 'none'; // 隐藏上下文菜单 | 
			
		
	
		
			
				
					|  |  |  |  |       // this.contextMenuStyle.display = 'none'; // 隐藏上下文菜单 | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     closeCurrentTab(index) { | 
			
		
	
		
			
				
					|  |  |  |  |       // 关闭当前标签页的逻辑 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |