발신번호 등록 수정

This commit is contained in:
USER
2022-08-17 12:03:45 +09:00
parent 26756f3e8e
commit 89c8d1eb68
34 changed files with 918 additions and 247 deletions

View File

@@ -65,13 +65,21 @@
<tr>
<th>제출서류</th>
<td class="sender">
<a v-for="(item, idx) in docList" v-if="item.docTpCd !== '06'">{{ item.docTitle }}</a>
<a href="javascript:void(0);" @click="download(item.filePath, item.fileNm, item.docTitle)" v-for="(item, idx) in docList" v-if="item.docTpCd !== '06' && item.docTpCd !== '07' && item.docTpCd !== '13' && item.docTpCd !== '14'">{{ item.docTitle }} <br></a>
</td>
</tr>
<tr>
<th>사업자등록증</th>
<td class="sender">
<p v-for="(item, idx) in docList" v-if="item.docTpCd === '06'">{{ item.docTitle }}</p>
<a href="javascript:void(0);" @click="download(item.filePath, item.fileNm, item.docTitle)" v-for="(item, idx) in docList" v-if="item.docTpCd === '06'">{{ item.docTitle }}<br></a>
<a href="javascript:void(0);" @click="download(item.filePath, item.fileNm, item.docTitle)" v-for="(item, idx) in docList" v-if="item.docTpCd === '07'">{{ item.docTitle }}<br></a>
</td>
</tr>
<tr>
<th>본인확인</th>
<td class="sender">
<a href="javascript:void(0);" @click="download(item.filePath, item.fileNm, item.docTitle)" v-for="(item, idx) in docList" v-if="item.docTpCd === '13'">{{ item.docTitle }}<br></a>
<a href="javascript:void(0);" @click="download(item.filePath, item.fileNm, item.docTitle)" v-for="(item, idx) in docList" v-if="item.docTpCd === '14'">{{ item.docTitle }}<br></a>
</td>
</tr>
<tr>
@@ -108,6 +116,7 @@ export default {
return{
row: {},
regReqNo:'',
docNo:'',
reqNo:'',
seqNo:'',
cmpltDt:'',
@@ -120,6 +129,7 @@ export default {
memo:'',
docList: [],
numList: [],
}
},
components: {
@@ -134,6 +144,14 @@ export default {
this.formReset();
},
methods :{
//파일 다운로드
download(filePath, fileName, docTitle){
this.row = {}
this.row.docTitle = docTitle
this.row.filePath = filePath
this.row.fileNm = fileName
sendNumMgtApi.fileDownload(this.row);
},
// 모달 띄우기
apprDetailPopOpen(props){
@@ -148,20 +166,24 @@ export default {
try {
console.log(props)
this.row.regReqNo = props.regReqNo
this.row.docNo = props.docNo
const response = await sendNumMgtApi.apprDetail(this.row);
const result = response.data;
console.log(result);
if (result != null && result.retCode == "0000") {
this.regRegNo = result.data.regReqNo
this.reqNo = result.data.regReqNo
this.regReqNo = result.data.regReqNo
this.docNo = result.data.docNo
// this.reqNo = result.data.regNo
// this.fileNm = result.data.fileNm
// this.filePath = result.data.filePath
this.docTitle = result.data.docTitle
this.regDt = result.data.regDt
this.custNm = result.data.custNm
this.adminId = result.data.adminId
this.chgDt = result.data.chgDt
this.bizrno = result.data.bizrno.substring(0,3)+'-'+result.data.bizrno.substring(3,5)+'-'+result.data.bizrno.substring(5,10)
this.nmineeDivCd = result.data.nmineeDivCd
this.regRegNo = result.data.regRegNo
this.slfAuthHp = result.data.slfAuthHp
this.docList = result.data.docList
this.numList = result.data.numList