Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
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 9da02f99
authored
Oct 24, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
72c2b06f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
pages/activityApplication/activityApplication.js
pages/activityApplication/activityApplication.js
View file @
9da02f9
...
...
@@ -160,8 +160,7 @@ Page({
// 提交表单
submitApply
()
{
// wx.$util.showLoading('提交中...')
const
cardId
=
wx
.
$util
.
getStorageSync
(
"scene"
).
cardId
wx
.
$util
.
showLoading
(
'提交中...'
)
let
params
=
this
.
data
.
applyForm
// 校验表单
if
(
!
this
.
WxValidate
.
checkForm
(
params
))
{
...
...
@@ -193,7 +192,8 @@ Page({
params
.
businessScenario
=
businessItem
.
title
params
.
productItems
=
productItems
.
join
(
','
)
}
params
.
cardId
=
cardId
params
.
cardId
=
wx
.
$util
.
getStorageSync
(
"scene"
).
cardId
params
.
merchant
=
wx
.
$util
.
getStorageSync
(
"scene"
).
merchantId
params
.
openId
=
wx
.
$util
.
getStorageSync
(
'aicard_info'
).
openId
params
.
unionId
=
wx
.
$util
.
getStorageSync
(
'aicard_info'
).
unionId
entmicroApi
.
activityApply
(
params
).
then
(({
...
...
@@ -201,7 +201,7 @@ Page({
code
,
message
})
=>
{
if
(
code
==
-
1
)
{
if
(
code
==
0
)
{
wx
.
hideLoading
()
wx
.
showToast
({
msg
:
'提交成功'
...
...
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