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
112c31b8
Commit
112c31b8
authored
Sep 18, 2021
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 优化
parent
09ca6776
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
addGroupTemplate.vue
src/views/apps/customerApp/addGroupTemplate.vue
+1
-0
memberGroupSet.vue
src/views/apps/customerApp/memberGroupSet.vue
+6
-2
storeRangeSet.vue
src/views/apps/customerApp/storeRangeSet.vue
+1
-0
No files found.
src/views/apps/customerApp/addGroupTemplate.vue
View file @
112c31b8
...
@@ -296,6 +296,7 @@ export default {
...
@@ -296,6 +296,7 @@ export default {
mounted
()
{
mounted
()
{
const
that
=
this
;
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'12'
);
that
.
$emit
(
'showTab'
,
'12'
);
sessionStorage
.
setItem
(
'memberGroupSet'
,
'second'
);
if
(
that
.
brandId
&&
!!
that
.
$route
.
query
.
templateId
)
{
if
(
that
.
brandId
&&
!!
that
.
$route
.
query
.
templateId
)
{
that
.
getTemplateSet
(
that
.
brandId
);
that
.
getTemplateSet
(
that
.
brandId
);
}
}
...
...
src/views/apps/customerApp/memberGroupSet.vue
View file @
112c31b8
...
@@ -185,6 +185,9 @@ export default {
...
@@ -185,6 +185,9 @@ export default {
templateList
:
[]
templateList
:
[]
};
};
},
},
beforeDestroy
()
{
sessionStorage
.
removeItem
(
'memberGroupSet'
);
},
beforeMount
()
{
beforeMount
()
{
let
that
=
this
;
let
that
=
this
;
let
host
=
window
.
location
.
origin
;
let
host
=
window
.
location
.
origin
;
...
@@ -566,10 +569,11 @@ export default {
...
@@ -566,10 +569,11 @@ export default {
that
.
getGroupClassSet
(
that
.
brandId
);
that
.
getGroupClassSet
(
that
.
brandId
);
that
.
getSyncDate
(
that
.
brandId
);
that
.
getSyncDate
(
that
.
brandId
);
}
}
if
(
!!
that
.
$route
.
query
.
tabName
&&
that
.
brandId
)
{
if
(
that
.
brandId
&&
sessionStorage
.
getItem
(
'memberGroupSet'
)
==
'second'
)
{
th
at
.
activeName
=
'second'
;
th
is
.
activeName
=
'second'
;
that
.
getTableList
();
that
.
getTableList
();
}
}
// this.activeName = sessionStorage.getItem('memberGroupSet') ? sessionStorage.getItem('memberGroupSet') : 'first';
},
},
components
:
{}
components
:
{}
};
};
...
...
src/views/apps/customerApp/storeRangeSet.vue
View file @
112c31b8
...
@@ -283,6 +283,7 @@ export default {
...
@@ -283,6 +283,7 @@ export default {
mounted
()
{
mounted
()
{
const
that
=
this
;
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'12'
);
that
.
$emit
(
'showTab'
,
'12'
);
sessionStorage
.
setItem
(
'memberGroupSet'
,
'second'
);
if
(
that
.
brandId
)
{
if
(
that
.
brandId
)
{
that
.
getTableList
(
that
.
brandId
);
that
.
getTableList
(
that
.
brandId
);
}
}
...
...
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