xiatian 2 vuotta sitten
vanhempi
commit
703e855ff8

+ 2 - 0
src/modules/questions/views/ExportTemplate.vue

@@ -24,6 +24,7 @@
         <el-form-item label="模板名称">
           <el-input
             v-model="formSearch.fileName"
+            maxlength="255"
             placeholder="请输入模板名称"
           ></el-input>
         </el-form-item>
@@ -158,6 +159,7 @@
         <el-form-item label="模板名称" prop="templateName">
           <el-input
             v-model="fileForm.templateName"
+            maxlength="255"
             class="pull-length"
             placeholder="请输入模板名称"
           ></el-input>

+ 2 - 0
src/modules/questions/views/InsertBluePaperStructure.vue

@@ -353,6 +353,8 @@ export default {
             }
           });
         this.paperDetailStructs = blueStruct.paperDetailStructs;
+      } else {
+        this.getCourses("");
       }
       this.loading = false;
     },

+ 2 - 0
src/modules/questions/views/License.vue

@@ -43,6 +43,7 @@
           v-show="form.type == 'ONLINE'"
           label="密匙"
           class="input"
+          maxlength="255"
           prop="accessKey"
         >
           <el-input v-model="form.accessKey" maxlength="255" />
@@ -50,6 +51,7 @@
         <el-form-item
           v-show="form.type == 'ONLINE'"
           label="密钥"
+          maxlength="255"
           class="input"
           prop="accessSecret"
         >

+ 4 - 0
src/modules/questions/views/School.vue

@@ -192,6 +192,7 @@
           <el-input
             v-model="schoolForm.name"
             class="dialog-input-width"
+            maxlength="255"
             auto-complete="off"
             placeholder="学校名称"
           />
@@ -199,6 +200,7 @@
         <el-form-item label="学校域名" prop="domainName">
           <el-input
             v-model="schoolForm.domainName"
+            maxlength="255"
             class="dialog-input-width"
             auto-complete="off"
             placeholder="学校域名"
@@ -207,6 +209,7 @@
         <el-form-item label="负责人" prop="contacts">
           <el-input
             v-model="schoolForm.contacts"
+            maxlength="255"
             class="dialog-input-width"
             auto-complete="off"
             placeholder="负责人"
@@ -215,6 +218,7 @@
         <el-form-item label="联系方式" prop="telephone">
           <el-input
             v-model="schoolForm.telephone"
+            maxlength="255"
             class="dialog-input-width"
             auto-complete="off"
             placeholder="联系方式"