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
3a833a58
Commit
3a833a58
authored
Aug 16, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商家管理模块修改
parent
2d66ee6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
index.vue
src/views/merchantManagement/index.vue
+14
-14
No files found.
src/views/merchantManagement/index.vue
View file @
3a833a58
...
...
@@ -339,20 +339,20 @@ export default {
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
open
=
true
this
.
title
=
'修改商家'
const
that
=
this
const
businessId
=
JSON
.
parse
(
JSON
.
stringify
(
row
.
userId
))
this
.
getUserList
()
queryUnitAdminByBusinessId
(
businessId
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
data
)
{
const
userUnitList
=
that
.
userUnit
console
.
log
(
'userUnitList'
,
userUnitList
)
that
.
userList
=
JSON
.
parse
(
JSON
.
stringify
(
userUnitList
))
that
.
userList
.
push
(
res
.
data
)
console
.
log
(
'item'
,
that
.
userList
)
}
}
})
//
const that = this
//
const businessId = JSON.parse(JSON.stringify(row.userId))
//
this.getUserList()
//
queryUnitAdminByBusinessId(businessId).then(res => {
//
if (res.code === 200) {
//
if (res.data) {
//
const userUnitList = that.userUnit
//
console.log('userUnitList', userUnitList)
//
that.userList = JSON.parse(JSON.stringify(userUnitList))
//
that.userList.push(res.data)
//
console.log('item', that.userList)
//
}
//
}
//
})
},
// 改变状态
handleStatusChange
(
row
)
{
...
...
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