
--- client/resources/css/common.css
+++ client/resources/css/common.css
... | ... | @@ -19,14 +19,21 @@ |
19 | 19 |
font-weight: bold; |
20 | 20 |
font-style: normal; |
21 | 21 |
} |
22 |
-.grid{display: grid;} |
|
23 |
-.grid2{display: grid; grid-template-columns: 1fr 1fr;} |
|
22 |
+.grid { |
|
23 |
+ display: grid; |
|
24 |
+} |
|
25 |
+.grid2 { |
|
26 |
+ display: grid; |
|
27 |
+ grid-template-columns: 1fr 1fr; |
|
28 |
+} |
|
24 | 29 |
.flex { |
25 | 30 |
display: flex; |
26 | 31 |
align-items: center; |
27 | 32 |
} |
28 | 33 |
.flex-between { |
29 | 34 |
display: flex; |
35 |
+ flex-wrap: wrap; |
|
36 |
+ flex-grow: 1; |
|
30 | 37 |
justify-content: space-between; |
31 | 38 |
align-items: center; |
32 | 39 |
} |
... | ... | @@ -142,9 +149,15 @@ |
142 | 149 |
.bg-green { |
143 | 150 |
background: #6dba67; |
144 | 151 |
} |
145 |
-.green{color: #a7d292;} |
|
146 |
-.black{color: #333;} |
|
147 |
-.lined{text-decoration: underline;} |
|
152 |
+.green { |
|
153 |
+ color: #a7d292; |
|
154 |
+} |
|
155 |
+.black { |
|
156 |
+ color: #333; |
|
157 |
+} |
|
158 |
+.lined { |
|
159 |
+ text-decoration: underline; |
|
160 |
+} |
|
148 | 161 |
.bg-yellow { |
149 | 162 |
background: #e6c772; |
150 | 163 |
} |
... | ... | @@ -155,17 +168,44 @@ |
155 | 168 |
margin-left: 32rem !important; |
156 | 169 |
} |
157 | 170 |
|
158 |
-.m-b{margin-bottom: 1rem;} |
|
159 |
-.m-b3{margin-bottom: 3rem;} |
|
160 |
-.m-r{margin-right: 1rem;} |
|
161 |
-.m-r3{margin-right: 3rem;} |
|
162 |
-.gap{gap: 1rem;} |
|
163 |
-.gap5{gap: 5rem;} |
|
164 |
-button{padding: 0.3rem 2rem;} |
|
165 |
-.btn-l{width: -webkit-fill-available;} |
|
166 |
-.green-btn{background: #13833b; border: 0; border-radius: 5px; color: #fff;} |
|
167 |
-.gray-btn{background: #f9f9f9; border: 1px solid #c8c5c5; border-radius: 5px;} |
|
168 |
- |
|
171 |
+.m-b3 { |
|
172 |
+ margin-bottom: 3rem; |
|
173 |
+} |
|
174 |
+.m-r { |
|
175 |
+ /* margin-right: 1rem; */ |
|
176 |
+ /* min-height: 150px; */ |
|
177 |
+ flex-shrink: 1; |
|
178 |
+ /* flex-grow: 1; */ |
|
179 |
+} |
|
180 |
+.m-r3 { |
|
181 |
+ margin-right: 3rem; |
|
182 |
+} |
|
183 |
+.gap { |
|
184 |
+ gap: 1rem; |
|
185 |
+} |
|
186 |
+.gap5 { |
|
187 |
+ gap: 5rem; |
|
188 |
+} |
|
189 |
+button { |
|
190 |
+ padding: 0.3rem 2rem; |
|
191 |
+} |
|
192 |
+.btn-l { |
|
193 |
+ width: -webkit-fill-available; |
|
194 |
+} |
|
195 |
+.green-btn { |
|
196 |
+ background: #13833b; |
|
197 |
+ background: #13833b; |
|
198 |
+ border: 0; |
|
199 |
+ border-radius: 5px; |
|
200 |
+ color: #fff; |
|
201 |
+ height: 3em; |
|
202 |
+ line-height: 3em; |
|
203 |
+} |
|
204 |
+.gray-btn { |
|
205 |
+ background: #f9f9f9; |
|
206 |
+ border: 1px solid #c8c5c5; |
|
207 |
+ border-radius: 5px; |
|
208 |
+} |
|
169 | 209 |
|
170 | 210 |
/*스크롤바디자인*/ |
171 | 211 |
::-webkit-scrollbar-thumb { |
... | ... | @@ -191,17 +231,18 @@ |
191 | 231 |
position: absolute; |
192 | 232 |
width: 100%; |
193 | 233 |
height: 100%; |
194 |
- background-color: rgba(0, 0, 0, .6); |
|
234 |
+ background-color: rgba(0, 0, 0, 0.6); |
|
195 | 235 |
} |
196 | 236 |
|
197 |
-.modal, .modal2 { |
|
237 |
+.modal, |
|
238 |
+.modal2 { |
|
198 | 239 |
position: absolute; |
199 | 240 |
top: 50%; |
200 | 241 |
left: 50%; |
201 |
- transform: translate(-50%, -50%); |
|
242 |
+ transform: translate(-50%, -50%); |
|
202 | 243 |
z-index: 2; |
203 | 244 |
background-color: #fff; |
204 |
- |
|
245 |
+ |
|
205 | 246 |
text-align: center; |
206 | 247 |
} |
207 | 248 |
|
... | ... | @@ -213,8 +254,12 @@ |
213 | 254 |
color: #13833b; |
214 | 255 |
} |
215 | 256 |
@media all and (max-width: 479px) { |
216 |
-.m-mb{margin-bottom: 1rem;} |
|
217 |
-h2.page-title{font-size: 23px;} |
|
257 |
+ .m-mb { |
|
258 |
+ margin-bottom: 1rem; |
|
259 |
+ } |
|
260 |
+ h2.page-title { |
|
261 |
+ font-size: 23px; |
|
262 |
+ } |
|
218 | 263 |
} |
219 | 264 |
/* 달력 */ |
220 | 265 |
/* input[type="date"]{ |
... | ... | @@ -238,5 +283,13 @@ |
238 | 283 |
max-height: 100%; |
239 | 284 |
min-height: 100%; |
240 | 285 |
} |
241 |
-.main-warp > div{height: inherit;} |
|
242 |
-.left, .right, .right > div, .right > div >div, .right > div >div>#map{height: inherit;}(No newline at end of file) |
|
286 |
+.main-warp > div { |
|
287 |
+ height: inherit; |
|
288 |
+} |
|
289 |
+.left, |
|
290 |
+.right, |
|
291 |
+.right > div, |
|
292 |
+.right > div > div, |
|
293 |
+.right > div > div > #map { |
|
294 |
+ height: inherit; |
|
295 |
+} |
--- client/views/layout/Header.vue
+++ client/views/layout/Header.vue
... | ... | @@ -25,23 +25,24 @@ |
25 | 25 |
:key="subIndex" |
26 | 26 |
style="color: #333" |
27 | 27 |
> |
28 |
- <router-link :to="subItem.route"> {{ subItem.title }}</router-link> |
|
28 |
+ <router-link :to="subItem.route"> |
|
29 |
+ {{ subItem.title }}</router-link |
|
30 |
+ > |
|
29 | 31 |
</li> |
30 |
- |
|
31 | 32 |
</ul> |
32 | 33 |
</li> |
33 |
- <li style="color: #3fb52d"><router-link to="/Mypage.page"> |
|
34 |
- 마이페이지 |
|
35 |
- </router-link></li> |
|
36 |
- <li style="color: #3fb52d"><router-link to="/Login.page"> |
|
37 |
- 로그인 |
|
38 |
- </router-link></li> |
|
34 |
+ <li style="color: #3fb52d"> |
|
35 |
+ <router-link to="/Mypage.page"> 마이페이지 </router-link> |
|
36 |
+ </li> |
|
37 |
+ <li style="color: #3fb52d"> |
|
38 |
+ <router-link to="/Login.page"> 로그인 </router-link> |
|
39 |
+ </li> |
|
39 | 40 |
</ul> |
40 | 41 |
</div> |
41 | 42 |
<div class="logo flex"> |
42 | 43 |
<input type="checkbox" id="menuicon" @click="toggleSubmenu()" /> |
43 | 44 |
<label class="menu-icon" for="menuicon"> |
44 |
- <img :src="imageSrc" alt="Image" @click="toggle()"/> |
|
45 |
+ <img :src="imageSrc" alt="Image" @click="toggle()" /> |
|
45 | 46 |
<!-- <span></span> |
46 | 47 |
<span></span> |
47 | 48 |
<span></span> --> |
... | ... | @@ -150,7 +151,13 @@ |
150 | 151 |
<router-link to="/Login.page"> |
151 | 152 |
<span v-show="store.state.loginUser == null">로그인</span> |
152 | 153 |
</router-link> |
153 |
- <button class="logout-btn" @click="logout" v-show="store.state.loginUser != null">로그아웃</button> |
|
154 |
+ <button |
|
155 |
+ class="logout-btn" |
|
156 |
+ @click="logout" |
|
157 |
+ v-show="store.state.loginUser != null" |
|
158 |
+ > |
|
159 |
+ 로그아웃 |
|
160 |
+ </button> |
|
154 | 161 |
</div> |
155 | 162 |
</div> |
156 | 163 |
</header> |
... | ... | @@ -226,7 +233,8 @@ |
226 | 233 |
export default { |
227 | 234 |
data() { |
228 | 235 |
return { |
229 |
- imageSrc: 'https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/menu2.png?alt=media&token=6f3b2966-0820-419d-ba82-97290e71a7b5', |
|
236 |
+ imageSrc: |
|
237 |
+ "https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/menu2.png?alt=media&token=6f3b2966-0820-419d-ba82-97290e71a7b5", |
|
230 | 238 |
menuOpen: false, |
231 | 239 |
showDropdown: false, |
232 | 240 |
showSubmenu: false, |
... | ... | @@ -313,22 +321,22 @@ |
313 | 321 |
open: false, |
314 | 322 |
subMenu: [ |
315 | 323 |
{ title: "스마트 횡단보도란?", route: "/Introduction.page" }, |
316 |
- ] |
|
324 |
+ ], |
|
317 | 325 |
}, |
318 | 326 |
{ |
319 | 327 |
title: "현황관제", |
320 | 328 |
open: false, |
321 | 329 |
subMenu: [ |
322 |
- { title: "실시간 현황관제", route: "/RealtimeStatus.page" }, |
|
323 |
- { title: "상황발생 정보조회", route: "/SituationSearch.page" }, |
|
324 |
- { title: "장애 발생 정보조회", route: "/ErrorSearch.page" }, |
|
325 |
- { title: "횡단보도 목록조회", route: "/CrosswalkListSearch.page" }, |
|
330 |
+ { title: "실시간 현황관제", route: "/RealtimeStatus.page" }, |
|
331 |
+ { title: "상황발생 정보조회", route: "/SituationSearch.page" }, |
|
332 |
+ { title: "장애 발생 정보조회", route: "/ErrorSearch.page" }, |
|
333 |
+ { title: "횡단보도 목록조회", route: "/CrosswalkListSearch.page" }, |
|
326 | 334 |
], |
327 | 335 |
}, |
328 | 336 |
{ |
329 | 337 |
title: "통계분석", |
330 | 338 |
open: false, |
331 |
- subMenu: [{ title: "통계분석", route: "/Analysis.page" },], |
|
339 |
+ subMenu: [{ title: "통계분석", route: "/Analysis.page" }], |
|
332 | 340 |
}, |
333 | 341 |
{ |
334 | 342 |
title: "횡단보도 관리", |
... | ... | @@ -336,7 +344,7 @@ |
336 | 344 |
subMenu: [ |
337 | 345 |
{ title: "횡단보도 등록", route: "/CrosswalkInsert.page" }, |
338 | 346 |
{ title: "횡단보도 조회", route: "/CrosswalkSearch.page" }, |
339 |
- ], |
|
347 |
+ ], |
|
340 | 348 |
}, |
341 | 349 |
{ |
342 | 350 |
title: "시스템 관리", |
... | ... | @@ -352,7 +360,7 @@ |
352 | 360 |
// { |
353 | 361 |
// title: "마이페이지", |
354 | 362 |
// open: false, |
355 |
- // route: "/Mypage.page" |
|
363 |
+ // route: "/Mypage.page" |
|
356 | 364 |
// }, |
357 | 365 |
// { |
358 | 366 |
// title: "로그인", |
... | ... | @@ -360,41 +368,47 @@ |
360 | 368 |
// subMenu: [{ title: "로그인", route: "/Login.page" },], |
361 | 369 |
// }, |
362 | 370 |
], |
363 |
- store : useStore(), |
|
371 |
+ store: useStore(), |
|
364 | 372 |
}; |
365 | 373 |
}, |
366 | 374 |
methods: { |
367 | 375 |
//로그아웃 |
368 | 376 |
logout: function () { |
369 |
- if (confirm('로그아웃 하시겠습니까?') == false) { |
|
370 |
- return; |
|
371 |
- } |
|
372 |
- let vm = this; |
|
373 |
- axios({ |
|
374 |
- url: "/user/logout.json", |
|
375 |
- method: "post", |
|
376 |
- headers: { |
|
377 |
- "Content-Type": "application/json; charset=UTF-8", |
|
378 |
- }, |
|
379 |
- }).then(function (response) { |
|
380 |
- // console.log("logout - response : ", response); |
|
381 |
- vm.$router.push({ path: '/Login.page', query: {} }); |
|
382 |
- }).catch(function (error) { |
|
383 |
- console.log("logout - error : ", error); |
|
384 |
- }); |
|
377 |
+ if (confirm("로그아웃 하시겠습니까?") == false) { |
|
378 |
+ return; |
|
379 |
+ } |
|
380 |
+ let vm = this; |
|
381 |
+ axios({ |
|
382 |
+ url: "/user/logout.json", |
|
383 |
+ method: "post", |
|
384 |
+ headers: { |
|
385 |
+ "Content-Type": "application/json; charset=UTF-8", |
|
385 | 386 |
}, |
387 |
+ }) |
|
388 |
+ .then(function (response) { |
|
389 |
+ // console.log("logout - response : ", response); |
|
390 |
+ vm.$router.push({ path: "/Login.page", query: {} }); |
|
391 |
+ }) |
|
392 |
+ .catch(function (error) { |
|
393 |
+ console.log("logout - error : ", error); |
|
394 |
+ }); |
|
395 |
+ }, |
|
386 | 396 |
|
387 | 397 |
toggleSubMenu(index) { |
388 | 398 |
this.menuItems[index].open = !this.menuItems[index].open; |
389 | 399 |
this.showSubmenu = true; |
390 | 400 |
console.log("toggleSubMenu 호출됨"); |
391 | 401 |
}, |
392 |
- toggle(){ |
|
393 |
- |
|
394 |
- if (this.imageSrc === 'https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/menu2.png?alt=media&token=6f3b2966-0820-419d-ba82-97290e71a7b5') { |
|
395 |
- this.imageSrc = 'https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/close2.png?alt=media&token=801544fa-80dd-4dc5-98c2-099a2fdb7791'; |
|
402 |
+ toggle() { |
|
403 |
+ if ( |
|
404 |
+ this.imageSrc === |
|
405 |
+ "https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/menu2.png?alt=media&token=6f3b2966-0820-419d-ba82-97290e71a7b5" |
|
406 |
+ ) { |
|
407 |
+ this.imageSrc = |
|
408 |
+ "https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/close2.png?alt=media&token=801544fa-80dd-4dc5-98c2-099a2fdb7791"; |
|
396 | 409 |
} else { |
397 |
- this.imageSrc = 'https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/menu2.png?alt=media&token=6f3b2966-0820-419d-ba82-97290e71a7b5'; |
|
410 |
+ this.imageSrc = |
|
411 |
+ "https://firebasestorage.googleapis.com/v0/b/senior-care-system-dcf90.appspot.com/o/menu2.png?alt=media&token=6f3b2966-0820-419d-ba82-97290e71a7b5"; |
|
398 | 412 |
} |
399 | 413 |
}, |
400 | 414 |
toggleSubmenu: function () { |
... | ... | @@ -441,7 +455,9 @@ |
441 | 455 |
header { |
442 | 456 |
position: relative; |
443 | 457 |
} |
444 |
-nav{position: relative;} |
|
458 |
+nav { |
|
459 |
+ position: relative; |
|
460 |
+} |
|
445 | 461 |
nav a { |
446 | 462 |
width: 16rem; |
447 | 463 |
text-align: center; |
... | ... | @@ -450,25 +466,37 @@ |
450 | 466 |
padding: 2.7rem 0; |
451 | 467 |
/* border: 1px solid blue; */ |
452 | 468 |
} |
453 |
-.nav{position: absolute; |
|
454 |
- left: 0; |
|
455 |
- top: 65px; |
|
456 |
- z-index: 500; |
|
457 |
- width: -webkit-fill-available; |
|
458 |
- padding: -1rem; |
|
459 |
- height: 14rem;} |
|
469 |
+.nav { |
|
470 |
+ position: absolute; |
|
471 |
+ left: 0; |
|
472 |
+ top: 65px; |
|
473 |
+ z-index: 500; |
|
474 |
+ width: -webkit-fill-available; |
|
475 |
+ box-sizing: border-box; |
|
476 |
+ /* padding: 50em 50em 50em 50em !important; */ |
|
477 |
+ /* padding-left: 50em !important; */ |
|
478 |
+ height: 14rem; |
|
479 |
+ /* background-color: white; */ |
|
480 |
+} |
|
460 | 481 |
.menu { |
461 | 482 |
position: absolute; |
462 |
- left: 0; |
|
463 |
- top: 0rem; |
|
464 |
- z-index: 500; |
|
465 |
- width: fit-content; |
|
466 |
- /* border: 1px solid red; */ |
|
467 |
- /* padding: 1rem 25.5rem 1rem 1rem; */ |
|
468 |
- text-align: center; |
|
483 |
+ left: 0; |
|
484 |
+ top: -1.6rem; |
|
485 |
+ z-index: 500; |
|
486 |
+ width: fit-content; |
|
487 |
+ /* border: 1px solid red; */ |
|
488 |
+ /* padding: 1rem 25.5rem 1rem 1rem; */ |
|
489 |
+ text-align: center; |
|
490 |
+ background-color: rgba(255, 255, 255, 0.66); |
|
491 |
+ padding: 2em 50em 2em 100em; |
|
492 |
+ transform: translateX(-100em); |
|
469 | 493 |
} |
470 |
-.menu li:hover{background: #13833b; } |
|
471 |
-.menu li:hover a{color: #fff;} |
|
494 |
+.menu li:hover { |
|
495 |
+ background: #13833b; |
|
496 |
+} |
|
497 |
+.menu li:hover a { |
|
498 |
+ color: #fff; |
|
499 |
+} |
|
472 | 500 |
|
473 | 501 |
ul { |
474 | 502 |
width: 16rem; |
... | ... | @@ -636,8 +664,7 @@ |
636 | 664 |
|
637 | 665 |
.show-menu { |
638 | 666 |
display: block; |
639 |
- padding: 1rem ; |
|
640 |
- |
|
667 |
+ padding: 1rem; |
|
641 | 668 |
} |
642 | 669 |
|
643 | 670 |
.contenedor-menu2 li { |
--- client/views/pages/RealtimeStatus/CrosswalkListSearch.vue
+++ client/views/pages/RealtimeStatus/CrosswalkListSearch.vue
... | ... | @@ -2,280 +2,344 @@ |
2 | 2 |
<div class="wrap"> |
3 | 3 |
<div class="board-wrap"> |
4 | 4 |
<div class="search-wrap"> |
5 |
- <div class="flex m-b gap mb-block" style="margin-bottom: 2rem"> |
|
6 |
- <div class="flex gap m-r date" style="margin-right: 5rem"> |
|
7 |
- <label>조회기간: </label> |
|
8 |
- <input type="date" value-format="yyyyMMdd" v-model="crosswalkListSearch.startDate"/> |
|
9 |
- <span> ~ </span> |
|
10 |
- <input type="date" value-format="yyyyMMdd" v-model="crosswalkListSearch.endDate"/> |
|
5 |
+ <div class="flex m-b mb-block"> |
|
6 |
+ <div class="gap gap-sub"> |
|
7 |
+ <label class="taa ta5">지역: </label> |
|
8 |
+ <dongSelectList |
|
9 |
+ @setDongCd="setDongCd" |
|
10 |
+ :nodeHiddenCk="true" |
|
11 |
+ :crslk_azHiddenCk="true" |
|
12 |
+ ></dongSelectList> |
|
11 | 13 |
</div> |
12 |
- <label>지역: </label> |
|
13 |
- <dongSelectList @setDongCd="setDongCd" :nodeHiddenCk="true" :crslk_azHiddenCk="true"></dongSelectList> |
|
14 | 14 |
</div> |
15 |
- <div class="flex-between gap line"> |
|
16 |
- <div class="gap flex mb-block"> |
|
17 |
- <div class="flex m-b gap"> |
|
18 |
- <label>우회차선: </label> |
|
15 |
+ <div class="flex gap m-r date"> |
|
16 |
+ <label class="taa">조회기간: </label> |
|
17 |
+ <input |
|
18 |
+ class="in1" |
|
19 |
+ type="date" |
|
20 |
+ value-format="yyyyMMdd" |
|
21 |
+ v-model="crosswalkListSearch.startDate" |
|
22 |
+ /> |
|
23 |
+ <span> ~ </span> |
|
24 |
+ <input |
|
25 |
+ class="in1" |
|
26 |
+ type="date" |
|
27 |
+ value-format="yyyyMMdd" |
|
28 |
+ v-model="crosswalkListSearch.endDate" |
|
29 |
+ /> |
|
30 |
+ <div class="flex"> |
|
31 |
+ <div class="gap g3"> |
|
32 |
+ <label class="taa taa2">상태: </label> |
|
33 |
+ <select name="" id=""> |
|
34 |
+ <option value="">정상</option> |
|
35 |
+ </select> |
|
36 |
+ <button |
|
37 |
+ type="button" |
|
38 |
+ class="btn-2 green-btn" |
|
39 |
+ @click="crosswalkSelectList()" |
|
40 |
+ > |
|
41 |
+ 조회 |
|
42 |
+ </button> |
|
43 |
+ </div> |
|
44 |
+ </div> |
|
45 |
+ </div> |
|
46 |
+ <div class="flex-between line"> |
|
47 |
+ <div class="flex mb-block"> |
|
48 |
+ <div class="flex m-b gap g2"> |
|
49 |
+ <label class="taa">우회차선: </label> |
|
19 | 50 |
<select v-model="crosswalkListSearch.searchRightTurnType"> |
20 | 51 |
<option value="null" disabled>전체</option> |
21 | 52 |
<option value="직각">직각</option> |
22 | 53 |
<option value="곡선">곡선</option> |
23 | 54 |
</select> |
24 |
- <label>왕복차선: </label> |
|
55 |
+ </div> |
|
56 |
+ |
|
57 |
+ <div class="flex m-b gap g2"> |
|
58 |
+ <label class="taa">왕복차선: </label> |
|
25 | 59 |
<select v-model="crosswalkListSearch.searchRoundTripLane"> |
26 | 60 |
<option value="null" disabled>전체</option> |
27 | 61 |
</select> |
28 | 62 |
</div> |
29 |
- <div class="flex"> |
|
30 |
- <div class="m-r flex gap"> |
|
31 |
- <label class="m-r">장비: </label> |
|
32 |
- <label>무단횡단</label> |
|
33 |
- <input class="m-r" type="checkbox" v-model="crosswalkListSearch.jaywalking" true-value="Y" false-value="N"/> |
|
34 |
- <label>신호연장</label> |
|
35 |
- <input class="m-r" type="checkbox" v-model="crosswalkListSearch.signal" true-value="Y" false-value="N"/> |
|
36 |
- <label>우회차량</label> |
|
37 |
- <input class="m-r" type="checkbox" v-model="crosswalkListSearch.rightTurn" true-value="Y" false-value="N"/> |
|
38 |
- </div> |
|
39 |
- </div> |
|
40 |
- <div class="flex gap"> |
|
41 |
- <label>상태: </label> |
|
42 |
- <select name="" id=""> |
|
43 |
- <option value="">정상</option> |
|
44 |
- </select> |
|
45 |
- <button type="button" class="btn-2 green-btn" @click="crosswalkSelectList()">조회</button> |
|
63 |
+ </div> |
|
64 |
+ |
|
65 |
+ <div class="flex"> |
|
66 |
+ <div class="m-r flex gap"> |
|
67 |
+ <label class="m-r taa">장비: </label> |
|
68 |
+ <label>무단횡단</label> |
|
69 |
+ <input |
|
70 |
+ class="m-r" |
|
71 |
+ type="checkbox" |
|
72 |
+ v-model="crosswalkListSearch.jaywalking" |
|
73 |
+ true-value="Y" |
|
74 |
+ false-value="N" |
|
75 |
+ /> |
|
76 |
+ <label>신호연장</label> |
|
77 |
+ <input |
|
78 |
+ class="m-r" |
|
79 |
+ type="checkbox" |
|
80 |
+ v-model="crosswalkListSearch.signal" |
|
81 |
+ true-value="Y" |
|
82 |
+ false-value="N" |
|
83 |
+ /> |
|
84 |
+ <label>우회차량</label> |
|
85 |
+ <input |
|
86 |
+ class="m-r" |
|
87 |
+ type="checkbox" |
|
88 |
+ v-model="crosswalkListSearch.rightTurn" |
|
89 |
+ true-value="Y" |
|
90 |
+ false-value="N" |
|
91 |
+ /> |
|
46 | 92 |
</div> |
47 | 93 |
</div> |
48 | 94 |
</div> |
49 | 95 |
</div> |
50 |
- <div> |
|
51 |
- <table class="pc"> |
|
52 |
- <!-- <colgroup> |
|
96 |
+ </div> |
|
97 |
+ <div> |
|
98 |
+ <table class="pc"> |
|
99 |
+ <!-- <colgroup> |
|
53 | 100 |
<col style="width: 10%;"> |
54 | 101 |
<col style="width: 20%;"> |
55 | 102 |
<col style="width: 20%;"> |
56 | 103 |
<col style="width: 30%;"> |
57 | 104 |
<col style="width: 20%;"> |
58 | 105 |
</colgroup> --> |
59 |
- <thead> |
|
60 |
- <tr> |
|
61 |
- <th>No</th> |
|
62 |
- <th>설치일자</th> |
|
63 |
- <th>시/도</th> |
|
64 |
- <th>시/군/구</th> |
|
65 |
- <th>행정동</th> |
|
66 |
- <th>노드명</th> |
|
67 |
- <th>횡단보도명</th> |
|
68 |
- </tr> |
|
69 |
- </thead> |
|
70 |
- <tbody> |
|
71 |
- <tr |
|
72 |
- v-for="(item, idx) in crosswalkList" |
|
73 |
- :key="idx" |
|
74 |
- @click="crosswalkSelectOne(item)" |
|
106 |
+ <thead> |
|
107 |
+ <tr> |
|
108 |
+ <th>No</th> |
|
109 |
+ <th>설치일자</th> |
|
110 |
+ <th>시/도</th> |
|
111 |
+ <th>시/군/구</th> |
|
112 |
+ <th>행정동</th> |
|
113 |
+ <th>노드명</th> |
|
114 |
+ <th>횡단보도명</th> |
|
115 |
+ </tr> |
|
116 |
+ </thead> |
|
117 |
+ <tbody> |
|
118 |
+ <tr |
|
119 |
+ v-for="(item, idx) in crosswalkList" |
|
120 |
+ :key="idx" |
|
121 |
+ @click="crosswalkSelectOne(item)" |
|
122 |
+ > |
|
123 |
+ <td data-title="NO">{{ crosswalkIdx - idx }}</td> |
|
124 |
+ <td data-title="설치일자">{{ item.instl_ymd }}</td> |
|
125 |
+ <td data-title="시/도">{{ item.sido_nm }}</td> |
|
126 |
+ <td data-title="시/군/구">{{ item.sigungu_nm }}</td> |
|
127 |
+ <td data-title="행정동">{{ item.dong_nm }}</td> |
|
128 |
+ <td data-titel="노드명">{{ item.node_name }}</td> |
|
129 |
+ <td data-titel="횡단보도명">{{ item.crslk_nm }}</td> |
|
130 |
+ </tr> |
|
131 |
+ </tbody> |
|
132 |
+ </table> |
|
133 |
+ <table class="mobile"> |
|
134 |
+ <colgroup> |
|
135 |
+ <col style="width: 10%" /> |
|
136 |
+ <col style="width: 20%" /> |
|
137 |
+ </colgroup> |
|
138 |
+ <tbody> |
|
139 |
+ <tr> |
|
140 |
+ <th>No</th> |
|
141 |
+ <td></td> |
|
142 |
+ </tr> |
|
143 |
+ <tr> |
|
144 |
+ <th>설치일자</th> |
|
145 |
+ <td></td> |
|
146 |
+ </tr> |
|
147 |
+ <tr> |
|
148 |
+ <th>시/도</th> |
|
149 |
+ <td></td> |
|
150 |
+ </tr> |
|
151 |
+ <tr> |
|
152 |
+ <th>시/군/구</th> |
|
153 |
+ <td></td> |
|
154 |
+ </tr> |
|
155 |
+ <tr> |
|
156 |
+ <th>행정동</th> |
|
157 |
+ <td></td> |
|
158 |
+ </tr> |
|
159 |
+ <tr> |
|
160 |
+ <th>교차로</th> |
|
161 |
+ <td></td> |
|
162 |
+ </tr> |
|
163 |
+ <tr> |
|
164 |
+ <th>횡단보도명</th> |
|
165 |
+ <td></td> |
|
166 |
+ </tr> |
|
167 |
+ </tbody> |
|
168 |
+ </table> |
|
169 |
+ <div class="modal-wrap" v-if="modal_crosswalkOne == true"> |
|
170 |
+ <div class="modal-bg"></div> |
|
171 |
+ <div class="modal"> |
|
172 |
+ <h2 class="flex-between"> |
|
173 |
+ 횡단보도 상세정보 |
|
174 |
+ <button |
|
175 |
+ type="button" |
|
176 |
+ class="gray-btn" |
|
177 |
+ @click="modal_crosswalkOne = false" |
|
75 | 178 |
> |
76 |
- <td data-title="NO">{{ crosswalkIdx - idx }}</td> |
|
77 |
- <td data-title="설치일자">{{ item.instl_ymd }}</td> |
|
78 |
- <td data-title="시/도">{{ item.sido_nm }}</td> |
|
79 |
- <td data-title="시/군/구">{{ item.sigungu_nm }}</td> |
|
80 |
- <td data-title="행정동">{{ item.dong_nm }}</td> |
|
81 |
- <td data-titel="노드명">{{ item.node_name }}</td> |
|
82 |
- <td data-titel="횡단보도명">{{ item.crslk_nm }}</td> |
|
83 |
- </tr> |
|
84 |
- </tbody> |
|
85 |
- </table> |
|
86 |
- <table class="mobile"> |
|
87 |
- <colgroup> |
|
88 |
- <col style="width: 10%" /> |
|
89 |
- <col style="width: 20%" /> |
|
90 |
- </colgroup> |
|
91 |
- <tbody> |
|
92 |
- <tr> |
|
93 |
- <th>No</th> |
|
94 |
- <td></td> |
|
95 |
- </tr> |
|
96 |
- <tr> |
|
97 |
- <th>설치일자</th> |
|
98 |
- <td></td> |
|
99 |
- </tr> |
|
100 |
- <tr> |
|
101 |
- <th>시/도</th> |
|
102 |
- <td></td> |
|
103 |
- </tr> |
|
104 |
- <tr> |
|
105 |
- <th>시/군/구</th> |
|
106 |
- <td></td> |
|
107 |
- </tr> |
|
108 |
- <tr> |
|
109 |
- <th>행정동</th> |
|
110 |
- <td></td> |
|
111 |
- </tr> |
|
112 |
- <tr> |
|
113 |
- <th>교차로</th> |
|
114 |
- <td></td> |
|
115 |
- </tr> |
|
116 |
- <tr> |
|
117 |
- <th>횡단보도명</th> |
|
118 |
- <td></td> |
|
119 |
- </tr> |
|
120 |
- </tbody> |
|
121 |
- </table> |
|
122 |
- <div class="modal-wrap" v-if="modal_crosswalkOne == true"> |
|
123 |
- <div class="modal-bg"></div> |
|
124 |
- <div class="modal"> |
|
125 |
- <h2 class="flex-between"> |
|
126 |
- 횡단보도 상세정보 |
|
127 |
- <button type="button" class="gray-btn" @click="modal_crosswalkOne = false"> |
|
128 |
- <img src="../../../resources/images/close.png" alt="" /> |
|
129 |
- </button> |
|
130 |
- </h2> |
|
131 |
- <div class="modalmain"> |
|
132 |
- <div class="flex-between"> |
|
133 |
- <div class="img">무단횡단검지카메라 이미지</div> |
|
134 |
- <div class="img">무단횡단검지카메라 이미지</div> |
|
135 |
- <div class="img">신호연장검지카메라 이미지</div> |
|
136 |
- <div class="img">신호연장검지카메라 이미지</div> |
|
137 |
- <div class="img">우회차량검지카메라 이미지</div> |
|
138 |
- </div> |
|
139 |
- <table> |
|
140 |
- <colgroup> |
|
141 |
- <col style="width: 20%" /> |
|
142 |
- <col style="width: 20%" /> |
|
143 |
- <col style="width: 20%" /> |
|
144 |
- <col style="width: 20%" /> |
|
145 |
- </colgroup> |
|
146 |
- <tbody> |
|
147 |
- <tr> |
|
148 |
- <td colspan="2">시/도</td> |
|
149 |
- <td colspan="2">{{ crosswalk.sido_nm }}</td> |
|
150 |
- </tr> |
|
151 |
- <tr> |
|
152 |
- <td colspan="2">시/군/구</td> |
|
153 |
- <td colspan="2">{{ crosswalk.sigungu_nm }}</td> |
|
154 |
- </tr> |
|
155 |
- <tr> |
|
156 |
- <td colspan="2">행정동</td> |
|
157 |
- <td colspan="2">{{ crosswalk.dong_nm }}</td> |
|
158 |
- </tr> |
|
159 |
- <tr> |
|
160 |
- <td colspan="2">노드명</td> |
|
161 |
- <td colspan="2">{{ crosswalk.node_name }}</td> |
|
162 |
- </tr> |
|
163 |
- <tr> |
|
164 |
- <td colspan="2">횡단보도명</td> |
|
165 |
- <td colspan="2">{{ crosswalk.crslk_nm }}</td> |
|
166 |
- </tr> |
|
167 |
- <tr> |
|
168 |
- <td rowspan="2">좌표</td> |
|
169 |
- <td>위도</td> |
|
170 |
- <td colspan="2">{{ crosswalk.lat }}</td> |
|
171 |
- </tr> |
|
172 |
- <tr> |
|
173 |
- <td>경도</td> |
|
174 |
- <td colspan="2">{{ crosswalk.lon }}</td> |
|
175 |
- </tr> |
|
176 |
- <tr> |
|
177 |
- <td rowspan="3">설치된 검시장비</td> |
|
178 |
- <td>무단횡단</td> |
|
179 |
- <td colspan="2" v-if="crosswalk.wtrms_crosng_eqpmn_instl_yn == 'y'">설치</td> |
|
180 |
- <td colspan="2" v-else>미설치</td> |
|
181 |
- </tr> |
|
182 |
- <tr> |
|
183 |
- <td>신호연장</td> |
|
184 |
- <td colspan="2" v-if="crosswalk.signl_extn_eqpmn_instl_yn == 'y'">설치</td> |
|
185 |
- <td colspan="2" v-else>미설치</td> |
|
186 |
- </tr> |
|
187 |
- <tr> |
|
188 |
- <td>우회전차량</td> |
|
189 |
- <td colspan="2" v-if="crosswalk.rittrn_vhcle_eqpmn_instl_yn == 'y'">설치</td> |
|
190 |
- <td colspan="2" v-else>미설치</td> |
|
191 |
- </tr> |
|
192 |
- <tr> |
|
193 |
- <td colspan="2">무단횡단 검지범위</td> |
|
194 |
- <td colspan="2">{{ crosswalk.wtrms_crosng_detct_rate }}%</td> |
|
195 |
- </tr> |
|
196 |
- <tr> |
|
197 |
- <td colspan="2">왕복차선</td> |
|
198 |
- <td colspan="2">{{ crosswalk.rndtp_tfclne_info }}차선</td> |
|
199 |
- </tr> |
|
200 |
- <tr> |
|
201 |
- <td colspan="2">우회전차선유무</td> |
|
202 |
- <td colspan="2">{{ crosswalk.rittrn_tfclne_yn }}</td> |
|
203 |
- </tr> |
|
204 |
- <tr> |
|
205 |
- <td colspan="2">우회전차선유형</td> |
|
206 |
- <td colspan="2">{{ crosswalk.rittrn_tfclne_ty }}</td> |
|
207 |
- </tr> |
|
208 |
- <tr> |
|
209 |
- <td colspan="2">횡단보도 유지보수 담당자</td> |
|
210 |
- <td colspan="2">{{ crosswalk.mngr_nm }}</td> |
|
211 |
- </tr> |
|
212 |
- <tr> |
|
213 |
- <td>등록자 ID</td> |
|
214 |
- <td>{{ nullHyphen(crosswalk.rgtr_id) }}</td> |
|
215 |
- <td>등록일자</td> |
|
216 |
- <td>{{ yyyymmdd(crosswalk.reg_dt) }}</td> |
|
217 |
- </tr> |
|
218 |
- <tr> |
|
219 |
- <td>수정자 ID</td> |
|
220 |
- <td>{{ nullHyphen(crosswalk.mdfr_id) }}</td> |
|
221 |
- <td>수정일자</td> |
|
222 |
- <td>{{ yyyymmdd(crosswalk.mdfcn_dt) }}</td> |
|
223 |
- </tr> |
|
224 |
- </tbody> |
|
225 |
- </table> |
|
226 |
- <br> |
|
227 |
- <br> |
|
228 |
- <br> |
|
229 |
- <table> |
|
230 |
- <colgroup> |
|
231 |
- <col style="width: 20%" /> |
|
232 |
- <col style="width: 20%" /> |
|
233 |
- <col style="width: 20%" /> |
|
234 |
- <col style="width: 20%" /> |
|
235 |
- </colgroup> |
|
236 |
- <tbody> |
|
237 |
- <tr> |
|
238 |
- <td rowspan="3">금일 상황발생 수</td> |
|
239 |
- <td>무단횡단</td> |
|
240 |
- <td>2회</td> |
|
241 |
- <td rowspan="4"> |
|
242 |
- <button class="green-btn">상황발생 상세보기</button> |
|
243 |
- <button class="green-btn">장애발생 상세보기</button> |
|
244 |
- <button class="green-btn">위치확인</button> |
|
245 |
- </td> |
|
246 |
- </tr> |
|
247 |
- <tr> |
|
248 |
- <td>신호연장</td> |
|
249 |
- <td>-</td> |
|
250 |
- </tr> |
|
251 |
- <tr> |
|
252 |
- <td>우회전차량</td> |
|
253 |
- <td>-</td> |
|
254 |
- </tr> |
|
255 |
- <tr> |
|
256 |
- <td colspan="2">금일 장애발생 수</td> |
|
257 |
- <td>1회</td> |
|
258 |
- </tr> |
|
259 |
- </tbody> |
|
260 |
- </table> |
|
261 |
- |
|
179 |
+ <img src="../../../resources/images/close.png" alt="" /> |
|
180 |
+ </button> |
|
181 |
+ </h2> |
|
182 |
+ <div class="modalmain"> |
|
183 |
+ <div class="flex-between"> |
|
184 |
+ <div class="img">무단횡단검지카메라 이미지</div> |
|
185 |
+ <div class="img">무단횡단검지카메라 이미지</div> |
|
186 |
+ <div class="img">신호연장검지카메라 이미지</div> |
|
187 |
+ <div class="img">신호연장검지카메라 이미지</div> |
|
188 |
+ <div class="img">우회차량검지카메라 이미지</div> |
|
262 | 189 |
</div> |
190 |
+ <table> |
|
191 |
+ <colgroup> |
|
192 |
+ <col style="width: 20%" /> |
|
193 |
+ <col style="width: 20%" /> |
|
194 |
+ <col style="width: 20%" /> |
|
195 |
+ <col style="width: 20%" /> |
|
196 |
+ </colgroup> |
|
197 |
+ <tbody> |
|
198 |
+ <tr> |
|
199 |
+ <td colspan="2">시/도</td> |
|
200 |
+ <td colspan="2">{{ crosswalk.sido_nm }}</td> |
|
201 |
+ </tr> |
|
202 |
+ <tr> |
|
203 |
+ <td colspan="2">시/군/구</td> |
|
204 |
+ <td colspan="2">{{ crosswalk.sigungu_nm }}</td> |
|
205 |
+ </tr> |
|
206 |
+ <tr> |
|
207 |
+ <td colspan="2">행정동</td> |
|
208 |
+ <td colspan="2">{{ crosswalk.dong_nm }}</td> |
|
209 |
+ </tr> |
|
210 |
+ <tr> |
|
211 |
+ <td colspan="2">노드명</td> |
|
212 |
+ <td colspan="2">{{ crosswalk.node_name }}</td> |
|
213 |
+ </tr> |
|
214 |
+ <tr> |
|
215 |
+ <td colspan="2">횡단보도명</td> |
|
216 |
+ <td colspan="2">{{ crosswalk.crslk_nm }}</td> |
|
217 |
+ </tr> |
|
218 |
+ <tr> |
|
219 |
+ <td rowspan="2">좌표</td> |
|
220 |
+ <td>위도</td> |
|
221 |
+ <td colspan="2">{{ crosswalk.lat }}</td> |
|
222 |
+ </tr> |
|
223 |
+ <tr> |
|
224 |
+ <td>경도</td> |
|
225 |
+ <td colspan="2">{{ crosswalk.lon }}</td> |
|
226 |
+ </tr> |
|
227 |
+ <tr> |
|
228 |
+ <td rowspan="3">설치된 검시장비</td> |
|
229 |
+ <td>무단횡단</td> |
|
230 |
+ <td |
|
231 |
+ colspan="2" |
|
232 |
+ v-if="crosswalk.wtrms_crosng_eqpmn_instl_yn == 'y'" |
|
233 |
+ > |
|
234 |
+ 설치 |
|
235 |
+ </td> |
|
236 |
+ <td colspan="2" v-else>미설치</td> |
|
237 |
+ </tr> |
|
238 |
+ <tr> |
|
239 |
+ <td>신호연장</td> |
|
240 |
+ <td |
|
241 |
+ colspan="2" |
|
242 |
+ v-if="crosswalk.signl_extn_eqpmn_instl_yn == 'y'" |
|
243 |
+ > |
|
244 |
+ 설치 |
|
245 |
+ </td> |
|
246 |
+ <td colspan="2" v-else>미설치</td> |
|
247 |
+ </tr> |
|
248 |
+ <tr> |
|
249 |
+ <td>우회전차량</td> |
|
250 |
+ <td |
|
251 |
+ colspan="2" |
|
252 |
+ v-if="crosswalk.rittrn_vhcle_eqpmn_instl_yn == 'y'" |
|
253 |
+ > |
|
254 |
+ 설치 |
|
255 |
+ </td> |
|
256 |
+ <td colspan="2" v-else>미설치</td> |
|
257 |
+ </tr> |
|
258 |
+ <tr> |
|
259 |
+ <td colspan="2">무단횡단 검지범위</td> |
|
260 |
+ <td colspan="2">{{ crosswalk.wtrms_crosng_detct_rate }}%</td> |
|
261 |
+ </tr> |
|
262 |
+ <tr> |
|
263 |
+ <td colspan="2">왕복차선</td> |
|
264 |
+ <td colspan="2">{{ crosswalk.rndtp_tfclne_info }}차선</td> |
|
265 |
+ </tr> |
|
266 |
+ <tr> |
|
267 |
+ <td colspan="2">우회전차선유무</td> |
|
268 |
+ <td colspan="2">{{ crosswalk.rittrn_tfclne_yn }}</td> |
|
269 |
+ </tr> |
|
270 |
+ <tr> |
|
271 |
+ <td colspan="2">우회전차선유형</td> |
|
272 |
+ <td colspan="2">{{ crosswalk.rittrn_tfclne_ty }}</td> |
|
273 |
+ </tr> |
|
274 |
+ <tr> |
|
275 |
+ <td colspan="2">횡단보도 유지보수 담당자</td> |
|
276 |
+ <td colspan="2">{{ crosswalk.mngr_nm }}</td> |
|
277 |
+ </tr> |
|
278 |
+ <tr> |
|
279 |
+ <td>등록자 ID</td> |
|
280 |
+ <td>{{ nullHyphen(crosswalk.rgtr_id) }}</td> |
|
281 |
+ <td>등록일자</td> |
|
282 |
+ <td>{{ yyyymmdd(crosswalk.reg_dt) }}</td> |
|
283 |
+ </tr> |
|
284 |
+ <tr> |
|
285 |
+ <td>수정자 ID</td> |
|
286 |
+ <td>{{ nullHyphen(crosswalk.mdfr_id) }}</td> |
|
287 |
+ <td>수정일자</td> |
|
288 |
+ <td>{{ yyyymmdd(crosswalk.mdfcn_dt) }}</td> |
|
289 |
+ </tr> |
|
290 |
+ </tbody> |
|
291 |
+ </table> |
|
292 |
+ <br /> |
|
293 |
+ <br /> |
|
294 |
+ <br /> |
|
295 |
+ <table> |
|
296 |
+ <colgroup> |
|
297 |
+ <col style="width: 20%" /> |
|
298 |
+ <col style="width: 20%" /> |
|
299 |
+ <col style="width: 20%" /> |
|
300 |
+ <col style="width: 20%" /> |
|
301 |
+ </colgroup> |
|
302 |
+ <tbody> |
|
303 |
+ <tr> |
|
304 |
+ <td rowspan="3">금일 상황발생 수</td> |
|
305 |
+ <td>무단횡단</td> |
|
306 |
+ <td>2회</td> |
|
307 |
+ <td rowspan="4"> |
|
308 |
+ <button class="green-btn">상황발생 상세보기</button> |
|
309 |
+ <button class="green-btn">장애발생 상세보기</button> |
|
310 |
+ <button class="green-btn">위치확인</button> |
|
311 |
+ </td> |
|
312 |
+ </tr> |
|
313 |
+ <tr> |
|
314 |
+ <td>신호연장</td> |
|
315 |
+ <td>-</td> |
|
316 |
+ </tr> |
|
317 |
+ <tr> |
|
318 |
+ <td>우회전차량</td> |
|
319 |
+ <td>-</td> |
|
320 |
+ </tr> |
|
321 |
+ <tr> |
|
322 |
+ <td colspan="2">금일 장애발생 수</td> |
|
323 |
+ <td>1회</td> |
|
324 |
+ </tr> |
|
325 |
+ </tbody> |
|
326 |
+ </table> |
|
263 | 327 |
</div> |
264 | 328 |
</div> |
265 | 329 |
</div> |
266 |
- <div class="bottom-wrap"> |
|
267 |
- <PaginationButton |
|
268 |
- v-model:currentPage="crosswalkListSearch.currentPage" |
|
269 |
- :per-page="crosswalkListSearch.perPage" |
|
270 |
- :total-count="crosswalkListCount" |
|
271 |
- :max-range="5" |
|
272 |
- :click="crosswalkSelectList" |
|
273 |
- /> |
|
274 |
- <div class="btn-wrap"> |
|
275 |
- <router-link to="/UserManagement.page"> |
|
276 |
- <span class="btn-2 green-btn">Excel로 저장</span> |
|
277 |
- </router-link> |
|
278 |
- </div> |
|
330 |
+ </div> |
|
331 |
+ <div class="bottom-wrap"> |
|
332 |
+ <PaginationButton |
|
333 |
+ v-model:currentPage="crosswalkListSearch.currentPage" |
|
334 |
+ :per-page="crosswalkListSearch.perPage" |
|
335 |
+ :total-count="crosswalkListCount" |
|
336 |
+ :max-range="5" |
|
337 |
+ :click="crosswalkSelectList" |
|
338 |
+ /> |
|
339 |
+ <div class="btn-wrap"> |
|
340 |
+ <router-link to="/UserManagement.page"> |
|
341 |
+ <span class="btn-2 green-btn">Excel로 저장</span> |
|
342 |
+ </router-link> |
|
279 | 343 |
</div> |
280 | 344 |
</div> |
281 | 345 |
</div> |
... | ... | @@ -284,7 +348,7 @@ |
284 | 348 |
<script> |
285 | 349 |
import axios from "axios"; |
286 | 350 |
import PaginationButton from "../../component/pagination/PaginationButton.vue"; |
287 |
-import dongSelectList from '../../component/dongSelectList.vue'; |
|
351 |
+import dongSelectList from "../../component/dongSelectList.vue"; |
|
288 | 352 |
import COMMON_UTIL from "../../../resources/js/commonUtil.ts"; |
289 | 353 |
|
290 | 354 |
export default { |
... | ... | @@ -300,7 +364,7 @@ |
300 | 364 |
searchRoundTripLane: null, |
301 | 365 |
jaywalking: null, |
302 | 366 |
signal: null, |
303 |
- rightTurn: null |
|
367 |
+ rightTurn: null, |
|
304 | 368 |
}, |
305 | 369 |
|
306 | 370 |
crosswalk: { |
... | ... | @@ -327,7 +391,7 @@ |
327 | 391 |
sigungu_nm: null, |
328 | 392 |
dong_nm: null, |
329 | 393 |
node_name: null, |
330 |
- mngr_nm: null |
|
394 |
+ mngr_nm: null, |
|
331 | 395 |
}, |
332 | 396 |
|
333 | 397 |
crosswalkListCount: 0, |
... | ... | @@ -339,11 +403,11 @@ |
339 | 403 |
}; |
340 | 404 |
}, |
341 | 405 |
methods: { |
342 |
- crosswalkSelectList: function() { |
|
406 |
+ crosswalkSelectList: function () { |
|
343 | 407 |
const vm = this; |
344 | 408 |
vm.crosswalkListSearch.searchDongCode = vm.address.dong_cd; |
345 | 409 |
|
346 |
- axios({ |
|
410 |
+ axios({ |
|
347 | 411 |
url: "/statusControl/crosswalkSelectList.json", |
348 | 412 |
method: "post", |
349 | 413 |
headers: { |
... | ... | @@ -351,19 +415,22 @@ |
351 | 415 |
}, |
352 | 416 |
data: vm.crosswalkListSearch, |
353 | 417 |
}) |
354 |
- .then(function(response) { |
|
418 |
+ .then(function (response) { |
|
355 | 419 |
console.log("crosswalkSelectList - response : ", response.data); |
356 | 420 |
vm.crosswalkListCount = response.data.crosswalkListCount; |
357 | 421 |
vm.crosswalkList = response.data.crosswalkList; |
358 |
- vm.crosswalkIdx = response.data.crosswalkListCount - (vm.crosswalkListSearch.currentPage - 1) * response.data.crosswalkList.length; |
|
422 |
+ vm.crosswalkIdx = |
|
423 |
+ response.data.crosswalkListCount - |
|
424 |
+ (vm.crosswalkListSearch.currentPage - 1) * |
|
425 |
+ response.data.crosswalkList.length; |
|
359 | 426 |
}) |
360 |
- .catch(function(error) { |
|
427 |
+ .catch(function (error) { |
|
361 | 428 |
console.log("crosswalkSelectList - error : ", error); |
362 | 429 |
alert("횡단보도 목록 조회 오류, 관리자에게 문의해주세요."); |
363 | 430 |
}); |
364 | 431 |
}, |
365 | 432 |
|
366 |
- crosswalkSelectOne: function(item) { |
|
433 |
+ crosswalkSelectOne: function (item) { |
|
367 | 434 |
const vm = this; |
368 | 435 |
|
369 | 436 |
axios({ |
... | ... | @@ -372,23 +439,23 @@ |
372 | 439 |
headers: { |
373 | 440 |
"Content-Type": "application/json; charset=UTF-8", |
374 | 441 |
}, |
375 |
- data: {"node_id":item.node_id, "crslk_az":item.crslk_az} |
|
442 |
+ data: { node_id: item.node_id, crslk_az: item.crslk_az }, |
|
376 | 443 |
}) |
377 |
- .then(function(response) { |
|
444 |
+ .then(function (response) { |
|
378 | 445 |
console.log("crosswalkSelectOne - response : ", response.data); |
379 | 446 |
vm.crosswalk = response.data; |
380 | 447 |
vm.modal_crosswalkOne = true; |
381 |
- }) |
|
382 |
- .catch(function(error) { |
|
448 |
+ }) |
|
449 |
+ .catch(function (error) { |
|
383 | 450 |
console.log("crosswalkSelectOne - error : ", error); |
384 |
- alert("횡단보도 상세조회 오류, 관리자에게 문의해주세요.") |
|
385 |
- }) |
|
451 |
+ alert("횡단보도 상세조회 오류, 관리자에게 문의해주세요."); |
|
452 |
+ }); |
|
386 | 453 |
}, |
387 | 454 |
//날짜 시,분,초 자르기 |
388 | 455 |
yyyymmdd: function (date) { |
389 | 456 |
return COMMON_UTIL.yyyymmdd(date); |
390 | 457 |
}, |
391 |
- |
|
458 |
+ |
|
392 | 459 |
//null값 '-' 치환 |
393 | 460 |
nullHyphen(data) { |
394 | 461 |
return COMMON_UTIL.nullHyphen(data); |
... | ... | @@ -399,13 +466,12 @@ |
399 | 466 |
console.log("value : ", value); |
400 | 467 |
this.address = value; |
401 | 468 |
}, |
402 |
- |
|
403 | 469 |
}, |
404 | 470 |
watch: {}, |
405 | 471 |
computed: {}, |
406 | 472 |
components: { |
407 | 473 |
PaginationButton: PaginationButton, |
408 |
- dongSelectList: dongSelectList |
|
474 |
+ dongSelectList: dongSelectList, |
|
409 | 475 |
}, |
410 | 476 |
mounted() { |
411 | 477 |
console.log("CrosswalkListSearch mounted"); |
... | ... | @@ -427,6 +493,52 @@ |
427 | 493 |
width: 8.7rem; |
428 | 494 |
} |
429 | 495 |
} |
496 |
+ |
|
497 |
+.gap { |
|
498 |
+ width: 77.5em; |
|
499 |
+ /* height: 16em; */ |
|
500 |
+ display: flex; |
|
501 |
+ flex-wrap: wrap; |
|
502 |
+ /* align-content: flex-start; */ |
|
503 |
+ border: 1px solid red; |
|
504 |
+} |
|
505 |
+.gap-sub { |
|
506 |
+ height: 30em; |
|
507 |
+} |
|
508 |
+.taa2 { |
|
509 |
+ height: 14em !important; |
|
510 |
+ line-height: 14 !important; |
|
511 |
+} |
|
512 |
+.ta5 { |
|
513 |
+ height: 30em !important; |
|
514 |
+ line-height: 30em !important; |
|
515 |
+ height: 30em; |
|
516 |
+} |
|
517 |
+.in1 { |
|
518 |
+ width: 21em; |
|
519 |
+ height: 4em !important; |
|
520 |
+ text-align: center; |
|
521 |
+} |
|
522 |
+.taa { |
|
523 |
+ width: 10em; |
|
524 |
+ height: 16em; |
|
525 |
+ border: 1px solid gray; |
|
526 |
+ line-height: 16em; |
|
527 |
+ text-align: center; |
|
528 |
+} |
|
529 |
+.g2 { |
|
530 |
+ width: 38.7em; |
|
531 |
+} |
|
532 |
+.g3 { |
|
533 |
+ /* height: 14em; */ |
|
534 |
+ margin-top: -11px; |
|
535 |
+ /* flex-grow: 1; */ |
|
536 |
+ /* width: 155em; */ |
|
537 |
+} |
|
538 |
+.board-wrap { |
|
539 |
+ width: 100%; |
|
540 |
+ height: 50em; |
|
541 |
+} |
|
430 | 542 |
.mobile { |
431 | 543 |
display: none; |
432 | 544 |
} |
... | ... | @@ -442,7 +554,10 @@ |
442 | 554 |
width: max-content; |
443 | 555 |
} |
444 | 556 |
select { |
445 |
- width: 15rem; |
|
557 |
+ width: 19rem; |
|
558 |
+ height: 4em !important; |
|
559 |
+ background: #ffffffc2; |
|
560 |
+ text-align: center; |
|
446 | 561 |
} |
447 | 562 |
.modal { |
448 | 563 |
width: 100rem; |
... | ... | @@ -508,7 +623,13 @@ |
508 | 623 |
.search-wrap { |
509 | 624 |
margin-bottom: 30px; |
510 | 625 |
background: #f7f6f6; |
511 |
- padding: 1rem; |
|
626 |
+ display: flex; |
|
627 |
+ /* padding: 1rem; */ |
|
628 |
+ height: 46em; |
|
629 |
+ width: 100%; |
|
630 |
+ |
|
631 |
+ flex-wrap: wrap; |
|
632 |
+ align-content: flex-start; |
|
512 | 633 |
} |
513 | 634 |
|
514 | 635 |
.search-wrap input, |
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?