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
c4e3fbe5
Commit
c4e3fbe5
authored
Feb 26, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v1.0.0bug修复
parent
24540e44
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
144 additions
and
258 deletions
+144
-258
http.interceptor.js
take-order/common/http.interceptor.js
+7
-1
upload.js
take-order/components/upload/upload.js
+2
-14
file-upload.vue
take-order/pages/settle/file-upload.vue
+3
-6
file.vue
take-order/pages/settle/file.vue
+108
-192
index.vue
take-order/pages/settle/index.vue
+5
-1
pay-ensure.vue
take-order/pages/settle/pay-ensure.vue
+7
-27
prompt.vue
take-order/pages/settle/prompt.vue
+1
-2
sign-contract.vue
take-order/pages/settle/sign-contract.vue
+11
-6
web.vue
take-order/pages/settle/web.vue
+0
-9
No files found.
take-order/common/http.interceptor.js
View file @
c4e3fbe5
...
@@ -116,10 +116,15 @@ const install = (Vue, vm) => {
...
@@ -116,10 +116,15 @@ const install = (Vue, vm) => {
if
(
res
.
header
.
__token__
)
{
if
(
res
.
header
.
__token__
)
{
vm
.
$u
.
vuex
(
'vuex__token__'
,
res
.
header
.
__token__
);
vm
.
$u
.
vuex
(
'vuex__token__'
,
res
.
header
.
__token__
);
}
}
console
.
log
(
res
,
'res'
)
const
code
=
getCode
(
res
)
const
code
=
getCode
(
res
)
switch
(
code
)
{
switch
(
code
)
{
case
1
:
case
1
:
case
0
:
case
0
:
if
(
res
.
status
===
401
||
res
.
statusCode
===
401
){
vm
.
$u
.
route
(
'/pages/login/wxlogin'
);
return
}
return
result
;
return
result
;
case
200
:
case
200
:
if
(
!
result
.
data
){
if
(
!
result
.
data
){
...
@@ -138,11 +143,12 @@ const install = (Vue, vm) => {
...
@@ -138,11 +143,12 @@ const install = (Vue, vm) => {
// });
// });
// return;
// return;
// }
// }
let
pages
=
getCurrentPages
();
let
pages
=
getCurrentPages
();
if
((
pages
[
pages
.
length
-
1
]).
route
!==
'pages/login/wxlogin'
){
if
((
pages
[
pages
.
length
-
1
]).
route
!==
'pages/login/wxlogin'
){
util
.
setToken
(
''
)
util
.
setToken
(
''
)
vm
.
$u
.
route
(
'/pages/login/wxlogin'
);
vm
.
$u
.
route
(
'/pages/login/wxlogin'
);
return
return
}
}
return
result
;
return
result
;
case
403
:
//没有权限访问
case
403
:
//没有权限访问
...
...
take-order/components/upload/upload.js
View file @
c4e3fbe5
...
@@ -9,21 +9,10 @@ export default {
...
@@ -9,21 +9,10 @@ export default {
uptokenURL
:
globalUrl
.
ucenterUrl
.
apiUrl
+
'/v1/tokens'
,
uptokenURL
:
globalUrl
.
ucenterUrl
.
apiUrl
+
'/v1/tokens'
,
imgList
:
[],
imgList
:
[],
imgs
:[],
imgs
:[],
uploadToken
:
''
uploadToken
:
''
,
selectNum
:
999
,
};
};
},
},
props
:
{
uploadVisible
:
{
//选择按钮是否显示
type
:
Boolean
,
default
:
true
,
},
selectNum
:
{
//选择图片的数量
type
:
Number
,
default
:
9999
,
},
},
computed
:
{
computed
:
{
uploadBtnShow
()
{
uploadBtnShow
()
{
let
flag
=
this
.
imgList
.
length
<
this
.
selectNum
let
flag
=
this
.
imgList
.
length
<
this
.
selectNum
...
@@ -174,7 +163,6 @@ export default {
...
@@ -174,7 +163,6 @@ export default {
// },
// },
async
removeImg
(
index
)
{
async
removeImg
(
index
)
{
this
.
imgList
.
splice
(
index
,
1
)
this
.
imgList
.
splice
(
index
,
1
)
this
.
imgs
.
splice
(
index
,
1
)
// this.$emit('image-change', this.imgList) //将图片回传父页面
// this.$emit('image-change', this.imgList) //将图片回传父页面
},
},
getUrlKey
(
file
)
{
getUrlKey
(
file
)
{
...
...
take-order/pages/settle/file-upload.vue
View file @
c4e3fbe5
...
@@ -70,6 +70,9 @@
...
@@ -70,6 +70,9 @@
this
.
pageTitle
=
item
.
label
||
'图片上传'
this
.
pageTitle
=
item
.
label
||
'图片上传'
}
}
})
})
if
(
this
.
uploadType
!==
'other_certificates'
){
this
.
selectNum
=
1
}
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
title
:
this
.
pageTitle
});
});
...
@@ -82,12 +85,6 @@
...
@@ -82,12 +85,6 @@
let
selected
=
this
.
selected
let
selected
=
this
.
selected
let
prevVue
=
pages
[
pages
.
length
-
2
].
$vm
let
prevVue
=
pages
[
pages
.
length
-
2
].
$vm
const
uploadType
=
this
.
uploadType
const
uploadType
=
this
.
uploadType
// let imgUrl = this.imgs.length>0 && this.imgs[0]
// if(uploadType==='other_certificates'){
// imgUrl = this.imgs.join(',')
// prevVue.imgObj[uploadType] = imgUrl
// }
// prevVue.fileInfo[uploadType] = imgUrl
prevVue
.
imgObj
[
uploadType
]
=
this
.
imgList
prevVue
.
imgObj
[
uploadType
]
=
this
.
imgList
},
},
initworkingAgeList
()
{
initworkingAgeList
()
{
...
...
take-order/pages/settle/file.vue
View file @
c4e3fbe5
...
@@ -59,12 +59,12 @@
...
@@ -59,12 +59,12 @@
other_certificates
:
""
,
other_certificates
:
""
,
id_card_back_check
:
false
,
id_card_back_check
:
false
,
},
},
imgObj
:{
imgObj
:
{
id_card_front
:[],
id_card_front
:
[],
id_card_back
:[],
id_card_back
:
[],
electrician_certificate
:[],
electrician_certificate
:
[],
vehicle_photos
:[],
vehicle_photos
:
[],
other_certificates
:
[]
other_certificates
:
[]
},
},
formShowList
:
[{
formShowList
:
[{
filedName
:
"id_card_front"
,
filedName
:
"id_card_front"
,
...
@@ -109,28 +109,27 @@
...
@@ -109,28 +109,27 @@
saving
:
false
,
saving
:
false
,
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{},
if
(
e
&&
e
.
activeService
&&
e
.
activeService
.
length
>
0
)
{
updated
()
{
//console.log(e.activeService)
Object
.
keys
(
this
.
imgObj
).
map
(
key
=>
{
this
.
activeService
=
e
.
activeService
}
},
updated
(){
Object
.
keys
(
this
.
imgObj
).
map
(
key
=>
{
const
imgs
=
this
.
imgObj
[
key
]
const
imgs
=
this
.
imgObj
[
key
]
this
.
fileInfo
[
key
]
=
imgs
.
length
>
0
&&
imgs
[
0
].
key
||
''
this
.
fileInfo
[
key
]
=
imgs
.
length
>
0
&&
imgs
[
0
].
key
||
''
})
})
},
},
watch
:
{
watch
:
{
"fileInfo.id_card_front"
()
{
"fileInfo.id_card_front"
()
{
console
.
log
(
'idcard-change'
)
if
(
this
.
fileInfo
.
id_card_front
)
{
if
(
this
.
fileInfo
.
id_card_front
)
{
this
.
checkIdCard
(
"front"
);
this
.
checkIdCard
(
"front"
);
}
else
{
this
.
fileInfo
.
id_card_name
=
""
;
this
.
fileInfo
.
id_card_number
=
""
;
}
}
},
},
"fileInfo.id_card_back"
()
{
"fileInfo.id_card_back"
()
{
if
(
this
.
fileInfo
.
id_card_front
)
{
if
(
this
.
fileInfo
.
id_card_front
)
{
this
.
checkIdCard
(
"back"
);
this
.
checkIdCard
(
"back"
);
}
else
{
this
.
fileInfo
.
id_card_back_check
=
true
;
}
}
},
},
},
},
...
@@ -169,14 +168,14 @@
...
@@ -169,14 +168,14 @@
front
:
this
.
fileInfo
.
id_card_front
,
front
:
this
.
fileInfo
.
id_card_front
,
back
:
this
.
fileInfo
.
id_card_back
,
back
:
this
.
fileInfo
.
id_card_back
,
};
};
const
params
=
{
const
params
=
{
[
"id_card_"
+
type
]:
url
[
type
],
[
"id_card_"
+
type
]:
url
[
type
],
id
:
this
.
fileInfo
.
id
||
0
,
id
:
this
.
fileInfo
.
id
||
0
,
}
}
const
res
=
await
request
[
type
](
params
);
const
res
=
await
request
[
type
](
params
);
if
(
res
.
code
!==
200
)
{
if
(
res
.
code
!==
200
)
{
if
(
type
===
"front"
)
{
if
(
type
===
"front"
)
{
this
.
fileInfo
.
id_card_name
=
""
;
this
.
fileInfo
.
id_card_name
=
""
;
this
.
fileInfo
.
id_card_number
=
""
;
this
.
fileInfo
.
id_card_number
=
""
;
...
@@ -195,183 +194,100 @@
...
@@ -195,183 +194,100 @@
this
.
fileInfo
.
id_card_back_check
=
true
;
this
.
fileInfo
.
id_card_back_check
=
true
;
}
}
},
},
//新身份证 正反面上传
// newCheckSettleIDCard: function (type) {
// let url = {
// front: this.fileInfo.id_card_front,
// back: this.fileInfo.id_card_back,
// };
// let that = this
// uni.request({
// url: 'http://rest-u.yunya.com/v1/settled/card-' + type,
// method: 'POST',
// header:{
// Authorization:'RTOKENe56f873b5823477fa2e15572f8fa7eb3a5fb6f7b',
// token:getApp().globalData.token
// },
// data: {
// ["id_card_" + type]: url[type],
// id: this.fileInfo.id || 0
// },
// success: (res) => {
// uni.hideLoading()
// console.log('上传 正面 成功')
// console.log(res)
// if(res.statusCode==401){
// uni.navigateTo({
// url:'/pages/login/wxlogin'
// })
// return
// }
// if(res.statusCode==200){
// console.log('statusCode == 200')
// if (type === "front") {
// console.log('front11111111111111')
// this.fileInfo.id_card_name =
// res.data.id_card_name || "";
// this.fileInfo.id_card_number =
// res.data.id_card_number || "";
// } else {
// console.log('22222222222222')
// this.fileInfo.id_card_back_check = true;
// }
// }else{
// console.log('statusCode != 200')
// if (type === "front") {
// console.log('front333333333333')
// this.fileInfo.id_card_name = "";
// this.fileInfo.id_card_number = "";
// } else {
// console.log('44444444444444444')
// this.fileInfo.id_card_back_check = false;
// }
// uni.showToast({
// icon:'none',
// title:res.data.message
// })
// }
// },
// fail: (e) => {
// uni.hideLoading()
// uni.showToast({
// icon:'none',
// title:'上传正面失败'
// })
// // console.log('获取下单列表 失败')
// // console.log(e)
// }
// })
// },
checkFileInfo
()
{
checkFileInfo
()
{
let
formFlag
=
true
;
let
formFlag
=
true
;
const
fileInfo
=
this
.
fileInfo
;
const
fileInfo
=
this
.
fileInfo
;
let
checkFunc
=
function
(
item
)
{
let
checkFunc
=
function
(
item
)
{
const
value
=
fileInfo
[
item
.
filedName
];
const
value
=
fileInfo
[
item
.
filedName
];
const
tips
=
"请上传您的"
+
item
.
label
;
const
tips
=
"请上传您的"
+
item
.
label
;
if
(
!
value
)
{
if
(
!
value
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
tips
,
title
:
tips
,
icon
:
'none'
icon
:
'none'
})
})
return
false
;
return
false
;
}
}
return
true
;
return
true
;
};
};
const
flagArr
=
this
.
formShowList
.
some
((
item
)
=>
{
const
flagArr
=
this
.
formShowList
.
some
((
item
)
=>
{
// 返回验证失败的数组
// 返回验证失败的数组
let
flag
=
true
;
let
flag
=
true
;
if
(
item
.
required
)
{
if
(
item
.
required
)
{
flag
=
checkFunc
(
item
);
flag
=
checkFunc
(
item
);
}
}
return
!
flag
;
return
!
flag
;
});
});
formFlag
=
!
flagArr
||
flagArr
.
length
>
1
;
formFlag
=
!
flagArr
||
flagArr
.
length
>
1
;
if
(
formFlag
){
if
(
formFlag
)
{
if
(
!
fileInfo
.
id_card_name
)
{
if
(
!
fileInfo
.
id_card_name
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'身份证识别不通过,请重新上传'
,
title
:
'身份证识别不通过,请重新上传'
,
icon
:
'none'
icon
:
'none'
})
formFlag
=
false
;
}
if
(
!
fileInfo
.
id_card_back_check
)
{
uni
.
showToast
({
title
:
'身份证国徽面识别不通过,请重新上传'
,
icon
:
'none'
})
formFlag
=
false
;
}
}
return
formFlag
;
},
async
submitFileInfo
()
{
if
(
!
this
.
checkFileInfo
())
{
return
;
}
const
fileInfo
=
this
.
fileInfo
;
let
submitInfoData
=
{
...
fileInfo
,
}
uni
.
showLoading
({
title
:
'加载中……'
})
})
const
res
=
await
this
.
$u
.
api
.
submitSettleFileInfo
(
submitInfoData
)
formFlag
=
false
;
uni
.
hideLoading
()
}
if
(
res
.
code
!==
200
){
if
(
!
fileInfo
.
id_card_back_check
)
{
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
return
}
uni
.
showToast
({
uni
.
showToast
({
title
:
'资料提交成功'
,
title
:
'身份证国徽面识别不通过,请重新上传'
,
icon
:
'none'
})
})
let
timer
=
setTimeout
(()
=>
{
formFlag
=
false
;
clearTimeout
(
timer
)
}
uni
.
navigateTo
({
}
url
:
'/pages/settle/prompt'
})
return
formFlag
;
},
2000
)
},
async
submitFileInfo
()
{
this
.
submitSuccess
=
true
;
if
(
!
this
.
checkFileInfo
())
{
// this.$u.api.post("@u/v1/h5/settled/submit-info", submitInfoData)
return
;
// .then((res) => {
}
// uni.hideLoading()
const
fileInfo
=
this
.
fileInfo
;
let
submitInfoData
=
{
// if (res.status != 200) {
...
fileInfo
,
// return;
}
// }
uni
.
showLoading
({
// if (res.data) {
title
:
'加载中……'
// uni.showToast({
})
// title:'工作人员2个工作日内审核回复',
const
res
=
await
this
.
$u
.
api
.
submitSettleFileInfo
(
submitInfoData
)
// icon:'none'
uni
.
hideLoading
()
// })
if
(
res
.
code
!==
200
)
{
// this.submitSuccess = true;
uni
.
showToast
({
// }
title
:
res
.
message
,
// })
icon
:
'none'
// .catch(() => {
})
// //Indicator.close();
return
// });
}
},
uni
.
showToast
({
title
:
'资料提交成功'
,
})
let
timer
=
setTimeout
(()
=>
{
clearTimeout
(
timer
)
uni
.
navigateTo
({
url
:
'/pages/settle/prompt'
})
},
2000
)
this
.
submitSuccess
=
true
;
// this.$u.api.post("@u/v1/h5/settled/submit-info", submitInfoData)
// .then((res) => {
// uni.hideLoading()
// if (res.status != 200) {
// return;
// }
// if (res.data) {
// uni.showToast({
// title:'工作人员2个工作日内审核回复',
// icon:'none'
// })
// this.submitSuccess = true;
// }
// })
// .catch(() => {
// //Indicator.close();
// });
},
},
},
}
}
</
script
>
</
script
>
...
...
take-order/pages/settle/index.vue
View file @
c4e3fbe5
...
@@ -25,7 +25,11 @@
...
@@ -25,7 +25,11 @@
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
this
.
startCounting
()
this
.
startCounting
()
this
.
getBaseInfo
()
},
onShow
(){
if
(
!
this
.
settledInfo
){
this
.
getBaseInfo
()
}
},
},
methods
:
{
methods
:
{
async
getBaseInfo
(){
async
getBaseInfo
(){
...
...
take-order/pages/settle/pay-ensure.vue
View file @
c4e3fbe5
...
@@ -61,10 +61,8 @@
...
@@ -61,10 +61,8 @@
},
},
methods
:
{
methods
:
{
successCallback
(){
successCallback
(){
const
timer
=
setTimeout
(()
=>
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/settle/prompt'
url
:
'/pages/settle/prompt'
})
})
})
},
},
async
getBaseInfo
(){
async
getBaseInfo
(){
...
@@ -87,34 +85,16 @@
...
@@ -87,34 +85,16 @@
...
this
.
payResult
...
this
.
payResult
}
}
const
res
=
await
this
.
$u
.
api
.
getSettleDepositResult
(
params
);
const
res
=
await
this
.
$u
.
api
.
getSettleDepositResult
(
params
);
console
.
log
(
res
,
'res'
)
if
(
res
.
status
!==
true
){
if
(
res
.
code
!==
200
){
return
return
}
}
uni
.
showToast
({
uni
.
showToast
({
title
:
'支付成功'
title
:
'支付成功'
,
})
})
let
timer
=
setTimeout
(()
=>
{
let
timer
=
setTimeout
(()
=>
{
clearTimeout
(
timer
)
this
.
successCallback
()
this
.
successCallback
()
},
3000
)
},
3000
)
// const payStatus = res.data.status
// switch (parseInt(payStatus)) {
// case 0:
// this.pending();
// break;
// case 1:
// this.paySuccess = true
// uni.showToast({
// title:'支付成功',
// icon:'none'
// })
// this.successCallback()
// break;
// default:
// this.paySuccess = false
// }
// },1000)
},
},
getCode
:
async
function
()
{
getCode
:
async
function
()
{
let
that
=
this
let
that
=
this
...
@@ -162,7 +142,7 @@
...
@@ -162,7 +142,7 @@
}
}
// 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
)
if
(
response
.
status
!==
200
)
{
if
(
response
.
status
!==
true
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
response
.
message
,
title
:
response
.
message
,
icon
:
'none'
icon
:
'none'
...
@@ -176,7 +156,7 @@
...
@@ -176,7 +156,7 @@
cancelText
:
'失败'
,
cancelText
:
'失败'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
console
.
log
(
res
.
confirm
,
'res.confirm'
)
//
console.log(res.confirm,'res.confirm')
self
.
pending
()
self
.
pending
()
}
else
if
(
res
.
cancel
)
{
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
console
.
log
(
'用户点击取消'
);
...
...
take-order/pages/settle/prompt.vue
View file @
c4e3fbe5
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
status
:
2
,
status
:
2
,
statusName
:
'已通过'
,
statusName
:
'已通过'
,
txtArr
:[
'你已通过'
,
'“充电桩安装入驻审核”'
],
txtArr
:[
'你已通过'
,
'“充电桩安装入驻审核”'
],
btnTxt
:
'去
培训学习
'
,
btnTxt
:
'去
考试
'
,
url
:
'/pages/exam/index'
url
:
'/pages/exam/index'
},{
},{
status
:
3
,
status
:
3
,
...
@@ -95,7 +95,6 @@
...
@@ -95,7 +95,6 @@
this
.
settledInfo
=
settledInfo
this
.
settledInfo
=
settledInfo
this
.
status
=
settledInfo
.
record
.
status
this
.
status
=
settledInfo
.
record
.
status
uni
.
hideLoading
()
uni
.
hideLoading
()
console
.
log
(
settledInfo
,
'settledInfo'
)
this
.
initInfo
(
settledInfo
.
record
)
this
.
initInfo
(
settledInfo
.
record
)
},
},
initInfo
(
record
){
initInfo
(
record
){
...
...
take-order/pages/settle/sign-contract.vue
View file @
c4e3fbe5
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</view>
</view>
<view
class=
"item item-select u-row-between"
>
<view
class=
"item item-select u-row-between"
>
<view
class=
"label"
>
结算方式:
</view>
<view
class=
"label"
>
结算方式:
</view>
<u-radio-group
v-model=
"baseInfo.pay_type"
>
<u-radio-group
v-model=
"baseInfo.pay_type"
@
change=
"radioGroupChange"
>
<u-radio
<u-radio
v-for=
"(item, index) in radioList"
:key=
"index"
v-for=
"(item, index) in radioList"
:key=
"index"
:name=
"item.value"
:name=
"item.value"
...
@@ -82,8 +82,11 @@
...
@@ -82,8 +82,11 @@
onLoad
(
e
)
{
onLoad
(
e
)
{
},
},
onShow
(){
onShow
(){
uni
.
navigateTo
({
// url:'/pages/settle/web?url='+url
url
:
'/pages/settle/web'
})
this
.
getBaseInfo
()
this
.
getBaseInfo
()
// 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
...
@@ -214,11 +217,15 @@
...
@@ -214,11 +217,15 @@
// }
// }
// return true
// return true
// },
// },
radioGroupChange
(
val
){
this
.
baseInfo
.
bank_name
=
''
this
.
baseInfo
.
bank_no
=
''
this
.
baseInfo
.
bank_site
=
''
},
async
getBaseInfo
(){
async
getBaseInfo
(){
const
app
=
getApp
()
const
app
=
getApp
()
const
callBack
=
(
vm
,
result
)
=>
{
const
callBack
=
(
vm
,
result
)
=>
{
vm
.
settledInfo
=
result
vm
.
settledInfo
=
result
console
.
log
(
result
,
'result--------'
)
const
record
=
result
.
record
const
record
=
result
.
record
vm
.
baseInfo
.
name
=
record
.
id_card_name
vm
.
baseInfo
.
name
=
record
.
id_card_name
vm
.
baseInfo
.
id
=
record
.
id
vm
.
baseInfo
.
id
=
record
.
id
...
@@ -229,8 +236,6 @@
...
@@ -229,8 +236,6 @@
return
return
}
}
await
app
.
getBaseInfo
(
this
,
callBack
)
await
app
.
getBaseInfo
(
this
,
callBack
)
},
},
async
submitInfo
(){
async
submitInfo
(){
// checkSettleSignInfo
// checkSettleSignInfo
...
@@ -332,7 +337,7 @@
...
@@ -332,7 +337,7 @@
uni
.
navigateTo
({
uni
.
navigateTo
({
// url:'/pages/settle/web?url='+url
// url:'/pages/settle/web?url='+url
url
:
'/pages/settle/web
?url='
+
encodeURIComponent
(
url
)
url
:
'/pages/settle/web
'
})
})
}
}
},
},
...
...
take-order/pages/settle/web.vue
View file @
c4e3fbe5
...
@@ -22,16 +22,7 @@
...
@@ -22,16 +22,7 @@
this
.
webUrl
=
e
.
url
this
.
webUrl
=
e
.
url
return
return
}
}
webUrl
=
decodeURIComponent
(
e
.
url
);
console
.
log
(
'web-webUrl:'
)
console
.
log
(
webUrl
)
webUrl
=
getApp
().
globalData
.
signUrl
webUrl
=
getApp
().
globalData
.
signUrl
console
.
log
(
'getApp-web-webUrl:'
)
console
.
log
(
webUrl
)
this
.
webUrl
=
webUrl
this
.
webUrl
=
webUrl
}
}
...
...
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