|
@ -74,17 +74,11 @@ export default { |
|
|
// 数据列表 |
|
|
// 数据列表 |
|
|
dataList: [], |
|
|
dataList: [], |
|
|
// 遍历表头 |
|
|
// 遍历表头 |
|
|
headers: [ |
|
|
|
|
|
'cid', |
|
|
|
|
|
'chargetype', |
|
|
|
|
|
'propertyid', |
|
|
|
|
|
'constructionarea', |
|
|
|
|
|
'unitprice', |
|
|
|
|
|
'owetime', |
|
|
|
|
|
'chargetime', |
|
|
|
|
|
'lengthdate', |
|
|
|
|
|
'chargableexpense' |
|
|
|
|
|
], |
|
|
|
|
|
|
|
|
headers: [], |
|
|
|
|
|
headers1: ['cid','chargetype','propertyid','constructionarea','unitprice','owetime','chargetime','lengthdate','chargableexpense'], |
|
|
|
|
|
headers2: ['cid','chargetype','propertyid','accesscardid','unitprice','owetime','chargetime','lengthdate','chargableexpense'], |
|
|
|
|
|
headers3: ['cid','chargetype','propertyid','carportid','unitprice','rentoutPrice', |
|
|
|
|
|
'owetime','chargetime','lengthdate','chargableexpense'], |
|
|
// 遮罩层 |
|
|
// 遮罩层 |
|
|
loading: true, |
|
|
loading: true, |
|
|
// 总条数 |
|
|
// 总条数 |
|
@ -111,6 +105,14 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
/** 查询角色列表 */ |
|
|
/** 查询角色列表 */ |
|
|
getList() { |
|
|
getList() { |
|
|
|
|
|
this.headers = [] |
|
|
|
|
|
if (this.queryParams.chargetype == 1) { // 物业费 |
|
|
|
|
|
this.headers = this.headers1 |
|
|
|
|
|
} else if (this.queryParams.chargetype == 2) { // 电梯卡费 |
|
|
|
|
|
this.headers = this.headers2 |
|
|
|
|
|
} else { // 车位费 |
|
|
|
|
|
this.headers = this.headers3 |
|
|
|
|
|
} |
|
|
this.loading = true |
|
|
this.loading = true |
|
|
this.currentDate = this.queryParams.startDate || moment().format('YYYY-MM-DD') |
|
|
this.currentDate = this.queryParams.startDate || moment().format('YYYY-MM-DD') |
|
|
getExpireList(this.queryParams).then( |
|
|
getExpireList(this.queryParams).then( |
|
|