mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 05:12:34 +09:00
발신번호 등록수정
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
</div>
|
||||
|
||||
<div class="attach">
|
||||
<p v-if="fileType === 1" class="essential list">통신서비스 이용증명원</p>
|
||||
<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"/>
|
||||
@@ -247,6 +247,21 @@ export default {
|
||||
this.formReset();
|
||||
},
|
||||
methods: {
|
||||
|
||||
returnFileSize(number, event) {
|
||||
if (number === 0){
|
||||
this.row.title = '발신번호 등록';
|
||||
this.row.msg1 = '첨부파일을 확인해 주세요';
|
||||
// this.getParent('NumberList').commonModalOpen(this.row)
|
||||
this.$parent.$refs.commmonModal.alertModalOpen(this.row);
|
||||
event.target.files[0] = '';
|
||||
return false;
|
||||
}
|
||||
if(number > 1) {
|
||||
return (number/1048576).toFixed(2) + 'MB';
|
||||
}
|
||||
},
|
||||
|
||||
searchIdPop() {
|
||||
this.$refs.admnListPop.adminNmPopOpen();
|
||||
},
|
||||
@@ -335,7 +350,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('delegationNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.delegationFile = file;
|
||||
}
|
||||
@@ -366,7 +381,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('attorneyNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.attorneyFile = file;
|
||||
}
|
||||
@@ -398,7 +413,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('corporateCertificateNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size , event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.corporateCertificateFile = file;
|
||||
}
|
||||
@@ -430,7 +445,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('delegatedBusinessNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.delegatedBusinessFile = file;
|
||||
}
|
||||
@@ -462,7 +477,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('authorizedBusinessNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size , event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.authorizedBusinessFile = file;
|
||||
}
|
||||
@@ -494,7 +509,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('delegateCertificateNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.delegateCertificateFile = file;
|
||||
}
|
||||
@@ -526,7 +541,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('delegatedIdentificationNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.delegatedIdentificationFile = file;
|
||||
}
|
||||
@@ -558,7 +573,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('tenureNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.tenureFile = file;
|
||||
}
|
||||
@@ -589,7 +604,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('businessNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.businessFile = file;
|
||||
}
|
||||
@@ -620,7 +635,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('identificationCardNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.identificationCardFile = file;
|
||||
}
|
||||
@@ -651,7 +666,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('identificationEvidenceNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.identificationEvidenceFile = file;
|
||||
}
|
||||
@@ -684,8 +699,9 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('communicationNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
//root.appendChild( `${this.returnFileSize(file.size)}`);
|
||||
this.communicationFile = file;
|
||||
}
|
||||
},
|
||||
@@ -715,7 +731,7 @@ export default {
|
||||
})
|
||||
button.innerText = 'X'
|
||||
const root = document.getElementById('otherBusinessNm');
|
||||
root.appendChild(text);
|
||||
root.textContent = `${file.name} ${ '('+ this.returnFileSize(file.size, event) + ')'}`;
|
||||
root.appendChild(button);
|
||||
this.otherBusinessFile = file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user