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
6c224f07
Commit
6c224f07
authored
Aug 18, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: update
parent
bbbb4e92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
enterpriseUseData.vue
src/views/enterpriseData/enterpriseUseData.vue
+10
-10
No files found.
src/views/enterpriseData/enterpriseUseData.vue
View file @
6c224f07
...
@@ -186,7 +186,7 @@ export default {
...
@@ -186,7 +186,7 @@ export default {
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
errorCode
==
1
)
{
if
(
!!
resData
.
result
&&
!!
resData
.
result
.
length
)
{
if
(
!!
resData
.
result
&&
!!
resData
.
result
.
length
)
{
that
.
brandListData
=
resData
.
result
;
that
.
brandListData
=
resData
.
result
;
that
.
activeBrand
=
sessionStorage
.
getItem
(
'userInfoBrandId'
)
?
sessionStorage
.
getItem
(
'
activeBran
d'
)
:
!!
that
.
$route
.
query
.
brandId
?
that
.
$route
.
query
.
brandId
:
that
.
brandListData
[
0
].
enterpriseId
;
that
.
activeBrand
=
sessionStorage
.
getItem
(
'userInfoBrandId'
)
?
sessionStorage
.
getItem
(
'
userInfoBrandI
d'
)
:
!!
that
.
$route
.
query
.
brandId
?
that
.
$route
.
query
.
brandId
:
that
.
brandListData
[
0
].
enterpriseId
;
that
.
getLoginData
();
that
.
getLoginData
();
that
.
getTendData
();
that
.
getTendData
();
that
.
getAreaLoginData
();
that
.
getAreaLoginData
();
...
@@ -310,15 +310,15 @@ export default {
...
@@ -310,15 +310,15 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
activeBrand
:
function
(
newData
,
oldData
)
{
//
activeBrand: function(newData, oldData) {
const
that
=
this
;
//
const that = this;
if
(
newData
)
{
//
if (newData) {
// that.getLoginData();
//
// that.getLoginData();
// that.getTendData();
//
// that.getTendData();
// that.getAreaLoginData();
//
// that.getAreaLoginData();
}
//
}
that
.
activeBrand
=
newData
;
//
that.activeBrand = newData;
}
//
}
},
},
mounted
()
{
mounted
()
{
const
that
=
this
;
const
that
=
this
;
...
...
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