Index: vue/src/assets/images/devops/DevSupport/github.png =================================================================== diff -u -rfe8bf3c7c834a495e21eef65f6910e62892181ea -re7ebd0efd58799e15e03fb6ba670dd324bca255b --- vue/src/assets/images/devops/DevSupport/github.png (.../github.png) (revision fe8bf3c7c834a495e21eef65f6910e62892181ea) +++ vue/src/assets/images/devops/DevSupport/github.png (.../github.png) (revision e7ebd0efd58799e15e03fb6ba670dd324bca255b) @@ -1977,4 +1977,14 @@ border-radius: 4px; font-size: 11px; z-index: 900; +} + +.kanban_search_clear { + position: absolute; + top: 50%; + right: 10px; + transform: translateY(-50%); + cursor: pointer; + display: none; + z-index: 5; } \ No newline at end of file Index: arms/html/reqKanban/content-container.html =================================================================== diff -u -r4120cea9dc1c3958a6e0ad42b1649c02fd91521b -re7ebd0efd58799e15e03fb6ba670dd324bca255b --- arms/html/reqKanban/content-container.html (.../content-container.html) (revision 4120cea9dc1c3958a6e0ad42b1649c02fd91521b) +++ arms/html/reqKanban/content-container.html (.../content-container.html) (revision e7ebd0efd58799e15e03fb6ba670dd324bca255b) @@ -363,6 +363,18 @@
+
+
+ + +
+
Index: arms/js/reqKanban.js =================================================================== diff -u -r22c9d8a69472b269e8f76a9151e07a165709b1fc -re7ebd0efd58799e15e03fb6ba670dd324bca255b --- arms/js/reqKanban.js (.../reqKanban.js) (revision 22c9d8a69472b269e8f76a9151e07a165709b1fc) +++ arms/js/reqKanban.js (.../reqKanban.js) (revision e7ebd0efd58799e15e03fb6ba670dd324bca255b) @@ -85,6 +85,33 @@ adjustHeight(); }); + // 검색 + $("#kanban_search").on("input", function () { + let searchText = $(this).val().toLowerCase(); + // console.log("검색: " + searchText); + + $('.kanban-item').each(function() { + let itemText = $(this).find('.req_item').text().toLowerCase(); + if (itemText.indexOf(searchText) !== -1) { + $(this).removeClass('hidden'); + } else { + $(this).addClass('hidden'); + } + }); + + if ($(this).val().length > 0) { + $('.kanban_search_clear').show(); + } else { + $('.kanban_search_clear').hide(); + } + }); + + $('.kanban_search_clear').click(function() { + $('#kanban_search').val('').focus(); + $('.kanban-item').removeClass('hidden'); + $(this).hide(); + }); + }) .catch(function (e) { console.error("플러그인 로드 중 오류 발생");