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-12-15 14:34:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ed9ac88c2175fa0431fec6bbdc22919854f1fb48
ed9ac88c
1 parent
b13adfa1
fix(检查页面): 将查询参数id统一改为post_id以保持一致性
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/views/checkin/CheckinDetailPage.vue
src/views/checkin/IndexCheckInPage.vue
src/views/checkin/CheckinDetailPage.vue
View file @
ed9ac88
...
...
@@ -464,7 +464,7 @@ const getUploadTips = () => {
* @param {string} month - 月份
*/
const getTaskDetail = async (month) => {
const { code, data } = await getTaskDetailAPI({ i: route.query.id, month })
const { code, data } = await getTaskDetailAPI({ i: route.query.
post_
id, month })
if (code) {
taskDetail.value = data
...
...
@@ -802,7 +802,7 @@ onMounted(async () => {
selectedTaskValue.value = [+route.query.subtask_id]
// 获取小作业列表
const subtask_list = await getSubtaskListAPI({ task_id: route.query.id, date: current_date })
const subtask_list = await getSubtaskListAPI({ task_id: route.query.
post_
id, date: current_date })
if (subtask_list.code) {
taskOptions.value = [...subtask_list.data.map(item => ({
text: item.is_makeup ? '补卡:' + item.title : item.title,
...
...
src/views/checkin/IndexCheckInPage.vue
View file @
ed9ac88
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-15 1
3:55:28
* @LastEditTime: 2025-12-15 1
4:33:37
* @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue
* @Description: 文件描述
-->
...
...
@@ -397,7 +397,7 @@ const goToCheckinDetailPage = () => {
router.push({
path: '/checkin/detail',
query: {
id: route.query.id,
post_
id: route.query.id,
subtask_id: selectedSubtaskId.value,
date: current_date,
is_patch: isPatchCheckin.value ? '1' : '0',
...
...
Please
register
or
login
to post a comment