|
@@ -5857,8 +5857,11 @@ export default {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
if (data) {
|
|
if (data) {
|
|
|
- this.productId = data.productid
|
|
|
|
|
|
|
+ this.productId = this.productId || data.productid
|
|
|
res.data.forEach((val, index) => {
|
|
res.data.forEach((val, index) => {
|
|
|
|
|
+ if(!data.insAreaCompanyEditingDtos) {
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
data.insAreaCompanyEditingDtos.forEach((ele) => {
|
|
data.insAreaCompanyEditingDtos.forEach((ele) => {
|
|
|
if (val.namesimple == ele.inscompany) {
|
|
if (val.namesimple == ele.inscompany) {
|
|
|
if (ele.inscompany == "中国人寿" && ele.companyId) {
|
|
if (ele.inscompany == "中国人寿" && ele.companyId) {
|
|
@@ -11958,30 +11961,30 @@ export default {
|
|
|
//OCR识别
|
|
//OCR识别
|
|
|
switch (this.userIndex) {
|
|
switch (this.userIndex) {
|
|
|
case 2:
|
|
case 2:
|
|
|
- if (!this.C02File || !this.D02File) {
|
|
|
|
|
- this.$message.warning('请上传照片')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (!this.C02File || !this.D02File) {
|
|
|
|
|
+ // this.$message.warning('请上传照片')
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
const params1 = new FormData(); // 声明formData数据类型
|
|
const params1 = new FormData(); // 声明formData数据类型
|
|
|
params1.append("image1", this.C02File);
|
|
params1.append("image1", this.C02File);
|
|
|
params1.append("image2", this.D02File);
|
|
params1.append("image2", this.D02File);
|
|
|
this.userOCRjoggle(params1);
|
|
this.userOCRjoggle(params1);
|
|
|
break;
|
|
break;
|
|
|
case 3:
|
|
case 3:
|
|
|
- if (!this.C03File || !this.D03File) {
|
|
|
|
|
- this.$message.warning('请上传照片')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (!this.C03File || !this.D03File) {
|
|
|
|
|
+ // this.$message.warning('请上传照片')
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
const params2 = new FormData(); // 声明formData数据类型
|
|
const params2 = new FormData(); // 声明formData数据类型
|
|
|
params2.append("image1", this.C03File);
|
|
params2.append("image1", this.C03File);
|
|
|
params2.append("image2", this.D03File);
|
|
params2.append("image2", this.D03File);
|
|
|
this.userOCRjoggle(params2);
|
|
this.userOCRjoggle(params2);
|
|
|
break;
|
|
break;
|
|
|
case 4:
|
|
case 4:
|
|
|
- if (!this.C04File || !this.D04File) {
|
|
|
|
|
- this.$message.warning('请上传照片')
|
|
|
|
|
- return
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (!this.C04File || !this.D04File) {
|
|
|
|
|
+ // this.$message.warning('请上传照片')
|
|
|
|
|
+ // return
|
|
|
|
|
+ // }
|
|
|
const params3 = new FormData(); // 声明formData数据类型
|
|
const params3 = new FormData(); // 声明formData数据类型
|
|
|
params3.append("image1", this.C04File);
|
|
params3.append("image1", this.C04File);
|
|
|
params3.append("image2", this.D04File);
|
|
params3.append("image2", this.D04File);
|