chenken hace 6 años
padre
commit
d3f4c85e2d

+ 3 - 1
src/modules/oe/views/absent.vue

@@ -15,7 +15,9 @@
               type="primary"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm"
+              >重置</el-button
+            >
             <commonExportVue
               :form="form"
               :exportUrl="exportUrl"

+ 89 - 57
src/modules/oe/views/alreadyAudited.vue

@@ -2,63 +2,65 @@
   <el-container>
     <el-main>
       <commonFormVue :form="form" :getExamCondition="getExamCondition">
-        <el-col :span="6">
-          <el-form-item label="考试ID">
-            <el-input
-              size="small"
-              v-model="form.examRecordDataId"
-              placeholder="考试ID"
-            ></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="审核结果">
-            <el-select
-              size="small"
-              v-if="currentPagePrivileges.INVIGILATE_AUDIT_STATUS"
-              v-model="form.status"
-              clearable
-              placeholder="全部"
-            >
-              <el-option value="PASS" label="通过"></el-option>
-              <el-option value="UN_PASS" label="不通过"></el-option>
-            </el-select>
-            <el-input
-              v-if="!currentPagePrivileges.INVIGILATE_AUDIT_STATUS"
-              placeholder="不通过"
-              :disabled="true"
-            >
-            </el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="审核说明">
-            <el-select
-              size="small"
-              v-model="form.disciplineType"
-              clearable
-              placeholder="全部"
-            >
-              <el-option
-                v-for="item in auditExplainList"
-                :key="item.name"
-                :label="item.desc"
-                :value="item.name"
+        <el-row v-show="showAllCondition">
+          <el-col :span="6">
+            <el-form-item label="考试ID">
+              <el-input
+                size="small"
+                v-model="form.examRecordDataId"
+                placeholder="考试ID"
+              ></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="审核结果">
+              <el-select
+                size="small"
+                v-if="currentPagePrivileges.INVIGILATE_AUDIT_STATUS"
+                v-model="form.status"
+                clearable
+                placeholder="全部"
               >
-              </el-option>
-            </el-select>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="审核人">
-            <el-input
-              size="small"
-              v-model="form.auditUserName"
-              placeholder="审核人"
-            >
-            </el-input>
-          </el-form-item>
-        </el-col>
+                <el-option value="PASS" label="通过"></el-option>
+                <el-option value="UN_PASS" label="不通过"></el-option>
+              </el-select>
+              <el-input
+                v-if="!currentPagePrivileges.INVIGILATE_AUDIT_STATUS"
+                placeholder="不通过"
+                :disabled="true"
+              >
+              </el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="审核说明">
+              <el-select
+                size="small"
+                v-model="form.disciplineType"
+                clearable
+                placeholder="全部"
+              >
+                <el-option
+                  v-for="item in auditExplainList"
+                  :key="item.name"
+                  :label="item.desc"
+                  :value="item.name"
+                >
+                </el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="审核人">
+              <el-input
+                size="small"
+                v-model="form.auditUserName"
+                placeholder="审核人"
+              >
+              </el-input>
+            </el-form-item>
+          </el-col>
+        </el-row>
       </commonFormVue>
       <el-row>
         <el-col :span="24">
@@ -70,7 +72,23 @@
               icon="el-icon-search"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <span
+              class="select-type"
+              v-if="!showAllCondition"
+              @click="showMoreCondition"
+            >
+              高级查询
+            </span>
+            <span
+              class="select-type"
+              v-if="showAllCondition"
+              @click="showSimpleCondition"
+            >
+              简单查询
+            </span>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm">
+              重置
+            </el-button>
           </div>
         </el-col>
       </el-row>
