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 f8a60f93
authored
Jun 08, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(TaskCenterDetail): 优化推送课程展示逻辑,动态添加课程信息
1 parent
55a2149c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/views/teamWork/teamWork/taskCenterDetail.vue
src/views/teamWork/teamWork/taskCenterDetail.vue
View file @
f8a60f9
...
@@ -78,15 +78,18 @@ export default {
...
@@ -78,15 +78,18 @@ export default {
},
},
computed
:
{
computed
:
{
baseFields
()
{
baseFields
()
{
return
[
const
fields
=
[
{
label
:
"带教场景"
,
value
:
this
.
detail
.
teachingSceneName
},
{
label
:
"带教场景"
,
value
:
this
.
detail
.
teachingSceneName
},
{
label
:
"带教时间"
,
value
:
this
.
formatToMinute
(
this
.
detail
.
teachingTime
)
},
{
label
:
"带教时间"
,
value
:
this
.
formatToMinute
(
this
.
detail
.
teachingTime
)
},
{
label
:
"带教方式"
,
value
:
this
.
detail
.
teachingMethodName
},
{
label
:
"带教方式"
,
value
:
this
.
detail
.
teachingMethodName
},
{
label
:
"带教主题"
,
value
:
this
.
detail
.
teachingTopicName
},
{
label
:
"带教主题"
,
value
:
this
.
detail
.
teachingTopicName
},
{
label
:
"推送课程"
,
value
:
this
.
courseNameList
,
type
:
"courseTags"
},
{
label
:
"带教门店"
,
value
:
this
.
merchantList
,
type
:
"tags"
},
{
label
:
"带教门店"
,
value
:
this
.
merchantList
,
type
:
"tags"
},
{
label
:
"参与人员"
,
value
:
this
.
detail
.
taskStaffList
||
[],
type
:
"tags"
},
{
label
:
"参与人员"
,
value
:
this
.
detail
.
taskStaffList
||
[],
type
:
"tags"
},
];
];
if
(
this
.
courseNameList
.
length
)
{
fields
.
splice
(
4
,
0
,
{
label
:
"推送课程"
,
value
:
this
.
courseNameList
,
type
:
"courseTags"
});
}
return
fields
;
},
},
courseNameList
()
{
courseNameList
()
{
return
(
this
.
detail
.
bcCourseNameList
||
[]).
filter
(
Boolean
);
return
(
this
.
detail
.
bcCourseNameList
||
[]).
filter
(
Boolean
);
...
...
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