Browse Source

fix(mp): 宿舍内务检查查看页移除历史学员名单区块

harper 19 hours ago
parent
commit
a3cc4b16b0
1 changed files with 2 additions and 60 deletions
  1. 2 60
      web/page/mp/mp_ssnwjc_record_detail.html

+ 2 - 60
web/page/mp/mp_ssnwjc_record_detail.html

@@ -67,8 +67,7 @@
     }
     }
 
 
     .info-table,
     .info-table,
-    .score-table,
-    .student-table {
+    .score-table {
       overflow: hidden;
       overflow: hidden;
       margin-bottom: 12px;
       margin-bottom: 12px;
       background: #fff;
       background: #fff;
@@ -159,44 +158,6 @@
       font-size: 13px;
       font-size: 13px;
     }
     }
 
 
-    .student-row {
-      display: grid;
-      grid-template-columns: minmax(0, 1fr) 1fr;
-      gap: 8px;
-      padding: 12px 14px;
-      border-bottom: 1px solid var(--line);
-    }
-
-    .student-row:last-child {
-      border-bottom: 0;
-    }
-
-    .student-main {
-      min-width: 0;
-      font-size: 15px;
-      font-weight: 600;
-      word-break: break-all;
-    }
-
-    .student-sub {
-      min-width: 0;
-      color: var(--muted);
-      font-size: 13px;
-      line-height: 1.5;
-      text-align: right;
-      word-break: break-all;
-    }
-
-    .student-class {
-      display: block;
-    }
-
-    .roster-note {
-      margin: -6px 0 12px;
-      color: var(--muted);
-      font-size: 12px;
-      text-align: right;
-    }
   </style>
   </style>
 </head>
 </head>
 <body>
 <body>
@@ -259,21 +220,6 @@
       </div>
       </div>
     </div>
     </div>
 
 
-    <div class="student-table">
-      <div class="section-title">历史学员名单</div>
-      <div v-if="!students.length" class="empty-container">历史名单未保存</div>
-      <div v-for="student in students" :key="student.ryid" class="student-row">
-        <div class="student-main">
-          {{ student.xm || '未记录姓名' }}
-          <span v-if="student.ryh" class="student-class">({{ student.ryh }})</span>
-        </div>
-        <div class="student-sub">
-          <span>{{ student.bjmc || '未记录班级' }}</span>
-          <span class="student-class">{{ student.cwmc || '未分配床位' }}</span>
-        </div>
-      </div>
-    </div>
-    <div v-if="rosterSource === 'cdsy'" class="roster-note">名单由历史住宿记录回查</div>
   </template>
   </template>
 </div>
 </div>
 
 
@@ -286,9 +232,7 @@
           loading: true,
           loading: true,
           errorMsg: "",
           errorMsg: "",
           record: {},
           record: {},
-          jcxmList: [],
-          students: [],
-          rosterSource: "none"
+          jcxmList: []
         };
         };
       },
       },
       async mounted() {
       async mounted() {
@@ -362,8 +306,6 @@
           );
           );
           this.record = data && data.record ? data.record : {};
           this.record = data && data.record ? data.record : {};
           this.jcxmList = data && Array.isArray(data.jcxmList) ? data.jcxmList : [];
           this.jcxmList = data && Array.isArray(data.jcxmList) ? data.jcxmList : [];
-          this.students = data && Array.isArray(data.students) ? data.students : [];
-          this.rosterSource = data && data.rosterSource ? data.rosterSource : "none";
         }
         }
       }
       }
     });
     });