|
@@ -15,7 +15,7 @@
|
15
|
15
|
type="text"
|
16
|
16
|
class="form-control form-control-a"
|
17
|
17
|
placeholder="Keyword"
|
18
|
|
- v-model="keyword"
|
|
18
|
+ v-model="filter.keyword"
|
19
|
19
|
/>
|
20
|
20
|
</div>
|
21
|
21
|
</div>
|
|
@@ -107,10 +107,8 @@ export default {
|
107
|
107
|
data() {
|
108
|
108
|
return {
|
109
|
109
|
selectedPropertyType: 'timeshare',
|
110
|
|
- keyword: '',
|
111
|
110
|
propertySearch: {
|
112
|
111
|
userID: 0,
|
113
|
|
- keyword: '',
|
114
|
112
|
salesType: 'Sale',
|
115
|
113
|
propertyUsageType: 'All',
|
116
|
114
|
propertyType: 'All',
|
|
@@ -120,7 +118,9 @@ export default {
|
120
|
118
|
},
|
121
|
119
|
};
|
122
|
120
|
},
|
123
|
|
- computed: {},
|
|
121
|
+ computed: {
|
|
122
|
+ ...mapState('weekList', ['filter']),
|
|
123
|
+ },
|
124
|
124
|
methods: {
|
125
|
125
|
updateType(item) {
|
126
|
126
|
this.selectedPropertyType = item;
|
|
@@ -128,7 +128,7 @@ export default {
|
128
|
128
|
updateSearch(item) {
|
129
|
129
|
this.propertySearch = item;
|
130
|
130
|
this.propertySearch.propertyUsageType = this.selectedPropertyType;
|
131
|
|
- this.propertySearch.keyword = this.keyword;
|
|
131
|
+ this.propertySearch.keyword = this.filter.keyword;
|
132
|
132
|
},
|
133
|
133
|
Search() {
|
134
|
134
|
if (this.selectedPropertyType === 'timeshare') {
|