mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 10:43:05 +08:00
Merge branch 'feature/入司优化' into dev
This commit is contained in:
@@ -464,7 +464,7 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
async setBankArea(area) {
|
||||
setBankArea(area) {
|
||||
console.log(area)
|
||||
const [province, city] = [...area]
|
||||
this.userInfo.bankAddress = `${province.name}-${city.name}`
|
||||
@@ -472,9 +472,12 @@ export default {
|
||||
this.userInfo.bankCity = city.code
|
||||
this.areaName = this.userInfo.bankAddress
|
||||
this.areaShow = false
|
||||
this.queryBankJoints()
|
||||
},
|
||||
async queryBankJoints() {
|
||||
let param = {
|
||||
bankcode: this.code,
|
||||
citycode: city.code.slice(0, 4)
|
||||
citycode: this.userInfo.bankCity.slice(0, 4)
|
||||
}
|
||||
this.bankJointsList.splice(0)
|
||||
let res = await getBankJoints(param)
|
||||
@@ -733,6 +736,13 @@ export default {
|
||||
this.save()
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
code() {
|
||||
if (this.userInfo.bankCity) {
|
||||
this.queryBankJoints()
|
||||
}
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
//清理计时器
|
||||
window.clearInterval(this.timeId)
|
||||
|
||||
Reference in New Issue
Block a user