Selaa lähdekoodia

添加是否开启环境监控配置

lideyin 5 vuotta sitten
vanhempi
commit
87d5a0af7f
1 muutettua tiedostoa jossa 55 lisäystä ja 36 poistoa
  1. 55 36
      src/modules/examwork/view/onlineExam.vue

+ 55 - 36
src/modules/examwork/view/onlineExam.vue

@@ -104,8 +104,7 @@
                         :key="item.value"
                         :label="item.label"
                         :value="item.value"
-                      >
-                      </el-option>
+                      ></el-option>
                     </el-select>
                   </el-form-item>
                 </el-row>
@@ -146,8 +145,7 @@
                       end-placeholder="结束日期"
                       value-format="yyyy-MM-dd HH:mm:ss"
                       :clearable="false"
-                    >
-                    </el-date-picker>
+                    ></el-date-picker>
                   </el-form-item>
                 </el-row>
               </el-tab-pane>
@@ -164,10 +162,11 @@
                       v-model.trim.number="form.duration"
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >分钟</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >分钟</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>
@@ -181,10 +180,11 @@
                       v-model.trim.number="form.examTimes"
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >次</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >次</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>
@@ -198,10 +198,11 @@
                       v-model.trim.number="form.properties.FREEZE_TIME"
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >分钟</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >分钟</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>
@@ -215,10 +216,11 @@
                       v-model.trim.number="form.properties.EXAM_RECONNECT_TIME"
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >分钟</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >分钟</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row>
@@ -313,7 +315,7 @@
                       class="input"
                     ></el-input>
                   </el-form-item>
-                  <el-form-item label="">
+                  <el-form-item label>
                     <el-switch
                       v-model="form.properties.SINGLE_EDIT"
                       on-text="启用"
@@ -334,7 +336,7 @@
                       class="input"
                     ></el-input>
                   </el-form-item>
-                  <el-form-item label="">
+                  <el-form-item label>
                     <el-switch
                       v-model="form.properties.MUTIPLE_EDIT"
                       on-text="启用"
@@ -355,7 +357,7 @@
                       auto-complete="off"
                     ></el-input>
                   </el-form-item>
-                  <el-form-item label="">
+                  <el-form-item label>
                     <el-switch
                       v-model="form.properties.BOOL_EDIT"
                       on-text="启用"
@@ -376,7 +378,7 @@
                       auto-complete="off"
                     ></el-input>
                   </el-form-item>
-                  <el-form-item label="">
+                  <el-form-item label>
                     <el-switch
                       v-model="form.properties.FILL_BLANK_EDIT"
                       on-text="启用"
@@ -440,10 +442,11 @@
                       v-model.trim.number="form.properties.SNAPSHOT_INTERVAL"
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >分钟</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >分钟</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row v-show="form.properties.IS_FACE_ENABLE == 'true'">
@@ -457,10 +460,11 @@
                       v-model.trim.number="form.properties.WARN_THRESHOLD"
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >%</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >%</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row v-show="form.properties.IS_FACE_ENABLE == 'true'">
@@ -474,10 +478,11 @@
                       v-model.number="form.properties.LIVING_WARN_THRESHOLD"
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >%</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >%</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row v-show="form.properties.IS_FACE_ENABLE == 'true'">
@@ -508,10 +513,11 @@
                       "
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >分钟</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >分钟</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
                 <el-row v-show="form.properties.IS_FACE_VERIFY == 'true'">
@@ -527,10 +533,11 @@
                       "
                       auto-complete="off"
                       class="input"
-                      ><template slot="append"
-                        >分钟</template
-                      ></el-input
                     >
+                      <template slot="append"
+                        >分钟</template
+                      >
+                    </el-input>
                   </el-form-item>
                 </el-row>
               </el-tab-pane>
@@ -591,6 +598,17 @@
                     </el-radio-group>
                   </el-form-item>
                 </el-row>
+                <el-row>
+                  <el-form-item
+                    label="是否开启环境监察"
+                    :label-width="style.label_width_tab7"
+                  >
+                    <el-radio-group v-model="form.properties.CHECK_ENVIRONMENT">
+                      <el-radio label="true">是</el-radio>
+                      <el-radio label="false">否</el-radio>
+                    </el-radio-group>
+                  </el-form-item>
+                </el-row>
               </el-tab-pane>
             </el-tabs>
           </el-form>
@@ -958,7 +976,8 @@ export default {
           IS_FACE_VERIFY: "false",
           FACE_VERIFY_START_MINUTE: 5,
           FACE_VERIFY_END_MINUTE: 10,
-          PUSH_SCORE: "false"
+          PUSH_SCORE: "false",
+          CHECK_ENVIRONMENT: "false"
         }
       },
       examTypeList: EXAM_TYPE,