Merge branch 'feature/入司优化' into dev

This commit is contained in:
mengxiaolong
2020-10-27 17:33:18 +08:00
3 changed files with 11 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ export default {
return this.$toast('请添加执业证信息')
}
const params = {
id: this.id,
id: Number(this.id),
certificate: [...this.certificateList]
}
const result = await saveCertificateInfo(params)

View File

@@ -82,7 +82,8 @@ export default {
isSuccess: false,
basicId: 0,
idNo: '',
innerNodes: [{ type: 1, isFinished: false }, { type: 3, isFinished: false }, { type: 5, isFinished: false }]
innerNodes: [{ type: 1, isFinished: false }, { type: 3, isFinished: false }, { type: 5, isFinished: false }],
isLoadMore: false
}
},
async mounted() {
@@ -107,6 +108,7 @@ export default {
methods: {
// 外勤查询数据
async getOuterDataList() {
this.isLoadMore = true
let data = {
pageNum: this.currentPage,
types: ['01'],
@@ -138,8 +140,10 @@ export default {
this.loading = false
this.finishedText = res.resultMessage
}
this.isLoadMore = false
},
async getInnerDataList() {
this.isLoadMore = true
// 遍历内勤需要查询的节点
for (let node of this.innerNodes) {
let data = {
@@ -182,6 +186,7 @@ export default {
} else {
this.currentPage++
}
this.isLoadMore = false
},
async checkData(action, done) {
if (action === 'confirm') {
@@ -229,7 +234,9 @@ export default {
this.basicId = basicId
},
loadMore() {
this.branchType === '1' ? this.getInnerDataList() : this.getOuterDataList()
if (!this.isLoadMore) {
this.branchType === '1' ? this.getInnerDataList() : this.getOuterDataList()
}
},
//审批
goApprove(baseId, appntNode) {

View File

@@ -186,7 +186,7 @@ export default {
this.medias = res.content.ebizEnterCustomerDto.ebizMediaDtoLst
this.guarantorList = res.content.ebizEnterCustomerDto.ebizGuarantorList
this.relationList = res.content.ebizEnterCustomerDto.ebizRelationDtoList
// this.enterSubmitResDTO = res.content.enterSubmitResDTO
this.enterSubmitResDTO = res.content.enterSubmitResDTO
this.classifyPhotos(this.medias)
if (this.BasicInfoDTO.bankName == '102') {
this.BasicInfoDTO.bankName = '工商银行'