feat: 자료 수정시 페이지 리로드.

main
Kurt92 2 years ago
parent a300bb4e37
commit fc8eb6166d

@ -132,7 +132,7 @@ public class EcCtznSttemntController {
@RequestMapping("/saveImg") @RequestMapping("/saveImg")
public ModelAndView saveImg (final CtznStmtDTO dto, @RequestBody Map<String, Object> paraMap) { public ModelAndView saveImg (@RequestBody Map<String, Object> paraMap) {
ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW); ModelAndView mav = new ModelAndView(FrameworkConstants.JSON_VIEW);
service.dragAndDropSaveImg(paraMap); service.dragAndDropSaveImg(paraMap);

@ -307,8 +307,12 @@ const cmmBizAjax = (workType, param, isPopup = true) => {
//if(callback === 'function') window.opener.callback(); //if(callback === 'function') window.opener.callback();
//else window.opener.callbackSearch(); //else window.opener.callbackSearch();
if(isPopup) { if(isPopup) {
if(workType === 'add' || workType === 'remove'){
window.opener.callbackSearch(); window.opener.callbackSearch();
window.close(); window.close();
} else {
window.location.reload();
}
}else{ }else{
fnBiz.search(); fnBiz.search();
} }

Loading…
Cancel
Save