Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
100c17ae
Commit
100c17ae
authored
Feb 26, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit-web
parent
c3005c5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
pay-ensure.vue
take-order/pages/settle/pay-ensure.vue
+0
-1
sign-contract.vue
take-order/pages/settle/sign-contract.vue
+7
-10
web.vue
take-order/pages/settle/web.vue
+2
-1
No files found.
take-order/pages/settle/pay-ensure.vue
View file @
100c17ae
...
@@ -162,7 +162,6 @@
...
@@ -162,7 +162,6 @@
}
}
// const codeApiUrl = globalUrl.codeUrl.apiUrl;
// const codeApiUrl = globalUrl.codeUrl.apiUrl;
const
response
=
await
this
.
$u
.
api
.
paySettleDeposit
(
params
)
const
response
=
await
this
.
$u
.
api
.
paySettleDeposit
(
params
)
console
.
log
(
response
,
'response'
)
if
(
response
.
status
!==
200
)
{
if
(
response
.
status
!==
200
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
response
.
message
,
title
:
response
.
message
,
...
...
take-order/pages/settle/sign-contract.vue
View file @
100c17ae
...
@@ -80,16 +80,15 @@
...
@@ -80,16 +80,15 @@
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
},
},
onShow
(){
onShow
(){
console
.
log
(
'onshow'
)
console
.
log
(
'onshow'
)
this
.
getBaseInfo
()
this
.
getBaseInfo
()
// this.goSign()
// this.goSign()
const
url
=
'https://m.test.ibanshou.cn/activity/settled_2021/mini'
const
url
=
'https://m.test.ibanshou.cn/activity/settled_2021/mini'
//
uni.navigateTo({
uni
.
navigateTo
({
//
url:'/pages/settle/web?url='+url
url
:
'/pages/settle/web?url='
+
url
//
})
})
// https://m.test.ibanshou.cn/activity/settled_2021/mini
// https://m.test.ibanshou.cn/activity/settled_2021/mini
},
},
computed
:
{
computed
:
{
...
@@ -308,18 +307,16 @@
...
@@ -308,18 +307,16 @@
async
goSign
(){
async
goSign
(){
const
token
=
app
.
globalData
.
token
;
const
token
=
app
.
globalData
.
token
;
const
settledInfo
=
this
.
settledInfo
const
settledInfo
=
this
.
settledInfo
const
baseInfo
=
this
.
baseInfo
const
params
=
{
const
params
=
{
namePsn
:
settledInfo
.
record
.
id_card_name
,
namePsn
:
settledInfo
.
record
.
id_card_name
,
idNumberPsn
:
settledInfo
.
record
.
id_card_number
,
idNumberPsn
:
settledInfo
.
record
.
id_card_number
,
province
:
settledInfo
.
provinceList
.
join
(
','
),
province
:
settledInfo
.
provinceList
.
join
(
','
),
city
:
settledInfo
.
cityList
.
join
(
','
),
city
:
settledInfo
.
cityList
.
join
(
','
),
cardName
:
baseInfo
.
bank_name
,
cardCode
:
baseInfo
.
bank_no
,
pay_type
:
baseInfo
.
pay_type
}
}
// const params = {
// namePsn:info.id_card_name,
// idNumberPsn:info.id_card_number,
// province:'湖南省',
// city:'长沙市'
// }
const
res
=
await
this
.
$u
.
post
(
globalUrl
.
systemUrl
.
apiUrl
+
'/wxh-worker-rest/rest/third/'
+
token
+
'/wuKong/sign'
,
params
,{
'content-type'
:
'application/x-www-form-urlencoded'
})
const
res
=
await
this
.
$u
.
post
(
globalUrl
.
systemUrl
.
apiUrl
+
'/wxh-worker-rest/rest/third/'
+
token
+
'/wuKong/sign'
,
params
,{
'content-type'
:
'application/x-www-form-urlencoded'
})
this
.
saving
=
false
;
this
.
saving
=
false
;
if
(
res
.
code
!==
200
){
if
(
res
.
code
!==
200
){
...
...
take-order/pages/settle/web.vue
View file @
100c17ae
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
initUrl
(
e
){
initUrl
(
e
){
let
webUrl
=
''
let
webUrl
=
''
if
(
e
.
url
){
if
(
e
.
url
){
webUrl
=
e
.
url
this
.
webUrl
=
e
.
url
return
}
}
webUrl
=
decodeURIComponent
(
e
.
url
);
webUrl
=
decodeURIComponent
(
e
.
url
);
...
...
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