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
4424e79b
Commit
4424e79b
authored
Sep 28, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还没有改完
parent
4fc73dc5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
94 additions
and
68 deletions
+94
-68
fileList.axml
components/fileList/fileList.axml
+1
-1
fileList.js
components/fileList/fileList.js
+17
-8
createMeeting.js
pages/createMeeting/createMeeting.js
+5
-1
meetingDetail.axml
pages/meetingDetail/meetingDetail.axml
+22
-29
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+0
-0
utils.js
pages/meetingDetail/utils.js
+22
-2
participantsDetail.js
pages/participantsDetail/participantsDetail.js
+15
-17
place.js
pages/place/place.js
+1
-0
uploadFile.axml
pages/uploadFile/uploadFile.axml
+1
-1
uploadFile.js
pages/uploadFile/uploadFile.js
+7
-3
exampleStore.js
stores/exampleStore.js
+3
-5
utils.js
utils/utils.js
+0
-1
No files found.
components/fileList/fileList.axml
View file @
4424e79b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view class="desc" a:if='{{fileView.remark}}'>
<view class="desc" a:if='{{fileView.remark}}'>
{{fileView.remark}}
{{fileView.remark}}
</view>
</view>
<view class="file-list" a:for="{{
fileView.fileDetailList
}}">
<view class="file-list" a:for="{{
fileInfos
}}">
<view class="file-box {{isCanDelete ? 'file-box-close': ''}}" catchTap="preview" data-file="{{item}}">
<view class="file-box {{isCanDelete ? 'file-box-close': ''}}" catchTap="preview" data-file="{{item}}">
<view class="file-icon {{item.mimeType}}"></view>
<view class="file-icon {{item.mimeType}}"></view>
<view class="file-title">
<view class="file-title">
...
...
components/fileList/fileList.js
View file @
4424e79b
import
create
from
'dd-store'
;
import
create
from
'dd-store'
;
import
pageStore
from
'../../pages/meetingDetail/store'
;
import
pageStore
from
'../../pages/meetingDetail/store'
;
import
{
previewPermissions
,
previewOss
}
from
'../../api/request.js'
import
{
previewPermissions
,
previewOss
,
uploadPermissions
}
from
'../../api/request.js'
import
openLink
from
"dingtalk-jsapi/api/biz/util/openLink"
;
import
openLink
from
"dingtalk-jsapi/api/biz/util/openLink"
;
create
.
Component
({
create
.
Component
({
...
@@ -38,13 +38,22 @@ create.Component({
...
@@ -38,13 +38,22 @@ create.Component({
return
return
}
}
const
file
=
e
.
target
.
dataset
.
file
const
file
=
e
.
target
.
dataset
.
file
dd
.
previewFileInDingTalk
({
console
.
log
(
file
)
corpId
:
dd
.
corpId
,
let
data
=
{
spaceId
:
file
.
spaceId
,
ddUserId
:
getApp
().
globalData
.
userid
,
fileId
:
file
.
fileId
,
type
:
'download'
,
fileName
:
file
.
name
,
projectName
:
'MING_MEETING'
,
fileSize
:
file
.
size
,
fileIds
:
file
.
fileId
fileType
:
file
.
mimeType
,
}
uploadPermissions
(
data
).
then
(
res
=>
{
dd
.
previewFileInDingTalk
({
corpId
:
dd
.
corpId
,
spaceId
:
res
.
data
.
data
,
fileId
:
file
.
fileId
,
fileName
:
file
.
name
,
fileSize
:
file
.
size
,
fileType
:
file
.
mimeType
,
})
})
})
},
},
//显示操作框
//显示操作框
...
...
pages/createMeeting/createMeeting.js
View file @
4424e79b
...
@@ -142,6 +142,10 @@ create.Page({
...
@@ -142,6 +142,10 @@ create.Page({
})
})
this
.
closePopup
()
this
.
closePopup
()
},
},
// 保存重复
handleSaveRepeat
()
{
},
// 关闭popup
// 关闭popup
...
@@ -198,7 +202,7 @@ create.Page({
...
@@ -198,7 +202,7 @@ create.Page({
endTime
:
this
.
$store
.
data
.
endTime
.
replace
(
/
\/
/g
,
"-"
),
endTime
:
this
.
$store
.
data
.
endTime
.
replace
(
/
\/
/g
,
"-"
),
meetingRoomId
:
this
.
$store
.
data
.
roomId
,
meetingRoomId
:
this
.
$store
.
data
.
roomId
,
scheduleType
:
this
.
$store
.
data
.
roomId
?
'meeting'
:
'common'
,
scheduleType
:
this
.
$store
.
data
.
roomId
?
'meeting'
:
'common'
,
participatorList
:
!!
this
.
$store
.
data
.
participatorList
.
length
?
this
.
$store
.
data
.
p
articipatorList
:
[{
userId
:
getApp
().
globalData
.
userid
,
username
:
getApp
().
globalData
.
name
,
headUrl
:
getApp
().
globalData
.
avatar
,
platform
:
'dingtalk'
}],
participatorList
:
!!
this
.
$store
.
data
.
showParticipatorList
.
length
?
this
.
$store
.
data
.
showP
articipatorList
:
[{
userId
:
getApp
().
globalData
.
userid
,
username
:
getApp
().
globalData
.
name
,
headUrl
:
getApp
().
globalData
.
avatar
,
platform
:
'dingtalk'
}],
repeatable
:
this
.
data
.
repeat
.
repeatable
,
repeatable
:
this
.
data
.
repeat
.
repeatable
,
remark
:
this
.
data
.
remark
,
remark
:
this
.
data
.
remark
,
recurrenceModel
:
this
.
data
.
repeat
.
recurrenceModel
,
recurrenceModel
:
this
.
data
.
repeat
.
recurrenceModel
,
...
...
pages/meetingDetail/meetingDetail.axml
View file @
4424e79b
...
@@ -17,12 +17,12 @@
...
@@ -17,12 +17,12 @@
<view class="permissionContant">
<view class="permissionContant">
<view class="createTitle">
<view class="createTitle">
<view class="title">
<view class="title">
<input placeholder-class="placeholder" placeholder="{{placeholder}}" class="text" onInput="
onInput" data-type="title" data-selectType="common" value="{{title}}" onConfirm="onConfirm" focus="{{false}}" onBlur="onBlur
"/>
<input placeholder-class="placeholder" placeholder="{{placeholder}}" class="text" onInput="
handleChangeTitle" value="{{title}}" onConfirm="handleTitleSave" focus="{{false}}" onBlur="handleTitleSave
"/>
<view class="icon iconfont iconicon_description1" a:if="{{!isShowRemark}}" onTap="
add
Remark">
<view class="icon iconfont iconicon_description1" a:if="{{!isShowRemark}}" onTap="
handleOpen
Remark">
</view>
</view>
</view>
</view>
<view class="remark" a:if="{{isShowRemark}}">
<view class="remark" a:if="{{isShowRemark}}">
<input placeholder-class="placeholder" placeholder="请添加描述"
class="text" onInput="onInput" data-type="remark" value="{{remark}}" onConfirm="onConfirm" onBlur="onBlur
" focus="{{false}}"/>
<input placeholder-class="placeholder" placeholder="请添加描述"
onInput="handleChangeRemark" value="{{meetingRemark}}" onConfirm="handleRemarkSave" onBlur="handleRemarkSave
" focus="{{false}}"/>
</view>
</view>
</view>
</view>
<view class="permission" a:if="{{currentPeople != organizer}}">
<view class="permission" a:if="{{currentPeople != organizer}}">
...
@@ -38,13 +38,13 @@
...
@@ -38,13 +38,13 @@
<view class="iconicon_location1 iconfont icon {{$data.locationName ? '' : 'noValueIcon'}}" a:else>
<view class="iconicon_location1 iconfont icon {{$data.locationName ? '' : 'noValueIcon'}}" a:else>
</view>
</view>
<view class="placeContaint">
<view class="placeContaint">
<view class="noPlace" a:if="{{!$data.locationName}}" onTap="
nextPage" data-nextPage="location
">
<view class="noPlace" a:if="{{!$data.locationName}}" onTap="
goSelectPlace
">
添加地点
添加地点
</view>
</view>
<view class="hasplace {{mrReserveStatus === 'Y' ? 'lineThrough' : ''}}
" onTap="nextPage" data-nextPage="location"
a:else>
<view class="hasplace {{mrReserveStatus === 'Y' ? 'lineThrough' : ''}}
" onTap="goSelectPlace"
a:else>
{{$data.locationName}}
{{$data.locationName}}
</view>
</view>
<view class=" icon iconfont iconicon_close close" a:if="{{!!$data.locationName&&(currentPeople == organizer)}}"
data-close="location" catchTap="clos
e">
<view class=" icon iconfont iconicon_close close" a:if="{{!!$data.locationName&&(currentPeople == organizer)}}"
catchTap="handleDeletePlac
e">
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -56,15 +56,14 @@
...
@@ -56,15 +56,14 @@
</view>
</view>
<view class="timeContaint">
<view class="timeContaint">
<view>
<view>
<view class="timeText" catchTap="
showPopup
" data-type='time'>
<view class="timeText" catchTap="
handleTime
" data-type='time'>
{{showTime}}
{{showTime}}
<!-- 3月1日 周日 14:00-16:00 -->
</view>
</view>
<view class="repeatModal" a:if="{{
comListData.comSelectListId !== 0}}" catchTap="showPopup" data-type='repeat'
>
<view class="repeatModal" a:if="{{
repeat.repeatable !== 0}}" catchTap="handleRepeatModal"
>
{{
comListData.repeatList[comListData.comSelectLis
tId].text}}重复
{{
repeat.repeatList[repeat.selectRepea
tId].text}}重复
</view>
</view>
</view>
</view>
<view class="icon iconfont iconicon_repeat1" catchTap="
showPopup" data-type='repeat' a:if="{{comListData.comSelectListId
== 0}}">
<view class="icon iconfont iconicon_repeat1" catchTap="
handleRepeatModal" a:if="{{repeat.repeatable
== 0}}">
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -73,26 +72,21 @@
...
@@ -73,26 +72,21 @@
</view>
</view>
<!-- participatorList participatorUserId 参会人 -->
<!-- participatorList participatorUserId 参会人 -->
<view class="participator">
<view class="participator">
<view class="iconicon_attender iconfont icon {{$data.
p
articipatorList.length>1 ? '' : 'noValueIcon'}}">
<view class="iconicon_attender iconfont icon {{$data.
showP
articipatorList.length>1 ? '' : 'noValueIcon'}}">
</view>
</view>
<view class="participatorContaint">
<view class="participatorContaint">
<view class="participatorText" a:if="{{$data.
participatorList.length < 2}}" catchTap="showPopup" data-type='participator'
>
<view class="participatorText" a:if="{{$data.
showParticipatorList.length < 2}}" catchTap="handleAddParticipator"
>
添加参会人
添加参会人
</view>
</view>
<view class="participatorList" a:else>
<view class="participatorList" a:else>
<view class="participatorListTop">
<view class="participatorListTop">
<view class="participatorText">
<view class="participatorText">
<view>
{{$data.showParticipatorList.length}}位参会人
{{$data.participatorList.length}}位参会人
</view>
<view class="conflictStatus" a:if="{{conflictPeople.length}}">
{{conflictPeople.length}}人日程安排冲突
</view>
</view>
</view>
<view class="iconright iconfont icon" style=" vertical-align: middle" catchTap="
nextPage" data-nextPage="p
articipantsDetail"></view>
<view class="iconright iconfont icon" style=" vertical-align: middle" catchTap="
goP
articipantsDetail"></view>
</view>
</view>
<view class="participatorListBottom" catchTap="
nextPage" data-nextPage="p
articipantsDetail">
<view class="participatorListBottom" catchTap="
goP
articipantsDetail">
<view class="people" a:for="{{$data.
participatorList.length > 10 ? [...$data.participatorList].splice(0, 11) : $data.p
articipatorList}}">
<view class="people" a:for="{{$data.
showParticipatorList.length > 10 ? [...$data.showParticipatorList].splice(0, 11) : $data.showP
articipatorList}}">
<view class="headUrl">
<view class="headUrl">
<image a:if="{{item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}" />
<image a:if="{{item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}" />
<text a:else>{{item.platform==="outlook" ? item.username.substring(0, 2) : item.username.substring(item.username.length-2, item.username.length)}}
<text a:else>{{item.platform==="outlook" ? item.username.substring(0, 2) : item.username.substring(item.username.length-2, item.username.length)}}
...
@@ -102,13 +96,12 @@
...
@@ -102,13 +96,12 @@
</view>
</view>
<!--<view class="name">{{item.name}}</view> -->
<!--<view class="name">{{item.name}}</view> -->
</view>
</view>
<view class="addPeople iconfont iconicon_add1" catchTap="
showPopup
" data-type='participator'></view>
<view class="addPeople iconfont iconicon_add1" catchTap="
handleAddParticipator
" data-type='participator'></view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view onTap="goTasksPage">{{tasks.length}} 个任务</view>
<!--<view onTap="goTasksPage">{{tasks.length}} 个任务</view><view onTap="goFilesPage">{{files.length}} 个附件</view> -->
<view onTap="goFilesPage">{{files.length}} 个附件</view>
<!-- 删除该会议 -->
<!-- 删除该会议 -->
<template is="deleteBtn" onhandleDelete="" data="{{title: '删除该会议' }}"/>
<template is="deleteBtn" onhandleDelete="" data="{{title: '删除该会议' }}"/>
</view>
</view>
...
@@ -190,7 +183,7 @@
...
@@ -190,7 +183,7 @@
<text>{{item.updateTime}}</text>
<text>{{item.updateTime}}</text>
</view>
</view>
<task-list a:if="{{item.meetingTaskSimpleViewModel}}" onChangeTaskStatusOnList="changeTaskStatus" taskView="{{item.meetingTaskSimpleViewModel}}" commentId="{{item.commentId}}" isCanEdit="{{false}}"/>
<task-list a:if="{{item.meetingTaskSimpleViewModel}}" onChangeTaskStatusOnList="changeTaskStatus" taskView="{{item.meetingTaskSimpleViewModel}}" commentId="{{item.commentId}}" isCanEdit="{{false}}"/>
<file-list a:if="{{item.fileDetailList}}" file
View="{{item
}}"/>
<file-list a:if="{{item.fileDetailList}}" file
Infos="{{item.fileDetailList
}}"/>
<notes a:if="{{item.notes}}" meetingNotes="{{item.notes}}"/>
<notes a:if="{{item.notes}}" meetingNotes="{{item.notes}}"/>
<view class="meeting-title" a:if="{{item.commentType === 'meeting'}}">创建了会议</view>
<view class="meeting-title" a:if="{{item.commentType === 'meeting'}}">创建了会议</view>
</view>
</view>
...
@@ -210,11 +203,11 @@
...
@@ -210,11 +203,11 @@
<view class="loading-more" onTap="loadAffairMore" a:if="{{current < pages}}">点击加载更多动态...</view>
<view class="loading-more" onTap="loadAffairMore" a:if="{{current < pages}}">点击加载更多动态...</view>
</block>
</block>
<view a:else></view>
<view a:else></view>
<popup title="{{popup.title}}" show="{{popup.show}}" mask="true" onClose="closePopup1">
<list a:if="{{popup.type=='repeat'}}" dataComList="{{repeat.repeatList}}" onComSelectList="selectRepeatListItem"></list>
<meeting-time-picker a:if="{{'time' === popup.type}}" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}" onComplete="onComplete" isIPX="{{isIPX}}"></meeting-time-picker></popup>
<popup a:show="{{popupShow}}" title="{{popupTitle}}" show="{{popupShow}}" mask="true" onClose="closePopup">
<popup a:show="{{popupShow}}" title="{{popupTitle}}" show="{{popupShow}}" mask="true" onClose="closePopup">
<meeting-time-picker a:if="{{'time' === comType}}" onComplete="onComplete" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}" isIPX="{{isIPX}}"></meeting-time-picker>
<hlist a:if="{{'participator' === comType}}" dataComList="{{comHListData.contactData}}" onSelectComHList="selectComHList"></hlist>
<list multiple="{{comListData.multiple}}" onCompelete="selectAheadtimes" comSelectList="{{comListData.aheadTimesListId}}" complete="{{comType=='aheadTime' ? true : false}}" a:if="{{comType=='repeat' || comType=='aheadTime'}}" dataComList="{{comType=='repeat' ? comListData.repeatList : comListData.aheadTimesList}}" onComSelectList="selectComList" comSelectListId="{{comType=='repeat' ? comListData.comSelectListId : comListData.aheadTimesListId}}" iconType="{{comListData.iconType}}"></list>
<list multiple="{{comListData.multiple}}" onCompelete="selectAheadtimes" comSelectList="{{comListData.aheadTimesListId}}" complete="{{comType=='aheadTime' ? true : false}}" a:if="{{comType=='repeat' || comType=='aheadTime'}}" dataComList="{{comType=='repeat' ? comListData.repeatList : comListData.aheadTimesList}}" onComSelectList="selectComList" comSelectListId="{{comType=='repeat' ? comListData.comSelectListId : comListData.aheadTimesListId}}" iconType="{{comListData.iconType}}"></list>
<list a:if="{{comType == 'meetingWayModel'}}" dataComList="{{relatedAppPlatform.includes('zoom') ? comListData.meetingWayList: [comListData.meetingWayList[0]] }}" onComSelectList="selectComList" comSelectListId="{{comListData.meetingWayModelId}}" iconType="{{comListData.iconType}}"></list>
<notes a:if="{{comType == 'notesModal'}}" isEdit="{{true}}" onGetNotes="getNotes"/>
<notes a:if="{{comType == 'notesModal'}}" isEdit="{{true}}" onGetNotes="getNotes"/>
<comment a:if="{{comType == 'commentModal'}}" isEdit="{{true}}" onGetComment="getComment"/>
<comment a:if="{{comType == 'commentModal'}}" isEdit="{{true}}" onGetComment="getComment"/>
<remark a:if="{{comType == 'remarkModal'}}" onGetRemark="getRemark"/>
<remark a:if="{{comType == 'remarkModal'}}" onGetRemark="getRemark"/>
...
...
pages/meetingDetail/meetingDetail.js
View file @
4424e79b
This diff is collapsed.
Click to expand it.
pages/meetingDetail/utils.js
View file @
4424e79b
export
function
getSelectRepeatId
(
recurrenceModel
,
repeatList
)
{
export
function
getSelectRepeatId
(
recurrenceModel
,
repeatList
)
{
for
(
let
i
=
0
;
i
<
repeatList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
repeatList
.
length
;
i
++
)
{
if
(
repeatList
[
i
].
recurrenceModel
.
model
===
recurrenceModel
.
model
)
{
if
(
repeatList
[
i
].
recurrenceModel
.
model
===
recurrenceModel
.
model
)
{
if
(
recurrenceModel
.
model
===
"weekly"
&&
recurrenceModel
.
weekDayList
.
length
===
repeatList
[
i
].
recurrenceModel
.
weekDayList
.
length
)
{
return
repeatList
[
i
].
id
}
return
repeatList
[
i
].
id
}
}
}
}
return
0
return
0
}
export
function
getInitialPsarticipants
(
participants
)
{
let
people
=
{}
for
(
let
i
=
0
;
i
<
participants
.
length
;
i
++
)
{
people
[
participants
[
i
].
participator
.
userId
]
=
participants
[
i
].
participator
}
return
people
}
export
function
handleChangePeople
(
originUsers
,
nowUsers
)
{
const
add
=
nowUsers
.
filter
(
it
=>
!
originUsers
.
includes
(
it
))
const
del
=
originUsers
.
filter
(
it
=>
!
nowUsers
.
includes
(
it
))
return
{
add
:
add
,
del
:
del
}
}
}
\ No newline at end of file
pages/participantsDetail/participantsDetail.js
View file @
4424e79b
...
@@ -16,24 +16,22 @@ create.Page({
...
@@ -16,24 +16,22 @@ create.Page({
isIPX
:
false
isIPX
:
false
},
},
onLoad
(
event
)
{
onLoad
(
event
)
{
// this.reset()
// // this.reset()
if
(
event
.
scheduleItem
)
{
// if (event.scheduleItem) {
event
.
scheduleItem
=
decodeURIComponent
(
event
.
scheduleItem
)
// this.setData({
let
scheduleItem
=
JSON
.
parse
(
event
.
scheduleItem
)
// scheduleItem: event.scheduleItem
this
.
setData
({
// })
scheduleItem
:
scheduleItem
})
let
contactPeople
=
[]
//
let contactPeople = []
let
contactPeopleId
=
[]
//
let contactPeopleId = []
for
(
let
value
of
this
.
$store
.
data
.
participatorList
)
{
//
for (let value of this.$store.data.participatorList) {
contactPeople
.
push
(
value
)
//
contactPeople.push(value)
contactPeopleId
.
push
(
value
.
userId
)
//
contactPeopleId.push(value.userId)
}
//
}
this
.
store
.
data
.
contactPeople
=
contactPeople
//
this.store.data.contactPeople = contactPeople
this
.
store
.
data
.
contactPeopleId
=
contactPeopleId
//
this.store.data.contactPeopleId = contactPeopleId
this
.
update
()
//
this.update()
}
//
}
this
.
setData
({
this
.
setData
({
isIPX
:
checkFullScren
(),
isIPX
:
checkFullScren
(),
currentPeople
:
getApp
().
globalData
.
userid
currentPeople
:
getApp
().
globalData
.
userid
...
...
pages/place/place.js
View file @
4424e79b
...
@@ -33,6 +33,7 @@ create.Page({
...
@@ -33,6 +33,7 @@ create.Page({
},
},
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
debugger
if
(
e
.
scheduleItem
)
{
if
(
e
.
scheduleItem
)
{
e
.
scheduleItem
=
decodeURIComponent
(
e
.
scheduleItem
)
e
.
scheduleItem
=
decodeURIComponent
(
e
.
scheduleItem
)
this
.
setData
({
this
.
setData
({
...
...
pages/uploadFile/uploadFile.axml
View file @
4424e79b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view class="describe">
<view class="describe">
<textarea value="{{description}}" class="textarea" onInput="inputChange" placeholder="添加文件描述..." maxlength="-1" />
<textarea value="{{description}}" class="textarea" onInput="inputChange" placeholder="添加文件描述..." maxlength="-1" />
</view>
</view>
<file-list file
View="{{{fileInfos: fileInfos}
}}" isCanEdit="{{false}}" isPreview="{{false}}" isCanDelete="{{true}}"/>
<file-list file
Infos="{{fileInfos
}}" isCanEdit="{{false}}" isPreview="{{false}}" isCanDelete="{{true}}"/>
<view class="addText" onTap="add">继续添加</view>
<view class="addText" onTap="add">继续添加</view>
</view>
</view>
<view class="saveButton" onTap="saveUpload">
<view class="saveButton" onTap="saveUpload">
...
...
pages/uploadFile/uploadFile.js
View file @
4424e79b
...
@@ -44,15 +44,18 @@ create.Page({
...
@@ -44,15 +44,18 @@ create.Page({
}
}
let
data
=
[]
let
data
=
[]
res
.
data
.
map
(
it
=>
{
res
.
data
.
map
(
it
=>
{
data
.
push
({
this
.
store
.
data
.
fileInfos
.
push
({
fileId
:
it
.
fileId
,
fileId
:
it
.
fileId
,
name
:
it
.
fileName
,
name
:
it
.
fileName
,
size
:
it
.
fileSize
,
size
:
it
.
fileSize
,
spaceId
:
it
.
spaceId
,
spaceId
:
it
.
spaceId
,
platform
:
"dingTalk"
,
mimeType
:
it
.
fileType
mimeType
:
it
.
fileType
})
})
})
})
this
.
store
.
data
.
fileInfos
.
push
(
data
)
console
.
log
(
this
.
store
.
data
.
fileInfos
)
this
.
update
();
this
.
update
();
},
},
...
@@ -83,8 +86,9 @@ create.Page({
...
@@ -83,8 +86,9 @@ create.Page({
fileList
:
fileInfos
fileList
:
fileInfos
}
}
}
}
console
.
log
(
data
)
updateMeetingTask
(
data
).
then
(
res
=>
{
updateMeetingTask
(
data
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
store
.
data
.
isNeedReloadList
=
true
;
this
.
store
.
data
.
isNeedReloadList
=
true
;
this
.
store
.
data
.
fileInfos
=
[]
this
.
store
.
data
.
fileInfos
=
[]
this
.
store
.
data
.
description
=
''
this
.
store
.
data
.
description
=
''
...
...
stores/exampleStore.js
View file @
4424e79b
...
@@ -7,8 +7,8 @@ class Store {
...
@@ -7,8 +7,8 @@ class Store {
roomId
:
''
,
roomId
:
''
,
startTime
:
''
,
startTime
:
''
,
endTime
:
''
,
endTime
:
''
,
currentPeople
:
''
,
originUsers
:
[],
originUsers
:
[],
originUsersId
:
[],
originalData
:
null
,
originalData
:
null
,
indexNeedUpdate
:
false
,
indexNeedUpdate
:
false
,
isIndexAffairListNeedUpdate
:
false
,
isIndexAffairListNeedUpdate
:
false
,
...
@@ -24,16 +24,14 @@ class Store {
...
@@ -24,16 +24,14 @@ class Store {
this
.
data
.
roomId
=
''
this
.
data
.
roomId
=
''
this
.
data
.
participatorList
=
{}
this
.
data
.
participatorList
=
{}
this
.
data
.
showParticipatorList
=
[]
this
.
data
.
showParticipatorList
=
[]
// this.data.originUsers = []
this
.
data
.
originUsers
=
[]
// this.data.originUsersId = []
this
.
data
.
locationName
=
''
this
.
data
.
locationName
=
''
this
.
data
.
onceMeetingContent
=
null
this
.
data
.
onceMeetingContent
=
null
this
.
update
();
this
.
update
();
}
}
resetEditData
()
{
resetEditData
()
{
this
.
data
.
roomId
=
''
this
.
data
.
roomId
=
''
// this.data.originUsers = []
this
.
data
.
originUsers
=
[]
// this.data.originUsersId = []
this
.
data
.
participatorList
=
{}
this
.
data
.
participatorList
=
{}
this
.
data
.
showParticipatorList
=
[]
this
.
data
.
showParticipatorList
=
[]
this
.
data
.
locationName
=
''
this
.
data
.
locationName
=
''
...
...
utils/utils.js
View file @
4424e79b
...
@@ -174,7 +174,6 @@ endTime 结束时间
...
@@ -174,7 +174,6 @@ endTime 结束时间
*/
*/
export
function
getShowTime
(
startTime
,
endTime
)
{
export
function
getShowTime
(
startTime
,
endTime
)
{
debugger
const
weekList
=
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
]
const
weekList
=
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
]
const
weekIndex
=
new
Date
(
startTime
).
getDay
()
const
weekIndex
=
new
Date
(
startTime
).
getDay
()
let
isAcrossDay
=
false
let
isAcrossDay
=
false
...
...
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