Selaa lähdekoodia

修改答题卡code

liqk 3 vuotta sitten
vanhempi
commit
ac79e47234
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      TEAMModelOS/ClientApp/src/view/answersheet/index.vue

+ 2 - 1
TEAMModelOS/ClientApp/src/view/answersheet/index.vue

@@ -337,7 +337,8 @@
 					configParams.pageWidth = Number(configParams.pageWidth.toFixed())
 					configParams.pageCount = this.$store.state.answerSheet.pages
 					configParams.itemCount = this.$store.state.answerSheet.paperItem.item.length
-					configParams.code = curCode.replace('Paper-','')
+					// configParams.code = curCode.replace('Paper-','')
+					configParams.code = curCode.replace('Paper-','').replace('Exam-','') //如果是评测修改code会有问题
 					configParams.school = curScope === 'school' ? this.$store.state.userInfo.schoolCode : ''
 					configParams.scope = curScope
 					configParams.creatorId =  this.$store.state.userInfo.TEAMModelId