b25b036d
wuxw
v1.9 优化日期
|
1
|
<template>
|
ce5e1a2a
wuxw
系统模块开发中
|
2
3
|
<div class="operate-data-log-container">
<el-card class="search-card">
|
27dcfde5
wuxw
系统全面测试完成
|
4
|
<div slot="header" class="flex justify-between">
|
ce5e1a2a
wuxw
系统模块开发中
|
5
|
<span>{{ $t('operateDataLog.search.title') }}</span>
|
c85e0853
wuxw
业主详情开发完成
|
6
|
<el-button type="text" style="float: right; padding: 3px 0" @click="_moreCondition">
|
ce5e1a2a
wuxw
系统模块开发中
|
7
8
9
|
{{ operateDataLogInfo.moreCondition ? $t('common.hide') : $t('common.more') }}
</el-button>
</div>
|
c85e0853
wuxw
业主详情开发完成
|
10
|
|
ce5e1a2a
wuxw
系统模块开发中
|
11
12
|
<el-row :gutter="20">
<el-col :span="6">
|
b25b036d
wuxw
v1.9 优化日期
|
13
14
|
<el-date-picker v-model="operateDataLogInfo.conditions.logStartTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" :placeholder="$t('operateDataLog.search.logStartTime')" style="width: 100%"
>
|
ce5e1a2a
wuxw
系统模块开发中
|
15
16
|
</el-date-picker>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
17
|
|
ce5e1a2a
wuxw
系统模块开发中
|
18
|
<el-col :span="6">
|
b25b036d
wuxw
v1.9 优化日期
|
19
|
<el-date-picker v-model="operateDataLogInfo.conditions.logEndTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss" :placeholder="$t('operateDataLog.search.logEndTime')" style="width: 100%"
|
ce5e1a2a
wuxw
系统模块开发中
|
20
21
22
|
:picker-options="endDateOptions">
</el-date-picker>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
23
|
|
ce5e1a2a
wuxw
系统模块开发中
|
24
|
<el-col :span="6">
|
c85e0853
wuxw
业主详情开发完成
|
25
|
<el-input v-model="operateDataLogInfo.conditions.staffNameLike"
|
ce5e1a2a
wuxw
系统模块开发中
|
26
27
28
|
:placeholder="$t('operateDataLog.search.staffNameLike')">
</el-input>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
29
|
|
ce5e1a2a
wuxw
系统模块开发中
|
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<el-col :span="6">
<el-button type="primary" @click="_queryDataMethod">
<i class="el-icon-search"></i>
{{ $t('common.search') }}
</el-button>
<el-button @click="_resetDataMethod">
<i class="el-icon-refresh"></i>
{{ $t('common.reset') }}
</el-button>
</el-col>
</el-row>
<el-row :gutter="20" v-show="operateDataLogInfo.moreCondition">
|
c85e0853
wuxw
业主详情开发完成
|
43
44
45
|
<el-col :span="6"
v-if="operateDataLogInfo._currentTab === 'feeConfigDetailHis' || operateDataLogInfo._currentTab === 'feeDetailHis'">
<el-input v-model="operateDataLogInfo.conditions.feeNameLike"
|
ce5e1a2a
wuxw
系统模块开发中
|
46
47
48
|
:placeholder="$t('operateDataLog.search.feeNameLike')">
</el-input>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
49
|
|
ce5e1a2a
wuxw
系统模块开发中
|
50
|
<el-col :span="6" v-if="operateDataLogInfo._currentTab === 'feeDetailHis'">
|
c85e0853
wuxw
业主详情开发完成
|
51
|
<el-input v-model="operateDataLogInfo.conditions.payerObjName"
|
ce5e1a2a
wuxw
系统模块开发中
|
52
53
54
|
:placeholder="$t('operateDataLog.search.payerObjName')">
</el-input>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
55
|
|
ce5e1a2a
wuxw
系统模块开发中
|
56
|
<el-col :span="6" v-if="operateDataLogInfo._currentTab === 'ownerDetailHis'">
|
c85e0853
wuxw
业主详情开发完成
|
57
|
<el-input v-model="operateDataLogInfo.conditions.ownerNameLike"
|
ce5e1a2a
wuxw
系统模块开发中
|
58
59
60
|
:placeholder="$t('operateDataLog.search.ownerNameLike')">
</el-input>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
61
|
|
ce5e1a2a
wuxw
系统模块开发中
|
62
|
<el-col :span="6" v-if="operateDataLogInfo._currentTab === 'roomDetailHis'">
|
c85e0853
wuxw
业主详情开发完成
|
63
|
<el-input v-model="operateDataLogInfo.conditions.roomName"
|
ce5e1a2a
wuxw
系统模块开发中
|
64
65
66
|
:placeholder="$t('operateDataLog.search.roomName')">
</el-input>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
67
|
|
ce5e1a2a
wuxw
系统模块开发中
|
68
|
<el-col :span="6" v-if="operateDataLogInfo._currentTab === 'carDetailHis'">
|
c85e0853
wuxw
业主详情开发完成
|
69
|
<el-input v-model="operateDataLogInfo.conditions.carNumLike"
|
ce5e1a2a
wuxw
系统模块开发中
|
70
71
72
|
:placeholder="$t('operateDataLog.search.carNumLike')">
</el-input>
</el-col>
|
c85e0853
wuxw
业主详情开发完成
|
73
|
|
ce5e1a2a
wuxw
系统模块开发中
|
74
|
<el-col :span="6" v-if="operateDataLogInfo._currentTab === 'contractDetailChange'">
|
c85e0853
wuxw
业主详情开发完成
|
75
|
<el-input v-model="operateDataLogInfo.conditions.contractCode"
|
ce5e1a2a
wuxw
系统模块开发中
|
76
77
78
79
80
81
82
|
:placeholder="$t('operateDataLog.search.contractCode')">
</el-input>
</el-col>
</el-row>
</el-card>
<el-card class="table-card">
|
27dcfde5
wuxw
系统全面测试完成
|
83
|
<el-tabs v-model="operateDataLogInfo._currentTab" @tab-click="changeTab(operateDataLogInfo._currentTab)">
|
ce5e1a2a
wuxw
系统模块开发中
|
84
85
86
87
88
89
90
91
|
<el-tab-pane label="费用项" name="feeConfigDetailHis"></el-tab-pane>
<el-tab-pane label="费用" name="feeDetailHis"></el-tab-pane>
<el-tab-pane label="业主" name="ownerDetailHis"></el-tab-pane>
<el-tab-pane label="房屋" name="roomDetailHis"></el-tab-pane>
<el-tab-pane label="车辆" name="carDetailHis"></el-tab-pane>
<el-tab-pane label="合同" name="contractDetailChange"></el-tab-pane>
</el-tabs>
|
27dcfde5
wuxw
系统全面测试完成
|
92
|
<component :is="currentComponent" :ref="currentComponent"></component>
|
ce5e1a2a
wuxw
系统模块开发中
|
93
94
95
96
97
98
99
|
</el-card>
</div>
</template>
<script>
import { getCommunityId } from '@/api/community/communityApi'
import FeeConfigDetailHis from '@/components/system/feeConfigDetailHis'
|
47b8eddb
wuxw
优化完成 平凉客户反馈bug
|
100
|
import FeeDetailHis from '@/components/fee/feeDetailHis'
|
c85e0853
wuxw
业主详情开发完成
|
101
|
import OwnerDetailHis from '@/components/owner/ownerDetailHis'
|
ce5e1a2a
wuxw
系统模块开发中
|
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
import RoomDetailHis from '@/components/system/roomDetailHis'
import CarDetailHis from '@/components/system/carDetailHis'
import ContractDetailChange from '@/components/system/contractDetailChange'
export default {
name: 'OperateDataLogList',
components: {
FeeConfigDetailHis,
FeeDetailHis,
OwnerDetailHis,
RoomDetailHis,
CarDetailHis,
ContractDetailChange
},
data() {
return {
communityId: '',
operateDataLogInfo: {
_currentTab: 'feeConfigDetailHis',
moreCondition: false,
conditions: {
logStartTime: '',
logEndTime: '',
staffNameLike: '',
feeNameLike: '',
payerObjName: '',
ownerNameLike: '',
roomName: '',
carNumLike: '',
contractCode: ''
}
},
endDateOptions: {
disabledDate: (time) => {
if (this.operateDataLogInfo.conditions.logStartTime) {
return time.getTime() <= new Date(this.operateDataLogInfo.conditions.logStartTime).getTime()
}
return false
}
}
}
},
computed: {
currentComponent() {
return this.operateDataLogInfo._currentTab
}
},
created() {
this.communityId = getCommunityId()
|
6ca6117a
wuxw
v1.9 修改催缴单bug
|
151
|
this.changeTab(this.operateDataLogInfo._currentTab)
|
ce5e1a2a
wuxw
系统模块开发中
|
152
153
|
},
methods: {
|
27dcfde5
wuxw
系统全面测试完成
|
154
155
156
|
changeTab(tab) {
this.operateDataLogInfo._currentTab = tab
setTimeout(() => {
|
6ca6117a
wuxw
v1.9 修改催缴单bug
|
157
158
159
160
|
if(tab === 'ownerDetailHis') {
this.$refs[tab].open('','','',this.operateDataLogInfo.conditions.logStartTime,this.operateDataLogInfo.conditions.logEndTime,this.operateDataLogInfo.conditions.staffNameLike)
return;
}
|
27dcfde5
wuxw
系统全面测试完成
|
161
162
|
if (this.$refs[tab]) {
this.$refs[tab].open(this.operateDataLogInfo.conditions)
|
ce5e1a2a
wuxw
系统模块开发中
|
163
|
}
|
27dcfde5
wuxw
系统全面测试完成
|
164
|
}, 100)
|
ce5e1a2a
wuxw
系统模块开发中
|
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
|
},
_queryDataMethod() {
this.changeTab(this.operateDataLogInfo._currentTab)
},
_resetDataMethod() {
this.operateDataLogInfo.conditions = {
logStartTime: '',
logEndTime: '',
staffNameLike: '',
feeNameLike: '',
payerObjName: '',
ownerNameLike: '',
roomName: '',
carNumLike: '',
contractCode: ''
}
this.changeTab(this.operateDataLogInfo._currentTab)
},
_moreCondition() {
this.operateDataLogInfo.moreCondition = !this.operateDataLogInfo.moreCondition
}
}
}
</script>
<style lang="scss" scoped>
.operate-data-log-container {
padding: 20px;
.search-card {
margin-bottom: 20px;
}
.table-card {
margin-bottom: 20px;
}
.el-row {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
.el-col {
border-radius: 4px;
}
}
</style>
|