Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
995ac0b3
Commit
995ac0b3
authored
Jan 07, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联盟移除门店
parent
9cd41ff0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
LianMengManagementList.vue
src/components/administrative/LianMengManagementList.vue
+28
-0
No files found.
src/components/administrative/LianMengManagementList.vue
View file @
995ac0b3
...
...
@@ -32,6 +32,9 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"设置主门店"
placement=
"top"
>
<i
class=
"iconfont icon-guanli2"
@
click=
"setAdmin(item)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"移除门店"
placement=
"top"
>
<i
class=
"iconfont icon-img_delete_small icon-guanli2"
@
click=
"DelAllianceChild(item)"
></i>
</el-tooltip>
</td>
</tr>
</table>
...
...
@@ -82,6 +85,31 @@ export default {
message
:
'已取消'
});
});
},
DelAllianceChild
:
function
(
obj
)
{
let
ParentId
=
this
.
$route
.
query
.
id
this
.
$confirm
(
'确认移除“'
+
obj
.
CustomerName
+
'”门店?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
"app_customer_DelAllianceChild"
,
{
Id
:
obj
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getList
(
ParentId
);
}
},
null
);
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
getList
:
function
(
id
)
{
this
.
loading
=
true
...
...
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