|
@@ -14,6 +14,23 @@
|
|
|
v-trim
|
|
|
v-model.trim="mixins_query.chargeName"
|
|
|
></el-input>
|
|
|
+ <el-select v-model="mixins_querys.chargeType" placeholder="费用类型" clearable>
|
|
|
+ <el-option label="物业费" :value="1"></el-option>
|
|
|
+ <el-option label="水费" :value="2"></el-option>
|
|
|
+ <el-option label="电费" :value="3"></el-option>
|
|
|
+ <el-option label="卫生费" :value="6"></el-option>
|
|
|
+ <el-option label="车位管理费" :value="4"></el-option>
|
|
|
+ <el-option label="其他费用" :value="7"></el-option>
|
|
|
+ </el-select>
|
|
|
+ <el-date-picker
|
|
|
+ v-model="times"
|
|
|
+ value-format="yyyy-MM"
|
|
|
+ type="monthrange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="选择开始日期"
|
|
|
+ end-placeholder="选择结束日期"
|
|
|
+ @change="effectiveDateToggle"
|
|
|
+ ></el-date-picker>
|
|
|
<el-button class="search-btn" type="primary" @click="mixins_search()" icon="el-icon-search">搜索</el-button>
|
|
|
<div class="search-icon">
|
|
|
<el-tooltip
|
|
@@ -70,6 +87,9 @@ export default {
|
|
|
name: 'propertyFee',
|
|
|
data() {
|
|
|
return {
|
|
|
+ mixins_querys: {
|
|
|
+ chargeType: ''
|
|
|
+ },
|
|
|
currentId: '',
|
|
|
cols: [
|
|
|
{
|
|
@@ -182,10 +202,20 @@ export default {
|
|
|
},
|
|
|
mixins_post: 'post',
|
|
|
selectRow: [],
|
|
|
- statusTable: true
|
|
|
+ statusTable: true,
|
|
|
+ times: []
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
+ mixins_search() {
|
|
|
+ this.mixins_pageset.pageNum = 1;
|
|
|
+ if (!!this.mixins_querys.chargeType) {
|
|
|
+ this.mixins_query.chargeType = this.mixins_querys.chargeType;
|
|
|
+ } else {
|
|
|
+ this.mixins_query.chargeType = '1,2,3,4,5,6,7';
|
|
|
+ }
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
collections(todo, row) {
|
|
|
new Promise((resolve) => {
|
|
|
let title = '',
|
|
@@ -245,6 +275,14 @@ export default {
|
|
|
this.mixins_search();
|
|
|
});
|
|
|
},
|
|
|
+ effectiveDateToggle(va) {
|
|
|
+ let arr = va;
|
|
|
+ if (!arr) {
|
|
|
+ arr = ['', ''];
|
|
|
+ }
|
|
|
+ this.mixins_query.startTime = arr[0];
|
|
|
+ this.mixins_query.endTime = arr[1];
|
|
|
+ },
|
|
|
lookDetails(row) {
|
|
|
new Promise((resolve) => {
|
|
|
this.$store.dispatch('addPopup', {
|