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
5686d5c7
Commit
5686d5c7
authored
Dec 01, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 测试 刷新
parent
5291decf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
perfect-day-target.vue
src/views/apps/target-manage/perfect-day-target.vue
+6
-5
target-set.vue
src/views/apps/target-manage/target-set.vue
+3
-1
No files found.
src/views/apps/target-manage/perfect-day-target.vue
View file @
5686d5c7
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘
* @LastEditTime: 2020-1
1-30 11:06:29
* @LastEditTime: 2020-1
2-01 17:34:07
-->
<
template
>
<div
class=
"common-app-right"
style=
"padding: 20px 0;color: #303133"
>
...
...
@@ -161,8 +161,6 @@ export default {
}
// 禁用判断
that
.
disableSetting
=
checkDisEdit
(
that
.
$route
.
query
.
performanceYm
);
const
{
staffName
,
staffId
,
wxEnterpriseId
}
=
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
));
that
.
haoban
=
{
submitStaffName
:
staffName
,
submitStaffId
:
staffId
,
wxEnterpriseId
};
// 修改面包屑
const
{
tab
,
applicationId
,
performanceYm
,
flag
}
=
that
.
$route
.
query
;
...
...
@@ -173,7 +171,10 @@ export default {
that
.
$emit
(
'change-nav'
,
bread
);
that
.
$emit
(
'showTab'
,
'/target-list'
);
that
.
init
();
that
.
$nextTick
(()
=>
{
const
{
staffName
,
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
};
that
.
haoban
=
{
submitStaffName
:
staffName
,
submitStaffId
:
staffId
,
wxEnterpriseId
};
});
},
beforeDestroy
()
{
this
.
$store
.
dispatch
(
'clearStoreData'
);
...
...
@@ -199,7 +200,7 @@ export default {
// 初始化表格
init
()
{
const
that
=
this
;
if
(
that
.
$store
.
state
.
storeInfo
.
length
)
{
if
(
that
.
$store
.
state
?
.
storeInfo
.
length
)
{
that
.
form
.
storeName
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
$store
.
state
.
storeInfo
)).
map
(
ele
=>
ele
.
storeName
).
join
(
','
);
that
.
form
.
storeInfoIds
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
$store
.
state
.
storeInfo
)).
map
(
ele
=>
ele
.
storeInfoId
).
join
(
','
);
delete
that
.
form
.
storeInfoId
;
...
...
src/views/apps/target-manage/target-set.vue
View file @
5686d5c7
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-12-01 1
4:32:50
* @LastEditTime: 2020-12-01 1
7:26:13
-->
<!-- -->
<
template
>
...
...
@@ -63,6 +63,8 @@ export default {
// 生命周期 - 挂载完成(访问DOM元素)
mounted
()
{
const
that
=
this
;
that
.
$emit
(
'showTab'
,
'/target-set'
);
that
.
$emit
(
'change-nav'
,
[
{
name
:
'指标管理'
}
]);
for
(
let
index
=
15
;
index
<
29
;
index
++
)
{
that
.
options
.
push
({
value
:
index
,
...
...
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