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
2026-01-21 10:09:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ab897225604ee1f55b58359ce8471cfa9a932d95
ab897225
1 parent
60ee2dcf
fix(ui): 修复打卡详情页附件类型标签显示问题
在打卡详情页中,根据任务类型动态显示附件类型标签为必选或可选 在打卡目标列表组件中,为必填项添加红色星号标识
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/components/count/CheckinTargetList.vue
src/views/checkin/CheckinDetailPage.vue
src/components/count/CheckinTargetList.vue
View file @
ab89722
<!--
* @Date: 2025-12-16 11:44:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
5-12-17 11:57:03
* @LastEditTime: 202
6-01-21 10:04:55
* @FilePath: /mlaj/src/components/count/CheckinTargetList.vue
* @Description: 打卡动态对象列表组件
-->
...
...
@@ -9,6 +9,8 @@
<div class="mb-4">
<div class="flex justify-between items-center mb-2 mx-2">
<div class="flex items-center gap-2">
<!-- 必填项目前面加红色*号 -->
<div class="text-red-500">*</div>
<div class="text-sm font-bold text-gray-700">{{ dynamicFieldText }}列表</div>
<div class="text-xs text-gray-400 font-normal scale-90 origin-left">(列表项长按可编辑)</div>
</div>
...
...
src/views/checkin/CheckinDetailPage.vue
View file @
ab89722
...
...
@@ -74,7 +74,7 @@
<!-- 类型选项卡 -->
<div class="checkin-tabs" v-if="selectedTaskValue.length > 0">
<div class="tabs-header">
<div class="tab-title">
附件类型
</div>
<div class="tab-title">
{{ taskType === 'count' ? '附件类型(可选)' : '附件类型' }}
</div>
<div class="tabs-nav">
<div v-for="option in attachmentTypeOptions" :key="option.key"
@click="switchType(option.key)" :class="['tab-item', {
...
...
Please
register
or
login
to post a comment