Explorar o código

Merge branch 'dev_1.2.0' of http://git.qmth.com.cn/union-question/union-question-web into dev_1.2.0

zhangjie %!s(int64=2) %!d(string=hai) anos
pai
achega
1859d5e458

+ 5 - 0
src/modules/card/views/CardHeadEdit.vue

@@ -18,6 +18,7 @@
           <el-input
             v-model.trim="modalForm.name"
             placeholder="请输入版头名称"
+            maxlength="255"
             style="width: 100%"
             clearable
           ></el-input>
@@ -25,6 +26,7 @@
         <el-form-item prop="title" label="题卡标题:">
           <el-input
             v-model="modalForm.title"
+            maxlength="255"
             type="textarea"
             :rows="2"
           ></el-input>
@@ -32,6 +34,7 @@
         <el-form-item prop="attention" label="注意事项:">
           <el-input
             v-model="modalForm.attention"
+            maxlength="1000"
             type="textarea"
             :rows="4"
           ></el-input>
@@ -42,6 +45,7 @@
         <el-form-item prop="objectiveAttention" label="客观题注意事项:">
           <el-input
             v-model="modalForm.objectiveAttention"
+            maxlength="1000"
             placeholder="请输入"
             clearable
           ></el-input>
@@ -49,6 +53,7 @@
         <el-form-item prop="subjectiveAttention" label="主观题注意事项:">
           <el-input
             v-model="modalForm.subjectiveAttention"
+            maxlength="1000"
             placeholder="请输入"
             clearable
           ></el-input>

+ 0 - 6
src/modules/questions/views/CourseProperty.vue

@@ -333,7 +333,6 @@ export default {
       coursePropertyForm: {
         name: "",
         courseId: "",
-        courseCode: "",
       },
       coursePropertyDialog: false,
       selectedList: [],
@@ -649,11 +648,6 @@ export default {
     submit(formData) {
       this.$refs[formData].validate((valid) => {
         if (valid) {
-          for (let course of this.courseList) {
-            if (course.id == this.coursePropertyForm.courseId) {
-              this.coursePropertyForm.courseCode = course.code;
-            }
-          }
           this.$http
             .post(
               QUESTION_API + "/courseProperty/save",