Przeglądaj źródła

style improvement

Michael Wang 4 lat temu
rodzic
commit
75930ddfed

+ 2 - 2
src/api/examwork-invigilate.js

@@ -13,11 +13,11 @@ export function searchInvigilators({
     (v) => v !== ""
   );
   return httpApp.post(
-    "/api/admin/invigilate/user/query?" + object2QueryString(data)
+    "/api/admin/invigilateUser/query?" + object2QueryString(data)
   );
 }
 
 export function saveInvigilator({ roomCode = "", userIds = "" }) {
   const data = pickBy({ roomCode, userIds }, (v) => v !== "");
-  return httpApp.post("/api/admin/invigilate/user/save", data);
+  return httpApp.post("/api/admin/invigilateUser/save", data);
 }

+ 2 - 2
src/features/examwork/ActivityManagement/ActivityManagement.vue

@@ -10,8 +10,8 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
       <el-table-column width="200" label="场次代码">

+ 2 - 2
src/features/examwork/CourseManagement/CourseManagement.vue

@@ -21,8 +21,8 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
       <el-table-column width="200" label="场次代码">

+ 2 - 2
src/features/examwork/ExamManagement/ExamManagement.vue

@@ -16,8 +16,8 @@
     </el-form>
 
     <el-table ref="table" :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
       <el-table-column width="200" label="批次编码">

+ 2 - 2
src/features/examwork/ExamStudentImport/ExamStudentImport.vue

@@ -10,8 +10,8 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
       <el-table-column width="200" label="批次名称">

+ 2 - 2
src/features/examwork/ExamStudentManagement/ExamStudentManagement.vue

@@ -31,8 +31,8 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
       <el-table-column width="200" label="场次代码">

+ 5 - 5
src/features/examwork/InvigilateManagement/InvigilateManagement.vue

@@ -22,18 +22,18 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <!-- <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
-      </el-table-column>
+      </el-table-column> -->
       <el-table-column width="200" label="考场编码">
         <span slot-scope="scope">{{ scope.row.roomCode }}</span>
       </el-table-column>
       <el-table-column label="考场名称">
         <span slot-scope="scope">{{ scope.row.roomName }}</span>
       </el-table-column>
-      <el-table-column width="120" label="更新人">
-        <span slot-scope="scope">{{ scope.row.updateName }}</span>
+      <el-table-column width="220" label="监考老师">
+        <span slot-scope="scope">{{ scope.row.name }}</span>
       </el-table-column>
       <el-table-column :context="_self" label="操作" width="210">
         <div slot-scope="scope">

+ 5 - 5
src/features/examwork/StudentManagement/StudentManagement.vue

@@ -14,14 +14,14 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
-      <el-table-column width="200" label="姓名">
+      <el-table-column width="100" label="姓名">
         <span slot-scope="scope">{{ scope.row.name }}</span>
       </el-table-column>
-      <el-table-column label="证件号">
+      <el-table-column width="200" label="证件号">
         <span slot-scope="scope">{{ scope.row.identity }}</span>
       </el-table-column>
       <el-table-column width="100" label="机构">
@@ -43,7 +43,7 @@
           scope.row.updateTime | datetimeFilter
         }}</span>
       </el-table-column>
-      <el-table-column :context="_self" label="操作" width="210">
+      <el-table-column :context="_self" label="操作" width="260">
         <div slot-scope="scope">
           <el-button size="mini" type="primary" plain @click="edit(scope.row)">
             考试记录

+ 7 - 4
src/features/system/OrgManagement/OrgManagement.vue

@@ -16,14 +16,14 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
       <el-table-column width="200" label="机构名称">
         <span slot-scope="scope">{{ scope.row.name }}</span>
       </el-table-column>
-      <el-table-column width="200" label="机构代码">
+      <el-table-column width="100" label="机构代码">
         <span slot-scope="scope">{{ scope.row.code }}</span>
       </el-table-column>
       <el-table-column label="状态">
@@ -40,7 +40,10 @@
       <el-table-column width="120" label="更新人">
         <span slot-scope="scope">{{ scope.row.updateName }}</span>
       </el-table-column>
-      <el-table-column sortable width="170" label="更新时间" prop="updateTime">
+      <el-table-column width="100" label="更新时间">
+        <span slot-scope="scope">{{
+          scope.row.updateTime | datetimeFilter
+        }}</span>
       </el-table-column>
       <el-table-column :context="_self" label="操作" width="210">
         <div slot-scope="scope">

+ 8 - 5
src/features/system/UserManagement/UserManagement.vue

@@ -22,8 +22,8 @@
     </el-form>
 
     <el-table :data="tableData" stripe style="width: 100%;">
-      <el-table-column type="selection" width="40" />
-      <el-table-column width="55" label="ID">
+      <el-table-column type="selection" width="42" />
+      <el-table-column width="100" label="ID">
         <span slot-scope="scope">{{ scope.row.id }}</span>
       </el-table-column>
       <el-table-column
@@ -33,7 +33,7 @@
       >
         <span slot-scope="scope">{{ scope.row.orgName }}</span>
       </el-table-column>
-      <el-table-column width="200" label="姓名">
+      <el-table-column width="100" label="姓名">
         <span slot-scope="scope">{{ scope.row.name }}</span>
       </el-table-column>
       <el-table-column label="登录名">
@@ -50,9 +50,12 @@
       <el-table-column width="120" label="更新人">
         <span slot-scope="scope">{{ scope.row.updateName }}</span>
       </el-table-column>
-      <el-table-column sortable width="170" label="更新时间" prop="updateTime">
+      <el-table-column width="100" label="更新时间">
+        <span slot-scope="scope">{{
+          scope.row.updateTime | datetimeFilter
+        }}</span>
       </el-table-column>
-      <el-table-column :context="_self" label="操作" width="210">
+      <el-table-column :context="_self" label="操作" width="250">
         <div slot-scope="scope">
           <el-button size="mini" type="primary" plain @click="edit(scope.row)">
             编辑