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

edit-web

parent c3005c5f
...@@ -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,
......
...@@ -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){
......
...@@ -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);
......
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