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
330f3791
Commit
330f3791
authored
Nov 17, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改下发设置
parent
a18e00b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
target-set.vue
src/views/apps/target-manage/target-set.vue
+10
-4
No files found.
src/views/apps/target-manage/target-set.vue
View file @
330f3791
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-11-17 1
5:53:5
1
* @LastEditTime: 2020-11-17 1
6:11:2
1
-->
<!-- -->
<
template
>
...
...
@@ -38,6 +38,8 @@ export default {
},
data
()
{
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
)).
wxEnterpriseId
:
''
,
userInfo
:
localStorage
.
getItem
(
'haoBanUser'
)
?
JSON
.
parse
(
localStorage
.
getItem
(
'haoBanUser'
))
:
{
staffId
:
''
,
staffName
:
''
},
ruleForm
:
{
overDayJudge
:
''
},
...
...
@@ -67,8 +69,11 @@ export default {
postSave
()
{
const
that
=
this
;
const
para
=
{
overDayJudge
:
that
.
ruleForm
.
overDayJudge
,
wxEnterpriseId
:
that
.
wxEnterpriseId
days
:
that
.
ruleForm
.
days
,
enterpriseId
:
that
.
brandId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
,
submitStaffId
:
that
.
userInfo
.
staffId
,
submitStaffName
:
that
.
userInfo
.
staffName
};
saveTargetSet
(
para
)
.
then
(
res
=>
{
...
...
@@ -86,10 +91,11 @@ export default {
const
that
=
this
;
const
para
=
{
enterpriseId
:
that
.
brandId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
};
getTargetSet
(
para
)
.
then
(
res
=>
{
that
.
ruleForm
.
overDayJudge
=
res
.
result
.
overDayJudge
||
''
;
that
.
ruleForm
.
days
=
res
.
result
.
days
||
''
;
})
.
catch
(
function
(
error
)
{
...
...
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