Prechádzať zdrojové kódy

generation - history - display logic bug fixed

hare8999@163.com 3 rokov pred
rodič
commit
bac15fa1f8

+ 1 - 0
.env.development

@@ -3,6 +3,7 @@ ENV = 'development'
 
 # 名学金榜学习系统/生产环境
 VUE_APP_BASE_API = 'https://front.mingxuejinbang.com/prod-api'
+#VUE_APP_BASE_API = 'http://192.168.0.106:1024/prod-api'
 #VUE_APP_BASE_API = '/prod-api'
 VUE_APP_MOBILE = "https://h5.mingxuejinbang.com"
 

+ 1 - 1
src/views/elective/generation/components/elective-generation-flow-log.vue

@@ -48,7 +48,7 @@ export default {
         // fill rows
         rows.forEach(row => {
           const g = row.opt.value
-          const gHistories = this.histories.filter(h => h.generation == g)
+          const gHistories = this.histories.filter(h => h.generation == g && h.groupId == group.groupId)
           row[key] = {
             text: gHistories.map(h => h.description).join('/'),
             histories: gHistories,