

231206 김성훈 기업홍보관 검색기능 추가
@b86325f7c4cba5cc198d4da8f6330953a6f9cff0
--- client/views/pages/user/networking/Matching.vue
+++ client/views/pages/user/networking/Matching.vue
... | ... | @@ -38,6 +38,20 @@ |
38 | 38 |
</li> |
39 | 39 |
</ul> |
40 | 40 |
</div> |
41 |
+ <div class="btn-wrap"> |
|
42 |
+ <div class="data-select"> |
|
43 |
+ <select v-model="companyListSearch.searchType" name="data-table-sild" id="data-table-sild"> |
|
44 |
+ <option v-for="(item, idx) in option" :key="idx" :value=item.value> |
|
45 |
+ {{ item.name }} |
|
46 |
+ </option> |
|
47 |
+ </select> |
|
48 |
+ <div class="input-group"> |
|
49 |
+ <input type="text" class="input" placeholder="검색어를 입력해주세요." |
|
50 |
+ v-model="companyListSearch.searchText" @keyup.enter="companySelectList()"> |
|
51 |
+ <input class="button--submit" value="검색" type="submit" @click="companySelectList()"> |
|
52 |
+ </div> |
|
53 |
+ </div> |
|
54 |
+ </div> |
|
41 | 55 |
<div class="matching-box-grid"> |
42 | 56 |
<!-- best 기업 --> |
43 | 57 |
<h3>BEST 기업</h3> |
... | ... | @@ -139,7 +153,7 @@ |
139 | 153 |
companyListSearch: { |
140 | 154 |
currentPage: 1, |
141 | 155 |
perPage: 12, |
142 |
- searchType: null, |
|
156 |
+ searchType: 'company_name', |
|
143 | 157 |
searchText: null, |
144 | 158 |
selectedKeywords: [], |
145 | 159 |
}, |
... | ... | @@ -157,7 +171,11 @@ |
157 | 171 |
// 필터링을 위한 키워드 |
158 | 172 |
keywords: [], |
159 | 173 |
isModalOpen:false, |
160 |
- modalType: null |
|
174 |
+ modalType: null, |
|
175 |
+ |
|
176 |
+ option: [ |
|
177 |
+ { name: '기업명', value: 'company_name'}, |
|
178 |
+ ] |
|
161 | 179 |
} |
162 | 180 |
}, |
163 | 181 |
methods: { |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?