|  | @@ -32,7 +32,8 @@ import {
 | 
	
		
			
				|  |  |    api_classLessonCoursewarePage,
 | 
	
		
			
				|  |  |    api_classLessonCoursewareDetail,
 | 
	
		
			
				|  |  |    api_schoolDetail,
 | 
	
		
			
				|  |  | -  api_subjectList
 | 
	
		
			
				|  |  | +  api_subjectList,
 | 
	
		
			
				|  |  | +  api_bookVersionPage
 | 
	
		
			
				|  |  |  } from './api';
 | 
	
		
			
				|  |  |  import { NImage } from 'naive-ui';
 | 
	
		
			
				|  |  |  import { state } from '@/state';
 | 
	
	
		
			
				|  | @@ -129,18 +130,24 @@ export default defineComponent({
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      const getTanentList = async () => {
 | 
	
		
			
				|  |  |        try {
 | 
	
		
			
				|  |  | -        const schoolInfos = state.user.data.schoolInfos;
 | 
	
		
			
				|  |  | -        const schoolId =
 | 
	
		
			
				|  |  | -          schoolInfos && schoolInfos.length > 0 ? schoolInfos[0].id : null;
 | 
	
		
			
				|  |  | -        if (!schoolId) return;
 | 
	
		
			
				|  |  | -        const { data } = await api_schoolDetail({
 | 
	
		
			
				|  |  | -          id: schoolId
 | 
	
		
			
				|  |  | +        // const schoolInfos = state.user.data.schoolInfos;
 | 
	
		
			
				|  |  | +        // const schoolId =
 | 
	
		
			
				|  |  | +        //   schoolInfos && schoolInfos.length > 0 ? schoolInfos[0].id : null;
 | 
	
		
			
				|  |  | +        // if (!schoolId) return;
 | 
	
		
			
				|  |  | +        // await api_schoolDetail({
 | 
	
		
			
				|  |  | +        //   id: schoolId
 | 
	
		
			
				|  |  | +        // });
 | 
	
		
			
				|  |  | +        const { data } = await api_bookVersionPage({ type: 'COURSEWARE' });
 | 
	
		
			
				|  |  | +        const result = data.rows || []
 | 
	
		
			
				|  |  | +        baseBookVerionList.value = result.map((item: any) => {
 | 
	
		
			
				|  |  | +          return {
 | 
	
		
			
				|  |  | +            bookVersionId: item.id,
 | 
	
		
			
				|  |  | +            bookVersionName: item.name
 | 
	
		
			
				|  |  | +          };
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        baseBookVerionList.value = data.bookVersionList || [];
 | 
	
		
			
				|  |  |          bookVersionList.value = deepClone(baseBookVerionList.value);
 | 
	
		
			
				|  |  |          const index = baseBookVerionList.value.findIndex(
 | 
	
		
			
				|  |  | -          (item: any) => item.bookVersionId == coursewareStorage.bookVersoinId
 | 
	
		
			
				|  |  | +          (item: any) => item.bookVersionId == coursewareStorage.bookVersionId
 | 
	
		
			
				|  |  |          );
 | 
	
		
			
				|  |  |          // 判断列表中是存在,缓存的教材数据
 | 
	
		
			
				|  |  |          if (index < 0) {
 |