WANG 6 年之前
父节点
当前提交
e6335954e1

+ 5 - 1
src/modules/examwork/view/offlineExam.vue

@@ -33,7 +33,11 @@
                     prop="name"
                     :label-width="style.label_width_tab1"
                   >
-                    <el-input v-model="form.name" class="input"></el-input>
+                    <el-input
+                      maxlength="20"
+                      v-model="form.name"
+                      class="input"
+                    ></el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>

+ 17 - 1
src/modules/examwork/view/onlineExam.vue

@@ -33,7 +33,11 @@
                     prop="name"
                     :label-width="style.label_width_tab1"
                   >
-                    <el-input v-model="form.name" class="input"></el-input>
+                    <el-input
+                      v-model="form.name"
+                      class="input"
+                      maxlength="20"
+                    ></el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>
@@ -97,6 +101,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       v-model.trim.number="form.duration"
                       auto-complete="off"
                       class="input"
@@ -113,6 +118,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       v-model.trim.number="form.examTimes"
                       auto-complete="off"
                       class="input"
@@ -129,6 +135,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       v-model.trim.number="form.properties.FREEZE_TIME"
                       auto-complete="off"
                       class="input"
@@ -145,6 +152,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       v-model.trim.number="form.properties.EXAM_RECONNECT_TIME"
                       auto-complete="off"
                       class="input"
@@ -206,6 +214,7 @@
                     :label-width="style.label_width_tab3"
                   >
                     <el-input
+                      maxlength="20"
                       :disabled="!form.properties.SINGLE_EDIT"
                       v-model="form.properties.SINGLE_ANSWER_REMARK"
                       auto-complete="off"
@@ -226,6 +235,7 @@
                     :label-width="style.label_width_tab3"
                   >
                     <el-input
+                      maxlength="20"
                       :disabled="!form.properties.MUTIPLE_EDIT"
                       v-model="form.properties.MUTIPLE_ANSWER_REMARK"
                       auto-complete="off"
@@ -246,6 +256,7 @@
                     :label-width="style.label_width_tab3"
                   >
                     <el-input
+                      maxlength="20"
                       :disabled="!form.properties.BOOL_EDIT"
                       v-model="form.properties.BOOL_ANSWER_REMARK"
                       class="input"
@@ -266,6 +277,7 @@
                     :label-width="style.label_width_tab3"
                   >
                     <el-input
+                      maxlength="20"
                       :disabled="!form.properties.FILL_BLANK_EDIT"
                       v-model="form.properties.FILL_BLANK_REMARK"
                       class="input"
@@ -332,6 +344,7 @@
                     :label-width="style.label_width_tab4"
                   >
                     <el-input
+                      maxlength="20"
                       v-model.trim.number="form.properties.SNAPSHOT_INTERVAL"
                       auto-complete="off"
                       class="input"
@@ -348,6 +361,7 @@
                     :label-width="style.label_width_tab4"
                   >
                     <el-input
+                      maxlength="20"
                       v-model.trim.number="form.properties.WARN_THRESHOLD"
                       auto-complete="off"
                       class="input"
@@ -364,6 +378,7 @@
                     :label-width="style.label_width_tab4"
                   >
                     <el-input
+                      maxlength="20"
                       v-model.number="form.properties.LIVING_WARN_THRESHOLD"
                       auto-complete="off"
                       class="input"
@@ -410,6 +425,7 @@
                     :label-width="style.label_width_tab6"
                   >
                     <el-input
+                      maxlength="20"
                       v-model="form.properties.IP_ADDRESSES"
                       class="input"
                     ></el-input>

+ 9 - 1
src/modules/examwork/view/practiceExam.vue

@@ -33,7 +33,11 @@
                     placeholder="请输入考试名称"
                     prop="name"
                   >
-                    <el-input v-model="form.name" class="input"></el-input>
+                    <el-input
+                      maxlength="20"
+                      v-model="form.name"
+                      class="input"
+                    ></el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>
@@ -97,6 +101,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       class="input"
                       v-model.trim.number="form.duration"
                       auto-complete="off"
@@ -113,6 +118,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       class="input"
                       v-model.trim.number="form.examTimes"
                       auto-complete="off"
@@ -129,6 +135,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       class="input"
                       v-model.trim.number="form.properties.FREEZE_TIME"
                       auto-complete="off"
@@ -145,6 +152,7 @@
                     :label-width="style.label_width_tab2"
                   >
                     <el-input
+                      maxlength="20"
                       class="input"
                       v-model.trim.number="form.properties.EXAM_RECONNECT_TIME"
                       auto-complete="off"

+ 5 - 1
src/modules/examwork/view/printExam.vue

@@ -33,7 +33,11 @@
                     placeholder="请输入考试名称"
                     prop="name"
                   >
-                    <el-input v-model="form.name" class="input"></el-input>
+                    <el-input
+                      maxlength="20"
+                      v-model="form.name"
+                      class="input"
+                    ></el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>

+ 5 - 1
src/modules/examwork/view/traditionExam.vue

@@ -33,7 +33,11 @@
                     placeholder="请输入考试名称"
                     prop="name"
                   >
-                    <el-input v-model="form.name" class="input"></el-input>
+                    <el-input
+                      maxlength="20"
+                      v-model="form.name"
+                      class="input"
+                    ></el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>