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
bf58eb19
Commit
bf58eb19
authored
Dec 02, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改指标
parent
9abc066f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
perfect-day-target.vue
src/views/apps/target-manage/perfect-day-target.vue
+12
-2
No files found.
src/views/apps/target-manage/perfect-day-target.vue
View file @
bf58eb19
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘
* @LastEditTime: 2020-12-0
1 18:02:08
* @LastEditTime: 2020-12-0
2 10:41:01
-->
<
template
>
<div
class=
"common-app-right"
style=
"padding: 20px 0;color: #303133"
>
...
...
@@ -219,7 +219,7 @@ export default {
// 末尾补空白
let
len
=
(
that
.
zerofill
.
length
+
that
.
tableData
.
length
)
%
7
;
if
(
len
)
that
.
zerofillLast
=
new
Array
(
7
-
len
).
fill
(
null
);
console
.
log
(
flag
,
typeof
(
flag
));
// 默认值
if
(
flag
==
false
)
{
that
.
setDefault
();
...
...
@@ -342,6 +342,16 @@ export default {
watch
:
{
brandId
(
newData
)
{
const
that
=
this
;
that
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
$route
.
query
));
that
.
form
.
performanceValue
=
that
.
form
.
performanceValue
||
0
;
// 批量操作判断
if
(
!!
that
.
$route
.
query
.
multOpt
&&
that
.
$route
.
query
.
multOpt
==
1
)
{
that
.
form
.
multOpt
=
1
;
}
else
{
that
.
form
.
multOpt
=
''
;
}
// 禁用判断
that
.
disableSetting
=
checkDisEdit
(
that
.
$route
.
query
.
performanceYm
);
const
{
staffName
,
staffId
,
wxEnterpriseId
}
=
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffName
:
''
,
staffId
:
''
,
wxEnterpriseId
:
''
};
that
.
haoban
=
{
submitStaffName
:
staffName
,
submitStaffId
:
staffId
,
wxEnterpriseId
};
that
.
init
();
...
...
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