Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
b73d2f48
Commit
b73d2f48
authored
Feb 03, 2020
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
521c68f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
mywork.vue
src/components/work/mywork.vue
+8
-1
No files found.
src/components/work/mywork.vue
View file @
b73d2f48
...
...
@@ -266,6 +266,7 @@
</el-form-item>
<el-form-item
label=
"计划日期"
prop=
"TimeRanges"
>
<el-date-picker
:picker-options=
"pickerOptions"
v-model=
"addMsg.TimeRanges"
type=
"datetimerange"
class=
"wd100"
...
...
@@ -363,7 +364,13 @@ export default {
inputValue
:
""
,
datas
:
[],
tempList
:
[],
examineStatusValue
:
"-2"
examineStatusValue
:
"-2"
,
pickerOptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
<
Date
.
now
()
-
8.64e7
;
//禁用以前的日期,今天不禁用
// return date.getTime()
<=
Date
.
now
();
//禁用今天以及以前的日期
}
}
};
},
mounted
()
{
...
...
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