Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
47adca74
Commit
47adca74
authored
Jun 30, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b79ae291
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
makeup.vue
src/pages/course/makeup.vue
+8
-2
No files found.
src/pages/course/makeup.vue
View file @
47adca74
...
...
@@ -29,10 +29,10 @@
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
>
<template
v-slot:control
>
<el-date-picker
v-model=
"msg.StartDate"
type=
"date"
placeholder=
"开始日期"
size=
"small"
style=
"width:47%;"
<el-date-picker
v-model=
"msg.StartDate"
type=
"date"
placeholder=
"开始日期"
value-format=
"yyyy-MM-dd"
size=
"small"
style=
"width:47%;"
@
change=
"refreshPage"
clear-icon=
"iconfont icon-guanbi"
>
</el-date-picker>
至
<el-date-picker
v-model=
"msg.EndDate"
type=
"date"
placeholder=
"结束日期"
size=
"small"
style=
"width:47%;"
<el-date-picker
v-model=
"msg.EndDate"
type=
"date"
placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
size=
"small"
style=
"width:47%;"
@
change=
"refreshPage"
clear-icon=
"iconfont icon-guanbi"
>
</el-date-picker>
</
template
>
...
...
@@ -198,6 +198,12 @@
},
mounted
()
{
let
nowDay
=
new
Date
();
var
year
=
nowDay
.
getFullYear
();
//年
var
month
=
nowDay
.
getMonth
()
+
1
;
//月
var
day
=
nowDay
.
getDate
();
//日
var
currentDay
=
year
+
'-'
+
month
+
'-'
+
day
;
this
.
msg
.
StartDate
=
currentDay
this
.
getAbsentPage
();
},
methods
:
{
...
...
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