|
|
@@ -5549,7 +5549,8 @@ export default {
|
|
|
imageList5: [],
|
|
|
imageList6: [],
|
|
|
showLoading: false,
|
|
|
- detailJiaYiTitle: '查看详情'
|
|
|
+ detailJiaYiTitle: '查看详情',
|
|
|
+ oldData: {}, // 旧获取公司参数
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -5820,19 +5821,26 @@ export default {
|
|
|
// this.policyHolderInfo = {}
|
|
|
}
|
|
|
|
|
|
- console.log('校验成功,获取列表')
|
|
|
let res = {};
|
|
|
// res = await this.$api.letter.getAllAgreement();
|
|
|
// this.$api.letter.getAllAgreement().then((res) => {
|
|
|
- this.showLoading = true
|
|
|
- this.$api.letter.ruleFilterCompany({
|
|
|
+ // oldData
|
|
|
+ let param = {
|
|
|
productId: this.productId,
|
|
|
carInfo: this.carInfo,
|
|
|
ownerInfo: this.ownerInfo,
|
|
|
applyInfo: this.policyHolderInfo,
|
|
|
insureInfo: this.insuredPersonInfo,
|
|
|
- userId:this.isLetter==2? this.userId:"",
|
|
|
- }).then((res) => {
|
|
|
+ userId:this.isLetter==2? this.userId:""
|
|
|
+ }
|
|
|
+ if (JSON.stringify(param) === this.oldData) {
|
|
|
+ return
|
|
|
+ } else {
|
|
|
+ this.oldData = JSON.stringify(param)
|
|
|
+ }
|
|
|
+ console.log('校验成功,获取列表')
|
|
|
+ this.showLoading = true
|
|
|
+ this.$api.letter.ruleFilterCompany(param).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
res.data.map((ele) => {
|
|
|
ele["result"] = {};
|