From c7a1d953466b387c80f0da08ba1642e557df99b4 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Tue, 23 Dec 2025 10:23:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E5=AE=A1=E6=89=B9=E9=9C=80?= =?UTF-8?q?=E6=B1=82=EF=BC=8C=E8=B4=A3=E4=BB=BB=E9=99=A9=E5=8F=AF=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B,=E4=BF=9D=E5=AD=98=E6=97=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=BD=A6=E8=BE=86=E7=8A=B6=E6=80=81=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/vehicleAdd.vue | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index 077ffa5e..0cee6ec0 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -199,7 +199,7 @@
- 启用 + 启1用 - 停用 + 停1用
@@ -740,6 +741,12 @@ export default { this.vehicleFrontPhoto = res.data; await this.ocrCarFrontHandler() }, + clickPreview(){ + // console.log(' this.insurancePicturePhoto', this.insurancePicturePhoto) + if(this.insurancePicturePhoto && this.insurancePicturePhoto.indexOf('.pdf') !== -1){ + window.open(this.insurancePicturePhoto) + } + }, async insurancePictureFilesHandler(file) { const formData = new FormData(); formData.append("file" , file.file); @@ -1189,6 +1196,8 @@ export default { timeObj = this.formatDateTimeRange(this.dateVal) } this.serviceIds = this.$refs.tree.getCheckedKeys(true) + console.log('1122',this.vehicleStatus) + // return await saveVehicle({ vehicleId:this.id ? this.id : '', plateNumber:this.carNum ? this.carNum :'', @@ -1208,7 +1217,8 @@ export default { liabilityInsuranceStartTime: this.hasLiabilityInsurance == 1 ? (timeObj?.startTime || '' ) : '', liabilityInsuranceEndTime: this.hasLiabilityInsurance == 1 ? (timeObj?.endTime || '') : '', virtualVehicle: this.virtualVehicle, - canSubmitApproval:true + canSubmitApproval:true, + vehicleStatus:this.vehicleStatus }) if(this.id){ this.$toast('修改成功')