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