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
1b7bab11
Commit
1b7bab11
authored
4 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 增加评论后不调列表接口
parent
9bb010a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+13
-3
No files found.
pages/meetingDetail/meetingDetail.js
View file @
1b7bab11
...
...
@@ -172,10 +172,9 @@ create.Page({
iconType
:
'icon'
,
aheadTimesListId
:
!!
res
.
data
.
data
.
aheadTimes
?
res
.
data
.
data
.
aheadTimes
:
[
-
1
],
}
})
this
.
$store
.
data
.
originalData
=
res
.
data
.
data
this
.
$store
.
data
.
originalData
=
res
.
data
.
data
;
this
.
$store
.
data
.
locationName
=
res
.
data
.
data
.
location
?
res
.
data
.
data
.
location
.
locationName
:
''
this
.
$store
.
data
.
roomId
=
res
.
data
.
data
.
meetingRoomId
<
0
?
''
:
res
.
data
.
data
.
meetingRoomId
this
.
store
.
data
.
scheduleId
=
res
.
data
.
data
.
groupId
...
...
@@ -1196,7 +1195,18 @@ create.Page({
meetingId
:
this
.
store
.
data
.
scheduleId
,
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
this
.
getAffairList
(
this
.
store
.
data
.
scheduleId
);
// 修改列表数据
const
[
index
]
=
this
.
getIndexFromAffairList
(
this
.
store
.
data
.
parentCommentId
);
if
(
index
!==
-
1
)
{
const
addData
=
res
.
data
.
data
[
0
].
commentListDataModelList
[
0
];
addData
.
updateTime
=
getCreateShowTime
(
addData
.
updateTime
);
if
(
this
.
store
.
data
.
affairList
[
index
].
replyCommentList
)
{
this
.
store
.
data
.
affairList
[
index
].
replyCommentList
.
push
(
addData
)
}
else
{
this
.
store
.
data
.
affairList
[
index
].
replyCommentList
=
[
addData
];
}
}
// clear
this
.
store
.
data
.
parentCommentId
=
''
;
this
.
update
();
...
...
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