|
|
@@ -215,7 +215,7 @@
|
|
|
<el-col :xs="colSpan.xs" :sm="colSpan.sm" :md="colSpan.md" :lg="colSpan.lg" :xl="colSpan.xl">
|
|
|
<el-form-item label="发证日期" prop="issueDate" class="red-btn" @blur="getCompanyList">
|
|
|
<el-date-picker v-dateFormat v-model="carInfo.issueDate" :picker-options="issueDateOptions" type="date"
|
|
|
- placeholder="选择发证日期" value-format="yyyy-MM-dd" placement="bottom-start"></el-date-picker>
|
|
|
+ placeholder="选择发证日期" value-format="yyyy-MM-dd" placement="bottom-start" @change="dateChange"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="colSpan.xs" :sm="colSpan.sm" :md="colSpan.md" :lg="colSpan.lg" :xl="colSpan.xl" v-if="transferDateShow">
|
|
|
@@ -3599,7 +3599,7 @@
|
|
|
<div class="zhuxian" v-if="insureitem.grouping == 'additional'">附加险</div>
|
|
|
<div class="zhuxian" v-if="insureitem.grouping == 'service'">增值服务</div>
|
|
|
<span>
|
|
|
- <el-checkbox v-model="insureitem.checked" :disabled="insureitem.Required">
|
|
|
+ <!--<el-checkbox v-model="insureitem.checked" :disabled="insureitem.Required">-->
|
|
|
<!-- <span :class="insureitem.grouping != 'additional' ? 'opacity1' : 'opacity0'">{{ insureitem.kindName }}</span> -->
|
|
|
<span class="opacity1">{{ insureitem.kindName }}</span>
|
|
|
<el-input v-show="insureitem.kindCode == 'D4' ||
|
|
|
@@ -5691,6 +5691,25 @@ export default {
|
|
|
},
|
|
|
deep: true,
|
|
|
},
|
|
|
+ ownerInfo: {
|
|
|
+ handler(val) {
|
|
|
+ if(this.tbczcarShow) {
|
|
|
+ this.policyHolderInfo = {...val}
|
|
|
+ }
|
|
|
+ if(this.bbczcarShow) {
|
|
|
+ this.insuredPersonInfo = {...val}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ deep: true
|
|
|
+ },
|
|
|
+ policyHolderInfo: {
|
|
|
+ handler(val) {
|
|
|
+ if(this.bbtbcarShow) {
|
|
|
+ this.insuredPersonInfo = {...val}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ deep: true
|
|
|
+ }
|
|
|
},
|
|
|
props: {
|
|
|
isdisabled: {
|
|
|
@@ -5813,6 +5832,9 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ dateChange() {
|
|
|
+ console.log('日期', this.carInfo.issueDate)
|
|
|
+ },
|
|
|
deleteJiaYi(reslistindex, drivingIndex) {
|
|
|
this.totalCompanyList[reslistindex].programme.drivingList.splice(drivingIndex, 1)
|
|
|
this.$forceUpdate()
|
|
|
@@ -5847,7 +5869,6 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.policyHolderInfovalidate()
|
|
|
- console.log(this.policyHolderInfo, 'policyHolderInfo')
|
|
|
this.$refs["carInfo"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
_this.$refs["ownerInfo"].validate(async (valid1) => {
|
|
|
@@ -5879,7 +5900,6 @@ export default {
|
|
|
} else {
|
|
|
this.oldData = JSON.stringify(param)
|
|
|
}
|
|
|
- console.log('校验成功,获取列表')
|
|
|
this.showLoading = true
|
|
|
// this.$api.letter.getAllAgreement().then((res) => {
|
|
|
this.$api.letter.ruleFilterCompany(param).then((res) => {
|
|
|
@@ -6001,9 +6021,7 @@ export default {
|
|
|
},
|
|
|
// 选择方案
|
|
|
checkedPopover(reslistindex, index, item) {
|
|
|
- console.log(reslistindex, index, item, 'reslistindex, index, item')
|
|
|
if (index == 99) {
|
|
|
- console.log(this.totalCompanyList[reslistindex].programme99,this.totalCompanyList[reslistindex].programme99.schemeId, 'this.totalCompanyList[reslistindex].programme99')
|
|
|
if (this.totalCompanyList[reslistindex].programme99 && !this.totalCompanyList[reslistindex].programme99.schemeId) {
|
|
|
return
|
|
|
}
|
|
|
@@ -6032,7 +6050,6 @@ export default {
|
|
|
this.totalCompanyList[reslistindex].programme.description = val.desc
|
|
|
}
|
|
|
})
|
|
|
- console.log('当前选中方案', this.totalCompanyList[reslistindex].programme)
|
|
|
this.$forceUpdate()
|
|
|
},
|
|
|
// 获取方案信息
|
|
|
@@ -6082,7 +6099,6 @@ export default {
|
|
|
// 确认驾意
|
|
|
handleAddYiWai() {
|
|
|
let arr = []
|
|
|
- console.log(this.checkList,"驾意险")
|
|
|
this.checkList.forEach((val) => {
|
|
|
if (this.totalCompanyList[this.typeDialogIndex].cnName == 'zijin') {
|
|
|
if(val.tableData ) arr.push(...val.tableData)
|
|
|
@@ -6095,7 +6111,6 @@ export default {
|
|
|
})
|
|
|
this.totalCompanyList[this.typeDialogIndex].zxProgramme.drivingList = arr;
|
|
|
this.totalCompanyList[this.typeDialogIndex].programme.drivingList = arr
|
|
|
- console.log(arr, 'arr')
|
|
|
this.handleCloseAddYiwai()
|
|
|
},
|
|
|
// 驾意输入框按钮
|
|
|
@@ -6169,7 +6184,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleChangeJiayi(listItem, listIndex) {
|
|
|
- console.log(listItem, listIndex, this.jiayiDialogData, 'listItem, listIndex')
|
|
|
if (this.checkList.length) {
|
|
|
this.checkList.forEach((val) => {
|
|
|
this.$api.letter.getDriving({
|
|
|
@@ -7714,8 +7728,6 @@ export default {
|
|
|
companyId: this.totalCompanyList[index].id,
|
|
|
quoteInfoVo: data
|
|
|
}).then((res) => {
|
|
|
- console.log('11111111.');
|
|
|
- console.log(res);
|
|
|
this.contributingLoading = false;
|
|
|
if (res.data) {
|
|
|
// res.data.forEach((val) => {
|
|
|
@@ -7829,12 +7841,10 @@ export default {
|
|
|
//勾选保险公司
|
|
|
initchange(e, code, name, index) {
|
|
|
if (e) {
|
|
|
- console.log(this.totalCompanyList[index], 'this.totalCompanyList[index]')
|
|
|
this.totalCompanyList[index].checked = e;
|
|
|
this.getCompanyProgramme(e, code, name, index)
|
|
|
this.kindListFun();
|
|
|
let ins = this.totalCompanyList[index].namesimple;
|
|
|
- console.log(ins)
|
|
|
this.totalCompanyList[index].underwritingDescription =
|
|
|
this.totalCompanyList[index].agreement[0].underwritingDescription;
|
|
|
if (this.$route.path != "/task/external/externalOrders")
|
|
|
@@ -8443,7 +8453,6 @@ export default {
|
|
|
vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
|
|
|
};
|
|
|
this.$api.letter.generateOrder(param).then((res) => {
|
|
|
- debugger
|
|
|
if (res.code == "200") {
|
|
|
//上传图片
|
|
|
const mergedArray = [
|
|
|
@@ -8521,7 +8530,6 @@ export default {
|
|
|
this.myQrCode.clear()
|
|
|
}
|
|
|
this.$nextTick(() => {
|
|
|
- console.log('二维码', this.myQrCode)
|
|
|
this.myQrCode = new QrCode(this.$refs.myQrcode, {
|
|
|
// text 需要转二维码的内容 可以是文本也可以是一个链接 是链接会直接跳走
|
|
|
text: this.vehicleInspectionUrl,
|
|
|
@@ -8594,9 +8602,7 @@ export default {
|
|
|
kindName: value.kindName
|
|
|
})
|
|
|
})
|
|
|
- console.log(_this.totalCompanyList[index].kindList, '_this.totalCompanyList[index].kindList')
|
|
|
if (_this.jqchecked) {
|
|
|
- console.log('这里是什么啊?')
|
|
|
//交强
|
|
|
_this.jqstartDate = this.transformTime(_this.jqstartDate);
|
|
|
_this.jqendDate = this.transformTime(_this.jqendDate);
|
|
|
@@ -8610,7 +8616,6 @@ export default {
|
|
|
});
|
|
|
}
|
|
|
if (_this.sychecked) {
|
|
|
- console.log('这里又是什么呀?')
|
|
|
_this.systartDate = this.transformTime(_this.systartDate);
|
|
|
_this.syendDate = this.transformTime(_this.syendDate);
|
|
|
//商业
|
|
|
@@ -8706,6 +8711,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
quote1() {
|
|
|
+ console.log('最后的信息')
|
|
|
let starttime = new Date(this.carInfo.registerDate);
|
|
|
let endtime = new Date(this.carInfo.issueDate);
|
|
|
if (endtime < starttime) {
|
|
|
@@ -8959,7 +8965,6 @@ export default {
|
|
|
},
|
|
|
//订单生成前数据处理事件
|
|
|
OrderStageProcessing(index) {
|
|
|
- console.log('订单生成前数据处理')
|
|
|
if (this.tbczcarShow && this.imageList2.length > 0) {
|
|
|
//投保人同车主
|
|
|
this.imageList3 = JSON.parse(JSON.stringify(this.imageList2));
|
|
|
@@ -9069,7 +9074,9 @@ export default {
|
|
|
vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
|
|
|
productId: this.productId
|
|
|
};
|
|
|
- console.log('this.apiInterfaceName', this.apiInterfaceName)
|
|
|
+ console.log('车主信息', this.ownerInfo)
|
|
|
+ console.log('投保人信息', this.policyHolderInfo)
|
|
|
+ console.log('被投保人信息', this.insuredPersonInfo)
|
|
|
this.$api.letter[this.apiInterfaceName](param).then((res) => {
|
|
|
if (res.code == "200") {
|
|
|
//上传图片
|
|
|
@@ -9096,7 +9103,6 @@ export default {
|
|
|
this.orderno = res.data.orderno;
|
|
|
if (index >= 0) {
|
|
|
this.totalCompanyList[index].quoteCode = 1
|
|
|
- console.log('方法是干啥的', this.totalCompanyList[index].cnName)
|
|
|
this.ToolClickFun(this.totalCompanyList[index].cnName, index, this.totalCompanyList[index].id, this.totalCompanyList[index].namesimple);
|
|
|
} else {
|
|
|
this.totalCompanyList.map((ele, index) => {
|
|
|
@@ -10148,7 +10154,6 @@ export default {
|
|
|
|
|
|
// 爬虫对接
|
|
|
quoteInsurance(num, id, namesimple, apiType) {
|
|
|
- console.log(apiType, 'apiType')
|
|
|
let api = apiType == 2 ? "pythonquote" : "";
|
|
|
if (namesimple == '诚泰财险') {
|
|
|
api = "pythonquote"
|
|
|
@@ -11347,7 +11352,6 @@ export default {
|
|
|
this.apiType == 2
|
|
|
? "pythonsubmitImage"
|
|
|
: "anshengsubmitImage";
|
|
|
- console.log(hengbangapi, "hengbangapi");
|
|
|
await this.$api.letter[hengbangapi]({
|
|
|
subOrderNo: this.companyId,
|
|
|
}).then((res) => {
|
|
|
@@ -11356,7 +11360,6 @@ export default {
|
|
|
let hengbangapi1 = "";
|
|
|
hengbangapi1 =
|
|
|
this.apiType == 2 ? "pythonaudit" : "anshengaudit";
|
|
|
- console.log(hengbangapi1, "hengbangapi1");
|
|
|
_this.$api.letter[hengbangapi1]({
|
|
|
subOrderNo: this.companyId,
|
|
|
}).then((res) => {
|