Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d75090ea
authored
Dec 27, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
b5885373
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/addCustomer.vue
View file @
d75090e
...
@@ -567,14 +567,11 @@ export default {
...
@@ -567,14 +567,11 @@ export default {
type
:
'error'
,
type
:
'error'
,
message
:
res
.
message
message
:
res
.
message
})
})
this
.
handleCancel
()
}
else
if
(
res
.
code
==
0
)
{
}
else
if
(
res
.
code
==
0
)
{
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
message
:
'操作成功!'
message
:
'操作成功!'
})
})
// this.handleCancel()
this
.
$router
.
push
(
'/customerTransform/index'
)
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -582,6 +579,7 @@ export default {
...
@@ -582,6 +579,7 @@ export default {
})
})
}
}
this
.
addLoading
=
false
this
.
addLoading
=
false
this
.
$router
.
push
(
'/customerTransform/index'
)
})
})
}
}
})
})
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
d75090e
...
@@ -446,13 +446,18 @@ export default {
...
@@ -446,13 +446,18 @@ export default {
}
}
this
.
addLoading
=
true
this
.
addLoading
=
true
this
.
$apis
.
customerTransform
.
insert
(
params
).
then
(
res
=>
{
this
.
$apis
.
customerTransform
.
insert
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
'-1'
)
{
this
.
$message
({
type
:
'error'
,
message
:
res
.
message
})
// this.$router.push('/customerTransform/index')
}
else
if
(
res
.
code
==
0
)
{
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
message
:
'操作成功!'
message
:
'操作成功!'
})
})
// this.handleCancel()
// this.$router.push('/customerTransform/index')
this
.
$router
.
push
(
'/customerTransform/index'
)
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -460,6 +465,7 @@ export default {
...
@@ -460,6 +465,7 @@ export default {
})
})
}
}
this
.
addLoading
=
false
this
.
addLoading
=
false
this
.
$router
.
push
(
'/customerTransform/index'
)
})
})
})
})
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment