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
f0ac6a76
Commit
f0ac6a76
authored
May 20, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 导购设置
parent
8167ecc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
guide-setting.vue
src/views/enterprise/guide-setting.vue
+4
-2
No files found.
src/views/enterprise/guide-setting.vue
View file @
f0ac6a76
...
@@ -69,10 +69,12 @@ export default {
...
@@ -69,10 +69,12 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
const
{
editClerkFlag
,
addClerkFlag
,
delClerkFlag
,
checked
}
=
this
.
settingData
;
const
{
editClerkFlag
,
addClerkFlag
,
delClerkFlag
,
checked
}
=
this
.
settingData
;
const
params
=
{
editClerkFlag
,
addClerkFlag
,
delClerkFlag
,
dataJson
:
''
};
const
params
=
{
editClerkFlag
,
addClerkFlag
,
delClerkFlag
,
dataJson
:
''
};
params
.
dataJson
=
this
.
allApps
.
filter
(
el
=>
checked
.
includes
(
el
.
applicationId
));
params
.
dataJson
=
this
.
allApps
.
map
(
el
=>
{
return
{
applicationId
:
el
.
applicationId
,
openFlag
:
checked
.
includes
(
el
.
applicationId
)
?
1
:
0
};
});
params
.
dataJson
=
JSON
.
stringify
(
params
.
dataJson
);
params
.
dataJson
=
JSON
.
stringify
(
params
.
dataJson
);
postRequest
(
'/haoban-manage3-web/open-or-close'
,
{
params
}
)
postRequest
(
'/haoban-manage3-web/open-or-close'
,
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
const
{
errorCode
}
=
res
.
data
||
{};
const
{
errorCode
}
=
res
.
data
||
{};
if
(
errorCode
!=
1
)
{
if
(
errorCode
!=
1
)
{
...
...
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