Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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-4
Commits
1bf6865d
Commit
1bf6865d
authored
Dec 02, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 测试 刷新
parent
c10af185
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
quota-set.vue
src/views/apps/target-manage/quota-set.vue
+4
-2
target-list.vue
src/views/apps/target-manage/target-list.vue
+4
-2
target-store.vue
src/views/apps/target-manage/target-store.vue
+7
-2
No files found.
src/views/apps/target-manage/quota-set.vue
View file @
1bf6865d
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-1
1-09 10:26:18
* @LastEditTime: 2020-1
2-02 09:06:36
-->
<!-- -->
<
template
>
...
...
@@ -245,7 +245,7 @@ export default {
const
{
tab
,
applicationId
}
=
this
.
$route
.
query
;
this
.
activeName
=
tab
!==
'undefined'
&&
tab
?
tab
:
'0'
;
this
.
applicationId
=
applicationId
;
const
{
staffId
,
wxEnterpriseId
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
;
const
{
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
}
;
this
.
haoban
=
{
staffId
,
wxEnterpriseId
}
;
}
,
// 生命周期 - 挂载完成(访问DOM元素)
...
...
@@ -416,6 +416,8 @@ export default {
}
,
watch
:
{
brandId
(
val
)
{
const
{
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
}
;
this
.
haoban
=
{
staffId
,
wxEnterpriseId
}
;
val
&&
this
.
getData
();
}
}
,
...
...
src/views/apps/target-manage/target-list.vue
View file @
1bf6865d
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 09:36:51
* @LastEditors: 无尘
* @LastEditTime: 2020-1
1-09 10:31:17
* @LastEditTime: 2020-1
2-02 09:07:12
-->
<
template
>
...
...
@@ -76,7 +76,7 @@ export default {
const
{
tab
,
applicationId
}
=
this
.
$route
.
query
;
this
.
applicationId
=
applicationId
;
this
.
activeName
=
tab
||
'1'
;
const
{
staffId
,
wxEnterpriseId
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
;
const
{
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
}
;
this
.
haoban
=
{
staffId
,
wxEnterpriseId
};
},
// 生命周期 - 挂载完成(访问DOM元素)
...
...
@@ -125,6 +125,8 @@ export default {
watch
:
{
brandId
(
val
)
{
const
that
=
this
;
const
{
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
};
that
.
haoban
=
{
staffId
,
wxEnterpriseId
};
if
(
val
)
{
that
.
getData
();
}
...
...
src/views/apps/target-manage/target-store.vue
View file @
1bf6865d
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:39:37
* @LastEditors: 无尘
* @LastEditTime: 2020-12-0
1 10:41:10
* @LastEditTime: 2020-12-0
2 09:08:34
-->
<
template
>
<div
class=
"common-app-right"
>
...
...
@@ -243,7 +243,7 @@ export default {
const
{
tab
,
applicationId
,
performanceYm
}
=
this
.
$route
.
query
;
this
.
activeName
=
tab
||
'0'
;
this
.
applicationId
=
applicationId
;
const
{
staffId
,
wxEnterpriseId
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
;
const
{
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
}
;
this
.
haoban
=
{
staffId
,
wxEnterpriseId
,
performanceType
:
tab
,
performanceYm
}
;
// 修改面包屑
...
...
@@ -360,6 +360,11 @@ export default {
}
,
watch
:
{
brandId
(
val
)
{
const
{
tab
,
applicationId
,
performanceYm
}
=
this
.
$route
.
query
;
this
.
activeName
=
tab
||
'0'
;
this
.
applicationId
=
applicationId
;
const
{
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
}
;
this
.
haoban
=
{
staffId
,
wxEnterpriseId
,
performanceType
:
tab
,
performanceYm
}
;
val
&&
this
.
getData
();
}
}
,
...
...
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