Selaa lähdekoodia

批量考试登记BUG修复

Tang 3 vuotta sitten
vanhempi
commit
972fd28ca5

+ 2 - 2
src/views/education/examManagement/applicationData/bulkImportPlan/newRegister.vue

@@ -467,10 +467,10 @@ export default {
         this.$message.warning("请选择学员");
         return;
       }
-      const indexs = this.examList.findIndex((item) => {
+      const indexs = this.examLists.findIndex((item) => {
         return item.applyId == data.applyId;
       });
-      data.applyName = this.examList[indexs].applyName;
+      data.applyName = this.examLists[indexs].applyName;
       this.$api.inquiresystemsubscribeexportRegister(data).then((res) => {
         let url = baseUrls.baseURL + "common/download?fileName=" + res.msg;
         let link = document.createElement("a");

+ 2 - 2
src/views/education/examManagement/applicationData/bulkImportPlan/newYY.vue

@@ -384,10 +384,10 @@ export default {
       if (int === 1) {
         delete data.applySiteAddressTrain;
       }
-      const indexs = this.examList.findIndex((item) => {
+      const indexs = this.examLists.findIndex((item) => {
         return item.applyId == data.applyId;
       });
-      data.applyName = this.examList[indexs].applyName;
+      data.applyName = this.examLists[indexs].applyName;
       this.$api.inquiresystemsubscribeexportNew(data).then(async (res) => {
         for (let k in res.data) {
           if (res.data[k].code === 200) {