Index: reference/gebo_admin_1.8.1/js/jquery-migrate.min.js =================================================================== diff -u -r251816037c1e79d71f958f08020a3d6f1308b95f -r0458868e2f55929c8fe0cb20fb8f5fb5e416dee6 --- reference/gebo_admin_1.8.1/js/jquery-migrate.min.js (.../jquery-migrate.min.js) (revision 251816037c1e79d71f958f08020a3d6f1308b95f) +++ reference/gebo_admin_1.8.1/js/jquery-migrate.min.js (.../jquery-migrate.min.js) (revision 0458868e2f55929c8fe0cb20fb8f5fb5e416dee6) @@ -29,8 +29,8 @@ proxies: [ { context: ['/auth-anon','/auth-user','/auth-admin','/auth-check','/sso','/dwr','/logout'], - host:'www.313.co.kr', - //host: '127.0.0.1', + //host:'www.313.co.kr', + host: '127.0.0.1', port: 13131, https: false, changeOrigin: true Index: arms/html/pdService/content-container.html =================================================================== diff -u -r90a7cb94ef3c8872f4c3245153f42761732d2311 -r0458868e2f55929c8fe0cb20fb8f5fb5e416dee6 --- arms/html/pdService/content-container.html (.../content-container.html) (revision 90a7cb94ef3c8872f4c3245153f42761732d2311) +++ arms/html/pdService/content-container.html (.../content-container.html) (revision 0458868e2f55929c8fe0cb20fb8f5fb5e416dee6) @@ -221,7 +221,7 @@

( 주의하세요 ) 삭제된 요구사항과 연결되 Jira 이슈는 유지됩니다.

( 주의하세요 ) 삭제된 요구사항은 통계에 반영되지 않습니다.

- +
@@ -414,7 +414,7 @@ Close Index: arms/js/pdService.js =================================================================== diff -u -r062b913ba7881a44375ab77bb348446ea36ccd6e -r0458868e2f55929c8fe0cb20fb8f5fb5e416dee6 --- arms/js/pdService.js (.../pdService.js) (revision 062b913ba7881a44375ab77bb348446ea36ccd6e) +++ arms/js/pdService.js (.../pdService.js) (revision 0458868e2f55929c8fe0cb20fb8f5fb5e416dee6) @@ -157,6 +157,29 @@ }); }); + + +// 신규 제품(서비스) 삭제 버튼 +$("#delete-pdService").click(function () { + console.log("delete btn"); + $.ajax({ + url: "/auth-user/api/arms/pdservice/removeNode.do", + type: "POST", + data: { + c_id: $('#pdserviceTable').DataTable().rows('.selected').data()[0].c_id, + }, + statusCode: { + 200: function () { + jError($("#editView-pdService-name").val() + "데이터가 삭제되었습니다."); + //데이터 테이블 데이터 재 로드 + dataTableRef.ajax.reload( function (json) { + $('#pdserviceTable tbody tr:eq(0)').click(); + } ); + }, + }, + }); +}); + // document ready $(function () { @@ -217,14 +240,16 @@ //파일 업로드 관련 레이어 보이기 처리 $('.body-middle').show(); + //파일 리스트 초기화 + $("table tbody.files").empty(); // Load existing files: var $fileupload = $('#fileupload'); // Load existing files: $.ajax({ // Uncomment the following to send cross-domain cookies: //xhrFields: {withCredentials: true}, url: '/auth-user/api/arms/fileRepository/getFilesByNode.do', - data: { c_id: 1, fileIdLink: selectId }, + data: { fileIdLink: selectId }, dataType: 'json', context: $fileupload[0] }).done(function (result) { @@ -364,7 +389,7 @@ statusCode: { 200: function () { console.log("성공!"); - //모달 팝업 끝내고 + jSuccess($("#editView-pdService-name").val() + "의 데이터가 변경되었습니다."); }, }, });