|
@@ -2,7 +2,7 @@
|
2
|
2
|
<div class="app-container calendar-list-container">
|
3
|
3
|
<div class="app-container" v-show="visible">
|
4
|
4
|
<div class="app-container">
|
5
|
|
- <el-input @keyup.enter.native="handleFilter" style="width: 200px;" class="filter-item" placeholder="莊家" v-model="listQuery.name">
|
|
5
|
+ <el-input @keyup.enter.native="handleFilter" style="width: 200px;" class="filter-item" placeholder="莊家" v-model="listQuery.bookie">
|
6
|
6
|
</el-input>
|
7
|
7
|
<el-date-picker
|
8
|
8
|
v-model="date"
|
|
@@ -159,6 +159,13 @@ export default {
|
159
|
159
|
},
|
160
|
160
|
handleFilter() {
|
161
|
161
|
this.listQuery.page = 1
|
|
162
|
+ if (this.date) {
|
|
163
|
+ this.listQuery.startAt = moment.utc(this.date[0]).format()
|
|
164
|
+ this.listQuery.endAt = moment.utc(this.date[1]).format()
|
|
165
|
+ } else {
|
|
166
|
+ this.listQuery.startAt = null
|
|
167
|
+ this.listQuery.endAt = null
|
|
168
|
+ }
|
162
|
169
|
this.getList()
|
163
|
170
|
},
|
164
|
171
|
handleSizeChange(val) {
|