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
5f231fd0
Commit
5f231fd0
authored
Apr 08, 2020
by
liang ce
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.roboming.com/fengzhaoyu/schedule
into dev
parents
3e2c2adf
8ec9ff17
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
9 deletions
+30
-9
meetingTimePicker.js
components/meetingTimePicker/meetingTimePicker.js
+4
-4
index.axml
components/popup/index.axml
+1
-1
taskPanel.acss
components/taskPanel/taskPanel.acss
+5
-1
taskPanel.axml
components/taskPanel/taskPanel.axml
+7
-0
meetingDetail.axml
pages/meetingDetail/meetingDetail.axml
+3
-3
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+10
-0
No files found.
components/meetingTimePicker/meetingTimePicker.js
View file @
5f231fd0
import
{
getInterTime
}
from
'../../utils/utils'
;
import
{
getInterTime
}
from
'../../utils/utils'
;
const
currentDate
=
new
Date
();
const
currentDate
=
new
Date
();
const
weekList
=
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
];
const
weekList
=
[
'周日'
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
];
const
durationList
=
[{
value
:
60
,
label
:
'1小时'
},
{
value
:
120
,
label
:
'2小时'
},
{
value
:
30
,
label
:
'30分钟
'
}];
const
durationList
=
[{
value
:
30
,
label
:
'30分钟'
},
{
value
:
60
,
label
:
'1小时'
},
{
value
:
120
,
label
:
'2小时
'
}];
const
timeData
=
generateDate
(
365
);
const
timeData
=
generateDate
(
365
);
const
timeHour
=
generateHour
(
24
);
const
timeHour
=
generateHour
(
24
);
const
timeMin
=
generateMin
(
60
);
const
timeMin
=
generateMin
(
60
);
...
@@ -160,7 +160,7 @@ Component({
...
@@ -160,7 +160,7 @@ Component({
showTime
:
''
,
showTime
:
''
,
},
},
duration
:
{
duration
:
{
pickValue
:
[
2
],
pickValue
:
[
0
],
showTime
:
''
,
showTime
:
''
,
label
:
'30分钟'
,
label
:
'30分钟'
,
},
},
...
@@ -176,7 +176,8 @@ Component({
...
@@ -176,7 +176,8 @@ Component({
},
},
didUpdate
()
{
didUpdate
()
{
},
},
didUnmount
()
{
},
didUnmount
()
{
},
methods
:
{
methods
:
{
//设置初始值
//设置初始值
setInitialValue
()
{
setInitialValue
()
{
...
@@ -193,7 +194,6 @@ Component({
...
@@ -193,7 +194,6 @@ Component({
if
(
this
.
props
.
endTime
)
{
if
(
this
.
props
.
endTime
)
{
endDate
=
new
Date
(
this
.
props
.
endTime
);
endDate
=
new
Date
(
this
.
props
.
endTime
);
}
}
console
.
log
(
this
.
props
)
this
.
changeStart
(
startDate
);
this
.
changeStart
(
startDate
);
this
.
changeEnd
(
endDate
);
this
.
changeEnd
(
endDate
);
...
...
components/popup/index.axml
View file @
5f231fd0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view class="dm-popup-mask" a:if="{{mask}}" onTap="onMaskTap" style="z-index: {{zIndex}}"></view>
<view class="dm-popup-mask" a:if="{{mask}}" onTap="onMaskTap" style="z-index: {{zIndex}}"></view>
<view class="dm-popup-content {{className}} dm-popup-{{position}}" style="z-index: {{zIndex}}">
<view class="dm-popup-content {{className}} dm-popup-{{position}}" style="z-index: {{zIndex}}">
<view a:if="{{position == 'bottom'}}" class="close-icon">
<view a:if="{{position == 'bottom'}}" class="close-icon">
<text onTap="onMaskTap" class="iconfont iconicon_slide"></text>
<text onTap="onMaskTap" class="iconfont iconicon_slide"
catchTouchStart="onMaskTap" catchTouchMove="onMaskTap" catchTouchEnd="onMaskTap"
></text>
<!--<text class="popupComplet">完成</text> -->
<!--<text class="popupComplet">完成</text> -->
</view>
</view>
<view class="popup-title" a:if="{{title}}">{{title}}</view>
<view class="popup-title" a:if="{{title}}">{{title}}</view>
...
...
components/taskPanel/taskPanel.acss
View file @
5f231fd0
...
@@ -51,13 +51,17 @@
...
@@ -51,13 +51,17 @@
margin-right: 16rpx;
margin-right: 16rpx;
}
}
.people>.avater {
.people>.avater
, .fake-avater
{
width: 80rpx;
width: 80rpx;
height: 80rpx;
height: 80rpx;
line-height: 80rpx;
line-height: 80rpx;
position: relative;
position: relative;
}
}
.fake-name {
height: 40rpx;
}
.name {
.name {
font-size: 24rpx;
font-size: 24rpx;
line-height: 40rpx;
line-height: 40rpx;
...
...
components/taskPanel/taskPanel.axml
View file @
5f231fd0
...
@@ -18,5 +18,11 @@
...
@@ -18,5 +18,11 @@
<view class="name">{{currentTask.acceptorInfo.username}}</view>
<view class="name">{{currentTask.acceptorInfo.username}}</view>
</view>
</view>
</view>
</view>
<view class="participator-bottom" a:else>
<view class="people">
<view class="fake-avater"></view>
<view class="fake-name"></view>
</view>
</view>
</view>
</view>
<template a:if="{{action == 'update'}}" is="deleteBtn" data="{{title: '删除该任务' }}"/>
<template a:if="{{action == 'update'}}" is="deleteBtn" data="{{title: '删除该任务' }}"/>
\ No newline at end of file
pages/meetingDetail/meetingDetail.axml
View file @
5f231fd0
...
@@ -188,7 +188,7 @@
...
@@ -188,7 +188,7 @@
<text class="iconfont iconicon_data"></text>文件
<text class="iconfont iconicon_data"></text>文件
</view>
</view>
<text class="devider"></text>
<text class="devider"></text>
<view>
<view
onTap="onShareAppMessage"
>
<text class="iconfont iconicon_share1"></text>
<text class="iconfont iconicon_share1"></text>
</view>
</view>
</view>
</view>
...
@@ -228,13 +228,13 @@
...
@@ -228,13 +228,13 @@
</view>
</view>
</block>
</block>
<view a:else>正在加载</view>
<view a:else>正在加载</view>
<popup title="{{popupTitle}}" show="{{popupShow}}" mask="true" onClose="closePopup">
<popup
a:if="{{popupShow}}"
title="{{popupTitle}}" show="{{popupShow}}" mask="true" onClose="closePopup">
<meeting-time-picker a:if="{{'time' === comType}}" onComplete="onComplete" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}"></meeting-time-picker>
<meeting-time-picker a:if="{{'time' === comType}}" onComplete="onComplete" startTime="{{$data.startTime}}" endTime="{{$data.endTime}}"></meeting-time-picker>
<hlist a:if="{{'participator' === comType}}" dataComList="{{comHListData.contactData}}" onSelectComHList="selectComHList"></hlist>
<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=='meetingWayModel' || comType=='aheadTime'}}" dataComList="{{comType=='repeat' ? comListData.repeatList : (comType=='aheadTime' ? comListData.aheadTimesList : comListData.meetingWayList)}}" onComSelectList="selectComList" comSelectListId="{{comType=='repeat' ? comListData.comSelectListId : (comType=='aheadTime'?comListData.aheadTimesListId : comListData.meetingWayModelId)}}" iconType="{{comListData.iconType}}">
<list multiple="{{comListData.multiple}}" onCompelete="selectAheadtimes" comSelectList="{{comListData.aheadTimesListId}}" complete="{{comType=='aheadTime' ? true : false}}"a:if="{{comType=='repeat' || comType=='meetingWayModel' || comType=='aheadTime'}}" dataComList="{{comType=='repeat' ? comListData.repeatList : (comType=='aheadTime' ? comListData.aheadTimesList : comListData.meetingWayList)}}" onComSelectList="selectComList" comSelectListId="{{comType=='repeat' ? comListData.comSelectListId : (comType=='aheadTime'?comListData.aheadTimesListId : comListData.meetingWayModelId)}}" iconType="{{comListData.iconType}}">
</list>
</list>
</popup>
</popup>
<popup show="{{show}}" onClose="closePop" title="{{pop.title}}">
<popup
a:if="{{show}}"
show="{{show}}" onClose="closePop" title="{{pop.title}}">
<!-- 任务创建弹出框 -->
<!-- 任务创建弹出框 -->
<task-panel a:if="{{pop.type === 'createTask'}}" onComplete="complete" action='create'/>
<task-panel a:if="{{pop.type === 'createTask'}}" onComplete="complete" action='create'/>
<!-- 任务修改弹出框 -->
<!-- 任务修改弹出框 -->
...
...
pages/meetingDetail/meetingDetail.js
View file @
5f231fd0
...
@@ -1458,6 +1458,16 @@ create.Page({
...
@@ -1458,6 +1458,16 @@ create.Page({
this
.
setData
({
this
.
setData
({
isExpand
:
false
isExpand
:
false
})
})
},
onShareAppMessage
()
{
console
.
log
(
'click'
)
return
{
type
:
1
,
//分享类型,0:全部组件 默认; 1:只能分享到钉钉;2:不能分享,只有刷新按钮
control
:
true
,
title
:
'明我会议室标题'
,
desc
:
'明我会议室描述'
,
path
:
'pages/index/index'
};
}
}
});
});
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