This commit is contained in:
2023-04-26 14:17:54 +09:00
parent 81b7ec49b3
commit 5872bde148

View File

@@ -49,7 +49,6 @@
<label for="popup_radio6">타사업자</label> <label for="popup_radio6">타사업자</label>
</td> </td>
</tr> </tr>
<tr> <tr>
<th>발신번호</th> <th>발신번호</th>
<td> <td>
@@ -81,6 +80,149 @@
</div> </div>
</td> </td>
</tr> </tr>
<tr v-show="bizrAuthYn !== 'Y'">
<th>제출서류</th>
<td>
<p class="file">파일형식 : jpg, png, pdf, tiff (최대 5MB)</p>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>위임-수임사간 관계 확인 문서</p>
<input
type="file"
ref="delegationFile"
style="display: none"
@change="readDelegationFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegationFile.click()">파일업로드</button>
<p class="file" id="delegationNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>위임장</p>
<input
type="file"
ref="attorneyFile"
style="display: none"
@change="readAttorneyFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.attorneyFile.click()">파일업로드</button>
<p class="file" id="attorneyNm"></p>
</div>
<!-- <div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>법인인감증명서</p>
<input type="file" ref="corporateCertificateFile" style="display: none" @change="readCorporateCertificateFile"
accept=".jpg,.png,.pdf,.tiff"/>
<button class="button grey" @click="$refs.corporateCertificateFile.click()">파일업로드</button>
<p class="file" id="corporateCertificateNm"></p>
</div> -->
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>위임사 사업자등록증</p>
<input
type="file"
ref="delegatedBusinessFile"
style="display: none"
@change="readDelegatedBusinessFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegatedBusinessFile.click()">파일업로드</button>
<p class="file" id="delegatedBusinessNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>수임사 사업자등록증</p>
<input
type="file"
ref="authorizedBusinessFile"
style="display: none"
@change="readAuthorizedBusinessFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.authorizedBusinessFile.click()">파일업로드</button>
<p class="file" id="authorizedBusinessNm"></p>
</div>
<div class="attach">
<p v-if="fileType === 1" class="essential list"><span>*</span>통신서비스 이용증명원</p>
<p v-if="fileType === 2" class="essential list">발신번호의 통신서비스 이용증명원</p>
<input
type="file"
ref="communicationFile"
style="display: none"
@change="readCommunicationFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.communicationFile.click()">파일업로드</button>
<p class="file" id="communicationNm"></p>
</div>
<div class="attach" v-show="fileType === 1">
<p class="essential list"><span></span>재직증명서</p>
<input
type="file"
ref="tenureFile"
style="display: none"
@change="readTenureFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.tenureFile.click()">파일업로드</button>
<p class="file" id="tenureNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>위임사 재직증명서(임직원 신청시)</p>
<input
type="file"
ref="delegateCertificateFile"
style="display: none"
@change="readDelegateCertificateFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegateCertificateFile.click()">파일업로드</button>
<p class="file" id="delegateCertificateNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>위임사 신분증(임직원 신청시)</p>
<input
type="file"
ref="delegatedIdentificationFile"
style="display: none"
@change="readDelegatedIdentificationFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegatedIdentificationFile.click()">파일업로드</button>
<p class="file" id="delegatedIdentificationNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>수임사 대리인 재직증명서(임직원 신청시)</p>
<input
type="file"
ref="commDeputyCertificateFile"
style="display: none"
@change="readCommDeputyCertificateFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.commDeputyCertificateFile.click()">파일업로드</button>
<p class="file" id="commDeputyCertificateNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>수임사 대리인 신분증(임직원 신청시)</p>
<input
type="file"
ref="commDeputyIdFile"
style="display: none"
@change="readCommDeputyIdFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.commDeputyIdFile.click()">파일업로드</button>
<p class="file" id="commDeputyIdNm"></p>
</div>
</td>
</tr>
<tr> <tr>
<th>사업자 등록증</th> <th>사업자 등록증</th>
<td v-show="bizrAuthYn !== 'Y'"> <td v-show="bizrAuthYn !== 'Y'">
@@ -114,27 +256,23 @@
<td class="red" v-show="bizrAuthYn === 'Y'">인증 완료</td> <td class="red" v-show="bizrAuthYn === 'Y'">인증 완료</td>
</tr> </tr>
<tr> <tr v-show="bizrAuthYn !== 'Y'">
<th>통신서비스 이용증명원</th> <th>본인확인</th>
<td> <td>
<p class="file">파일형식 : jpg, png, pdf, tiff (최대 5MB)</p>
<div class="attach"> <div class="attach">
<p v-if="fileType === 1" class="essential list"><span>*</span>통신서비스 이용증명원</p> <p class="essential list"><span></span>신분증</p>
<p v-if="fileType === 2" class="essential list">발신번호의 통신서비스 이용증명원</p>
<input <input
type="file" type="file"
ref="communicationFile" ref="identificationCardFile"
style="display: none" style="display: none"
@change="readCommunicationFile" @change="readIdentificationCardFile"
accept=".jpg,.png,.pdf,.tiff" accept=".jpg,.png,.pdf,.tiff"
/> />
<button class="button grey" @click="$refs.communicationFile.click()">파일업로드</button> <button class="button grey" @click="$refs.identificationCardFile.click()">파일업로드</button>
<p class="file" id="communicationNm"></p> <p class="file" id="identificationCardNm"></p>
</div> </div>
</td>
</tr>
<tr>
<th>재직증명서(임직원 신청시)</th>
<td>
<div class="attach"> <div class="attach">
<p class="essential list"><span></span>재직증명서</p> <p class="essential list"><span></span>재직증명서</p>
<input <input
@@ -149,154 +287,6 @@
</div> </div>
</td> </td>
</tr> </tr>
<tr v-show="bizrAuthYn !== 'Y' && fileType === 2">
<th>타사업자 명의 제출서류</th>
<td>
<p class="file">파일형식 : jpg, png, pdf, tiff (최대 5MB)</p>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>위임장</p>
<input
type="file"
ref="attorneyFile"
style="display: none"
@change="readAttorneyFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.attorneyFile.click()">파일업로드</button>
<p class="file" id="attorneyNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>위임-수임업체 관계 확인 문서</p>
<input
type="file"
ref="delegationFile"
style="display: none"
@change="readDelegationFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegationFile.click()">파일업로드</button>
<p class="file" id="delegationNm"></p>
</div>
<!-- <div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>법인인감증명서</p>
<input type="file" ref="corporateCertificateFile" style="display: none" @change="readCorporateCertificateFile"
accept=".jpg,.png,.pdf,.tiff"/>
<button class="button grey" @click="$refs.corporateCertificateFile.click()">파일업로드</button>
<p class="file" id="corporateCertificateNm"></p>
</div> -->
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>위임업체 사업자등록증</p>
<input
type="file"
ref="delegatedBusinessFile"
style="display: none"
@change="readDelegatedBusinessFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegatedBusinessFile.click()">파일업로드</button>
<p class="file" id="delegatedBusinessNm"></p>
</div>
<!-- 2023.04.25 삭제 <div class="attach" v-show="fileType === 2">
<p class="essential list"><span>*</span>수임사 사업자등록증</p>
<input
type="file"
ref="authorizedBusinessFile"
style="display: none"
@change="readAuthorizedBusinessFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.authorizedBusinessFile.click()">파일업로드</button>
<p class="file" id="authorizedBusinessNm"></p>
</div> -->
<!-- 2023.04.25 삭제 <div class="attach">
<p v-if="fileType === 1" class="essential list"><span>*</span>통신서비스 이용증명원</p>
<p v-if="fileType === 2" class="essential list">발신번호의 통신서비스 이용증명원</p>
<input
type="file"
ref="communicationFile"
style="display: none"
@change="readCommunicationFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.communicationFile.click()">파일업로드</button>
<p class="file" id="communicationNm"></p>
</div> -->
<!-- 2023.04.25 삭제<div class="attach" v-show="fileType === 1">
<p class="essential list"><span></span>재직증명서</p>
<input
type="file"
ref="tenureFile"
style="display: none"
@change="readTenureFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.tenureFile.click()">파일업로드</button>
<p class="file" id="tenureNm"></p>
</div> -->
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>위임업체 대리인 신분증 사본(임직원 신청시)</p>
<input
type="file"
ref="delegatedIdentificationFile"
style="display: none"
@change="readDelegatedIdentificationFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegatedIdentificationFile.click()">파일업로드</button>
<p class="file" id="delegatedIdentificationNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>수임업체 대리인 신분증 사본(임직원 신청시)</p>
<input
type="file"
ref="commDeputyIdFile"
style="display: none"
@change="readCommDeputyIdFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.commDeputyIdFile.click()">파일업로드</button>
<p class="file" id="commDeputyIdNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>위임업체 대리인 재직증명서(임직원 신청시)</p>
<input
type="file"
ref="delegateCertificateFile"
style="display: none"
@change="readDelegateCertificateFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.delegateCertificateFile.click()">파일업로드</button>
<p class="file" id="delegateCertificateNm"></p>
</div>
<div class="attach" v-show="fileType === 2">
<p class="essential list"><span></span>수임업체 대리인 재직증명서(임직원 신청시)</p>
<input
type="file"
ref="commDeputyCertificateFile"
style="display: none"
@change="readCommDeputyCertificateFile"
accept=".jpg,.png,.pdf,.tiff"
/>
<button class="button grey" @click="$refs.commDeputyCertificateFile.click()">파일업로드</button>
<p class="file" id="commDeputyCertificateNm"></p>
</div>
</td>
</tr>
</tbody> </tbody>
</table> </table>
<div class="popup-btn2"> <div class="popup-btn2">
@@ -505,11 +495,11 @@ export default {
} }
// 신분증 (본인확인) // 신분증 (본인확인)
/*this.$refs.identificationCardFile.value = null; this.$refs.identificationCardFile.value = null;
element = document.getElementById('identificationCardNm'); element = document.getElementById('identificationCardNm');
while (element.firstChild) { while (element.firstChild) {
element.removeChild(element.firstChild); element.removeChild(element.firstChild);
}*/ }
// 재직증명서 (본인확인) // 재직증명서 (본인확인)
this.$refs.identificationEvidenceFile.value = null; this.$refs.identificationEvidenceFile.value = null;
@@ -1069,7 +1059,7 @@ export default {
this.communicationFile, this.communicationFile,
this.tenureFile, this.tenureFile,
this.businessFile, this.businessFile,
// this.identificationCardFile, this.identificationCardFile,
this.identificationEvidenceFile, this.identificationEvidenceFile,
this.adminId, this.adminId,
this.custNm, this.custNm,