단속사진 관련 기능 url 변경

main
이범준 2 months ago
parent f7a979b527
commit 7e56a42f90

@ -222,7 +222,7 @@ function settingPhotoMain(pageName, crdnIdElement, carInfoFunc, carLinkFunc){
var fileProcessingURL = ""; var fileProcessingURL = "";
if(flag == "insert"){ if(flag == "insert"){
fileProcessingURL = wctx.url("file/insertCrdnImageFile.do"); fileProcessingURL = wctx.url("crdn/crdn06/insertCrdnImageFile.do");
formData.delete("newFileList"); formData.delete("newFileList");
@ -232,7 +232,7 @@ function settingPhotoMain(pageName, crdnIdElement, carInfoFunc, carLinkFunc){
}); });
} }
} else if(flag == "modifiy"){ } else if(flag == "modifiy"){
fileProcessingURL = wctx.url("file/updateCrdnImageFile.do"); fileProcessingURL = wctx.url("crdn/crdn06/updateCrdnImageFile.do");
formData.delete("modifyFile"); formData.delete("modifyFile");
@ -248,7 +248,7 @@ function settingPhotoMain(pageName, crdnIdElement, carInfoFunc, carLinkFunc){
} else if(flag == "delete"){ } else if(flag == "delete"){
fileProcessingURL = wctx.url("file/deleteCrdnImageFile.do"); fileProcessingURL = wctx.url("crdn/crdn06/deleteCrdnImageFile.do");
if($P.existFileArr.length > 0) { if($P.existFileArr.length > 0) {
$P.existFileArr.forEach(function(item){ $P.existFileArr.forEach(function(item){
@ -258,7 +258,7 @@ function settingPhotoMain(pageName, crdnIdElement, carInfoFunc, carLinkFunc){
}); });
} }
} else if(flag == "changeOrder"){ } else if(flag == "changeOrder"){
fileProcessingURL = wctx.url("file/changeOrderCrdnImageFile.do"); fileProcessingURL = wctx.url("crdn/crdn06/changeOrderCrdnImageFile.do");
var inputs = $P.$findn("dragAndDrop").find("input[name='existPhoto']"); var inputs = $P.$findn("dragAndDrop").find("input[name='existPhoto']");
for(var i=0; i < inputs.length; i++){ for(var i=0; i < inputs.length; i++){

Loading…
Cancel
Save