MrShi
2026-06-09 3f9032e92fdd383bfefc87a0bec9b242e1223851
app/pages/certification-details/certification-details.vue
@@ -66,6 +66,7 @@
         </view>
      </view>
      <button v-if="hasApprovedOfficial && statusType === 'approved'" class="cert-details-page__rebtn" @click="goRecertify">重新认证</button>
      <button v-if="statusType === 'rejected'" class="cert-details-page__rebtn" @click="goRecertify">重新认证</button>
      <view style="width: 100%; height: 30rpx;" v-if="statusType === 'rejected'"></view>
   </view>
@@ -77,6 +78,7 @@
         return {
            statusType: 'review',
            detailData: null,
            hasApprovedOfficial: false,
            basicInfo: [],
            vehicleInfo: [],
            idcardImgs: [],
@@ -125,6 +127,7 @@
               uni.hideLoading()
               if (res.code === 200) {
                  this.detailData = res.data
                  this.hasApprovedOfficial = res.data.hasApprovedOfficial === true
                  console.log(res.data)
                  this.setStatusType(res.data.auditStatus)
                  this.formatBasicInfo(res.data)
@@ -141,7 +144,7 @@
                  this.carTypeList = res.data
                  if (carType) {
                     const selectedCarType = this.carTypeList.find(item => item.id === carType)
                     this.needLicense = selectedCarType && selectedCarType.otherField === 1
                     this.needLicense = selectedCarType && selectedCarType.otherField === '1'
                  }
               }
            })