liqk 4 роки тому
батько
коміт
e3f9da7f46

+ 4 - 2
TEAMModelOS/ClientApp/src/locale/lang/en-US/teachContent.js

@@ -1,4 +1,6 @@
 export default {
+  recent:'最近',
+  recentTips:'临时缓存最近上传的资源,最多保存20条。退出账号或更换电脑缓存记录将会被清空。',
   filterRes: '教材',
   filterPicture: '图片',
   filterVideo: '视频',
@@ -53,7 +55,7 @@ export default {
   specialChart:'不能包含特殊字符',
   noData:'暂无数据',
   applyPd:'适用学段:',
-  applySub:'适用学科',
-   applyGrade:'适用年级',
+  applySub:'适用学科',
+   applyGrade:'适用年级',
   public:'公共资源'
 }

+ 4 - 2
TEAMModelOS/ClientApp/src/locale/lang/zh-CN/teachContent.js

@@ -1,4 +1,6 @@
 export default {
+  recent:'最近',
+  recentTips:'临时缓存最近上传的资源,最多保存20条。退出账号或更换电脑缓存记录将会被清空。',
   filterRes: '教材',
   filterPicture: '图片',
   filterVideo: '视频',
@@ -52,8 +54,8 @@ export default {
   delBatchTips2:'请先选择需要删除的文件!',
   specialChart:'不能包含特殊字符',
   noData:'暂无数据',
-  applyPd:'适用学段',
-  applySub:'适用学科',
+  applyPd:'适用学段',
+  applySub:'适用学科',
   applyGrade:'适用年级:',
   public:'公共资源'
 }

+ 4 - 2
TEAMModelOS/ClientApp/src/locale/lang/zh-TW/teachContent.js

@@ -1,4 +1,6 @@
 export default {
+  recent:'最近',
+  recentTips:'臨時緩存最近上傳的資源,最多保存20條。退出賬號或更換電腦緩存記錄將會被清空。 ',
   filterRes: '教材',
   filterPicture: '圖片',
   filterVideo: '影片',
@@ -53,7 +55,7 @@ export default {
   specialChart: '不能包含特殊字元',
   noData: '暫無資料',
   applyPd:'適用學段:',
-  applySub:'適用學科',
-  applyGrade:'適用年級',
+  applySub:'適用學科',
+  applyGrade:'適用年級',
   public:'公共資源'
 }

+ 0 - 1
TEAMModelOS/ClientApp/src/view/newcourse/NewCusMgt.vue

@@ -1021,7 +1021,6 @@ export default {
         //关键字搜索课程
         searchCourse() {
             this.courseListShow = this.courseList.filter((item, index) => {
-                // return item.name.indexOf(this.keyWord) != -1
                 return JSON.stringify(item).includes(this.keyWord) && item.period.id == this.filterPeriod
             })
         },

+ 2 - 2
TEAMModelOS/ClientApp/src/view/teachcontent/ResBelong.vue

@@ -7,13 +7,13 @@
             </Select>
         </div>
         <div class="apply-item">
-            <span v-show="showLabel">{{$t('teachContent.applySub')}}</span>
+            <span v-show="showLabel">{{$t('teachContent.applySub')}}:</span>
             <Select v-model="filterSubject" multiple style="width:200px" @on-change="tagChange" :max-tag-count="2">
                 <Option v-for="item in subjects" :value="item.id" :key="item.id">{{ item.name }}</Option>
             </Select>
         </div>
         <div class="apply-item" style="margin-right:0px">
-            <span v-show="showLabel">{{$t('teachContent.applyGrade')}}</span>
+            <span v-show="showLabel">{{$t('teachContent.applyGrade')}}:</span>
             <Select v-model="filterGrade" multiple style="width:200px" @on-change="tagChange" :max-tag-count="2">
                 <Option v-for="(item,index) in grades" :value="index" :key="index">{{ item }}</Option>
             </Select>

+ 4 - 4
TEAMModelOS/ClientApp/src/view/teachcontent/index.vue

@@ -586,7 +586,7 @@ export default {
 
                 let arr = [
                     {
-                        title: '适用学科',
+                        title: this.$t('teachContent.applySub'),
                         slot: 'subject',
                         width: 150,
                         filters: subFilters,
@@ -595,7 +595,7 @@ export default {
                         }
                     },
                     {
-                        title: '适用年级',
+                        title: this.$t('teachContent.applyGrade'),
                         slot: 'grade',
                         width: 150,
                         filters: gradeFilters,
@@ -608,10 +608,10 @@ export default {
             }
             this.contentTypeList = [
                 {
-                    label: '最近',
+                    label: this.$t('teachContent.recent'),
                     type: 'recent',
                     icon: 'md-time',
-                    tips: '临时缓存最近上传的资源,最多保存20条。退出账号或更换电脑缓存记录将会被清空。'
+                    tips: this.$t('teachContent.recentTips')
                 },
                 {
                     label: this.$t('teachContent.filterRes'),