Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_manage
Project
Project
Details
Activity
Releases
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
张伯涛
intel_promotion_manage
Commits
82f90742
Commit
82f90742
authored
Aug 26, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了单位管理 添加了小程序选项
parent
02ad72f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
index.vue
src/views/merchantManagement/index.vue
+18
-2
No files found.
src/views/merchantManagement/index.vue
View file @
82f90742
...
@@ -354,6 +354,7 @@ export default {
...
@@ -354,6 +354,7 @@ export default {
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
reset
()
this
.
reset
()
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
form
.
wechatType
=
this
.
form
.
wechatType
.
split
(
','
)
this
.
open
=
true
this
.
open
=
true
this
.
title
=
'修改商家'
this
.
title
=
'修改商家'
// const that = this
// const that = this
...
@@ -399,13 +400,28 @@ export default {
...
@@ -399,13 +400,28 @@ export default {
}
}
})
})
if
(
this
.
form
.
businessId
!==
undefined
)
{
if
(
this
.
form
.
businessId
!==
undefined
)
{
updateSysUnit
(
this
.
form
).
then
(
response
=>
{
const
params
=
{
businessId
:
this
.
form
.
businessId
,
wechatType
:
this
.
form
.
wechatType
.
join
(
','
),
unitName
:
this
.
form
.
unitName
,
userId
:
this
.
form
.
userId
,
remarks
:
this
.
form
.
remarks
,
flag
:
'1'
}
updateSysUnit
(
params
).
then
(
response
=>
{
this
.
msgSuccess
(
'修改成功'
)
this
.
msgSuccess
(
'修改成功'
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
})
})
}
else
{
}
else
{
addSysUnit
(
this
.
form
).
then
(
response
=>
{
const
addParams
=
{
wechatType
:
this
.
form
.
wechatType
.
join
(
','
),
unitName
:
this
.
form
.
unitName
,
userId
:
this
.
form
.
userId
,
remarks
:
this
.
form
.
remarks
,
flag
:
'1'
}
addSysUnit
(
addParams
).
then
(
response
=>
{
this
.
msgSuccess
(
'新增成功'
)
this
.
msgSuccess
(
'新增成功'
)
this
.
open
=
false
this
.
open
=
false
this
.
getList
()
this
.
getList
()
...
...
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