|
@@ -104,17 +104,17 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.getDetails()
|
|
|
|
|
|
+ this.fetchData()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- getDetails() {
|
|
|
|
|
|
+ fetchData() {
|
|
const { id, institutionName } = this.$route.query
|
|
const { id, institutionName } = this.$route.query
|
|
this.ruleForm.name = institutionName
|
|
this.ruleForm.name = institutionName
|
|
this.loading = true
|
|
this.loading = true
|
|
const params = {
|
|
const params = {
|
|
institutionId: id,
|
|
institutionId: id,
|
|
- page: this.page,
|
|
|
|
- rows: this.size
|
|
|
|
|
|
+ page: this.page || 1,
|
|
|
|
+ rows: this.size || 10
|
|
}
|
|
}
|
|
getRelationDisburseDetails(params).then(({ data: { rows, records }}) => {
|
|
getRelationDisburseDetails(params).then(({ data: { rows, records }}) => {
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -139,7 +139,7 @@ export default {
|
|
relationCustomerDisburseId: relationCustomerDisburseId || ''
|
|
relationCustomerDisburseId: relationCustomerDisburseId || ''
|
|
}
|
|
}
|
|
relationDisbursDetailsDele(params).then(() => {
|
|
relationDisbursDetailsDele(params).then(() => {
|
|
- this.getDetails()
|
|
|
|
|
|
+ this.fetchData()
|
|
this.$message.success('删除该绑定关系成功')
|
|
this.$message.success('删除该绑定关系成功')
|
|
})
|
|
})
|
|
})
|
|
})
|