瀏覽代碼

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

Tang 3 年之前
父節點
當前提交
d6f9bf9f67
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      src/views/education/classManageMent/learningHoursRecordList/index.vue

+ 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>