@@ -160,6 +178,7 @@ export default {
       auditExplainList: AUDIT_EXPLAIN_LIST,
       total: 0,
       tableLoading: false,
+      showAllCondition: false,
       form: {
         examRecordDataId: null,
         hasStranger: null,
@@ -220,6 +239,14 @@ export default {
         status: ""
       };
     },
+    showMoreCondition() {
+      this.showAllCondition = true;
+    },
+    showSimpleCondition() {
+      this.$message("高级查询条件值已重置");
+      this.resetForm();
+      this.showAllCondition = false;
+    },
     search() {
       if (!this.form.examId) {
         this.$notify({
@@ -310,4 +337,9 @@ export default {
 .margin-top-10 {
   margin-top: 10px;
 }
+.select-type {
+  font-size: 8px;
+  cursor: pointer;
+  color: #409eff;
+}
 </style>

+ 110 - 78
src/modules/oe/views/awaitingAudit.vue

@@ -2,83 +2,85 @@
   <el-container>
     <el-main>
       <commonFormVue :form="form" :getExamCondition="getExamCondition">
-        <el-col :span="6">
-          <el-form-item label="考试ID">
-            <el-input
-              size="small"
-              v-model="form.examRecordDataId"
-              placeholder="考试ID"
-            ></el-input>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="需要审核">
-            <el-select
-              size="small"
-              v-model="form.isWarn"
-              clearable
-              placeholder="全部"
-            >
-              <el-option value="true" label="是"></el-option>
-              <el-option value="false" label="否"></el-option>
-            </el-select>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="陌生人脸">
-            <el-select
-              size="small"
-              v-model="form.hasStranger"
-              clearable
-              placeholder="全部"
-            >
-              <el-option value="true" label="有"></el-option>
-              <el-option value="false" label="无"></el-option>
-            </el-select>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="人脸识别成功率">
-            <el-row>
-              <el-col :span="10">
-                <el-input
-                  size="small"
-                  v-model="form.faceSuccessPercentLower"
-                  placeholder="下限"
-                ></el-input>
-              </el-col>
-              <el-col :span="4">&nbsp;</el-col>
-              <el-col :span="10">
-                <el-input
-                  size="small"
-                  v-model="form.faceSuccessPercentUpper"
-                  placeholder="上限"
-                ></el-input>
-              </el-col>
-            </el-row>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="人脸真实性比率">
-            <el-row>
-              <el-col :span="10">
-                <el-input
-                  size="small"
-                  v-model="form.livenessSuccessPercentLower"
-                  placeholder="下限"
-                ></el-input>
-              </el-col>
-              <el-col :span="4">&nbsp;</el-col>
-              <el-col :span="10">
-                <el-input
-                  size="small"
-                  v-model="form.livenessSuccessPercentUpper"
-                  placeholder="上限"
-                ></el-input>
-              </el-col>
-            </el-row>
-          </el-form-item>
-        </el-col>
+        <el-row v-show="showAllCondition">
+          <el-col :span="6">
+            <el-form-item label="考试ID">
+              <el-input
+                size="small"
+                v-model="form.examRecordDataId"
+                placeholder="考试ID"
+              ></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="需要审核">
+              <el-select
+                size="small"
+                v-model="form.isWarn"
+                clearable
+                placeholder="全部"
+              >
+                <el-option value="true" label="是"></el-option>
+                <el-option value="false" label="否"></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="陌生人脸">
+              <el-select
+                size="small"
+                v-model="form.hasStranger"
+                clearable
+                placeholder="全部"
+              >
+                <el-option value="true" label="有"></el-option>
+                <el-option value="false" label="无"></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="人脸识别成功率">
+              <el-row>
+                <el-col :span="10">
+                  <el-input
+                    size="small"
+                    v-model="form.faceSuccessPercentLower"
+                    placeholder="下限"
+                  ></el-input>
+                </el-col>
+                <el-col :span="4">&nbsp;</el-col>
+                <el-col :span="10">
+                  <el-input
+                    size="small"
+                    v-model="form.faceSuccessPercentUpper"
+                    placeholder="上限"
+                  ></el-input>
+                </el-col>
+              </el-row>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="人脸真实性比率">
+              <el-row>
+                <el-col :span="10">
+                  <el-input
+                    size="small"
+                    v-model="form.livenessSuccessPercentLower"
+                    placeholder="下限"
+                  ></el-input>
+                </el-col>
+                <el-col :span="4">&nbsp;</el-col>
+                <el-col :span="10">
+                  <el-input
+                    size="small"
+                    v-model="form.livenessSuccessPercentUpper"
+                    placeholder="上限"
+                  ></el-input>
+                </el-col>
+              </el-row>
+            </el-form-item>
+          </el-col>
+        </el-row>
       </commonFormVue>
       <el-row>
         <el-col :span="24">
@@ -90,7 +92,23 @@
               icon="el-icon-search"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <span
+              class="select-type"
+              v-if="!showAllCondition"
+              @click="showMoreCondition"
+            >
+              高级查询
+            </span>
+            <span
+              class="select-type"
+              v-if="showAllCondition"
+              @click="showSimpleCondition"
+            >
+              简单查询
+            </span>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm">
+              重置
+            </el-button>
             <el-dropdown
               class="button_left"
               v-show="currentPagePrivileges.PANEING_BATCHAUDIT"
@@ -284,6 +302,7 @@ export default {
       tableLoading: false,
       exportLoading: false,
       dialogFormVisible: false,
+      showAllCondition: false,
       form: {
         examRecordDataId: null,
         hasStranger: null,
@@ -352,6 +371,14 @@ export default {
         pageSize: 10
       };
     },
+    showMoreCondition() {
+      this.showAllCondition = true;
+    },
+    showSimpleCondition() {
+      this.$message("高级查询条件值已重置");
+      this.resetForm();
+      this.showAllCondition = false;
+    },
     search() {
       if (!this.form.examId) {
         this.$notify({
@@ -516,4 +543,9 @@ export default {
 .operateRow {
   margin-top: 2px;
 }
+.select-type {
+  font-size: 8px;
+  cursor: pointer;
+  color: #409eff;
+}
 </style>

+ 65 - 34
src/modules/oe/views/examDetail.vue

@@ -2,39 +2,40 @@
   <el-container>
     <el-main>
       <commonFormVue :form="form" :getExamCondition="getExamCondition">
-        <el-col :span="6"> </el-col>
-        <el-col :span="6">
-          <el-form-item label="开始时间">
-            <el-date-picker
-              size="small"
-              v-model="form.startTime"
-              type="datetime"
-              placeholder="选择日期时间"
-            >
-            </el-date-picker>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="结束时间">
-            <el-date-picker
-              size="small"
-              v-model="form.endTime"
-              type="datetime"
-              placeholder="选择日期时间"
-            >
-            </el-date-picker>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="采集人">
-            <el-input
-              size="small"
-              v-model="form.infoCollector"
-              placeholder="采集人"
-            >
-            </el-input>
-          </el-form-item>
-        </el-col>
+        <el-row v-show="showAllCondition">
+          <el-col :span="6">
+            <el-form-item label="开始时间">
+              <el-date-picker
+                size="small"
+                v-model="form.startTime"
+                type="datetime"
+                placeholder="选择日期时间"
+              >
+              </el-date-picker>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="结束时间">
+              <el-date-picker
+                size="small"
+                v-model="form.endTime"
+                type="datetime"
+                placeholder="选择日期时间"
+              >
+              </el-date-picker>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="采集人">
+              <el-input
+                size="small"
+                v-model="form.infoCollector"
+                placeholder="采集人"
+              >
+              </el-input>
+            </el-form-item>
+          </el-col>
+        </el-row>
       </commonFormVue>
       <el-row>
         <el-col :span="24">
@@ -46,7 +47,23 @@
               icon="el-icon-search"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <span
+              class="select-type"
+              v-if="!showAllCondition"
+              @click="showMoreCondition"
+            >
+              高级查询
+            </span>
+            <span
+              class="select-type"
+              v-if="showAllCondition"
+              @click="showSimpleCondition"
+            >
+              简单查询
+            </span>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm">
+              重置
+            </el-button>
             <commonExportVue
               v-show="currentPagePrivileges.EXAM_DETAIL_EXPORT"
               :form="form"
@@ -176,6 +193,7 @@ export default {
       disciplineTypeList: DISCIPLINE_TYPE_LIST,
       total: 0,
       tableLoading: false,
+      showAllCondition: false,
       form: {
         examRecordDataId: null,
         hasStranger: null,
@@ -242,6 +260,14 @@ export default {
         infoCollector: null
       };
     },
+    showMoreCondition() {
+      this.showAllCondition = true;
+    },
+    showSimpleCondition() {
+      this.$message("高级查询条件值已重置");
+      this.resetForm();
+      this.showAllCondition = false;
+    },
     search() {
       if (!this.form.examId) {
         this.$notify({
@@ -332,4 +358,9 @@ export default {
 .el-date-editor.el-input__inner {
   width: auto !important;
 }
+.select-type {
+  font-size: 8px;
+  cursor: pointer;
+  color: #409eff;
+}
 </style>

+ 56 - 24
src/modules/oe/views/examScheduling.vue

@@ -2,29 +2,31 @@
   <el-container>
     <el-main>
       <commonFormVue :form="form" :getExamCondition="getExamCondition">
-        <el-col :span="6">
-          <el-form-item label="完成状态">
-            <el-select
-              size="small"
-              v-model="form.finished"
-              clearable
-              placeholder="全部"
-            >
-              <el-option value="true" label="已完成"></el-option>
-              <el-option value="false" label="未完成"></el-option>
-            </el-select>
-          </el-form-item>
-        </el-col>
-        <el-col :span="6">
-          <el-form-item label="采集人">
-            <el-input
-              size="small"
-              v-model="form.infoCollector"
-              placeholder="采集人"
-            >
-            </el-input>
-          </el-form-item>
-        </el-col>
+        <el-row v-show="showAllCondition">
+          <el-col :span="6">
+            <el-form-item label="完成状态">
+              <el-select
+                size="small"
+                v-model="form.finished"
+                clearable
+                placeholder="全部"
+              >
+                <el-option value="true" label="已完成"></el-option>
+                <el-option value="false" label="未完成"></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="采集人">
+              <el-input
+                size="small"
+                v-model="form.infoCollector"
+                placeholder="采集人"
+              >
+              </el-input>
+            </el-form-item>
+          </el-col>
+        </el-row>
       </commonFormVue>
       <el-row>
         <el-col :span="24">
@@ -36,7 +38,23 @@
               icon="el-icon-search"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <span
+              class="select-type"
+              v-if="!showAllCondition"
+              @click="showMoreCondition"
+            >
+              高级查询
+            </span>
+            <span
+              class="select-type"
+              v-if="showAllCondition"
+              @click="showSimpleCondition"
+            >
+              简单查询
+            </span>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm">
+              重置
+            </el-button>
             <commonExportVue
               v-show="currentPagePrivileges.EXAM_PARTICULARS_EXPORT"
               :form="form"
@@ -195,6 +213,7 @@ export default {
       uploadAnswerDialogVisible: false,
       total: 0,
       tableLoading: false,
+      showAllCondition: false,
       form: {
         examRecordDataId: null,
         hasStranger: null,
@@ -258,6 +277,14 @@ export default {
         examType: ""
       };
     },
+    showMoreCondition() {
+      this.showAllCondition = true;
+    },
+    showSimpleCondition() {
+      this.$message("高级查询条件值已重置");
+      this.resetForm();
+      this.showAllCondition = false;
+    },
     search() {
       if (!this.form.examId) {
         this.$notify({
@@ -421,4 +448,9 @@ export default {
 .operateRow {
   margin-top: 2px;
 }
+.select-type {
+  font-size: 8px;
+  cursor: pointer;
+  color: #409eff;
+}
 </style>

+ 3 - 1
src/modules/oe/views/illegalityNameList.vue

@@ -31,7 +31,9 @@
               type="primary"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm">
+              重置
+            </el-button>
             <commonExportVue
               v-show="currentPagePrivileges.BREACH_THE_PRINCIPLE_EXPORT"
               :form="form"

+ 3 - 1
src/modules/oe/views/reexamine.vue

@@ -13,7 +13,9 @@
               icon="el-icon-search"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm">
+              重置
+            </el-button>
           </div>
         </el-col>
       </el-row>

+ 3 - 1
src/modules/oe/views/scoreStatistics.vue

@@ -26,7 +26,9 @@
               icon="el-icon-search"
               >查询
             </el-button>
-            <el-button size="small" @click="resetForm">重置</el-button>
+            <el-button size="small" icon="el-icon-refresh" @click="resetForm">
+              重置
+            </el-button>
             <commonExportVue
               v-show="currentPagePrivileges.SCORE_STATICS_EXPORT"
               :form="form"