Browse Source

青羊区艺术评测——学生端限制显示

XW 5 months ago
parent
commit
7fff79bb3c

+ 7 - 1
TEAMModelOS/ClientApp/src/components/student-web/EventView/EventList.vue

@@ -656,7 +656,13 @@ import ArtTestReport from "./EventContentTypeTemplate/PaperViewBox/ArtTestReport
                         // 同学名单
                         let names = ids.length ? await this.getClassName(ids, true) : []
                         let todayDay = new Date().getTime()
-                        for (let item of res.datas) {
+                        
+                        let filterNames = ['2024青羊区艺术评测五年级','2024青羊区艺术评测八年级', '音乐演唱测试002']
+                        let datasss = res.datas
+                        if(!localStorage.testView){
+                            datasss = datasss.filter(i => !filterNames.includes(i.name))
+                        }
+                        for (let item of datasss) {
                             if(this.isScale && item.type === 'Art' || !this.isScale) {
                                 item.progress = this.timeStatus(item, true)
                                 item.stuProgress = this.timeStatus(item)

+ 4 - 0
TEAMModelOS/ClientApp/src/components/student-web/HomeView/HomeView.vue

@@ -621,6 +621,10 @@ export default {
                     ids = Array.from(new Set([].concat.apply([], ids)))
                     let names = ids.length ? await this.getClassName(ids, true) : []
                     let todayDay = new Date().getTime()
+                    let filterNames = ['2024青羊区艺术评测五年级','2024青羊区艺术评测八年级']
+                    if(!localStorage.testView){
+                        datasss = datasss.filter(i => !filterNames.includes(i.name))
+                    }
                     for (let item of datasss) {
                         if(this.isScale && item.type === 'Art' || !this.isScale) {
                             item.className = []