|
|
@@ -1436,6 +1436,10 @@
|
|
|
<div class="flex-1">光博分:</div>
|
|
|
<div class="flex-1">{{ reslistitem.result.ilogPreUdwMess ? reslistitem.result.ilogPreUdwMess : "无" }}</div>
|
|
|
</div>
|
|
|
+ <div class="table-list-content" v-if="reslistitem.namesimple == '阳光财险'">
|
|
|
+ <div class="flex-1">交商合并经营成本率:</div>
|
|
|
+ <div class="flex-1">{{ reslistitem.result.mergeCostRate ? reslistitem.result.mergeCostRate : "无" }}</div>
|
|
|
+ </div>
|
|
|
<div class="table-list-content" v-else>
|
|
|
<div class="flex-1">评分:</div>
|
|
|
<div class="flex-1">{{ reslistitem.result.ilogPreUdwMess ? reslistitem.result.ilogPreUdwMess : "无" }}</div>
|
|
|
@@ -3231,15 +3235,15 @@
|
|
|
</el-upload>
|
|
|
</div>
|
|
|
<div class="aaa">
|
|
|
- <span>3.营业执照</span>
|
|
|
- <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag multiple
|
|
|
- ref="upload4">
|
|
|
- <img src="../../../../static/userfront.png" style="width: 100%; height: 100%" />
|
|
|
+ <span>3.车主营业执照</span>
|
|
|
+ <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag multiple :on-change="(file) => drivingupload(file, 'imageList2', 'imgList26', 'Y02')"
|
|
|
+ ref="upload4" :file-list="imgList26" :class="{ styleB: imgList26.length === 1 }">
|
|
|
+ <img v-show="imgList26.length == 0" src="../../../../static/userfront.png" style="width: 100%; height: 100%" :class="{ styleB: imgList26.length === 1 }" />
|
|
|
<div slot="file" slot-scope="{ file }">
|
|
|
<img class="el-upload-list__item-thumbnail" :src="file.url" alt />
|
|
|
<span class="el-upload-list__item-actions">
|
|
|
<span class="el-upload-list__item-delete"
|
|
|
- @click="handleRemove1(file, 'imageList2', 'imgList5')">
|
|
|
+ @click="handleRemove1(file, 'imageList2', 'imgList26')">
|
|
|
<i class="el-icon-zoom-in" @click.stop="handlePictureCardPreview(file.url)"></i>
|
|
|
<i class="el-icon-delete"></i>
|
|
|
</span>
|
|
|
@@ -3286,15 +3290,15 @@
|
|
|
</el-upload>
|
|
|
</div>
|
|
|
<div class="aaa">
|
|
|
- <span>3.营业执照</span>
|
|
|
- <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag multiple
|
|
|
- ref="upload4">
|
|
|
- <img src="../../../../static/userfront.png" style="width: 100%; height: 100%" />
|
|
|
+ <span>3.投保人营业执照</span>
|
|
|
+ <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag :on-change="(file) => drivingupload(file, 'imageList3', 'imgList27', 'Y03')
|
|
|
+ " :file-list="imgList27" multiple ref="upload6" :class="{ styleB: imgList27.length === 1 }" >
|
|
|
+ <img v-show="imgList27.length == 0" src="../../../../static/userfront.png" style="width: 100%; height: 100%" />
|
|
|
<div slot="file" slot-scope="{ file }">
|
|
|
- <img class="el-upload-list__item-thumbnail" :src="file.url" alt />
|
|
|
+ <img class="el-upload-list__item-thumbnail" :src="file.url" alt />
|
|
|
<span class="el-upload-list__item-actions">
|
|
|
<span class="el-upload-list__item-delete"
|
|
|
- @click="handleRemove1(file, 'imageList3', 'imgList7')">
|
|
|
+ @click="handleRemove1(file, 'imageList3', 'imgList27')">
|
|
|
<i class="el-icon-zoom-in" @click.stop="handlePictureCardPreview(file.url)"></i>
|
|
|
<i class="el-icon-delete"></i>
|
|
|
</span>
|
|
|
@@ -3341,15 +3345,16 @@
|
|
|
</el-upload>
|
|
|
</div>
|
|
|
<div class="aaa">
|
|
|
- <span>3.营业执照</span>
|
|
|
- <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag multiple
|
|
|
- ref="upload4">
|
|
|
- <img src="../../../../static/userfront.png" style="width: 100%; height: 100%" />
|
|
|
+ <span>3.被保人营业执照</span>
|
|
|
+ <el-upload action="#" list-type="picture-card" :auto-upload="false" :limit="1" drag :on-change="(file) => drivingupload(file, 'imageList4', 'imgList28', 'Y04')
|
|
|
+ " :file-list="imgList28" multiple ref="upload8" :class="{ styleB: imgList28.length === 1 }"
|
|
|
+ >
|
|
|
+ <img v-show="imgList28.length == 0" src="../../../../static/userfront.png" style="width: 100%; height: 100%" />
|
|
|
<div slot="file" slot-scope="{ file }">
|
|
|
<img class="el-upload-list__item-thumbnail" :src="file.url" alt />
|
|
|
<span class="el-upload-list__item-actions">
|
|
|
<span class="el-upload-list__item-delete"
|
|
|
- @click="handleRemove1(file, 'imageList4', 'imgList9')">
|
|
|
+ @click="handleRemove1(file, 'imageList4', 'imgList28')">
|
|
|
<i class="el-icon-zoom-in" @click.stop="handlePictureCardPreview(file.url)"></i>
|
|
|
<i class="el-icon-delete"></i>
|
|
|
</span>
|
|
|
@@ -3679,7 +3684,7 @@
|
|
|
<div class="a-c back" v-for="(insureitem, insureindex) in typeDialogData.kinds" :key="insureindex">
|
|
|
<el-row style="background: #FFF;" type="flex" align="middle">
|
|
|
<el-col :span="10" class="more-data-left">
|
|
|
- <div class="zhuxian" v-if="insureitem.grouping == 'main'" style="background: #E0282A">主险</div>
|
|
|
+ <div class="zhuxian" v-if="insureitem.grouping == 'main'" style="background: #Y0282A">主险</div>
|
|
|
<div class="zhuxian" v-if="insureitem.grouping == 'additional'">附加险</div>
|
|
|
<div class="zhuxian" v-if="insureitem.grouping == 'service'">增值服务</div>
|
|
|
<span>
|
|
|
@@ -4019,7 +4024,7 @@
|
|
|
</el-row>
|
|
|
<el-row style="background: #FFF;" v-for="(insureitem, insureindex) in typeDialogData.shangyeList" :key="insureindex">
|
|
|
<el-col :span="10" class="more-data-left">
|
|
|
- <div class="zhuxian" v-if="insureitem.grouping == 'main'" style="background: #E0282A">主险</div>
|
|
|
+ <div class="zhuxian" v-if="insureitem.grouping == 'main'" style="background: #Y0282A">主险</div>
|
|
|
<div class="zhuxian" v-if="insureitem.grouping == 'additional'">附加险</div>
|
|
|
<div class="zhuxian" v-if="insureitem.grouping == 'service'">增值服务</div>
|
|
|
<span>
|
|
|
@@ -4504,12 +4509,12 @@ export default {
|
|
|
businessImg: "",
|
|
|
CarFrontFile: "", //车正面文件流
|
|
|
CarBackFile: "", //车背面文件流
|
|
|
- C02File: "",
|
|
|
- D02File: "",
|
|
|
- C03File: "",
|
|
|
- D03File: "",
|
|
|
- C04File: "",
|
|
|
- D04File: "",
|
|
|
+ // C02File: "",
|
|
|
+ // D02File: "",
|
|
|
+ // C03File: "",
|
|
|
+ // D03File: "",
|
|
|
+ // C04File: "",
|
|
|
+ // D04File: "",
|
|
|
userIndex: 1, //区分三种人员
|
|
|
TabName: "car", //默认选项卡
|
|
|
value1: "",
|
|
|
@@ -5673,9 +5678,9 @@ export default {
|
|
|
D03File: "",
|
|
|
C04File: "",
|
|
|
D04File: "",
|
|
|
- E02File: "",
|
|
|
- E03File: "",
|
|
|
- E04File: "",
|
|
|
+ Y02File: "",
|
|
|
+ Y03File: "",
|
|
|
+ Y04File: "",
|
|
|
//影像回显列表
|
|
|
imgList1: [],
|
|
|
imgList2: [],
|
|
|
@@ -5702,6 +5707,9 @@ export default {
|
|
|
imgList23: [],
|
|
|
imgList24: [],
|
|
|
imgList25: [],
|
|
|
+ imgList26: [],
|
|
|
+ imgList27: [],
|
|
|
+ imgList28: [],
|
|
|
//影像上传列表
|
|
|
imageList1: [],
|
|
|
imageList2: [],
|
|
|
@@ -6066,24 +6074,22 @@ export default {
|
|
|
data = data || this.$route.query.data
|
|
|
}
|
|
|
if (data) {
|
|
|
- const ownerInfoObject = {
|
|
|
- province: _this.ownerInfo.province,
|
|
|
- city: _this.ownerInfo.city,
|
|
|
- county: _this.ownerInfo.county,
|
|
|
- }
|
|
|
- const policyHolderInfoObject = {
|
|
|
- province: _this.policyHolderInfo.province,
|
|
|
- city: _this.policyHolderInfo.city,
|
|
|
- county: _this.policyHolderInfo.county,
|
|
|
- }
|
|
|
- const insuredPersonInfoObject = {
|
|
|
- province: _this.insuredPersonInfo.province,
|
|
|
- city: _this.insuredPersonInfo.city,
|
|
|
- county: _this.insuredPersonInfo.county,
|
|
|
- }
|
|
|
- this.selectedOptions1 = searchkey(Object.values(ownerInfoObject))
|
|
|
- this.selectedOptions2 = searchkey(Object.values(policyHolderInfoObject))
|
|
|
- this.selectedOptions3 = searchkey(Object.values(insuredPersonInfoObject))
|
|
|
+ this.selectedOptions1 = _this.ownerInfo.province?[
|
|
|
+ Number(_this.ownerInfo.province) ,
|
|
|
+ Number(_this.ownerInfo.city) ,
|
|
|
+ Number(_this.ownerInfo.county) ,
|
|
|
+ ]:[]
|
|
|
+ this.selectedOptions2 = _this.policyHolderInfo.province?[
|
|
|
+ Number(_this.policyHolderInfo.province),
|
|
|
+ Number(_this.policyHolderInfo.city),
|
|
|
+ Number(_this.policyHolderInfo.county),
|
|
|
+ ]:[]
|
|
|
+
|
|
|
+ this.selectedOptions13 = _this.insuredPersonInfo.province?[
|
|
|
+ Number(_this.insuredPersonInfo.province),
|
|
|
+ Number(_this.insuredPersonInfo.city),
|
|
|
+ Number(_this.insuredPersonInfo.county),
|
|
|
+ ]:[]
|
|
|
|
|
|
|
|
|
this.productId = this.productId || data.productid
|
|
|
@@ -9120,11 +9126,20 @@ export default {
|
|
|
//投保人同车主
|
|
|
this.imageList3 = JSON.parse(JSON.stringify(this.imageList2));
|
|
|
if (this.imageList3.length == 1) {
|
|
|
- this.imageList3[0].imageType = this.imageList3[0].imageType.includes(
|
|
|
- "C0"
|
|
|
- )
|
|
|
- ? "C03"
|
|
|
- : "D03";
|
|
|
+ if(this.imageList3[0].imageType.includes("C0")){
|
|
|
+ this.imageList3[0].imageType = this.imageList3[0].imageType.includes(
|
|
|
+ "C0"
|
|
|
+ )
|
|
|
+ ? "C03"
|
|
|
+ : "D03";
|
|
|
+ }
|
|
|
+ if(this.imageList3[0].imageType.includes("Y0")){
|
|
|
+ this.imageList3[0].imageType = this.imageList3[0].imageType.includes(
|
|
|
+ "Y0"
|
|
|
+ )
|
|
|
+ ? "Y03"
|
|
|
+ : "";
|
|
|
+ }
|
|
|
} else {
|
|
|
this.imageList3.forEach((e) => {
|
|
|
e.imageType = e.imageType.includes("C0") ? "C03" : "D03";
|
|
|
@@ -9136,11 +9151,25 @@ export default {
|
|
|
//被保人同车主
|
|
|
this.imageList4 = JSON.parse(JSON.stringify(this.imageList2));
|
|
|
if (this.imageList4.length == 1) {
|
|
|
- this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
- "C0"
|
|
|
- )
|
|
|
- ? "C04"
|
|
|
- : "D04";
|
|
|
+ // this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
+ // "C0"
|
|
|
+ // )
|
|
|
+ // ? "C04"
|
|
|
+ // : "D04";
|
|
|
+ if(this.imageList4[0].imageType.includes("C0")){
|
|
|
+ this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
+ "C0"
|
|
|
+ )
|
|
|
+ ? "C04"
|
|
|
+ : "D04";
|
|
|
+ }
|
|
|
+ if(this.imageList4[0].imageType.includes("Y0")){
|
|
|
+ this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
+ "Y0"
|
|
|
+ )
|
|
|
+ ? "Y04"
|
|
|
+ : "";
|
|
|
+ }
|
|
|
} else {
|
|
|
this.imageList4.forEach((e) => {
|
|
|
e.imageType = e.imageType.includes("C0") ? "C04" : "D04";
|
|
|
@@ -9159,11 +9188,25 @@ export default {
|
|
|
//被保人同投保人
|
|
|
this.imageList4 = JSON.parse(JSON.stringify(this.imageList3));
|
|
|
if (this.imageList4.length == 1) {
|
|
|
- this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
- "C0"
|
|
|
- )
|
|
|
- ? "C04"
|
|
|
- : "D04";
|
|
|
+ // this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
+ // "C0"
|
|
|
+ // )
|
|
|
+ // ? "C04"
|
|
|
+ // : "D04";
|
|
|
+ if(this.imageList4[0].imageType.includes("C0")){
|
|
|
+ this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
+ "C0"
|
|
|
+ )
|
|
|
+ ? "C04"
|
|
|
+ : "D04";
|
|
|
+ }
|
|
|
+ if(this.imageList4[0].imageType.includes("Y0")){
|
|
|
+ this.imageList4[0].imageType = this.imageList4[0].imageType.includes(
|
|
|
+ "Y0"
|
|
|
+ )
|
|
|
+ ? "Y04"
|
|
|
+ : "";
|
|
|
+ }
|
|
|
} else {
|
|
|
this.imageList4.forEach((e) => {
|
|
|
e.imageType = e.imageType.includes("C0") ? "C04" : "D04";
|
|
|
@@ -10603,6 +10646,8 @@ export default {
|
|
|
params.append("type", "image");
|
|
|
this.$api.letter.uploadFile(params).then((res) => {
|
|
|
if (res.code == "200") {
|
|
|
+ console.log(res.data,22222222);
|
|
|
+
|
|
|
if (this[imageIdList].some((v) => v.imageType == type)) {
|
|
|
this[imageIdList].map((val) => {
|
|
|
if (val.imageType == type) {
|
|
|
@@ -10615,6 +10660,7 @@ export default {
|
|
|
imageType: type,
|
|
|
});
|
|
|
}
|
|
|
+ console.log(this[imageIdList],8888888888);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
@@ -10653,6 +10699,9 @@ export default {
|
|
|
this.imgList23 = [];
|
|
|
this.imgList24 = [];
|
|
|
this.imgList25 = [];
|
|
|
+ this.imgList26 = [];
|
|
|
+ this.imgList27 = [];
|
|
|
+ this.imgList28 = [];
|
|
|
Object.keys(res.data).forEach((keys) => {
|
|
|
if (res.data[keys].url) {
|
|
|
res.data[keys].url = process.env.BASE_URL + res.data[keys].url;
|
|
|
@@ -10686,6 +10735,13 @@ export default {
|
|
|
});
|
|
|
this.imgList4.push(res.data[keys]);
|
|
|
break;
|
|
|
+ case "Y02":
|
|
|
+ this.imageList2.push({
|
|
|
+ imageId: res.data[keys].imageId,
|
|
|
+ imageType: res.data[keys].imageType,
|
|
|
+ });
|
|
|
+ this.imgList26.push(res.data[keys]);
|
|
|
+ break;
|
|
|
case "C03":
|
|
|
this.imageList3.push({
|
|
|
imageId: res.data[keys].imageId,
|
|
|
@@ -10700,6 +10756,13 @@ export default {
|
|
|
});
|
|
|
this.imgList6.push(res.data[keys]);
|
|
|
break;
|
|
|
+ case "Y03":
|
|
|
+ this.imageList3.push({
|
|
|
+ imageId: res.data[keys].imageId,
|
|
|
+ imageType: res.data[keys].imageType,
|
|
|
+ });
|
|
|
+ this.imgList27.push(res.data[keys]);
|
|
|
+ break;
|
|
|
case "C04":
|
|
|
this.imageList4.push({
|
|
|
imageId: res.data[keys].imageId,
|
|
|
@@ -10714,6 +10777,13 @@ export default {
|
|
|
});
|
|
|
this.imgList8.push(res.data[keys]);
|
|
|
break;
|
|
|
+ case "Y04":
|
|
|
+ this.imageList4.push({
|
|
|
+ imageId: res.data[keys].imageId,
|
|
|
+ imageType: res.data[keys].imageType,
|
|
|
+ });
|
|
|
+ this.imgList28.push(res.data[keys]);
|
|
|
+ break;
|
|
|
case "XC00":
|
|
|
this.imageList5.push({
|
|
|
imageId: res.data[keys].imageId,
|
|
|
@@ -10826,7 +10896,7 @@ export default {
|
|
|
});
|
|
|
this.imgList24.push(res.data[keys]);
|
|
|
break;
|
|
|
- case "SQ00":
|
|
|
+ case "SQ00":
|
|
|
this.imageList6.push({
|
|
|
imageId: res.data[keys].imageId,
|
|
|
imageType: res.data[keys].imageType,
|
|
|
@@ -12126,6 +12196,7 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
+ console.log(this[imageIdList],1222222222);
|
|
|
});
|
|
|
},
|
|
|
policydrivingupload(file, val) {
|
|
|
@@ -12511,7 +12582,7 @@ export default {
|
|
|
params.append("type", "image");
|
|
|
this.$api.letter.uploadFile(params).then((res) => {
|
|
|
if (res.code == "200") {
|
|
|
- let type = "E0" + this.userIndex;
|
|
|
+ let type = "Y0" + this.userIndex;
|
|
|
if (
|
|
|
this["imageList" + this.userIndex].some((v) => v.imageType == type)
|
|
|
) {
|
|
|
@@ -12639,25 +12710,27 @@ export default {
|
|
|
this.userfrontImg = "";
|
|
|
this.userbackImg = "";
|
|
|
this.businessImg="";
|
|
|
- this.E02File = ""; // 营业执照
|
|
|
this.C02File = ""; // 车主正面base64
|
|
|
this.D02File = ""; // 车主背面base64
|
|
|
+ this.Y02File = ""; // 车主营业执照
|
|
|
break;
|
|
|
case 3:
|
|
|
this.userfrontImg = "";
|
|
|
this.userbackImg = "";
|
|
|
this.businessImg="";
|
|
|
- this.E03File = ""; // 营业执照
|
|
|
+ this.Y03File = ""; // 营业执照
|
|
|
this.C03File = ""; // 投保人正面base64
|
|
|
this.D03File = ""; // 投保人背面base64
|
|
|
+ this.Y03File = ""; // 投保人营业执照
|
|
|
break;
|
|
|
case 4:
|
|
|
this.userfrontImg = "";
|
|
|
this.userbackImg = "";
|
|
|
this.businessImg="";
|
|
|
- this.E04File = ""; // 营业执照
|
|
|
+ this.Y04File = ""; // 营业执照
|
|
|
this.C04File = ""; // 被保人正面base64
|
|
|
this.D04File = ""; // 被保人背面base64
|
|
|
+ this.Y04File = ""; // 被保人营业执照
|
|
|
break;
|
|
|
default:
|
|
|
}
|
|
|
@@ -12716,17 +12789,17 @@ else{
|
|
|
switch (this.userIndex ) {
|
|
|
case 2:
|
|
|
const params1 = new FormData(); // 声明formData数据类型
|
|
|
- params1.append("image1", this.E02File);
|
|
|
+ params1.append("image1", this.Y02File);
|
|
|
this.businessjoggle(params1);
|
|
|
break;
|
|
|
case 3:
|
|
|
const params2 = new FormData(); // 声明formData数据类型
|
|
|
- params2.append("image1", this.E03File);
|
|
|
+ params2.append("image1", this.Y03File);
|
|
|
this.businessjoggle(params2);
|
|
|
break;
|
|
|
case 4:
|
|
|
const params3 = new FormData(); // 声明formData数据类型
|
|
|
- params3.append("image1", this.E04File);
|
|
|
+ params3.append("image1", this.Y04File);
|
|
|
this.businessjoggle(params3);
|
|
|
break;
|
|
|
default:
|
|
|
@@ -12878,7 +12951,7 @@ else{
|
|
|
this.userfrontImg = "";
|
|
|
this.userbackImg = "";
|
|
|
this.businessImg = "";
|
|
|
- this.E02File = ""; // 营业执照
|
|
|
+ this.Y02File = ""; // 营业执照
|
|
|
this.C02File = ""; // 车主正面base64
|
|
|
this.D02File = ""; // 车主背面base64
|
|
|
Object.keys(this.ownerInfoform).forEach((key) => {
|
|
|
@@ -12892,7 +12965,7 @@ else{
|
|
|
this.userfrontImg = "";
|
|
|
this.userbackImg = "";
|
|
|
this.businessImg = "";
|
|
|
- this.E03File = ""; // 营业执照
|
|
|
+ this.Y03File = ""; // 营业执照
|
|
|
this.C03File = ""; // 投保人正面base64
|
|
|
this.D03File = ""; // 投保人背面base64
|
|
|
Object.keys(this.ownerInfoform).forEach((key) => {
|
|
|
@@ -12906,7 +12979,7 @@ else{
|
|
|
this.userfrontImg = "";
|
|
|
this.userbackImg = "";
|
|
|
this.businessImg = "";
|
|
|
- this.E04File = ""; // 营业执照
|
|
|
+ this.Y04File = ""; // 营业执照
|
|
|
this.C04File = ""; // 被保人正面base64
|
|
|
this.D04File = ""; // 被保人背面base64
|
|
|
Object.keys(this.ownerInfoform).forEach((key) => {
|
|
|
@@ -13079,6 +13152,9 @@ else{
|
|
|
this.imgList23 = [];
|
|
|
this.imgList24 = [];
|
|
|
this.imgList25 = [];
|
|
|
+ this.imgList26 = [];
|
|
|
+ this.imgList28 = [];
|
|
|
+ this.imgList27 = [];
|
|
|
// 清空保险公司选中的意外险
|
|
|
this.zijintemplateSelection = "";
|
|
|
this.zhongantemplateSelection = "";
|