Browse Source

监考批次接口新增类型参数

zhangjie 4 years ago
parent
commit
7e138f9135
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/api/invigilation.js

+ 4 - 1
src/api/invigilation.js

@@ -114,7 +114,10 @@ export function examMonitorBatchList(datas) {
 }
 // 监考老师::考试批次列表
 export function examBatchList(userId) {
-  const paramQuery = userId ? `?userId=${userId}` : "";
+  const type = "monitor";
+  const paramQuery = userId
+    ? `?userId=${userId}&type=${type}`
+    : `?type=${type}`;
   return httpApp.post("/api/admin/sys/exam/query" + paramQuery);
 }
 // 监考老师::根据权限获取场次和考场接口