Index: arms/html/reqAdd/content-container.html =================================================================== diff -u -rc7c33a08a1010cccc85de68482bcf6b34a27cc49 -r39632cec5a85b3450f59c5991cd4e5db4c3a1930 --- arms/html/reqAdd/content-container.html (.../content-container.html) (revision c7c33a08a1010cccc85de68482bcf6b34a27cc49) +++ arms/html/reqAdd/content-container.html (.../content-container.html) (revision 39632cec5a85b3450f59c5991cd4e5db4c3a1930) @@ -18,28 +18,14 @@
-
Index: arms/js/pdService.js =================================================================== diff -u -r166b38d9e489aae66d508388e84dc36657b561ee -r39632cec5a85b3450f59c5991cd4e5db4c3a1930 --- arms/js/pdService.js (.../pdService.js) (revision 166b38d9e489aae66d508388e84dc36657b561ee) +++ arms/js/pdService.js (.../pdService.js) (revision 39632cec5a85b3450f59c5991cd4e5db4c3a1930) @@ -201,13 +201,13 @@ } // --- select2 (사용자 자동완성 검색 ) 선택하고 나면 선택된 데이터 공간을 벌리기위한 설정 --- // -$('#popup-editView-pdService-reviewer').on('select2:selecting', function (e) { +$('#popup-editView-pdService-reviewer').on('select2:select', function (e) { var heightValue = $('#popup-editView-pdService-reviewer').height(); var resultValue = heightValue + 20; $('#popup-editView-pdService-reviewer').css('height', resultValue + 'px'); }); -$('#editView-pdService-reviewers').on('select2:selecting', function (e) { +$('#editView-pdService-reviewers').on('select2:select', function (e) { var heightValue = $('#editView-pdService-reviewer').height(); var resultValue = heightValue + 20; $('#editView-pdService-reviewer').css('height', resultValue + 'px'); Index: arms/js/reqAdd.js =================================================================== diff -u -rc7c33a08a1010cccc85de68482bcf6b34a27cc49 -r39632cec5a85b3450f59c5991cd4e5db4c3a1930 --- arms/js/reqAdd.js (.../reqAdd.js) (revision c7c33a08a1010cccc85de68482bcf6b34a27cc49) +++ arms/js/reqAdd.js (.../reqAdd.js) (revision 39632cec5a85b3450f59c5991cd4e5db4c3a1930) @@ -9,6 +9,7 @@ $(this).select2($(this).data()); }); + //제품 서비스 셀렉트 박스 $.ajax({ url: "/auth-user/api/arms/pdservice/getPdServiceMonitor.do", type: "GET", @@ -53,12 +54,44 @@ } // --- select2 ( 제품(서비스) 검색 및 선택 ) --- // -$('#country').on('select2:selecting', function (e) { +$('#country').on('select2:select', function (e) { // 제품( 서비스 ) 선택했으니까 자동으로 버전을 선택할 수 있게 유도 // 디폴트는 base version 을 선택하게 하고 ( select all ) console.log("check -> " + $('#country').val()); jsTreeBuild("#productTree", "reqAdd/T_ARMS_REQADD_" + $('#country').val()); + + $(".multiple-select option").remove(); + $.ajax({ + url: "/auth-user/api/arms/pdversion/getVersion.do?c_id=" + $('#country').val(), + type: "GET", + contentType: "application/json;charset=UTF-8", + dataType : "json", + progress: true + }).done(function(data) { + + for(var k in data){ + var obj = data[k]; + //var jira_name = obj.c_title; + selectConnectID = obj.c_id; + console.log("selectConnectID==" + selectConnectID); + + var $opt = $('