Commit 9808149e authored by xinzhedeai's avatar xinzhedeai

add:新增特种工作,商户信息获取

parent db2adeb3
......@@ -64,21 +64,11 @@ window.addEventListener("load", function() {
interfacePublicKey: API_KEY_MAP['no-page']['publicKey'],
interfacePrivateKey: API_KEY_MAP['no-page']['privateKey'],
reqParams: {
sign: 11,
sign: 35,
merId: gemhoUtil.getParameter('merId') || '',
sort: 'lawId,desc',
},
},
(res) => {
if (!res) {
// 中台返回为undefined 重新请求
vant.Toast.clear()
this.page = this.page - 1 // 重新请求后,分页数恢复上一次请求的值
setTimeout(() => {
// this.getList()
}, 0)
return
}
if (res) {
var result = JSON.parse(res)
console.log('商户信息', result)
......@@ -86,11 +76,7 @@ window.addEventListener("load", function() {
this.formData.merName = result.data.merName
this.formData.merchantPhone = result.data.merchantPhone
this.formData.merchantName = result.data.merchantName
this.formData.unitName = result.data.unitName
}
// this.formData.
}
}
)
......@@ -305,7 +291,7 @@ window.addEventListener("load", function() {
vant.Toast({
message: res.code === 200 ? '操作成功' : '操作失败',
})
// location.reload()
location.reload()
})
},
//获取商户信息
......
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