|
|
@@ -369,75 +369,73 @@ export default {
|
|
|
//影像查询
|
|
|
async imageEcho(list) {
|
|
|
list.forEach((keys) => {
|
|
|
- if (keys.downloadUrl) {
|
|
|
- switch (keys.imageType) {
|
|
|
- case 'C01':
|
|
|
- this.carImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- case 'D01':
|
|
|
- this.carImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- case 'C02':
|
|
|
- this.ownerImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- case 'D02':
|
|
|
- this.ownerImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- case 'C03':
|
|
|
- this.policyHolderImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- case 'D03':
|
|
|
- this.policyHolderImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- case 'C04':
|
|
|
- this.insuredPersonImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- case 'D04':
|
|
|
- this.insuredPersonImageListId.push({
|
|
|
- imageBase64List: [{
|
|
|
- imageId: keys.imageId
|
|
|
- }],
|
|
|
- imageCode: keys.imageType,
|
|
|
- })
|
|
|
- break;
|
|
|
- default:
|
|
|
- break;
|
|
|
- }
|
|
|
+ switch (keys.imageCode) {
|
|
|
+ case 'C01':
|
|
|
+ this.carImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'D01':
|
|
|
+ this.carImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'C02':
|
|
|
+ this.ownerImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'D02':
|
|
|
+ this.ownerImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'C03':
|
|
|
+ this.policyHolderImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'D03':
|
|
|
+ this.policyHolderImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'C04':
|
|
|
+ this.insuredPersonImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'D04':
|
|
|
+ this.insuredPersonImageListId.push({
|
|
|
+ imageBase64List: [{
|
|
|
+ imageId: keys.imageBase64List[0].imageId
|
|
|
+ }],
|
|
|
+ imageCode: keys.imageCode,
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ break;
|
|
|
}
|
|
|
});
|
|
|
},
|