Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
周志凯
/
read-space-proj
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bbe13f6f
authored
Jun 11, 2020
by
周志凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: no day
1 parent
15ccffde
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/Analysis/common/option/durationTimeOption.vue
src/views/Analysis/common/option/durationTimeOption.vue
View file @
bbe13f6
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
const
analyasisTime
=
[
"
day"
,
"
month"
,
"year"
,
"custom"
].
map
(
item
=>
({
const
analyasisTime
=
[
"month"
,
"year"
,
"custom"
].
map
(
item
=>
({
label
:
item
,
label
:
item
,
value
:
item
value
:
item
}));
}));
...
@@ -235,7 +235,7 @@ export default {
...
@@ -235,7 +235,7 @@ export default {
tabItem
:
[],
tabItem
:
[],
asisLevel
:
"mall"
,
asisLevel
:
"mall"
,
analyasisTime
,
analyasisTime
,
ReportVal
:
"
day
"
,
ReportVal
:
"
month
"
,
dayTime
:
""
,
dayTime
:
""
,
monthTime
:
""
,
monthTime
:
""
,
yearTime
:
""
,
yearTime
:
""
,
...
@@ -297,7 +297,7 @@ export default {
...
@@ -297,7 +297,7 @@ export default {
:
false
;
:
false
;
this
.
getFloorOpt
(
id
);
this
.
getFloorOpt
(
id
);
this
.
asisLevel
=
"mall"
;
this
.
asisLevel
=
"mall"
;
this
.
ReportVal
=
"
day
"
;
this
.
ReportVal
=
"
month
"
;
let
data
=
{
let
data
=
{
asis_level
:
this
.
asisLevel
,
asis_level
:
this
.
asisLevel
,
asis_date
:
this
.
ReportVal
,
asis_date
:
this
.
ReportVal
,
...
@@ -393,7 +393,7 @@ export default {
...
@@ -393,7 +393,7 @@ export default {
},
},
resetRefresh
()
{
resetRefresh
()
{
this
.
asisLevel
=
"mall"
;
this
.
asisLevel
=
"mall"
;
this
.
ReportVal
=
"
day
"
;
this
.
ReportVal
=
"
month
"
;
this
.
mutiMallVal
=
[
this
.
mallData
[
0
].
id
];
this
.
mutiMallVal
=
[
this
.
mallData
[
0
].
id
];
this
.
dayTime
=
dateUnit
.
dateFormat
(
new
Date
(),
'yyyy-MM-dd'
);
this
.
dayTime
=
dateUnit
.
dateFormat
(
new
Date
(),
'yyyy-MM-dd'
);
this
.
monthTime
=
new
Date
();
// 月时间
this
.
monthTime
=
new
Date
();
// 月时间
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment