|
|
@@ -135,9 +135,10 @@
|
|
|
:animation="animation" fontSize="22" />
|
|
|
<!-- 价格 -->
|
|
|
<view class="dis a-c" v-if="totalitem.quoteCode=='200'">
|
|
|
- <view class="dis a-c" style="margin-right: 10px;">
|
|
|
+ <view class="dis a-c" style="margin-right: 10px;"
|
|
|
+ v-if="totalitem.result.feeDisplay">
|
|
|
<text style="color: #FF4D4D;font-size: 12px;"
|
|
|
- v-if="totalitem.result.sumExportFee">优惠金额¥{{totalitem.result.sumExportFee}}</text>
|
|
|
+ v-if="totalitem.result.sumExportFee">{{totalitem.result.feeView?'掌柜科技币':'优惠金额¥'}}{{totalitem.result.sumExportFee}}</text>
|
|
|
</view>
|
|
|
<text class="sum">¥{{totalitem.result.sumPermium}}</text>
|
|
|
</view>
|
|
|
@@ -161,8 +162,9 @@
|
|
|
<text
|
|
|
v-if="totalitem.result.jyPremium">驾意险:¥{{totalitem.result.jyPremium}}</text>
|
|
|
</view>
|
|
|
- <view class="dis a-c f-wrap price" style="font-size: 20rpx;color: #FF4D4D;">
|
|
|
- <text>优惠金额:【
|
|
|
+ <view class="dis a-c f-wrap price" style="font-size: 20rpx;color: #FF4D4D;"
|
|
|
+ v-if="totalitem.result.feeDisplay">
|
|
|
+ <text>{{totalitem.result.feeView?'掌柜科技币:【':'优惠金额:【'}}
|
|
|
<text
|
|
|
v-if="totalitem.result.jqPremium">交强险:{{totalitem.result.jqExportFee?totalitem.result.jqExportFee:'无'}}</text>
|
|
|
<text
|
|
|
@@ -222,6 +224,10 @@
|
|
|
<text v-if="totalitem.result.syClaims">商业出险次数:{{ totalitem.result.syClaims ?
|
|
|
totalitem.result.syClaims : '无' }}</text>
|
|
|
</view>
|
|
|
+ <template v-if="totalitem.result.iszdj !=null && totalitem.result.iszdj!=''">
|
|
|
+ <text v-if="totalitem.result.iszdj==0" style="color: red;">假单交</text>
|
|
|
+ <text v-if="totalitem.result.iszdj==1" style="color: red;">真单交</text>
|
|
|
+ </template>
|
|
|
<view class="dis a-c j-end lastyear">
|
|
|
<view class=" left dis j-c a-c" v-if="totalitem.lastYearMsg"
|
|
|
@click="YearMsg(totalitem.lastYearMsg,totalitem.namesimple)">
|
|
|
@@ -306,8 +312,7 @@
|
|
|
v-for="(drivingsitem,risksindex) in totalitem.insurancePlanInfo.drivingList"
|
|
|
:key="risksindex">
|
|
|
<view class="dis f-c ">
|
|
|
- <text>{{drivingsitem.parentName}}</text>
|
|
|
- <text>{{drivingsitem.projectName}}</text>
|
|
|
+ <text>{{drivingsitem.alias}}</text>
|
|
|
</view>
|
|
|
<view class="Accident mt-2"
|
|
|
v-if="drivingsitem.insDrivingIntentionInsuranceSon && drivingsitem.insDrivingIntentionInsuranceSon.length>0">
|
|
|
@@ -337,12 +342,12 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class=" dis j-s a-c">
|
|
|
- <u-button type="primary" size="mini"
|
|
|
+ <button type="primary" size="mini"
|
|
|
style="background:#E6EEFF;color:#0052FF; width: 45%;"
|
|
|
- @click="SchemeSelection(totalitem)">方案选择</u-button>
|
|
|
- <u-button type="primary" size="mini"
|
|
|
+ @tap="SchemeSelection(totalitem)">方案选择</button>
|
|
|
+ <button type="primary" size="mini"
|
|
|
style="background:#FFEFE6;color: #FF5600; width: 45%;"
|
|
|
- @tap="individualQuote(totalitem)">单独报价</u-button>
|
|
|
+ @tap="individualQuote(totalitem)">单独报价</button>
|
|
|
</view>
|
|
|
<view class="dis f-c mt-2" v-if="totalitem.namesimple=='国任财险'">
|
|
|
<view class="dis a-c j-s">
|
|
|
@@ -421,13 +426,8 @@
|
|
|
<image src="/static/image/car-insure/SchemeSelection.png" mode="" style="width: 100%;height: 40px;">
|
|
|
</image>
|
|
|
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y">
|
|
|
- <view class="Plancontent dis j-s a-c ">
|
|
|
- <text class="title mb-1">险种</text>
|
|
|
- <text style="font-size: 14px;color: #FF5600;margin-right: 20px;">{{productName}}</text>
|
|
|
-
|
|
|
- </view>
|
|
|
<view class="Plancontent dis f-c ">
|
|
|
- <text class="title mb-1">方案选择</text>
|
|
|
+ <text class="title ">方案选择</text>
|
|
|
<view class="dis a-c f-wrap modelformcss">
|
|
|
<view class="status-data" :class="item.schemeId==SelectedPlanId? 'active':''"
|
|
|
style="margin:4px 10px;" v-for="(item,index) in planDataExpansion.genericPlanList"
|
|
|
@@ -436,6 +436,11 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="Plancontent dis j-s a-c ">
|
|
|
+ <text class="title ">已选险种</text>
|
|
|
+ <text style="font-size: 14px;color: #FF5600;margin-right: 20px;">{{productName}}</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="">
|
|
|
<view class="Plancontent dis f-c " v-if="planDataExpansion.genericPlanInfo.isJq=='1'">
|
|
|
<text class="title mb-1">交强险</text>
|
|
|
@@ -623,11 +628,7 @@
|
|
|
<text>{{anshengaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="anshengPopupshow=true">
|
|
|
- <text>{{anshengaccidentalDrivingVo.parentName}}</text>
|
|
|
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
- </view>
|
|
|
- <view class="dis a-c j-s" @click="anshengPopupshow1=true">
|
|
|
- <text>{{anshengaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{anshengaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -666,11 +667,7 @@
|
|
|
<text>{{guoRenaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="guoRenPopupshow=true">
|
|
|
- <text>{{guoRenaccidentalDrivingVo.parentName}}</text>
|
|
|
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
- </view>
|
|
|
- <view class="dis a-c j-s" @click="guoRenPopupshow1=true">
|
|
|
- <text>{{guoRenaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{guoRenaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -710,11 +707,7 @@
|
|
|
<text>{{dajiaaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="dajiaPopupshow=true">
|
|
|
- <text>{{dajiaaccidentalDrivingVo.parentName}}</text>
|
|
|
- <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
- </view>
|
|
|
- <view class="dis a-c j-s" @click="dajiaPopupshow1=true">
|
|
|
- <text>{{dajiaaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{dajiaaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -752,7 +745,7 @@
|
|
|
style="color: #FF5600;font-size: 14px;">意外险选择</text>
|
|
|
<view class="" v-for="(item,index) in zijinaccidentalDrivingVo" :key="index">
|
|
|
<view class=" accident-ins dis a-c j-s">
|
|
|
- <text>{{item.projectName}}</text>
|
|
|
+ <text>{{item.alias}}</text>
|
|
|
</view>
|
|
|
<view class=" dis j-s a-c">
|
|
|
<view class="">
|
|
|
@@ -791,7 +784,7 @@
|
|
|
<text>{{zhonganaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="zhonganPopupshow=true">
|
|
|
- <text>{{zhonganaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{zhonganaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -830,7 +823,7 @@
|
|
|
<text>{{yongchengaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="yongchengPopupshow=true">
|
|
|
- <text>{{yongchengaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{yongchengaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -868,8 +861,8 @@
|
|
|
<view class="header">
|
|
|
<text>{{hengbangaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
- <view class="dis a-c j-s" @click="zhonganPopupshow=true">
|
|
|
- <text>{{hengbangaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <view class="dis a-c j-s" @click="hengbangPopupshow=true">
|
|
|
+ <text>{{hengbangaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -908,7 +901,7 @@
|
|
|
<text>{{zhongmeiaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="zhongmeiPopupshow=true">
|
|
|
- <text>{{zhongmeiaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{zhongmeiaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -947,7 +940,7 @@
|
|
|
<text>{{taikangaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="taikangPopupshow=true">
|
|
|
- <text>{{taikangaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{taikangaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -986,7 +979,7 @@
|
|
|
<text>{{bohaiaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="bohaiPopupshow=true">
|
|
|
- <text>{{bohaiaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{bohaiaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -1025,7 +1018,7 @@
|
|
|
<text>{{taipingaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="taipingPopupshow=true">
|
|
|
- <text>{{taipingaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{taipingaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -1064,7 +1057,7 @@
|
|
|
<text>{{huanongaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="huanongPopupshow=true">
|
|
|
- <text>{{huanongaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{huanongaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -1103,7 +1096,7 @@
|
|
|
<text>{{renshouaccidentalDrivingVo.typeName}}</text>
|
|
|
</view>
|
|
|
<view class="dis a-c j-s" @click="renshouPopupshow=true">
|
|
|
- <text>{{renshouaccidentalDrivingVo.projectName}}</text>
|
|
|
+ <text>{{renshouaccidentalDrivingVo.alias}}</text>
|
|
|
<u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
</view>
|
|
|
<view>
|
|
|
@@ -1139,11 +1132,12 @@
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
<view class="PlanPopup-btn dis a-c j-c">
|
|
|
- <u-button shape="circle" size="medium" style="margin-right:50px;"
|
|
|
- @click="genericPlanPopup=false">取消</u-button>
|
|
|
- <u-button type="primary" shape="circle" size="medium"
|
|
|
- style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);"
|
|
|
- @click="confirmPlan(planDataExpansion.cnName)">确定方案</u-button>
|
|
|
+ <button size="mini" type="default"
|
|
|
+ style="margin-right:50px;border: 1px solid #C9C9C9;border-radius: 50px;width: 100px;"
|
|
|
+ @click="genericPlanPopup=false">取消</button>
|
|
|
+ <button type="primary" size="mini"
|
|
|
+ style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);border-radius: 50px;width: 100px;"
|
|
|
+ @click="confirmPlan(planDataExpansion.cnName)">确定方案</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
@@ -1182,23 +1176,9 @@
|
|
|
:scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
|
|
|
<view class="slot-content p-2">
|
|
|
<u-radio-group size="30" wrap>
|
|
|
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ASprogrammeradioChange"
|
|
|
- shape="square" v-for="(item, index) in anshengprogrammeData" :key="index"
|
|
|
- :name="item.projectCode">
|
|
|
- {{item.projectCode}}{{item.projectName}}
|
|
|
- </u-radio>
|
|
|
- </u-radio-group>
|
|
|
- </view>
|
|
|
- </u-modal>
|
|
|
- <u-modal v-model="anshengPopupshow1" title="驾意险"
|
|
|
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
|
|
|
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
|
|
|
- <view class="slot-content p-2">
|
|
|
- <u-radio-group size="30" wrap>
|
|
|
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ASInsuranceradioChange"
|
|
|
- shape="square" v-for="(item, index) in anshengInsuranceData" :key="index"
|
|
|
- :name="item.projectCode">
|
|
|
- {{item.projectCode}}{{item.projectName}}
|
|
|
+ <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ASradioChange" shape="square"
|
|
|
+ v-for="(item, index) in anshengInsuranceData" :key="index" :name="item.projectCode">
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1212,7 +1192,7 @@
|
|
|
<u-radio style="margin: 4px 0; align-items: flex-start;" label-size="30" shape="square"
|
|
|
@change="RSradioChange" v-for="(item, index) in renshouInsuranceData" :key="index"
|
|
|
:name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1225,7 +1205,7 @@
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;" label-size="30" @change="ZMradioChange" shape="square"
|
|
|
v-for="(item, index) in zhongmeiInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1238,7 +1218,7 @@
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HBradioChange" shape="square"
|
|
|
v-for="(item, index) in hengbangInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1251,7 +1231,7 @@
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="ZAradioChange" shape="square"
|
|
|
v-for="(item, index) in zhonganInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1264,7 +1244,7 @@
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="HNradioChange" shape="square"
|
|
|
v-for="(item, index) in huanongInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1277,7 +1257,7 @@
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TkradioChange" shape="square"
|
|
|
v-for="(item, index) in taikangInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1289,7 +1269,7 @@
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="YCradioChange" shape="square"
|
|
|
v-for="(item, index) in yongchengInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1302,7 +1282,7 @@
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="TPradioChange" shape="square"
|
|
|
v-for="(item, index) in taipingInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1315,7 +1295,7 @@
|
|
|
<u-radio-group size="30" style="" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="BHradioChange" shape="square"
|
|
|
v-for="(item, index) in bohaiInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1343,7 +1323,7 @@
|
|
|
<u-checkbox-group @change="ZJcheckboxGroupChange">
|
|
|
<u-checkbox style="margin: 8px 0;flex: auto;" active-color="#FF4D4D" label-size="28"
|
|
|
v-model="item.checked" v-for="(item, index) in zijinInsuranceData" :key="index"
|
|
|
- :name="item.projectCode">{{item.projectName}}</u-checkbox>
|
|
|
+ :name="item.projectCode">{{item.alias}}</u-checkbox>
|
|
|
</u-checkbox-group>
|
|
|
</scroll-view>
|
|
|
<view class="operateBtn dis ">
|
|
|
@@ -1382,54 +1362,27 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
- <!-- 国任驾意险弹框 -->
|
|
|
+
|
|
|
<u-modal v-model="guoRenPopupshow" title="驾意险"
|
|
|
:title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
|
|
|
:scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
|
|
|
<view class="slot-content p-2">
|
|
|
<u-radio-group size="30" wrap>
|
|
|
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="GRprogrammeradioChange"
|
|
|
- shape="square" v-for="(item, index) in guoRenprogrammeData" :key="index"
|
|
|
- :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
- </u-radio>
|
|
|
- </u-radio-group>
|
|
|
- </view>
|
|
|
- </u-modal>
|
|
|
- <u-modal v-model="guoRenPopupshow1" title="驾意险"
|
|
|
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
|
|
|
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
|
|
|
- <view class="slot-content p-2">
|
|
|
- <u-radio-group size="30" wrap>
|
|
|
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="GRInsuranceradioChange"
|
|
|
- shape="square" v-for="(item, index) in guoRenInsuranceData" :key="index"
|
|
|
- :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="GRradioChange" shape="square"
|
|
|
+ v-for="(item, index) in guoRenInsuranceData" :key="index" :name="item.projectCode">
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
</u-modal>
|
|
|
<u-modal v-model="dajiaPopupshow" title="驾意险"
|
|
|
- :title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
|
|
|
- :scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
|
|
|
- <view class="slot-content p-2">
|
|
|
- <u-radio-group size="30" wrap>
|
|
|
- <u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="DJprogrammeradioChange"
|
|
|
- shape="square" v-for="(item, index) in dajiaprogrammeData" :key="index"
|
|
|
- :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
- </u-radio>
|
|
|
- </u-radio-group>
|
|
|
- </view>
|
|
|
- </u-modal>
|
|
|
- <u-modal v-model="dajiaPopupshow1" title="驾意险"
|
|
|
:title-style="{fontWeight: 'bold',borderBottom:'1px solid #f2f2f2',padding:'10px'}"
|
|
|
:scroll-height="{height: '300px'}" :show-confirm-button="false" mask-close-able>
|
|
|
<view class="slot-content p-2">
|
|
|
<u-radio-group size="30" wrap>
|
|
|
<u-radio style="margin: 4px 0;flex: auto;" label-size="30" @change="DJradioChange" shape="square"
|
|
|
v-for="(item, index) in dajiaInsuranceData" :key="index" :name="item.projectCode">
|
|
|
- {{item.projectName}}
|
|
|
+ {{item.alias}}
|
|
|
</u-radio>
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
@@ -1629,20 +1582,14 @@
|
|
|
accidentCategoryId: "",
|
|
|
/* 安盛 */
|
|
|
anshengPopupshow: false,
|
|
|
- anshengPopupshow1: false,
|
|
|
- anshengprogrammeData: [],
|
|
|
anshengInsuranceData: [],
|
|
|
anshengaccidentalDrivingVo: {},
|
|
|
/* 国任 */
|
|
|
guoRenPopupshow: false,
|
|
|
- guoRenPopupshow1: false,
|
|
|
- guoRenprogrammeData: [],
|
|
|
guoRenInsuranceData: [],
|
|
|
guoRenaccidentalDrivingVo: {},
|
|
|
/* 大家 */
|
|
|
dajiaPopupshow: false,
|
|
|
- dajiaPopupshow1: false,
|
|
|
- dajiaprogrammeData: [],
|
|
|
dajiaInsuranceData: [],
|
|
|
dajiaaccidentalDrivingVo: {},
|
|
|
/* 永诚 */
|
|
|
@@ -1849,69 +1796,20 @@
|
|
|
uni.navigateBack(1)
|
|
|
},
|
|
|
//-------------驾意险处理开始
|
|
|
- //安盛一级选择
|
|
|
- ASprogrammeradioChange(id) {
|
|
|
- let info = this.anshengprogrammeData.find((val => val.projectCode == id))
|
|
|
- this.anshengPopupshow = false;
|
|
|
- this.anshengaccidentalDrivingVo.parentCode = info.projectCode;
|
|
|
- this.anshengaccidentalDrivingVo.parentName = info.projectName;
|
|
|
- if (info.insDrivingIntentionInsurances) {
|
|
|
- this.anshengInsuranceData = info.insDrivingIntentionInsurances;
|
|
|
- this.anshengaccidentalDrivingVo.projectCode = info.insDrivingIntentionInsurances[0].projectCode;
|
|
|
- this.anshengaccidentalDrivingVo.projectName = info.insDrivingIntentionInsurances[0].projectName;
|
|
|
- } else {
|
|
|
- this.anshengInsuranceData = []
|
|
|
- }
|
|
|
- },
|
|
|
- //安盛二级选择
|
|
|
- ASInsuranceradioChange(id) {
|
|
|
- let info = this.anshengInsuranceData.find((val => val.projectCode == id))
|
|
|
- this.anshengaccidentalDrivingVo.projectCode = info.projectCode;
|
|
|
- this.anshengaccidentalDrivingVo.projectName = info.projectName;
|
|
|
- this.anshengPopupshow1 = false;
|
|
|
- },
|
|
|
- //国任一级选择
|
|
|
- async GRprogrammeradioChange(id) {
|
|
|
- let info = this.guoRenprogrammeData.find((val => val.projectCode == id))
|
|
|
- this.guoRenPopupshow = false;
|
|
|
- this.guoRenaccidentalDrivingVo.parentCode = info.projectCode;
|
|
|
- this.guoRenaccidentalDrivingVo.parentName = info.projectName;
|
|
|
- if (info.insDrivingIntentionInsurances) {
|
|
|
- this.guoRenInsuranceData = info.insDrivingIntentionInsurances;
|
|
|
- this.guoRenaccidentalDrivingVo.projectCode = info.insDrivingIntentionInsurances[0].projectCode;
|
|
|
- this.guoRenaccidentalDrivingVo.projectName = info.insDrivingIntentionInsurances[0].projectName;
|
|
|
- } else {
|
|
|
- this.guoRenInsuranceData = []
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
+ //国任
|
|
|
+ GRradioChange(id) {
|
|
|
+ let obj = this.guoRenInsuranceData.find((val => val.projectCode == id))
|
|
|
+ Object.assign(this.guoRenaccidentalDrivingVo, obj);
|
|
|
+ this.guoRenPopupshow = false;
|
|
|
},
|
|
|
- //国任二级选择
|
|
|
- GRInsuranceradioChange(id) {
|
|
|
- let info = this.guoRenInsuranceData.find((val => val.projectCode == id))
|
|
|
- this.guoRenaccidentalDrivingVo.projectCode = info.projectCode;
|
|
|
- this.guoRenaccidentalDrivingVo.projectName = info.projectName;
|
|
|
- this.guoRenPopupshow1 = false;
|
|
|
- },
|
|
|
- //大家一级选择
|
|
|
- DJprogrammeradioChange(id) {
|
|
|
- let info = this.dajiaprogrammeData.find((val => val.projectCode == id))
|
|
|
- this.dajiaPopupshow = false;
|
|
|
- this.dajiaaccidentalDrivingVo.parentCode = info.projectCode;
|
|
|
- this.dajiaaccidentalDrivingVo.parentName = info.projectName;
|
|
|
- if (info.insDrivingIntentionInsurances) {
|
|
|
- this.dajiaInsuranceData = info.insDrivingIntentionInsurances;
|
|
|
- this.dajiaaccidentalDrivingVo.projectCode = info.insDrivingIntentionInsurances[0].projectCode;
|
|
|
- this.dajiaaccidentalDrivingVo.projectName = info.insDrivingIntentionInsurances[0].projectName;
|
|
|
- } else {
|
|
|
- this.dajiaInsuranceData = []
|
|
|
- }
|
|
|
- },
|
|
|
- //大家二级
|
|
|
+
|
|
|
+ //大家
|
|
|
DJradioChange(id) {
|
|
|
- let info = this.dajiaInsuranceData.find((val => val.projectCode == id))
|
|
|
- this.dajiaaccidentalDrivingVo.projectCode = info.projectCode;
|
|
|
- this.dajiaaccidentalDrivingVo.projectName = info.projectName;
|
|
|
- this.dajiaPopupshow1 = false;
|
|
|
+ let obj = this.dajiaInsuranceData.find((val => val.projectCode == id))
|
|
|
+ Object.assign(this.dajiaaccidentalDrivingVo, obj);
|
|
|
+ this.dajiaPopupshow = false;
|
|
|
},
|
|
|
//紫金意外险
|
|
|
ZJcheckboxGroupChange(detail) {
|
|
|
@@ -1921,6 +1819,12 @@
|
|
|
this.zijinaccidentalDrivingVo.push(list)
|
|
|
})
|
|
|
},
|
|
|
+ //安盛
|
|
|
+ ASradioChange(id) {
|
|
|
+ let obj = this.anshengInsuranceData.find((val => val.projectCode == id))
|
|
|
+ Object.assign(this.anshengaccidentalDrivingVo, obj);
|
|
|
+ this.anshengPopupshow = false;
|
|
|
+ },
|
|
|
//太平
|
|
|
TPradioChange(id) {
|
|
|
let obj = this.taipingInsuranceData.find(val => val.projectCode == id)
|
|
|
@@ -2011,6 +1915,26 @@
|
|
|
},
|
|
|
jqterms() {
|
|
|
let file = 'https://sxzgkj.baoxianzhanggui.com/web-api/upload/specification/commercialInsurance.pdf';
|
|
|
+ //#ifdef APP-PLUS
|
|
|
+ uni.showLoading({
|
|
|
+ title: '正在打开'
|
|
|
+ });
|
|
|
+ let dtask = plus.downloader.createDownload(file, {
|
|
|
+ filename: "_downloads/" + '交强条款.pdf'
|
|
|
+ }, function(d, status) {
|
|
|
+ if (status == 200) {
|
|
|
+ uni.hideLoading()
|
|
|
+ //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
|
|
|
+ let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
|
|
|
+ plus.runtime.openFile(d.filename); //选择软件打开文件
|
|
|
+ } else {
|
|
|
+ uni.hideLoading()
|
|
|
+ //下载失败
|
|
|
+ plus.downloader.clear(); //清除下载任务
|
|
|
+ }
|
|
|
+ })
|
|
|
+ dtask.start();
|
|
|
+ //#endif
|
|
|
//#ifdef H5
|
|
|
var win = window.open();
|
|
|
win.document.write(
|
|
|
@@ -2024,6 +1948,26 @@
|
|
|
},
|
|
|
syterms() {
|
|
|
let file = 'https://sxzgkj.baoxianzhanggui.com/web-api/upload/specification/compulsoryInsurance.pdf';
|
|
|
+ //#ifdef APP-PLUS
|
|
|
+ uni.showLoading({
|
|
|
+ title: '正在打开'
|
|
|
+ });
|
|
|
+ let dtask = plus.downloader.createDownload(file, {
|
|
|
+ filename: "_downloads/" + '商业条款.pdf'
|
|
|
+ }, function(d, status) {
|
|
|
+ if (status == 200) {
|
|
|
+ uni.hideLoading()
|
|
|
+ //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
|
|
|
+ let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
|
|
|
+ plus.runtime.openFile(d.filename); //选择软件打开文件
|
|
|
+ } else {
|
|
|
+ uni.hideLoading()
|
|
|
+ //下载失败
|
|
|
+ plus.downloader.clear(); //清除下载任务
|
|
|
+ }
|
|
|
+ })
|
|
|
+ dtask.start();
|
|
|
+ //#endif
|
|
|
//#ifdef H5
|
|
|
var win = window.open();
|
|
|
win.document.write(
|
|
|
@@ -2990,28 +2934,12 @@
|
|
|
async accidentCategoryclick(item, items, index) {
|
|
|
this.accidentInsuranceCategoryList[index].checked = !this.accidentInsuranceCategoryList[index].checked;
|
|
|
if (this.accidentInsuranceCategoryList[index].checked) {
|
|
|
- let params = {
|
|
|
- companyId: items.id,
|
|
|
- type: item.code,
|
|
|
- productId: this.productId,
|
|
|
- vehicleType: this.carInfo.cimodelclass,
|
|
|
- energyType: this.carInfo.energyType,
|
|
|
- carnature: this.carInfo.carnature,
|
|
|
- }
|
|
|
- let res = await this.$http.post('/plt/scheme/getDriving', params)
|
|
|
+ let res = await this.$http.get('/plt/scheme/optionalSchemeDriving?schemeId=' + this
|
|
|
+ .SelectedPlanId + '&seatNum=' + this.carInfo.seatCount)
|
|
|
switch (items.namesimple) {
|
|
|
case '安盛天平':
|
|
|
case '国任财险':
|
|
|
case '大家财险':
|
|
|
- this[items.cnName + 'programmeData'] = res.data;
|
|
|
- this[items.cnName + 'InsuranceData'] = res.data[0].insDrivingIntentionInsurances; //意外险list
|
|
|
- this[items.cnName + 'accidentalDrivingVo'] = {
|
|
|
- typeName: item.typeName,
|
|
|
- ...res.data[0].insDrivingIntentionInsurances[0],
|
|
|
- };
|
|
|
- this[items.cnName + 'accidentalDrivingVo'].parentCode = res.data[0].projectCode;
|
|
|
- this[items.cnName + 'accidentalDrivingVo'].parentName = res.data[0].projectName;
|
|
|
- break;
|
|
|
case '永诚财险':
|
|
|
case '恒邦财险':
|
|
|
case '诚泰财险':
|