Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
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
2026-05-22 11:20:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
274ff72ab703201ddaf314bd0fdbe940d99f81c1
274ff72a
1 parent
9ff93944
fix(scan-checkin-detail): 修复打卡详情页操作按钮显示逻辑,新增活动结束判断
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/pages/ScanCheckinDetail/index.vue
src/pages/ScanCheckinDetail/index.vue
View file @
274ff72
...
...
@@ -36,7 +36,7 @@
</view>
</view>
<view v-if="
detail.isChecked !== true
" class="scan-checkin-detail-button-wrap">
<view v-if="
shouldShowActionButton
" class="scan-checkin-detail-button-wrap">
<nut-button
type="primary"
class="scan-checkin-detail-button"
...
...
@@ -87,11 +87,13 @@ const detail = reactive({
centerLat: null,
radiusMeters: null,
isChecked: false,
isEnded: false,
lastScanCode: '',
scanSubmitting: false,
})
const scanSubmitting = computed(() => detail.scanSubmitting === true)
const shouldShowActionButton = computed(() => detail.isChecked !== true && detail.isEnded !== true)
const actionButtonText = computed(() =>
detail.entryMode === 'direct_submit' ? '点击打卡' : '扫码打卡'
)
...
...
@@ -407,6 +409,7 @@ const applyStageDetail = stageDetail => {
centerLat: stageDetail.center_lat,
radiusMeters: stageDetail.radius_meters,
isChecked: stageDetail.is_checked === true,
isEnded: stageDetail.is_ended === true,
})
}
...
...
Please
register
or
login
to post a comment