Sfoglia il codice sorgente

卡签注销行驶证相册选择后台不显示问题

master
yangteng 11 mesi fa
parent
commit
3b3166b92d

+ 8
- 9
subpackage/after-sale/ETC-log-off/upload-card.vue Vedi File

@@ -357,14 +357,13 @@
console.log("tempFilePaths[0].startsWith('file://')", res.tempFilePaths[0], res.tempFilePaths[0].startsWith('file://'))
compressImage(res.tempFilePaths[0], (res) => {
console.log("过来了", res)
if (state.choiceIndex == 3) {
form.licenseFrontUrl = res.tempFilePath;
} else {
form.licenseReverseUrl = res.tempFilePath;
if (state.choiceIndex == 3 || state.choiceIndex == 4) {
state.showImg = false
state.images = res.tempFilePath
state.phoneType = state.choiceIndex
state.isTakePhotoModeShow = false
return
}
state.phoneType = state.choiceIndex
state.showImg = false
state.isTakePhotoModeShow = false
})
},
})
@@ -385,12 +384,12 @@
state.isTakePhotoModeShow = false
uploadFile(val.tempImagePath, imageType, etcCarOcrCard).then((data) => {
// uploadFile(val.tempImagePath, state.choiceIndex, ocrAllQuery).then((data) => {
console.log('输出内容=====================', state.choiceIndex)
console.log('输出内容=====================', state.choiceIndex,data)
if (state.choiceIndex === "3") {
form.licenseFrontUrl = data.imageUrl;
} else {
form.licenseReverseUrl = data.imageUrl;
console.log('=====================', state.form.vehNegImgUrl, state)
console.log('=====================', state)
}
state.isTakePhotoModeShow = false
})

+ 2
- 2
subpackage/after-sale/activation/activate.vue Vedi File

@@ -607,8 +607,8 @@
type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
data: {
Status: "0",
random: cmdRandNum, //5202192509222239
obuSerailNo: obu.obuId, //5202192509551922
random: cmdRandNum,
obuSerailNo: obu.obuId,
fileData: ites,
orderId: fileDataStrings.orderId,
}, //请求参数

Loading…
Annulla
Salva