chenken %!s(int64=6) %!d(string=hai) anos
pai
achega
70a5dc54f2

+ 4 - 2
src/modules/oe/views/absent.vue

@@ -17,6 +17,7 @@
       </el-col>
       <el-row>
         <el-col>
+          <div class="block-seperator"></div>
           <span>批量操作:</span>
           <commonExportVue
             :form="form"
@@ -34,8 +35,6 @@
             :data="tableData"
             border
           >
-            <el-table-column width="50" type="index" label="序号">
-            </el-table-column>
             <el-table-column sortable label="课程" prop="courseName">
             </el-table-column>
             <el-table-column
@@ -176,4 +175,7 @@ export default {
 .header-title {
   text-align: left;
 }
+.margin-top-10 {
+  margin-top: 10px;
+}
 </style>

+ 1 - 1
src/modules/oe/views/alreadyAudited.vue

@@ -153,7 +153,7 @@
             <el-table-column sortable label="审核人" prop="auditUserName">
             </el-table-column>
           </el-table>
-          <div class="block">
+          <div class="block pull-right">
             <el-pagination
               @size-change="handleSizeChange"
               @current-change="handleCurrentChange"

+ 5 - 4
src/modules/oe/views/awaitingAudit.vue

@@ -111,9 +111,10 @@
         </el-button>
       </el-col>
       <el-row>
-        <el-col
-          ><span>批量操作:</span
-          ><el-dropdown
+        <el-col>
+          <div class="block-seperator"></div>
+          <span>批量操作:</span>
+          <el-dropdown
             class="button_left"
             v-show="currentPagePrivileges.PANEING_BATCHAUDIT"
           >
@@ -266,7 +267,7 @@
               </div>
             </el-table-column>
           </el-table>
-          <div class="block">
+          <div class="block pull-right">
             <el-pagination
               @size-change="handleSizeChange"
               @current-change="handleCurrentChange"

+ 2 - 1
src/modules/oe/views/examDetail.vue

@@ -69,6 +69,7 @@
       </el-col>
       <el-row>
         <el-col>
+          <div class="block-seperator"></div>
           <span>批量操作:</span>
           <commonExportVue
             v-show="currentPagePrivileges.EXAM_DETAIL_EXPORT"
@@ -169,7 +170,7 @@
               </template>
             </el-table-column>
           </el-table>
-          <div class="block">
+          <div class="block pull-right">
             <el-pagination
               @size-change="handleSizeChange"
               @current-change="handleCurrentChange"

+ 25 - 25
src/modules/oe/views/examScheduling.vue

@@ -6,6 +6,7 @@
           <el-col :span="6">
             <el-form-item label="完成状态">
               <el-select
+                v-if="form.examType == '' || form.examType == 'ONLINE'"
                 class="form_search_width"
                 size="small"
                 v-model="form.finished"
@@ -15,6 +16,18 @@
                 <el-option value="true" label="已完成"></el-option>
                 <el-option value="false" label="未完成"></el-option>
               </el-select>
+              <el-select
+                v-if="form.examType == 'OFFLINE'"
+                class="form_search_width"
+                size="small"
+                v-model="form.finished"
+                clearable
+                placeholder="全部"
+              >
+                <el-option value="0" label="未抽题"></el-option>
+                <el-option value="1" label="已抽题"></el-option>
+                <el-option value="2" label="已上传"></el-option>
+              </el-select>
             </el-form-item>
           </el-col>
           <el-col :span="6">
@@ -59,6 +72,7 @@
           >重置</el-button
         >
       </el-col>
+      <div class="block-seperator"></div>
       <el-row>
         <el-col :span="24">
           <span>批量操作:</span>
@@ -106,23 +120,8 @@
             </el-table-column>
             <el-table-column fixed="right" sortable label="完成状态">
               <template slot-scope="scope">
-                <span
-                  v-show="scope.row.finished && scope.row.examType == 'ONLINE'"
-                  ><el-tag type="success">已完成</el-tag>
-                </span>
-                <span
-                  v-show="!scope.row.finished && scope.row.examType == 'ONLINE'"
-                  ><el-tag type="danger">未完成</el-tag>
-                </span>
-                <span
-                  v-show="scope.row.finished && scope.row.examType == 'OFFLINE'"
-                  ><el-tag type="success">已抽题</el-tag>
-                </span>
-                <span
-                  v-show="
-                    !scope.row.finished && scope.row.examType == 'OFFLINE'
-                  "
-                  ><el-tag type="danger">未抽题</el-tag>
+                <span>
+                  <el-tag> {{ scope.row.finishedStatus }} </el-tag>
                 </span>
               </template>
             </el-table-column>
@@ -131,8 +130,9 @@
                 <el-row class="operateRow">
                   <el-col :span="24">
                     <el-button
-                      size="mini"
+                      plain
                       type="primary"
+                      size="mini"
                       icon="el-icon-view"
                       @click="previewPaper(scope.row.examStudentId)"
                       v-if="scope.row.examType == 'OFFLINE'"
@@ -143,8 +143,9 @@
                 <el-row class="operateRow">
                   <el-col :span="24">
                     <el-button
+                      plain
+                      type="primary"
                       size="mini"
-                      type="success"
                       icon="el-icon-download"
                       @click="exportPaper(scope.row.examStudentId)"
                       v-if="scope.row.examType == 'OFFLINE'"
@@ -155,8 +156,9 @@
                 <el-row class="operateRow">
                   <el-col :span="24">
                     <el-button
+                      plain
+                      type="primary"
                       size="mini"
-                      type="warning"
                       icon="el-icon-upload2"
                       @click="openUploadAnswerDialog(scope.row.examStudentId)"
                       v-if="
@@ -259,7 +261,7 @@ export default {
         filterCondition: ""
       },
       tableData: [],
-      exportUrl: "/api/ecs_oe_admin/exam/student/all/list/export",
+      exportUrl: "/api/ecs_oe_admin/exam/student/examScheduling/list/export",
       exportFileName: "考试进度详情",
       currentOfflineExamRecordDataId: "",
       offlineAnswerFile: "",
@@ -314,7 +316,7 @@ export default {
       }
       this.tableLoading = true;
       this.$http
-        .post("/api/ecs_oe_admin/exam/student/all/list", this.form)
+        .post("/api/ecs_oe_admin/exam/student/examScheduling/list", this.form)
         .then(response => {
           if (response.data) {
             var dataList = response.data.content;
@@ -354,9 +356,7 @@ export default {
           if (response.data) {
             var examRecordList = response.data;
             if (examRecordList && examRecordList.length > 0) {
-              window.open(
-                "/questions/preview_paper/" + examRecordList[0].basePaperId
-              );
+              window.open("/preview_paper/" + examRecordList[0].basePaperId);
             } else {
               this.$message({
                 message: "该考生未参加考试",

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

@@ -89,7 +89,7 @@
             <el-table-column sortable label="成绩统计时间" prop="startTime">
             </el-table-column>
           </el-table>
-          <div class="block">
+          <div class="block pull-right">
             <el-pagination
               @size-change="handleSizeChange"
               @current-change="handleCurrentChange"

+ 1 - 1
src/modules/questions/routes/routes.js

@@ -138,7 +138,7 @@ export default [
     component: SelectQuestion
   },
   {
-    path: "preview_paper/:paperId", //预览试卷
+    path: "/preview_paper/:paperId", //预览试卷
     component: PreviewPaper
   }
 ];