Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
supervise-wecom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 55a2149c
authored
Jun 08, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 优化任务列表和详情页的空状态展示,添加图片支持
1 parent
5d7b2b0c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
src/views/teamWork/teamWork/components/StrategyTaskList.vue
src/views/teamWork/teamWork/components/TaskCenterList.vue
src/views/teamWork/teamWork/specialTaskDetail.vue
src/views/teamWork/teamWork/taskCenterDetail.vue
src/views/teamWork/teamWork/components/StrategyTaskList.vue
View file @
55a2149
...
...
@@ -10,7 +10,10 @@
:title=
"getCardTitle"
@
action=
"viewDetail"
/>
</
template
>
<van-empty
v-else
description=
"暂无任务"
/>
<van-empty
v-else
description=
"暂无任务"
image-size=
"100"
:image=
"`${IMG_URL}icon-empty.png`"
/>
</div>
</template>
...
...
@@ -31,6 +34,7 @@ export default {
},
data
()
{
return
{
IMG_URL
:
constantData
.
BASE_IMG_URL
,
cardConfig
:
constantData
.
SPECIAL_TASK_CARD_CONFIG
,
};
},
...
...
src/views/teamWork/teamWork/components/TaskCenterList.vue
View file @
55a2149
...
...
@@ -20,7 +20,8 @@
</van-list>
<van-empty
v-if=
"!loading && !refreshing && list.length === 0"
description=
"暂无任务"
image-size=
"100"
/>
image-size=
"100"
:image=
"`$
{IMG_URL}icon-empty.png`" />
</van-pull-refresh>
</div>
</
template
>
...
...
@@ -76,6 +77,7 @@ export default {
},
data
()
{
return
{
IMG_URL
:
constantData
.
BASE_IMG_URL
,
list
:
[],
pageNum
:
1
,
pageSize
:
10
,
...
...
src/views/teamWork/teamWork/specialTaskDetail.vue
View file @
55a2149
...
...
@@ -38,9 +38,7 @@
<div
class=
"card-title"
>
专项任务
<span
class=
"required"
>
*
</span>
</div>
<div
class=
"card-content"
>
{{
task
.
taskContext
||
'暂无内容'
}}
</div>
<div
class=
"card-content"
v-text=
"task.taskContext || '暂无内容'"
/>
</div>
</div>
</div>
...
...
src/views/teamWork/teamWork/taskCenterDetail.vue
View file @
55a2149
...
...
@@ -42,9 +42,7 @@
<div
class=
"label"
>
带教内容摘要
</div>
<div
class=
"summary-text"
>
{{
detail
.
assigneeDetail
||
'-'
}}
</div>
<div
class=
"summary-text"
v-text=
"detail.assigneeDetail || '-'"
/>
</div>
<div
class=
"content-card"
>
...
...
@@ -236,7 +234,6 @@ export default {
line-height
:
21px
;
color
:
#00000066
;
word-break
:
break-all
;
white-space
:
pre-line
;
}
.image-list
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment