瀏覽代碼

1.fix:试卷管理—添加试卷题目内容(修复参数为null问题)

xiexaing 1 年之前
父節點
當前提交
c24c1b035a

+ 8 - 8
src/views/resource/bankManagement/testPaperManagement/addPaper/topicAddPaper/index.vue

@@ -1136,14 +1136,14 @@ export default {
         this.disableTypeStatus =
           res.data.businessName === "安管三类" ? true : false;
         this.businObj = {
-          businessId: res.data.businessId,
-          businessName: res.data.businessName,
-          educationName: res.data.educationName,
-          educationTypeId: res.data.educationTypeId,
-          projectName: res.data.projectName,
-          projectId: res.data.projectId,
-          subjectName: res.data.subjectName,
-          subjectId: res.data.subjectId,
+          businessId: res.data.businessList[0].businessId,
+          businessName: res.data.businessList[0].businessName,
+          educationName: res.data.businessList[0].educationName,
+          educationTypeId: res.data.businessList[0].educationTypeId,
+          projectName: res.data.businessList[0].projectName,
+          projectId: res.data.businessList[0].projectId,
+          subjectName: res.data.businessList[0].subjectName,
+          subjectId: res.data.businessList[0].subjectId,
         };
         this.djTime = res.data.answerTime;
         this.djNum = res.data.answerNum;