|
|
@@ -4333,6 +4333,19 @@ export default {
|
|
|
break;
|
|
|
case '众安财险':
|
|
|
if (!!res.data) {
|
|
|
+ if(res.data.tips=='需要验车'){
|
|
|
+ this.$notify.error({
|
|
|
+ title: '错误',
|
|
|
+ duration: 0,
|
|
|
+ dangerouslyUseHTMLString: true,
|
|
|
+ message: `<div> ${
|
|
|
+ res.data.warnMessageList.map(item=>{
|
|
|
+ return `<p>${
|
|
|
+ item}</p>`
|
|
|
+ }).join('')}
|
|
|
+ </div>`
|
|
|
+ });
|
|
|
+ }
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
this.QuotationHistory();
|
|
|
@@ -4504,16 +4517,25 @@ export default {
|
|
|
this.companyId = data.result.companyId;
|
|
|
this.apiType = data.apiType;
|
|
|
this.hbsubmitdialogVisible = true;
|
|
|
- switch (data.namesimple) {
|
|
|
- case "紫金财险":
|
|
|
- this.$api.letter.zijinqueryClauseData({ companyId: this.companyId }).then(res => {
|
|
|
+ console.log(data.namesimple,1111111111)
|
|
|
+ if(data.namesimple=='紫金财险'){
|
|
|
+ this.$api.letter.zijinqueryClauseData({ companyId: this.companyId }).then(res => {
|
|
|
this.zijinengageListData = res.data;
|
|
|
});
|
|
|
- break;
|
|
|
- default:
|
|
|
-
|
|
|
- break;
|
|
|
}
|
|
|
+ else{
|
|
|
+ this.zijinengageListData = []
|
|
|
+ }
|
|
|
+ // switch (data.namesimple) {
|
|
|
+ // case "紫金财险":
|
|
|
+ // this.$api.letter.zijinqueryClauseData({ companyId: this.companyId }).then(res => {
|
|
|
+ // this.zijinengageListData = res.data;
|
|
|
+ // });
|
|
|
+ // break;
|
|
|
+ // default:
|
|
|
+
|
|
|
+ // break;
|
|
|
+ // }
|
|
|
|
|
|
},
|
|
|
hbsubmit() {
|