Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
schedule
Commits
861445ab
Commit
861445ab
authored
4 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 动态列表去详情页传groupId
parent
22b0868b
release/dev/2.1.0
…
release/1.0.0
release/2.0.0
release/2.1.0
release/dev/2.0.0
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+10
-4
No files found.
pages/meetingDetail/meetingDetail.js
View file @
861445ab
...
...
@@ -167,6 +167,12 @@ create.Page({
scheduleTemplateId
:
this
.
data
.
scheduleItem
.
scheduleTemplateId
,
planDate
:
!!
this
.
data
.
scheduleItem
.
planDate
?
this
.
data
.
scheduleItem
.
planDate
.
replace
(
/
\/
/g
,
'-'
)
:
null
}
//动态列表进来的详情传groupId
if
(
this
.
data
.
scheduleItem
.
groupId
)
{
data
.
groupId
=
this
.
data
.
scheduleItem
.
groupId
;
delete
data
.
id
;
delete
data
.
planDate
;
}
getScheduleDetail
(
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
!==
0
)
{
return
...
...
@@ -1720,7 +1726,7 @@ create.Page({
meetingId
:
this
.
store
.
data
.
scheduleId
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
this
.
closePopup
();
this
.
closePopup
1
();
// clear
this
.
store
.
data
.
notes
=
null
;
this
.
update
();
...
...
@@ -1739,7 +1745,7 @@ create.Page({
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
this
.
getAffairList
(
this
.
store
.
data
.
scheduleId
);
this
.
closePopup
();
this
.
closePopup
1
();
}
})
},
...
...
@@ -1766,7 +1772,7 @@ create.Page({
// clear
this
.
store
.
data
.
parentCommentId
=
''
;
this
.
update
();
this
.
closePopup
();
this
.
closePopup
1
();
}
})
},
...
...
@@ -1819,7 +1825,7 @@ create.Page({
notice
:
true
,
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
this
.
closePopup
();
this
.
closePopup
1
();
const
[
index
]
=
this
.
getIndexFromAffairList
(
commentId
);
if
(
index
!==
-
1
)
{
this
.
store
.
data
.
affairList
[
index
].
remark
=
remark
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment