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
46fd29f1
Commit
46fd29f1
authored
5 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
ssh://gitlab.roboming.com:2018/fengzhaoyu/schedule
into dev
parents
e955ee18
38672136
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
17 deletions
+9
-17
scheduleList.acss
PageComponents/scheduleList/scheduleList.acss
+1
-0
scheduleList.js
PageComponents/scheduleList/scheduleList.js
+7
-16
index.acss
pages/index/index.acss
+1
-1
No files found.
PageComponents/scheduleList/scheduleList.acss
View file @
46fd29f1
...
@@ -161,6 +161,7 @@
...
@@ -161,6 +161,7 @@
.month {
.month {
padding: 0 32rpx;
padding: 0 32rpx;
height: 48rpx;
height: 48rpx;
font-size: 48rpx;
line-height: 48rpx;
line-height: 48rpx;
margin-bottom: 50rpx;
margin-bottom: 50rpx;
font-weight: bold;
font-weight: bold;
...
...
This diff is collapsed.
Click to expand it.
PageComponents/scheduleList/scheduleList.js
View file @
46fd29f1
...
@@ -28,11 +28,6 @@ create.Component({
...
@@ -28,11 +28,6 @@ create.Component({
props
:
{},
props
:
{},
didMount
()
{
didMount
()
{
this
.
getDate
();
this
.
getDate
();
let
userMsg
=
{
headUrl
:
getApp
().
globalData
.
avatar
||
""
,
userName
:
getApp
().
globalData
.
name
};
console
.
log
(
userMsg
);
this
.
setData
({
this
.
setData
({
userMsg
:
{
userMsg
:
{
headUrl
:
getApp
().
globalData
.
avatar
||
""
,
headUrl
:
getApp
().
globalData
.
avatar
||
""
,
...
@@ -130,15 +125,7 @@ create.Component({
...
@@ -130,15 +125,7 @@ create.Component({
this
.
data
.
response
.
templateList
.
map
(
item
=>
{
this
.
data
.
response
.
templateList
.
map
(
item
=>
{
// TO DO 判断所获取的时间区间
// TO DO 判断所获取的时间区间
// 将会议的年,月,日拆分,时分拆分,生成rrules规则
// 将会议的年,月,日拆分,时分拆分,生成rrules规则
let
initialTime
=
item
.
initialTime
.
split
(
"-"
);
//
let
initialTime
=
item
.
initialTime
.
split
(
"-"
);
// <<<<<<< HEAD
// let initialTimeDate = new Date(parseInt(initialTime[0]), parseInt(initialTime[1]) - 1, parseInt(initialTime[2]));
// initialTimeDate.setDate(initialTimeDate.getDate() - 1)
// console.log(initialTimeDate.toLocaleDateString())
// let initialTimeDateyear = initialTimeDate.getFullYear()
// let initialTimeDatemonth = initialTimeDate.getMonth() + 1 < 10 ? '0' + (initialTimeDate.getMonth() + 1) : initialTimeDate.getMonth() + 1
// let initialTimeDateday = initialTimeDate.getDate() < 10 ? '0' + initialTimeDate.getDate() : initialTimeDate.getDate()
// =======
let
initialTimeDate
=
new
Date
(
let
initialTimeDate
=
new
Date
(
parseInt
(
initialTime
[
0
]),
parseInt
(
initialTime
[
0
]),
parseInt
(
initialTime
[
1
])
-
1
,
parseInt
(
initialTime
[
1
])
-
1
,
...
@@ -231,11 +218,15 @@ create.Component({
...
@@ -231,11 +218,15 @@ create.Component({
}
else
if
(
}
else
if
(
item
.
scheduleTemplateId
&&
item
.
scheduleTemplateId
&&
scheduleMap
.
get
(
scheduleMap
.
get
(
`
${
item
.
planDate
.
replace
(
/-/g
,
"/"
)}
/
${
item
.
scheduleTemplateId
}
`
`
${
new
Date
(
item
.
planDate
.
replace
(
/-/g
,
"/"
)
).
toLocaleDateString
()}
/
${
item
.
scheduleTemplateId
}
`
)
)
)
{
)
{
scheduleMap
.
set
(
scheduleMap
.
set
(
`
${
item
.
planDate
.
replace
(
/-/g
,
"/"
)}
/
${
item
.
scheduleTemplateId
}
`
,
`
${
new
Date
(
item
.
planDate
.
replace
(
/-/g
,
"/"
)
).
toLocaleDateString
()}
/
${
item
.
scheduleTemplateId
}
`
,
item
item
);
);
}
}
...
...
This diff is collapsed.
Click to expand it.
pages/index/index.acss
View file @
46fd29f1
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
.iconicon_days {
.iconicon_days {
position: absolute;
position: absolute;
left: 5rpx;
left: 5rpx;
top:
5
rpx;
top:
6
rpx;
font-size: 30rpx;
font-size: 30rpx;
}
}
...
...
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