lmw
2024-06-13 1128afd3a9e45d09d8c345d2ed901a1e585a4393
app/src/main/java/com/future/driver/ui/pub/BecomeDriverActivity.kt
@@ -104,7 +104,12 @@
            selectPhone = 2
            MyUtils.getInstans().hideKeyboard(ll_driver_two)
            showSelectPhone()
        }
        iv_face.setOnClickListener {
            selectPhone = 6
            MyUtils.getInstans().hideKeyboard(ll_driver_two)
            showSelectPhone()
        }
        iv_driver_img.setOnClickListener {
@@ -388,6 +393,7 @@
                return@let
            }
            upBean.headImgUrl = it.avatar
            upBean.faceImgUrl = it.faceImgUrl
            upBean.name = it.name
            upBean.driveCardImgUrl = it.driveCardImgUrl
            upBean.driverContactAddress = it.driverContactAddress_.replace(",","")
@@ -472,6 +478,11 @@
            currentNum--
            return
        }
        if (upBean.faceImgUrl.isNullOrEmpty()) {
            toast("请上传人脸照片")
            currentNum--
            return
        }
        if (rl_net_img.visibility == View.VISIBLE &&  upBean.networkCarlssueImg.isNullOrEmpty()) {
            toast("请上传网约车资格证照片")
            currentNum--
@@ -512,6 +523,7 @@
        map["driverContactAddress_"] = upBean.driverContactAddress_
        map["getDriverLicenseDate"] = upBean.getDriverLicenseDate
        map["headImgUrl"] = upBean.headImgUrl
        map["faceImgUrl"] = upBean.faceImgUrl
        map["idCard"] = upBean.idCard
        map["placeOfPractice"] = upBean.placeOfPractice
        map["idCardImgUrl1"] = upBean.idCardImgUrl1
@@ -585,6 +597,10 @@
                upBean.headImgUrl = url
                GlideUtil.load(this, url, iv_head, 1)
            }
            6 -> {
                upBean.faceImgUrl = url
                GlideUtil.load(this, url, iv_face, 1)
            }
            3 -> {
                upBean.driveCardImgUrl = url
                GlideUtil.load(this, url, iv_driver_img, 1)