Kaynağa Gözat

修改答题卡code

liqk 3 yıl önce
ebeveyn
işleme
ac79e47234

+ 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