Merge pull request '3D, 2D, PDF 아이콘 눌려서 파일 개별 첨부하는 곳 첨부 안되는부분수정완료' (#19) from V20251023001 into main
Reviewed-on: #19
This commit was merged in pull request #19.
This commit is contained in:
@@ -25,7 +25,7 @@ $(document).ready(function(){
|
||||
$("#btnUpload").click(function(){
|
||||
var files = $("#file1")[0].files;
|
||||
if(files.length > 0){
|
||||
fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "srAreaDraw",null, "${param.parentTargetObjId}");
|
||||
fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "refeshAttachFileArea",null, "${param.parentTargetObjId}");
|
||||
//file객체 초기화
|
||||
$("#file1").val("");
|
||||
}else{
|
||||
@@ -39,6 +39,14 @@ $(document).ready(function(){
|
||||
|
||||
function refeshAttachFileArea(){
|
||||
srAreaDraw();
|
||||
// 부모 창의 그리드도 새로고침
|
||||
if(opener && typeof opener.fn_search == "function"){
|
||||
opener.fn_search();
|
||||
}
|
||||
// Tabulator 그리드가 있는 경우
|
||||
if(opener && opener._tabulGrid){
|
||||
opener._tabulGrid.replaceData();
|
||||
}
|
||||
}
|
||||
|
||||
//형상 영역을 display 한다.
|
||||
@@ -177,10 +185,11 @@ function fileDelete(fileObjId){
|
||||
-->
|
||||
<td rowspan="2" class="input_title align_c">파일첨부</td>
|
||||
<td colspan="8">
|
||||
<div id="srDropZone" class="dropzone">Drag & Drop Files Here</div>
|
||||
<!-- <input type="file" name="file1" id="file1" multiple>
|
||||
<input type="button" id="btnUpload" value="Upload" class="upload_btns"> -->
|
||||
<div id="srFileAreaTable" class="spec_data_in_table">
|
||||
<div style="margin-bottom: 10px;">
|
||||
<input type="file" name="file1" id="file1" multiple>
|
||||
<input type="button" id="btnUpload" value="업로드" class="plm_btns">
|
||||
</div>
|
||||
<div id="srFileAreaTable" class="spec_data_in_table">
|
||||
<div style="overflow-y:scroll;width:100%">
|
||||
<table id="" class="fileListscrollThead" style="width:100% !important;">
|
||||
<colgroup>
|
||||
|
||||
@@ -28,7 +28,7 @@ $(document).ready(function(){
|
||||
$("#btnUpload").click(function(){
|
||||
var files = $("#file1")[0].files;
|
||||
if(files.length > 0){
|
||||
fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "srAreaDraw",null, "${param.parentTargetObjId}");
|
||||
fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "refeshAttachFileArea",null, "${param.parentTargetObjId}");
|
||||
//file객체 초기화
|
||||
$("#file1").val("");
|
||||
}else{
|
||||
@@ -39,6 +39,14 @@ $(document).ready(function(){
|
||||
|
||||
function refeshAttachFileArea(){
|
||||
srAreaDraw();
|
||||
// 부모 창의 그리드도 새로고침
|
||||
if(opener && typeof opener.fn_search == "function"){
|
||||
opener.fn_search();
|
||||
}
|
||||
// Tabulator 그리드가 있는 경우
|
||||
if(opener && opener._tabulGrid){
|
||||
opener._tabulGrid.replaceData();
|
||||
}
|
||||
}
|
||||
|
||||
//형상 영역을 display 한다.
|
||||
@@ -202,9 +210,10 @@ function fileDelete(fileObjId){
|
||||
<tr>
|
||||
<td rowspan="2" class="input_title align_c">파일첨부</td>
|
||||
<td colspan="8">
|
||||
<div id="srDropZone" class="dropzone">Drag & Drop Files Here</div>
|
||||
<input type="file" name="file1" id="file1" multiple>
|
||||
<input type="button" id="btnUpload" value="Upload" class="upload_btns">
|
||||
<div style="margin-bottom: 10px;">
|
||||
<input type="file" name="file1" id="file1" multiple>
|
||||
<input type="button" id="btnUpload" value="업로드" class="plm_btns">
|
||||
</div>
|
||||
<div id="srFileAreaTable" class="spec_data_in_table">
|
||||
<div style="overflow-y:scroll;">
|
||||
<table id="" class="fileListscrollThead" style="width:100% !important;">
|
||||
|
||||
@@ -22,7 +22,7 @@ $(document).ready(function(){
|
||||
$("#btnUpload").click(function(){
|
||||
var files = $("#file1")[0].files;
|
||||
if(files.length > 0){
|
||||
fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "srAreaDraw");
|
||||
fnc_fileMultiUpload(files, null, "${param.targetObjId}", "${param.docType}", "${param.docTypeName}", null, "refeshAttachFileArea");
|
||||
//file객체 초기화
|
||||
$("#file1").val("");
|
||||
}else{
|
||||
@@ -151,12 +151,13 @@ function fileDelete(fileObjId){
|
||||
-->
|
||||
<table class="pmsPopupForm">
|
||||
<tr>
|
||||
<td rowspan="2" class="input_title align_c">파일첨부</td>
|
||||
<td colspan="5">
|
||||
<!-- <div id="srDropZone" class="dropzone">Drag & Drop Files Here</div> -->
|
||||
<!-- <input type="file" name="file1" id="file1" multiple>
|
||||
<input type="button" id="btnUpload" value="Upload" class="upload_btns"> -->
|
||||
<div id="srFileAreaTable" class="spec_data_in_table">
|
||||
<td rowspan="2" class="input_title align_c">파일첨부</td>
|
||||
<td colspan="5">
|
||||
<div style="margin-bottom: 10px;">
|
||||
<input type="file" name="file1" id="file1" multiple>
|
||||
<input type="button" id="btnUpload" value="업로드" class="plm_btns">
|
||||
</div>
|
||||
<div id="srFileAreaTable" class="spec_data_in_table">
|
||||
<div style="overflow-y:scroll;">
|
||||
<table id="" class="fileListscrollThead" style="width:100% !important;">
|
||||
<colgroup>
|
||||
|
||||
Reference in New Issue
Block a user