| | |
| | | this.setData({ |
| | | remarks: res.data.data.remarks |
| | | }) |
| | | console.log(this.data.images); |
| | | |
| | | // for (let index = 0; index < this.data.images.length; index++) { |
| | | // if (this.data.images != null && this.data.images[index] != "" && this.data.images != undefined) { |
| | | // this.data.images[index] = userDetail.globalData.imageUrl + "/img/" + this.data.images[index] |
| | |
| | | ], |
| | | sexId: 0 |
| | | }, |
| | | afterRadeDel(e){ |
| | | console.log(e); |
| | | console.log(this.data.cardIdList); |
| | | let arr=this.data.cardIdList |
| | | arr.splice(e.detail.index,1) |
| | | this.setData({ |
| | | cardIdList: arr |
| | | }) |
| | | }, |
| | | afterRadeDelFile(e){ |
| | | let arr=this.data.fileImgList |
| | | arr.splice(e.detail.index,1) |
| | | this.setData({ |
| | | fileImgList: arr |
| | | }) |
| | | }, |
| | | afterRadeDelTran(e){ |
| | | let arr=this.data.transactionReceiptList |
| | | arr.splice(e.detail.index,1) |
| | | this.setData({ |
| | | transactionReceiptList: arr |
| | | }) |
| | | }, |
| | | afterRadeDelOther(e){ |
| | | let arr=this.data.otherList |
| | | arr.splice(e.detail.index,1) |
| | | this.setData({ |
| | | otherList: arr |
| | | }) |
| | | }, |
| | | getrealName(e) { |
| | | this.setData({ |
| | | realName: e.detail |
| | |
| | | } |
| | | }):[] |
| | | }) |
| | | console.log(this.data.cardIdList); |
| | | |
| | | } |
| | | }) |
| | | |
| | |
| | | </view> --> |
| | | <van-tabs active="a" ellipsis="{{false}}" bind:change="onChangeTabs"> |
| | | <van-tab title="身份证正反面" name="a"> |
| | | <van-uploader file-list="{{ cardIdList }}" max-count="2" bind:after-read="afterReadImg" capture="{{ capture }}" accept="image" /> |
| | | <van-uploader bind:delete="afterRadeDel" file-list="{{ cardIdList }}" max-count="2" bind:after-read="afterReadImg" capture="{{ capture }}" accept="image" /> |
| | | |
| | | </van-tab> |
| | | <van-tab title="相关合同" name="b"> |
| | | <van-uploader file-list="{{ fileImgList }}" bind:after-read="afterReadImg" /> |
| | | <van-uploader bind:delete="afterRadeDelFile" file-list="{{ fileImgList }}" bind:after-read="afterReadImg" /> |
| | | </van-tab> |
| | | <van-tab title="交易凭证" name="c"> |
| | | <van-uploader file-list="{{ transactionReceiptList }}" bind:after-read="afterReadImg" /> |
| | | <van-uploader bind:delete="afterRadeDelTran" file-list="{{ transactionReceiptList }}" bind:after-read="afterReadImg" /> |
| | | </van-tab> |
| | | <van-tab title="其他" name="d"> |
| | | <van-uploader file-list="{{ otherList }}" bind:after-read="afterReadImg" /> |
| | | <van-uploader bind:delete="afterRadeDelOther" file-list="{{ otherList }}" bind:after-read="afterReadImg" /> |
| | | </van-tab> |
| | | </van-tabs> |
| | | </van-cell-group> |