Sfoglia il codice sorgente

add:学习学时记录列表操作限制

Tang 3 anni fa
parent
commit
d6f9bf9f67

+ 8 - 1
src/views/education/classManageMent/learningHoursRecordList/index.vue

@@ -22,7 +22,14 @@
         <el-button type="text" @click="activeHoursRecord(props.scope.row)"
           >学习记录</el-button
         >
-        <el-button type="text" @click="activeStudyRecord(props.scope.row)"
+        <el-button
+          type="text"
+          @click="activeStudyRecord(props.scope.row)"
+          :disabled="
+            props.scope.row.periodStatus === 2 ||
+            props.scope.row.periodStatus === 3 ||
+            props.scope.row.periodStatus === -1
+          "
           >学时记录</el-button
         >
       </template>