Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
633f55ba
Commit
633f55ba
authored
Nov 11, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报名限制
parent
4df59302
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
8 deletions
+32
-8
submit2Pay.vue
components/pay/submit2Pay.vue
+1
-1
order-submit2.vue
pages/order-submit/order-submit2.vue
+16
-4
webbox.vue
pages/webbox/webbox.vue
+15
-3
No files found.
components/pay/submit2Pay.vue
View file @
633f55ba
...
...
@@ -156,7 +156,7 @@
});
that
.
pay
=
false
}
console
.
log
(
'状态'
,
res
.
data
.
OrderStatus
)
//
console.log('状态',res.data.OrderStatus)
}
);
...
...
pages/order-submit/order-submit2.vue
View file @
633f55ba
...
...
@@ -344,6 +344,7 @@
IsQZJC
:
0
,
mrk
:
''
,
mrk2
:
''
,
mrk3
:
''
,
isAlipay
:
2
,
//1微信 2微信支付宝
JJSWStuId
:
""
,
Thename2
:
''
,
...
...
@@ -525,6 +526,11 @@
ClassIds
:
this
.
mrk2
}
let
that
=
this
let
info
=
{
PaperId
:
this
.
mrk
,
PublishId
:
this
.
mrk2
,
GuestId
:
this
.
JJSWStuId
}
this
.
requestJJSWAdmin
(
"/api/WeChatPublic/CheckStuSubmitOrder"
,
postMsg
,
(
res
)
=>
{
if
(
res
.
data
.
Code
!=
1
)
{
...
...
@@ -533,12 +539,15 @@
title
:
'当前课程暂无法购买!'
,
type
:
'warning'
});
uni
.
redirectTo
({
url
:
`/pages/webbox/webbox?limit=
${
JSON
.
stringify
(
info
)}
`
});
}
else
{
that
.
limits
=
false
this
.
submitOrderHandler2
()
}
console
.
log
(
'llll'
,
that
.
limits
)
//
console.log('llll',that.limits)
}
);
...
...
@@ -554,7 +563,7 @@
uni
.
requestSubscribeMessage
({
tmplIds
:
this
.
ds
.
template_message_list
,
complete
(
res
)
{
console
.
log
(
'44444444444444444'
)
//
console.log('44444444444444444')
that
.
submitOrder
=
false
;
let
form
=
{};
// form.Consignee = that.adressInfo.Consignee;
...
...
@@ -591,7 +600,7 @@
data
:
form
},
res
=>
{
console
.
log
(
'7777777777'
)
//
console.log('7777777777')
if
(
res
.
resultCode
==
1
)
{
that
.
payInfo
.
OrderId
=
res
.
data
.
OrderId
;
that
.
payInfo
.
total_price
=
that
.
ds
.
total_price
;
...
...
@@ -801,6 +810,7 @@
init
()
{
let
list
=
[]
let
list2
=
[]
let
list3
=
[]
this
.
loading
=
true
;
this
.
request2
({
url
:
'/api/AppletOrder/GetAppletGoodsSettlementInfoForZY'
,
...
...
@@ -817,10 +827,12 @@
j
.
marketingLogo
=
JSON
.
parse
(
j
.
marketingLogo
)
list
.
push
(
j
.
EduTeacherId
)
list2
.
push
(
j
.
EduData
.
ClassId
)
list3
.
push
(
j
.
EduData
.
ClassPersion
)
})
})
this
.
mrk
=
list
.
toString
()
this
.
mrk2
=
list2
.
toString
()
this
.
mrk3
=
list3
.
toString
()
this
.
payInfo
.
GoodsName
=
this
.
mchs
[
0
].
goods_list
[
0
].
name
.
slice
(
0
,
10
);
this
.
formdata
.
DeliveryMethod
=
this
.
mchs
[
0
].
delivery
.
send_type
;
this
.
ds
=
res
.
data
;
...
...
pages/webbox/webbox.vue
View file @
633f55ba
...
...
@@ -27,6 +27,7 @@
export
default
{
data
()
{
return
{
info
:{},
show
:
false
,
showPhone
:
true
,
showLogin
:
true
,
//多次点击
...
...
@@ -45,8 +46,12 @@
},
onLoad
:
function
(
option
)
{
//option为object类型,会序列化上个页面传递的参数
this
.
url
=
decodeURIComponent
(
option
.
u
)
if
(
option
.
auth
){
if
(
option
.
auth
||
option
.
limit
){
this
.
showPhone
=
true
if
(
option
.
limit
)
{
this
.
info
=
option
.
limit
// console.log('参数',this.info)
}
}
else
{
this
.
showPhone
=
false
}
...
...
@@ -133,8 +138,15 @@
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
that
.
obj
.
phoneNum
=
JSON
.
parse
(
res
.
data
).
phoneNumber
let
urls
=
`https://jj.kookaku.com?phoneNum=
${
that
.
obj
.
phoneNum
}
`
that
.
url
=
decodeURIComponent
(
urls
)
if
(
that
.
info
)
{
let
limiturls
=
`https://jj.kookaku.com?phoneNum=
${
that
.
obj
.
phoneNum
}
&limit=
${
that
.
info
}
`
that
.
url
=
decodeURIComponent
(
limiturls
)
}
else
{
let
urls
=
`https://jj.kookaku.com?phoneNum=
${
that
.
obj
.
phoneNum
}
`
that
.
url
=
decodeURIComponent
(
urls
)
}
that
.
showPhone
=
false
console
.
log
(
'要跳转的链接'
,
that
.
url
)
// that.goUrl(`https://jj.kookaku.com?phoneNum=${that.obj.phoneNum}`)
...
...
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