odc.xiaohui
2023-03-23 15171d9f0b4714d06cb7de3f8d462881742cb608
miniprogram/pages/user/report/submitReport/index.ts
@@ -38,6 +38,36 @@
        ],
        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
@@ -389,6 +419,8 @@
                            }
                        }):[]
                    })
                    console.log(this.data.cardIdList);
                }
            })