|  | @ -10,8 +10,8 @@ | 
		
	
		
			
				|  |  |       <!-- 上传 / 创建文件夹 --> |  |  |       <!-- 上传 / 创建文件夹 --> | 
		
	
		
			
				|  |  |       <div class="material_item cont_upload"> |  |  |       <div class="material_item cont_upload"> | 
		
	
		
			
				|  |  |         <Upload ref="uploadMaterial" :is-theme="isTheme" @saveMaterial="saveMaterial" /> |  |  |         <Upload ref="uploadMaterial" :is-theme="isTheme" @saveMaterial="saveMaterial" /> | 
		
	
		
			
				|  |  |         <el-button v-if="!isToFolder" class="mkdir_btn" round type="primary" @click="handleMkdir(0)">创建文件夹</el-button> |  |  |  | 
		
	
		
			
				|  |  |         <el-button v-else class="return_btn" round type="primary"><a href="/content">返回</a></el-button> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         <el-button v-if="!isToFolder && tabType == null" class="mkdir_btn" round type="primary" @click="handleMkdir(0)">创建文件夹</el-button> | 
		
	
		
			
				|  |  |  |  |  |         <el-button v-if="isToFolder" class="return_btn" round type="primary"><a href="/content">返回</a></el-button> | 
		
	
		
			
				|  |  |       </div> |  |  |       </div> | 
		
	
		
			
				|  |  |       <!-- 文件夹list --> |  |  |       <!-- 文件夹list --> | 
		
	
		
			
				|  |  |       <div v-for="(item,index) in materialFolders" :key="item.id" :class="['material_item', 'folder', { 'item_multi': folderChecked == index }]" @click.stop="editFolder(item,index)" @dblclick="floderDbClick(item,index)"> |  |  |       <div v-for="(item,index) in materialFolders" :key="item.id" :class="['material_item', 'folder', { 'item_multi': folderChecked == index }]" @click.stop="editFolder(item,index)" @dblclick="floderDbClick(item,index)"> | 
		
	
	
		
			
				|  | @ -162,7 +162,10 @@ export default { | 
		
	
		
			
				|  |  |       uploadListData: [ // 上传列表 |  |  |       uploadListData: [ // 上传列表 | 
		
	
		
			
				|  |  |       ], |  |  |       ], | 
		
	
		
			
				|  |  |       folderListChecked: -1, |  |  |       folderListChecked: -1, | 
		
	
		
			
				|  |  |       tabType: null |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       tabType: null, | 
		
	
		
			
				|  |  |  |  |  |       audioNum: 0, | 
		
	
		
			
				|  |  |  |  |  |       imgNum: 0, | 
		
	
		
			
				|  |  |  |  |  |       videoNum: 0 | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   computed: { |  |  |   computed: { | 
		
	
	
		
			
				|  | @ -178,7 +181,6 @@ export default { | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     activeIndex(newName, oldName) { |  |  |     activeIndex(newName, oldName) { | 
		
	
		
			
				|  |  |       // console.log(newName) |  |  |  | 
		
	
		
			
				|  |  |       this.tabIndex = newName |  |  |       this.tabIndex = newName | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     '$route.query.folderTag'(Val) { |  |  |     '$route.query.folderTag'(Val) { | 
		
	
	
		
			
				|  | @ -186,7 +188,7 @@ export default { | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   created() { |  |  |   created() { | 
		
	
		
			
				|  |  |     console.log(localStorage.getItem('materialTabIndex')) |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     // console.log(localStorage.getItem('materialTabIndex')) | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   mounted: function() { |  |  |   mounted: function() { | 
		
	
		
			
				|  |  |     console.log(this.$route.query.folderTag) |  |  |     console.log(this.$route.query.folderTag) | 
		
	
	
		
			
				|  | @ -228,6 +230,9 @@ export default { | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |         this.materialFolders = res.data.materialFolders |  |  |         this.materialFolders = res.data.materialFolders | 
		
	
		
			
				|  |  |         this.materialList = res.data.pageThemeVO |  |  |         this.materialList = res.data.pageThemeVO | 
		
	
		
			
				|  |  |  |  |  |         this.audioNum = res.data.audioNum | 
		
	
		
			
				|  |  |  |  |  |         this.imgNum = res.data.imgNum | 
		
	
		
			
				|  |  |  |  |  |         this.videoNum = res.data.videoNum | 
		
	
		
			
				|  |  |         // 创建文件夹获取data |  |  |         // 创建文件夹获取data | 
		
	
		
			
				|  |  |         this.thisFoldId = res.data.thisFoldId |  |  |         this.thisFoldId = res.data.thisFoldId | 
		
	
		
			
				|  |  |       }) |  |  |       }) | 
		
	
	
		
			
				|  | 
 |