Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-10-13 10:13:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b19804ae9490f1ac7647902b232ed6bae384913b
b19804ae
1 parent
836fc227
fix(作业详情页): 修正作业描述字段从description改为note
更新教师API文档,补充作业周期和提交类型等参数说明
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
src/api/teacher.js
src/views/checkin/CheckinDetailPage.vue
src/api/teacher.js
View file @
b19804a
/*
* @Date: 2025-06-23 11:46:21
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-
06-27 14:04:0
5
* @LastEditTime: 2025-
10-13 10:09:1
5
* @FilePath: /mlaj/src/api/teacher.js
* @Description: 文件描述
*/
...
...
@@ -46,7 +46,10 @@ export const getTeacherFindSettingsAPI = (params) => fn(fetch.get(Api.TEACHER_FI
* @param {*} group_id 年级ID
* @param {*} lesson_id 课程ID
* @param {*} task_type 任务类型
* @param {*} frequency 任务频率
* @param {*} cycle 作业周期, 0=本周期 30=每月 7=每周 1=每日
* @param {*} frequency 每周期提交数量
* @param {*} attachment_type 提交类型, text=文本 image=图片 video=视频 audio=音频
* @param {*} target_number 目标总数
* @param {*} schedule[{id, begin_date, end_date}] 批量设置课程章节的作业
* @returns {Object} data { id }
*/
...
...
src/views/checkin/CheckinDetailPage.vue
View file @
b19804a
...
...
@@ -6,7 +6,7 @@
<div class="section-wrapper">
<div class="section-title">作业描述</div>
<div class="section-content">
<div v-if="taskDetail.
description" class="description-text" v-html="taskDetail.description
">
<div v-if="taskDetail.
note" class="description-text" v-html="taskDetail.note
">
</div>
<div v-else class="no-description">
暂无作业描述
...
...
Please
register
or
login
to post a comment