| 
					
				 | 
			
			
				@@ -61,6 +61,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             model: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             oldValue: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            activeRout: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             modelSelect: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     model_id: 1, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -165,23 +166,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //拖拽结束执行的事件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // console.log('dragend', e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        close() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        close(sun) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let tagsList = this.$store.getters['getTagsList']; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            let activeRout = this.$route; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (tagsList.length > 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                tagsList.forEach((item, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (item.title == activeRout.meta.title || item.path == activeRout.path) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        tagsList.splice(index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            tagsList.forEach((item, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (item.title == this.activeRout.meta.title || item.path == this.activeRout.path) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    tagsList.splice(index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (sun !== 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             path: '/' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.$router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    path: '/' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         saveWork() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let simeCom = JSON.stringify({ model: this.model, pageLoction: this.$refs[this.model + '_model'].sumit() }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -215,10 +211,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     destroyed() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.close(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$store.dispatch('collapse', false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$store.dispatch('collapse', true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.activeRout = this.$route; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.getData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.communityNameList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |