@dongkboy 1 gadu atpakaļ
vecāks
revīzija
2789f1b911
3 mainītis faili ar 24 papildinājumiem un 6 dzēšanām
  1. 1 1
      config/baseUrl.js
  2. 2 2
      manifest.json
  3. 21 3
      pages/carInsure2/quote.vue

+ 1 - 1
config/baseUrl.js

@@ -3,7 +3,7 @@ let h5BaseUrl = "";
 let socketUrl = "";
 if (process.env.NODE_ENV === 'development') {
 	// 开发环境
-	// baseUrl = "http://192.168.0.106:8080"; //屈晨
+	// baseUrl = "http:///192.168.0.103:8080"; //屈晨
 	// baseUrl = "https://test.baoxianzhanggui.com/web-api"; //测试
 	// h5BaseUrl = "https://test.baoxianzhanggui.com/h5";
 	// baseUrl = "https://pre.baoxianzhanggui.com/web-api"; //预生产

+ 2 - 2
manifest.json

@@ -7,8 +7,8 @@
 		"sizes": "分辨率,192x192",
 		"src": "图片路径"
 	}],
-	"versionName": "1.9.8",
-	"versionCode": 198,
+	"versionName": "1.9.9",
+	"versionCode": 199,
 	"app-plus": {
 		"error": {
 			"url": "hybrid/html/error.html"

+ 21 - 3
pages/carInsure2/quote.vue

@@ -2479,9 +2479,11 @@
 			},
 			//永安报价
 			async yongan(num, id) {
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let params = {
 					orderNo: this.orderno,
-					companyId: id
+					companyId: id,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 				};
 				let quote = await this.$http('/order/yongAn/quote', params);
 				if (quote.msg == "重复投保" && quote.code == "501") {
@@ -2533,11 +2535,13 @@
 			//中煤报价
 			async zhongmei(num, id) {
 				let jychecked = this.totalCompanyList[num].jychecked;
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let params = {
 					accidentalDrivingVo: jychecked ? this.zhongmeiaccidentalDrivingVo : {},
 					orderNo: this.orderno,
 					companyId: id,
 					agreementId: this.totalCompanyList[num].agreementId,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 				};
 
 				let res = await this.$http.post('/order/zhongMeiApi/quote', params);
@@ -2600,11 +2604,13 @@
 			//渤海报价
 			async bohai(num, id) {
 				let jychecked = this.totalCompanyList[num].jychecked;
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let params = {
 					accidentalDrivingVo: jychecked ? [this.bohaiaccidentalDrivingVo] : [],
 					orderNo: this.orderno,
 					companyId: id,
 					agreementId: this.totalCompanyList[num].agreementId,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 				};
 
 				let res = await this.$http.post('/order/boHaiApi/quote', params);
@@ -2666,7 +2672,8 @@
 			},
 			//永诚报价
 			async yongcheng(num, id) {
-				let jychecked = this.totalCompanyList[num].jychecked
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
+				let jychecked = this.totalCompanyList[num].jychecked;
 				let params = {
 					accidentalDrivingVo: jychecked ? this
 						.yongchengaccidentalDrivingVo : {},
@@ -2676,6 +2683,7 @@
 					cqryCdeSy: this.cqryCdeSy,
 					renewalCodeJq: this.renewalCodeJq,
 					renewalCodeSy: this.renewalCodeSy,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 					agreementId: this.totalCompanyList[num].agreementId,
 				};
 				let res = await this.$http.post('/api/yongCheng/quote', params);
@@ -2716,12 +2724,14 @@
 			},
 			//紫金报价
 			async zijin(num, id) {
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let params = {
 					accidentalDrivingVo: this.zijinaccidentalDrivingVo,
 					orderNo: this.orderno,
 					companyId: id,
 					agreementId: this.totalCompanyList[num].agreementId,
 					coefficient: this.totalCompanyList[num].coefficient,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 				};
 				let res = await this.$http.post('/order/zijin/quote', params);
 				this.totalCompanyList[num].msg = res.msg;
@@ -2791,7 +2801,8 @@
 			},
 			//国任报价
 			async guoRen(num, id) {
-				let jychecked = this.totalCompanyList[num].jychecked
+				let jychecked = this.totalCompanyList[num].jychecked;
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let params = {
 					accidentalDrivingVo: jychecked ? this
 						.guoRenaccidentalDrivingVo : {},
@@ -2799,6 +2810,7 @@
 					companyId: id,
 					agreementId: this.totalCompanyList[num]
 						.agreementId,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 					guoRenSpecialAgreementVo: this.guoRenSpecialAgreementVo,
 				};
 				let res = await this.$http.post('/api/guoRen/quote',
@@ -2872,6 +2884,7 @@
 			},
 			//大家报价
 			async dajia(num, id) {
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let jychecked = this.totalCompanyList[num].jychecked
 				let params = {
 					accidentalDrivingVo: jychecked ? this
@@ -2882,6 +2895,7 @@
 					cqryCdeSy: this.cqryCdeSy,
 					renewalCodeJq: this.renewalCodeJq,
 					renewalCodeSy: this.renewalCodeSy,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 					agreementId: this.totalCompanyList[num]
 						.agreementId,
 				};
@@ -2957,6 +2971,7 @@
 			},
 			//华泰报价
 			async huatai(num, id) {
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				let params = {
 					accidentalDrivingVo: {},
 					orderNo: this.orderno,
@@ -2965,6 +2980,7 @@
 					cqryCdeSy: this.cqryCdeSy,
 					renewalCodeJq: this.renewalCodeJq,
 					renewalCodeSy: this.renewalCodeSy,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 					agreementId: this.totalCompanyList[num]
 						.agreementId,
 				};
@@ -3055,6 +3071,7 @@
 					.cnName;
 				let namesimple = this.totalCompanyList[num]
 					.namesimple;
+				let isTaxSource = this.totalCompanyList[num].isTaxSource;
 				// if (ccidenttype == "huanong") {
 				// 	this[ccidenttype + 'accidentalDrivingVo'].quantity = this[ccidenttype + 'accidentalDrivingVo']
 				// 		.allQuantity;
@@ -3064,6 +3081,7 @@
 					companyId: id,
 					agreementId: this.totalCompanyList[num]
 						.agreementId,
+					isTaxSource: isTaxSource == 1 ? isTaxSource : null,
 					accidentalDrivingVo: jychecked ? this[
 						ccidenttype +
 						'accidentalDrivingVo'] : {},