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
5ade8973
Commit
5ade8973
authored
Jun 20, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
7b213928
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
user.js
src/api/system/user.js
+2
-2
index.vue
src/views/brandAmbassador/index.vue
+6
-1
No files found.
src/api/system/user.js
View file @
5ade8973
...
@@ -74,9 +74,9 @@ export function delUser(userId) {
...
@@ -74,9 +74,9 @@ export function delUser(userId) {
})
})
}
}
// 3.删除代言人
// 3.删除代言人
export
function
delSysuser
(
userId
)
{
export
function
delSysuser
(
userId
,
unitId
)
{
return
request
({
return
request
({
url
:
'/sysuser/deleteLogical/'
+
userId
,
url
:
'/sysuser/deleteLogical/'
+
userId
+
'/'
+
unitId
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
...
src/views/brandAmbassador/index.vue
View file @
5ade8973
...
@@ -960,12 +960,17 @@ export default {
...
@@ -960,12 +960,17 @@ export default {
/** 删除按钮操作 */
/** 删除按钮操作 */
handleDelete
(
row
)
{
handleDelete
(
row
)
{
const
userId
=
row
.
businessId
||
this
.
ids
const
userId
=
row
.
businessId
||
this
.
ids
let
unitId
=
this
.
queryParams
.
deptId
const
clearable
=
this
.
clearable
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(
function
()
{
}).
then
(
function
()
{
return
delSysuser
(
userId
)
if
(
clearable
)
{
unitId
=
null
}
return
delSysuser
(
userId
,
unitId
)
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
getList
()
this
.
getList
()
this
.
$message
({
this
.
$message
({
...
...
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