|
|
@@ -154,7 +154,8 @@ export default {
|
|
|
name1:'',
|
|
|
mobile1:'',
|
|
|
confirmMobile1:'',
|
|
|
- totalDebtAmount:0
|
|
|
+ totalDebtAmount:0,
|
|
|
+ searchContent:''
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -189,7 +190,7 @@ export default {
|
|
|
this.$router.push({path:'/in/add',query})
|
|
|
},
|
|
|
exportGhs(){
|
|
|
- this.$service.ghs.downloadGhs().then(res => {
|
|
|
+ this.$service.ghs.downloadGhs({name:this.searchContent}).then(res => {
|
|
|
if(res.file){
|
|
|
window.location.href = res.file
|
|
|
}
|
|
|
@@ -296,6 +297,7 @@ export default {
|
|
|
['slot-total-debt-amount','flex1', 'pagination']
|
|
|
])
|
|
|
.on('refresh', async (params, { next }) => {
|
|
|
+ this.searchContent = params.name ? params.name : ''
|
|
|
let result = await next(params);
|
|
|
this.totalDebtAmount = result.totalDebtAmount?result.totalDebtAmount:0
|
|
|
})
|