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
a0b03e07
Commit
a0b03e07
authored
4 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改动态推送
parent
10d7a25c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
createTask.js
pages/createTask/createTask.js
+3
-1
index.axml
pages/index/index.axml
+1
-1
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+2
-2
store.js
pages/meetingDetail/store.js
+2
-1
uploadFile.js
pages/uploadFile/uploadFile.js
+3
-2
No files found.
pages/createTask/createTask.js
View file @
a0b03e07
...
...
@@ -76,7 +76,9 @@ create.Page({
this
.
store
.
data
.
affairList
.
unshift
(
addData
);
this
.
store
.
data
.
tasks
.
unshift
(
addData
);
this
.
store
.
data
.
isNeedReloadIndexList
=
true
;
this
.
store
.
data
.
separateIndex
+=
1
;
if
(
this
.
store
.
data
.
separateIndex
!==
-
1
)
{
this
.
store
.
data
.
separateIndex
+=
1
;
}
this
.
update
();
dd
.
navigateBack
();
}
...
...
This diff is collapsed.
Click to expand it.
pages/index/index.axml
View file @
a0b03e07
...
...
@@ -26,7 +26,7 @@
<text>{{actionLog[dynamicItem.commentCategory]}}</text>
<text>{{dynamicItem.createTime}}</text>
</view>
<view class="desc" a:if="{{dynamicItem.remark}}">{{dynamicItem.remark}}</view>
<view class="desc"
data-groupId="{{item.meetingId}}" catchTap="nextDetail" data-item="{{item}}"
a:if="{{dynamicItem.remark}}">{{dynamicItem.remark}}</view>
<file-list a:if="{{dynamicItem.fileDetailList}}" fileInfos="{{dynamicItem.fileDetailList}}" isCanEdit="{{false}}"/>
<task-list a:if="{{dynamicItem.meetingTaskSimpleViewModel}}" onChangeTaskStatusOnList="onChangeTaskStatusOnList" taskView="{{dynamicItem.meetingTaskSimpleViewModel}}" commentId="{{dynamicItem.commentId}}" meetingId="{{item.meetingId}}" isCanEdit="{{false}}"/>
<notes a:if="{{dynamicItem.notes}}" meetingNotes="{{dynamicItem.notes}}"/>
...
...
This diff is collapsed.
Click to expand it.
pages/meetingDetail/meetingDetail.js
View file @
a0b03e07
...
...
@@ -1072,7 +1072,7 @@ create.Page({
changeData
.
updateTime
=
getCreateShowTime
(
new
Date
());
this
.
store
.
data
.
affairList
.
splice
(
index
,
1
);
this
.
store
.
data
.
affairList
.
unshift
(
changeData
);
if
(
index
>
this
.
store
.
data
.
separateIndex
)
{
if
(
index
>
this
.
store
.
data
.
separateIndex
&&
this
.
store
.
data
.
separateIndex
!==
-
1
)
{
this
.
store
.
data
.
separateIndex
+=
1
;
this
.
store
.
data
.
separateIndex
=
fixSeperateIndex
(
this
.
store
.
data
.
separateIndex
,
this
.
store
.
data
.
affairList
)
}
...
...
@@ -1258,7 +1258,7 @@ create.Page({
changeData
.
updateTime
=
getCreateShowTime
(
new
Date
());
this
.
store
.
data
.
affairList
.
splice
(
index
,
1
);
this
.
store
.
data
.
affairList
.
unshift
(
changeData
);
if
(
index
>
this
.
store
.
data
.
separateIndex
)
{
if
(
index
>
this
.
store
.
data
.
separateIndex
&&
this
.
store
.
data
.
separateIndex
!==
-
1
)
{
this
.
store
.
data
.
separateIndex
+=
1
;
this
.
store
.
data
.
separateIndex
=
fixSeperateIndex
(
this
.
store
.
data
.
separateIndex
,
this
.
store
.
data
.
affairList
)
}
...
...
This diff is collapsed.
Click to expand it.
pages/meetingDetail/store.js
View file @
a0b03e07
...
...
@@ -39,7 +39,8 @@ class Store {
this
.
data
.
affairList
.
splice
(
index
,
1
);
this
.
data
.
affairList
.
unshift
(
changeData
);
if
(
index
>
this
.
data
.
separateIndex
)
{
if
(
index
>
this
.
data
.
separateIndex
&&
this
.
data
.
separateIndex
!==
-
1
)
{
this
.
data
.
separateIndex
+=
1
;
this
.
data
.
separateIndex
=
fixSeperateIndex
(
this
.
data
.
separateIndex
,
this
.
data
.
affairList
)
}
...
...
This diff is collapsed.
Click to expand it.
pages/uploadFile/uploadFile.js
View file @
a0b03e07
...
...
@@ -92,7 +92,6 @@ create.Page({
this
.
store
.
data
.
fileInfos
=
[]
this
.
store
.
data
.
description
=
''
this
.
update
();
//this.store.data.isNeedReloadList = true;
if
(
res
.
data
.
data
)
{
const
addData
=
res
.
data
.
data
[
0
].
commentListDataModelList
[
0
];
...
...
@@ -100,7 +99,9 @@ create.Page({
this
.
store
.
data
.
affairList
.
unshift
(
addData
);
addData
.
fileDetailList
.
forEach
(
it
=>
this
.
store
.
data
.
files
.
unshift
(
it
));
this
.
store
.
data
.
isNeedReloadIndexList
=
true
;
this
.
store
.
data
.
separateIndex
+=
1
;
if
(
this
.
store
.
data
.
separateIndex
!==
-
1
)
{
this
.
store
.
data
.
separateIndex
+=
1
;
}
this
.
update
();
dd
.
navigateBack
();
}
...
...
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