Index: arms/js/reqReview.js =================================================================== diff -u -rc1e8cd171e7450013b727f44a7ea6d70a9f61a1e -r992d2e99001e3e74d312d1988ae49d0c34047f81 --- arms/js/reqReview.js (.../reqReview.js) (revision c1e8cd171e7450013b727f44a7ea6d70a9f61a1e) +++ arms/js/reqReview.js (.../reqReview.js) (revision 992d2e99001e3e74d312d1988ae49d0c34047f81) @@ -465,7 +465,7 @@ $('#jstreeTable tbody').on('click', 'tr', function () { var data = tempDataTable.row( this ).data(); - console.log(data); + console.log(tempDataTable, data); //alert( 'You clicked on '+ data.c_title +'\'s row' ); rowData = data } ); @@ -478,13 +478,14 @@ function modal(data) { console.log('#### modal data ::', data) + const th = ['제품(서비스)', '요구사항', 'JIRA Project', 'Issue', 'QA', 'Status-Test'] if (!data) return - $('.modal-title').text(data.c_title); + $('.modal-title').text(data[1]); $('.modal-body').html(() => { let text = ''; - for(let key in data) { - text += `${key} : ${data[key]}
`; - } + th.forEach(function (name, index) { + text += `${name} : ${data[index]}
`; + }) return text; })