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
822072cd
Commit
822072cd
authored
Oct 21, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug列表
parent
576200f1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
42 additions
and
19 deletions
+42
-19
createMeeting.axml
pages/createMeeting/createMeeting.axml
+1
-1
index.js
pages/index/index.js
+1
-1
meetingDetail.axml
pages/meetingDetail/meetingDetail.axml
+7
-6
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+6
-5
uploadFile.js
pages/meetingDetail/uploadFile.js
+3
-0
meetingRoomList.js
pages/meetingRoomList/meetingRoomList.js
+9
-4
participantsDetail.js
pages/participantsDetail/participantsDetail.js
+14
-1
utils.js
utils/utils.js
+1
-1
No files found.
pages/createMeeting/createMeeting.axml
View file @
822072cd
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<view class="iconright iconfont icon" style=" vertical-align: middle" catchTap="goParticipantsDetail"></view>
<view class="iconright iconfont icon" style=" vertical-align: middle" catchTap="goParticipantsDetail"></view>
</view>
</view>
<view class="participatorListBottom" catchTap="goParticipantsDetail">
<view class="participatorListBottom" catchTap="goParticipantsDetail">
<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
<text
...
...
pages/index/index.js
View file @
822072cd
...
@@ -866,7 +866,7 @@ create.Page({
...
@@ -866,7 +866,7 @@ create.Page({
maxClickCount
--
;
maxClickCount
--
;
if
(
maxClickCount
==
0
)
{
if
(
maxClickCount
==
0
)
{
dd
.
alert
({
dd
.
alert
({
content
:
"0.0.2
5
"
content
:
"0.0.2
6
"
});
});
maxClickCount
=
5
;
maxClickCount
=
5
;
}
}
...
...
pages/meetingDetail/meetingDetail.axml
View file @
822072cd
...
@@ -239,17 +239,17 @@
...
@@ -239,17 +239,17 @@
<view class="affair-placeholder" a:if="{{!affairList || affairList.length == 0 || (affairList.length == 1 && affairList[0].commentType === 'meeting')}}">
<view class="affair-placeholder" a:if="{{!affairList || affairList.length == 0 || (affairList.length == 1 && affairList[0].commentType === 'meeting')}}">
<template is="affair-placeholder" data="{{title: '添加文件', tip: '我们不开无准备的会,快来上传会议文件吧。'}}"/>
<template is="affair-placeholder" data="{{title: '添加文件', tip: '我们不开无准备的会,快来上传会议文件吧。'}}"/>
</view>
</view>
<!--<view class="loading-more" onTap="loadAffairMore" a:if="{{current < pages}}">点击加载更多动态...</view> -->
</view>
<popup title="{{popup.title}}" show="{{popup.show}}" mask="true" onClose="closePopup">
</view>
</block>
<!--<view class="loading-more" onTap="loadAffairMore" a:if="{{current < pages}}">点击加载更多动态...</view> -->
<popup title="{{popup.title}}" show="{{popup.show}}" mask="true" onClose="closePopup">
<remark a:if="{{popup.type == 'remarkModal'}}" onGetRemark="getRemark"/>
<remark a:if="{{popup.type == 'remarkModal'}}" onGetRemark="getRemark"/>
<comment a:if="{{popup.type == 'commentModal'}}" isEdit="{{true}}" onGetComment="getComment"/>
<comment a:if="{{popup.type == 'commentModal'}}" isEdit="{{true}}" onGetComment="getComment"/>
<list a:if="{{popup.type=='repeat'}}" dataComList="{{repeat.repeatList}}" comSelectListId="{{repeat.selectRepeatId}}" onComSelectList="selectRepeatListItem"></list>
<list a:if="{{popup.type=='repeat'}}" dataComList="{{repeat.repeatList}}" comSelectListId="{{repeat.selectRepeatId}}" onComSelectList="selectRepeatListItem"></list>
<notes a:if="{{popup.type == 'notesModal'}}" isEdit="{{true}}" onGetNotes="getNotes"/>
<notes a:if="{{popup.type == 'notesModal'}}" isEdit="{{true}}" onGetNotes="getNotes"/>
<meeting-time-picker a:if="{{'time' === popup.type}}" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}" onComplete="onComplete" isIPX="{{isIPX}}"></meeting-time-picker>
<meeting-time-picker a:if="{{'time' === popup.type}}" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}" onComplete="onComplete" isIPX="{{isIPX}}"></meeting-time-picker>
<list a:if="{{popup.type=='aheadTime'}}" onClose="closePopup" multiple="{{true}}" onCompelete="handleAheadTimeSave" complete="{{true}}" dataComList="{{aheadTime.aheadTimeList}}" onComSelectList="selectComList" comSelectList="{{aheadTime.aheadTimesListId}}" iconType="{{aheadTime.iconType}}"></list>
<list a:if="{{popup.type=='aheadTime'}}" onClose="closePopup" multiple="{{true}}" onCompelete="handleAheadTimeSave" complete="{{true}}" dataComList="{{aheadTime.aheadTimeList}}" onComSelectList="selectComList" comSelectList="{{aheadTime.aheadTimesListId}}" iconType="{{aheadTime.iconType}}"></list>
</popup>
</popup>
</view>
</view>
</block>
<template is="loading" a:if="{{loading.details && loading.dynamic}}">
<template is="loading" a:if="{{loading.details && loading.dynamic}}">
</template>
</template>
\ No newline at end of file
pages/meetingDetail/meetingDetail.js
View file @
822072cd
...
@@ -64,7 +64,8 @@ create.Page({
...
@@ -64,7 +64,8 @@ create.Page({
},
},
needNotice
:
0
,
needNotice
:
0
,
placeholder
:
''
,
placeholder
:
''
,
id
:
''
id
:
''
,
saveLoading
:
false
},
},
onShow
()
{
onShow
()
{
console
.
log
(
'onshow'
)
console
.
log
(
'onshow'
)
...
@@ -1090,7 +1091,7 @@ create.Page({
...
@@ -1090,7 +1091,7 @@ create.Page({
})
})
},
},
getNotes
(
notes
)
{
getNotes
:
throttle
(
function
(
notes
)
{
//编辑
//编辑
if
(
this
.
store
.
data
.
notes
)
{
if
(
this
.
store
.
data
.
notes
)
{
//是否发送通知
//是否发送通知
...
@@ -1150,7 +1151,7 @@ create.Page({
...
@@ -1150,7 +1151,7 @@ create.Page({
this
.
update
();
this
.
update
();
}
}
})
})
},
}
)
,
//更新笔记
//更新笔记
updateNotes
(
notes
,
notice
,
callBack
)
{
updateNotes
(
notes
,
notice
,
callBack
)
{
updateMoment
({
updateMoment
({
...
@@ -1365,8 +1366,8 @@ create.Page({
...
@@ -1365,8 +1366,8 @@ create.Page({
this
.
update
()
this
.
update
()
},
},
blank
()
{
blank
()
{
debugger
},
}
});
});
...
...
pages/meetingDetail/uploadFile.js
View file @
822072cd
...
@@ -29,10 +29,13 @@ export async function getFileInfo() {
...
@@ -29,10 +29,13 @@ export async function getFileInfo() {
file
:
{
spaceId
:
permission
.
data
.
data
,
max
:
9
},
file
:
{
spaceId
:
permission
.
data
.
data
,
max
:
9
},
types
:
[
"photo"
,
"camera"
,
"space"
,
"file"
],
types
:
[
"photo"
,
"camera"
,
"space"
,
"file"
],
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
console
.
log
(
permission
.
data
.
data
)
console
.
log
(
res
)
console
.
log
(
res
)
resolve
(
res
)
resolve
(
res
)
},
},
fail
:
(
err
)
=>
{
fail
:
(
err
)
=>
{
console
.
log
(
11
)
console
.
log
(
err
)
}
}
})
})
})
})
...
...
pages/meetingRoomList/meetingRoomList.js
View file @
822072cd
...
@@ -1249,15 +1249,20 @@ create.Page({
...
@@ -1249,15 +1249,20 @@ create.Page({
this
.
$store
.
data
.
locationName
=
this
.
data
.
meetingTime
.
meetingRoomName
;
this
.
$store
.
data
.
locationName
=
this
.
data
.
meetingTime
.
meetingRoomName
;
this
.
$store
.
data
.
roomId
=
this
.
data
.
meetingTime
.
meetingRoomId
;
this
.
$store
.
data
.
roomId
=
this
.
data
.
meetingTime
.
meetingRoomId
;
}
}
if
(
this
.
$store
.
data
.
originalData
&&
this
.
$store
.
data
.
locationName
)
{
if
(
this
.
$store
.
data
.
originalData
&&
this
.
$store
.
data
.
locationName
)
{
if
(
if
(
!
this
.
$store
.
data
.
originalData
.
location
)
{
this
.
$store
.
data
.
locationName
!=
this
.
$store
.
data
.
updateInfo
=
{
this
.
$store
.
data
.
originalData
.
location
.
locationName
||
updateType
:
"modify_location"
,
isUpate
:
true
};
this
.
update
();
}
else
if
(
this
.
$store
.
data
.
locationName
!=
this
.
$store
.
data
.
originalData
.
location
.
locationName
||
this
.
$store
.
data
.
roomId
!=
this
.
$store
.
data
.
originalData
.
meetingRoomId
||
this
.
$store
.
data
.
roomId
!=
this
.
$store
.
data
.
originalData
.
meetingRoomId
||
this
.
$store
.
data
.
startTime
!=
this
.
$store
.
data
.
originalData
.
startTime
.
replace
(
/-/g
,
"/"
)
||
this
.
$store
.
data
.
startTime
!=
this
.
$store
.
data
.
originalData
.
startTime
.
replace
(
/-/g
,
"/"
)
||
this
.
$store
.
data
.
endTime
!=
this
.
$store
.
data
.
originalData
.
endTime
.
replace
(
/-/g
,
"/"
)
this
.
$store
.
data
.
endTime
!=
this
.
$store
.
data
.
originalData
.
endTime
.
replace
(
/-/g
,
"/"
)
)
{
)
{
this
.
$store
.
data
.
updateInfo
=
{
this
.
$store
.
data
.
updateInfo
=
{
updateType
:
"modify_location"
,
updateType
:
"modify_location"
,
isUpate
:
true
isUpate
:
true
...
...
pages/participantsDetail/participantsDetail.js
View file @
822072cd
...
@@ -19,7 +19,8 @@ create.Page({
...
@@ -19,7 +19,8 @@ create.Page({
contactPeople
:
{},
contactPeople
:
{},
showContactPeople
:
[],
showContactPeople
:
[],
originUsersId
:
[],
originUsersId
:
[],
confirmAttendance
:
null
confirmAttendance
:
null
,
isUpdate
:
false
},
},
onLoad
(
event
)
{
onLoad
(
event
)
{
this
.
setData
({
this
.
setData
({
...
@@ -58,6 +59,9 @@ create.Page({
...
@@ -58,6 +59,9 @@ create.Page({
select
=
selectedelRequired
(
Object
.
keys
(
this
.
data
.
contactPeople
),
require
)
select
=
selectedelRequired
(
Object
.
keys
(
this
.
data
.
contactPeople
),
require
)
}
}
selectPeople
(
select
,
require
).
then
(
res
=>
{
selectPeople
(
select
,
require
).
then
(
res
=>
{
this
.
setData
({
isUpdate
:
true
})
const
participatorList
=
{}
const
participatorList
=
{}
// 创建的 可选 必选
// 创建的 可选 必选
if
(
!
this
.
data
.
scheduleItem
)
{
if
(
!
this
.
data
.
scheduleItem
)
{
...
@@ -98,6 +102,10 @@ create.Page({
...
@@ -98,6 +102,10 @@ create.Page({
},
},
// 删除参会人
// 删除参会人
delParticipants
(
event
)
{
delParticipants
(
event
)
{
this
.
setData
({
isUpdate
:
true
})
let
userId
=
event
.
target
.
dataset
.
userId
let
userId
=
event
.
target
.
dataset
.
userId
let
participatorList
=
{}
let
participatorList
=
{}
let
showParticipatorList
=
[]
let
showParticipatorList
=
[]
...
@@ -136,13 +144,18 @@ create.Page({
...
@@ -136,13 +144,18 @@ create.Page({
// 保存信息
// 保存信息
saveInfo
()
{
saveInfo
()
{
this
.
$store
.
data
.
participatorList
=
this
.
data
.
contactPeople
this
.
$store
.
data
.
participatorList
=
this
.
data
.
contactPeople
this
.
$store
.
data
.
showParticipatorList
=
this
.
data
.
showContactPeople
this
.
$store
.
data
.
showParticipatorList
=
this
.
data
.
showContactPeople
this
.
update
()
this
.
update
()
if
(
this
.
data
.
isUpdate
)
{
this
.
$store
.
data
.
updateInfo
=
{
this
.
$store
.
data
.
updateInfo
=
{
updateType
:
'operate_user'
,
updateType
:
'operate_user'
,
isUpate
:
true
isUpate
:
true
}
}
}
this
.
update
()
this
.
update
()
dd
.
navigateBack
({
dd
.
navigateBack
({
delta
:
1
delta
:
1
...
...
utils/utils.js
View file @
822072cd
...
@@ -298,7 +298,7 @@ export function selectedelRequired(select, require) {
...
@@ -298,7 +298,7 @@ export function selectedelRequired(select, require) {
}
}
// 文件格式化
// 文件格式化
export
function
renderSize
(
value
)
{
export
function
renderSize
(
value
)
{
if
(
null
==
value
||
value
==
''
)
{
if
(
null
==
value
||
value
==
''
||
value
==
0
)
{
return
"0 B"
;
return
"0 B"
;
}
}
var
unitArr
=
new
Array
(
"B"
,
"K"
,
"M"
,
"G"
,
"T"
,
"P"
,
"E"
,
"Z"
,
"Y"
);
var
unitArr
=
new
Array
(
"B"
,
"K"
,
"M"
,
"G"
,
"T"
,
"P"
,
"E"
,
"Z"
,
"Y"
);
...
...
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