Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
office
haoban-3
Commits
de6c6a94
Commit
de6c6a94
authored
Jun 06, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 云日报记录添加默认日期
parent
d9d7e339
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
dailyRecord.vue
src/views/apps/cloudDaily/dailyRecord.vue
+22
-0
No files found.
src/views/apps/cloudDaily/dailyRecord.vue
View file @
de6c6a94
...
@@ -418,6 +418,28 @@ export default {
...
@@ -418,6 +418,28 @@ export default {
if
(
!!
that
.
brandId
)
{
if
(
!!
that
.
brandId
)
{
that
.
getTableList
();
that
.
getTableList
();
}
}
let
start
=
new
Date
();
start
=
new
Date
(
start
.
setMonth
(
start
.
getMonth
()
-
3
));
const
end
=
new
Date
();
const
startDate
=
[];
const
endDate
=
[];
startDate
.
push
(
start
.
getFullYear
());
startDate
.
push
((
start
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
));
startDate
.
push
(
start
.
getDate
()
.
toString
()
.
padStart
(
2
,
'0'
)
);
endDate
.
push
(
end
.
getFullYear
());
endDate
.
push
((
end
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
));
endDate
.
push
(
end
.
getDate
()
.
toString
()
.
padStart
(
2
,
'0'
)
);
this
.
conditionObj
.
dateRange
=
[
startDate
.
join
(
'-'
),
endDate
.
join
(
'-'
)];
},
},
components
:
{
components
:
{
multipleDel
,
multipleDel
,
...
...
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