zhangjie hai 2 meses
pai
achega
a662e331ff

+ 1 - 1
src/modules/mark/api.js

@@ -115,7 +115,7 @@ export const markProgressMarkerExport = (datas) => {
 };
 // mark-detail-progress-detail
 export const markProgressClassQuestionListPage = (datas) => {
-  return $postParam("/api/admin/mark/question/class/question/list", datas);
+  return $postParam("/api/admin/mark/question/subjective/class/detail", datas);
 };
 // mark-detail-marker
 export const markMarkerListPage = (datas) => {

+ 7 - 6
src/modules/mark/components/markDetail/ClassMarkProgressDialog.vue

@@ -4,7 +4,7 @@
     :visible.sync="modalIsShow"
     :title="data.className"
     top="10vh"
-    width="500px"
+    width="700px"
     :close-on-click-modal="false"
     :close-on-press-escape="false"
     append-to-body
@@ -27,10 +27,7 @@
         label="完成总数"
         width="100"
       ></el-table-column>
-      <el-table-column prop="loginName" label="评卷员" min-width="100">
-        <template slot-scope="scope">
-          {{ scope.row.name }}({{ scope.row.loginName }})
-        </template>
+      <el-table-column prop="markerUser" label="评卷员" min-width="100">
       </el-table-column>
     </el-table>
     <div slot="footer"></div>
@@ -70,7 +67,11 @@ export default {
       this.modalIsShow = true;
     },
     async initData() {
-      const res = await markProgressClassQuestionListPage(this.data);
+      const res = await markProgressClassQuestionListPage({
+        examId: this.data.examId,
+        paperNumber: this.data.paperNumber,
+        className: this.data.className,
+      });
       this.dataList = res || [];
     },
   },

+ 5 - 1
src/modules/mark/components/markDetail/MarkDetailProgress.vue

@@ -311,7 +311,11 @@ export default {
       this.$message.success("下载成功!");
     },
     toDetail(row) {
-      this.curClass = row;
+      this.curClass = {
+        ...row,
+        examId: this.baseInfo.examId,
+        paperNumber: this.baseInfo.paperNumber,
+      };
       this.$refs.ClassMarkProgressDialog.open();
     },
   },

+ 1 - 1
src/modules/mark/components/markParam/MarkParamGroup.vue

@@ -302,6 +302,7 @@ export default {
     },
     toSetMarker(row) {
       this.curRow = row;
+      this.curRowQuestions = this.getCurrentQuestions(row);
       this.$refs.ModifyMarkMarker.open();
     },
     async markMarkerModified(row) {
@@ -315,7 +316,6 @@ export default {
     },
     toSetArea(row) {
       this.curRow = row;
-      this.curRowQuestions = this.getCurrentQuestions(row);
       this.$refs.ModifyMarkArea.open();
     },
     async areaModified(row) {