Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
8e076df8
Commit
8e076df8
authored
May 08, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e94993f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
35 deletions
+47
-35
edactivity.vue
src/components/education/edactivity.vue
+47
-35
No files found.
src/components/education/edactivity.vue
View file @
8e076df8
...
...
@@ -104,15 +104,27 @@
<el-form-item
label=
"活动名称"
class=
"is-required"
prop=
"ActivityName"
>
<el-input
type=
"text"
class=
"w400"
v-model=
"addMsg.ActivityName"
size=
"small"
></el-input>
</el-form-item>
<el-form-item
label=
"开始时间"
class=
"is-required"
prop=
"StartTime"
>
<el-date-picker
class=
"w300"
value-format=
"yyyy-MM-dd
HH:mm:ss"
v-model=
"addMsg.StartTime"
type=
"datetime"
size=
"small"
<
!--
<
el-form-item
label=
"开始时间"
class=
"is-required"
prop=
"StartTime"
>
<el-date-picker
class=
"w300"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-model=
"addMsg.StartTime"
type=
"datetime"
size=
"small"
placeholder=
"开始时间"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"结束时间"
class=
"is-required"
prop=
"EndTime"
>
<el-date-picker
class=
"w300"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-model=
"addMsg.EndTime"
type=
"datetime"
size=
"small"
placeholder=
"结束时间"
>
<el-date-picker
class=
"w300"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-model=
"addMsg.EndTime"
type=
"datetime"
size=
"small"
placeholder=
"结束时间"
>
</el-date-picker>
</el-form-item>
-->
<el-form-item
label=
"开始时间"
class=
"is-required"
prop=
"StartTime"
>
<el-date-picker
class=
"w300"
v-model=
"addMsg.StartTime"
type=
"datetime"
size=
"small"
value-format=
"yyyy-MM-dd"
placeholder=
"开始时间"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"结束时间"
class=
"is-required"
prop=
"EndTime"
>
<el-date-picker
class=
"w300"
v-model=
"addMsg.EndTime"
type=
"datetime"
size=
"small"
value-format=
"yyyy-MM-dd HH:mm:ss"
placeholder=
"结束时间"
>
</el-date-picker>
</el-form-item>
<el-form-item
label=
"报名开始时间"
class=
"is-required"
prop=
"SignStartTime"
>
<el-date-picker
class=
"w300"
v-model=
"addMsg.SignStartTime"
type=
"datetime"
size=
"small"
value-format=
"yyyy-MM-dd HH:mm:ss"
placeholder=
"报名开始时间"
>
...
...
@@ -363,38 +375,38 @@
}],
},
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
addMsg
.
EndTime
==
null
)
{
return
false
;
}
else
{
let
endTime
=
new
Date
(
this
.
addMsg
.
EndTime
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
}
},
pickerSignBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
addMsg
.
SignEndTime
==
null
)
{
return
false
;
}
else
{
let
endTime
=
new
Date
(
this
.
addMsg
.
SignEndTime
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
addMsg
.
StartTime
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
},
pickerSignBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
addMsg
.
SignStartTime
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
},
//
pickerBeginDateBefore: {
//
disabledDate: time => {
//
if (this.addMsg.EndTime == null) {
//
return false;
//
} else {
//
let endTime = new Date(this.addMsg.EndTime)
//
return endTime.getTime()
<
time
.
getTime
()
//
}
//
}
//
},
//
pickerSignBeginDateBefore: {
//
disabledDate: time => {
//
if (this.addMsg.SignEndTime == null) {
//
return false;
//
} else {
//
let endTime = new Date(this.addMsg.SignEndTime)
//
return endTime.getTime()
<
time
.
getTime
()
//
}
//
}
//
},
//
pickerBeginDateAfter: {
//
disabledDate: time => {
//
let startTime = new Date(this.addMsg.StartTime)
//
return startTime.getTime() >= time.getTime()
//
}
//
},
//
pickerSignBeginDateAfter: {
//
disabledDate: time => {
//
let startTime = new Date(this.addMsg.SignStartTime)
//
return startTime.getTime() >= time.getTime()
//
}
//
},
bdMsg
:
{
Id
:
0
,
//报名id
...
...
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