Explorar o código

修改答题卡code

liqk %!s(int64=3) %!d(string=hai) anos
pai
achega
ac79e47234
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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