Commit 100c17ae authored by 李俊赕's avatar 李俊赕

edit-web

parent c3005c5f
......@@ -162,7 +162,6 @@
}
// const codeApiUrl = globalUrl.codeUrl.apiUrl;
const response = await this.$u.api.paySettleDeposit(params)
console.log(response,'response')
if (response.status !==200) {
uni.showToast({
title: response.message,
......
......@@ -80,16 +80,15 @@
}
},
onLoad(e) {
},
onShow(){
console.log('onshow')
this.getBaseInfo()
// this.goSign()
const url = 'https://m.test.ibanshou.cn/activity/settled_2021/mini'
// uni.navigateTo({
// url:'/pages/settle/web?url='+url
// })
uni.navigateTo({
url:'/pages/settle/web?url='+url
})
// https://m.test.ibanshou.cn/activity/settled_2021/mini
},
computed: {
......@@ -308,18 +307,16 @@
async goSign(){
const token = app.globalData.token;
const settledInfo = this.settledInfo
const baseInfo = this.baseInfo
const params = {
namePsn:settledInfo.record.id_card_name,
idNumberPsn:settledInfo.record.id_card_number,
province:settledInfo.provinceList.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'})
this.saving = false;
if(res.code!==200){
......
......@@ -19,7 +19,8 @@
initUrl(e){
let webUrl = ''
if(e.url){
webUrl = e.url
this.webUrl = e.url
return
}
webUrl = decodeURIComponent(e.url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment