|
@@ -8,7 +8,7 @@
|
|
<financeClaimIndexInfo @clickBtn="clickBtn"></financeClaimIndexInfo>
|
|
<financeClaimIndexInfo @clickBtn="clickBtn"></financeClaimIndexInfo>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="main">
|
|
<el-col :span="24" class="main">
|
|
- <financeclaimsList :debtTable="debtTable" :total="total" @pagechange="pagechange" ></financeclaimsList>
|
|
|
|
|
|
+ <financeclaimsList :debtTable="debtTable" :total="total" :region="region" @pagechange="pagechange" ></financeclaimsList>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</div>
|
|
</div>
|
|
@@ -34,7 +34,8 @@ export default {
|
|
debtTable: [],
|
|
debtTable: [],
|
|
total: '',
|
|
total: '',
|
|
cpname: '',
|
|
cpname: '',
|
|
- jgname:''
|
|
|
|
|
|
+ jgname:'',
|
|
|
|
+ region:'1'
|
|
|
|
|
|
}),
|
|
}),
|
|
created() {
|
|
created() {
|
|
@@ -43,7 +44,7 @@ export default {
|
|
computed: {},
|
|
computed: {},
|
|
methods: {
|
|
methods: {
|
|
...financeclaims(['fclaimsList', 'orUpdate', 'one', 'dupdate','fetch','update']),
|
|
...financeclaims(['fclaimsList', 'orUpdate', 'one', 'dupdate','fetch','update']),
|
|
- async financeclaimsList({ skip = 1, limit = 10,type=0} = {}) {
|
|
|
|
|
|
+ async financeclaimsList({ skip = 1, limit = 10,type=0,status=this.region} = {}) {
|
|
const res = await this.fclaimsList({ skip, limit ,type});
|
|
const res = await this.fclaimsList({ skip, limit ,type});
|
|
this.$set(this, `debtTable`, res.res);
|
|
this.$set(this, `debtTable`, res.res);
|
|
this.$set(this, `total`, res.total);
|
|
this.$set(this, `total`, res.total);
|
|
@@ -53,9 +54,10 @@ export default {
|
|
var limit = 10;
|
|
var limit = 10;
|
|
var innewname=this.jgname;
|
|
var innewname=this.jgname;
|
|
var name = this.cpname ;
|
|
var name = this.cpname ;
|
|
|
|
+ var status=this.region;
|
|
// var uid = '5e79672d0217a7336048b4c5' ;
|
|
// var uid = '5e79672d0217a7336048b4c5' ;
|
|
var type=0;
|
|
var type=0;
|
|
- const res = await this.fclaimsList({ skip, limit ,type,innewname,name});
|
|
|
|
|
|
+ const res = await this.fclaimsList({ skip, limit ,type,innewname,name,status});
|
|
this.$set(this, `debtTable`, res.res);
|
|
this.$set(this, `debtTable`, res.res);
|
|
this.$set(this, `total`, res.total);
|
|
this.$set(this, `total`, res.total);
|
|
},
|
|
},
|
|
@@ -65,11 +67,13 @@ export default {
|
|
var name = data.name;
|
|
var name = data.name;
|
|
this.cpname = data.name;
|
|
this.cpname = data.name;
|
|
this.jgname = data.innewname;
|
|
this.jgname = data.innewname;
|
|
|
|
+ this.region=data.region;
|
|
|
|
+ var status=data.region;
|
|
var skip = 0;
|
|
var skip = 0;
|
|
var limit = 10;
|
|
var limit = 10;
|
|
// var uid = '5e79672d0217a7336048b4c5' ;
|
|
// var uid = '5e79672d0217a7336048b4c5' ;
|
|
var type=0;
|
|
var type=0;
|
|
- const res = await this.fclaimsList({ skip, limit ,type,innewname,name});
|
|
|
|
|
|
+ const res = await this.fclaimsList({ skip, limit ,type,innewname,name,status});
|
|
this.$set(this, `debtTable`, res.res);
|
|
this.$set(this, `debtTable`, res.res);
|
|
this.$set(this, `total`, res.total);
|
|
this.$set(this, `total`, res.total);
|
|
},
|
|
},
|