Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 9116bc91
authored
Mar 22, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
成功跳转
1 parent
19d169bd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
packageMine/pages/customerManagement/editCustomer/editCustomer.js
packageMine/pages/serviceManage/editService/editService.js
packageMine/pages/successPage/successPage.js
packageMine/pages/customerManagement/editCustomer/editCustomer.js
View file @
9116bc9
...
@@ -37,7 +37,7 @@ Page({
...
@@ -37,7 +37,7 @@ Page({
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
// 创建/编辑接口
// 创建/编辑接口
if
(
addOrEdit
==
'add'
)
{
if
(
addOrEdit
==
'add'
)
{
wx
.
$router
.
re
Launch
(
'packageMine.successPage?page=customer'
)
wx
.
$router
.
re
directTo
(
'packageMine.successPage?page=customer'
)
}
}
}
}
}
}
...
...
packageMine/pages/serviceManage/editService/editService.js
View file @
9116bc9
...
@@ -45,7 +45,7 @@ Page({
...
@@ -45,7 +45,7 @@ Page({
mineServiceApi
[
apiNameObj
[
addOrEdit
]](
formData
).
then
(
res
=>
{
mineServiceApi
[
apiNameObj
[
addOrEdit
]](
formData
).
then
(
res
=>
{
console
.
log
(
res
,
'res---'
)
console
.
log
(
res
,
'res---'
)
if
(
addOrEdit
==
'add'
)
{
if
(
addOrEdit
==
'add'
)
{
wx
.
$router
.
re
Launch
(
'packageMine.successPage?page=service'
)
wx
.
$router
.
re
directTo
(
'packageMine.successPage?page=service'
)
}
else
{
}
else
{
wx
.
$api
.
showToast
(
'修改成功'
)
wx
.
$api
.
showToast
(
'修改成功'
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
packageMine/pages/successPage/successPage.js
View file @
9116bc9
...
@@ -4,15 +4,13 @@ const obj = {
...
@@ -4,15 +4,13 @@ const obj = {
navigationTitle
:
'创建服务中心'
,
navigationTitle
:
'创建服务中心'
,
primaryBtn
:
'继续创建服务中心'
,
primaryBtn
:
'继续创建服务中心'
,
primaryCallback
:
'packageMine.editService'
,
primaryCallback
:
'packageMine.editService'
,
cancelBtn
:
'S后自动跳转我的服务中心'
,
cancelBtn
:
'S后自动跳转我的服务中心'
cancelCallback
:
'packageMine.serviceList'
},
},
customer
:
{
customer
:
{
navigationTitle
:
'创建客户'
,
navigationTitle
:
'创建客户'
,
primaryBtn
:
'邀请销售顾问'
,
primaryBtn
:
'邀请销售顾问'
,
primaryCallback
:
'packageMine.editService'
,
primaryCallback
:
'packageMine.editService'
,
cancelBtn
:
'S后自动跳转我的客户'
,
cancelBtn
:
'S后自动跳转我的客户'
cancelCallback
:
'packageMine.customerList'
}
}
}
}
Page
({
Page
({
...
...
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