Commit 46a04a6e authored by 郭志伟's avatar 郭志伟

fix: 泰康费率;时间选择器限制;下单后清除回显数据;

parent d4e822bc
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
"axios": "^0.19.2", "axios": "^0.19.2",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"moment": "^2.27.0",
"vant": "^2.10.2",
"vconsole": "^3.3.4", "vconsole": "^3.3.4",
"vue": "2.6.11", "vue": "2.6.11",
"vue-pdf": "^4.1.0", "vue-pdf": "^4.1.0",
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Description:华太30万轻重疾险 * @Description:华太30万轻重疾险
* @Date: 2020-07-27 15:46:37 * @Date: 2020-07-27 15:46:37
* @LastEditors: gzw * @LastEditors: gzw
* @LastEditTime: 2020-08-20 10:34:05 * @LastEditTime: 2020-08-21 20:00:22
*/ */
import goodsBg from "@/assets/images/goods/detail/zhongjixian/bg.png"; import goodsBg from "@/assets/images/goods/detail/zhongjixian/bg.png";
...@@ -235,6 +235,7 @@ export default { ...@@ -235,6 +235,7 @@ export default {
rateInfo: [ rateInfo: [
{ {
title: "按月交费", title: "按月交费",
th: ["投保年龄", "", ""],
age: ["0-1", "2-17", "18-20", "21-25", "26-30", "31-35", "36-40", "41-45", "46-50", "51-55", "56-60"], age: ["0-1", "2-17", "18-20", "21-25", "26-30", "31-35", "36-40", "41-45", "46-50", "51-55", "56-60"],
list: [ list: [
[ [
...@@ -253,6 +254,7 @@ export default { ...@@ -253,6 +254,7 @@ export default {
}, },
{ {
title: "一次交清", title: "一次交清",
th: ["投保年龄", "", ""],
age: ["0-1", "2-17", "18-20", "21-25", "26-30", "31-35", "36-40", "41-45", "46-50", "51-55", "56-60", "61-65", "66-70", "71-75", "76-80", "81-85", "86-90", "91-95", "96-99"], age: ["0-1", "2-17", "18-20", "21-25", "26-30", "31-35", "36-40", "41-45", "46-50", "51-55", "56-60", "61-65", "66-70", "71-75", "76-80", "81-85", "86-90", "91-95", "96-99"],
list: [ list: [
[ [
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Description: 泰康600万医疗保障 * @Description: 泰康600万医疗保障
* @Date: 2020-07-27 15:46:37 * @Date: 2020-07-27 15:46:37
* @LastEditors: gzw * @LastEditors: gzw
* @LastEditTime: 2020-08-20 18:27:48 * @LastEditTime: 2020-08-21 20:15:58
*/ */
import goodsBg from "@/assets/images/goods/detail/yiliaoxian/bg.png"; import goodsBg from "@/assets/images/goods/detail/yiliaoxian/bg.png";
...@@ -196,38 +196,20 @@ export default { ...@@ -196,38 +196,20 @@ export default {
rateInfo: [ rateInfo: [
{ {
title: "按月交费", title: "按月交费",
age: ["0-1", "2-17", "18-20", "21-25", "26-30", "31-35", "36-40", "41-45", "46-50", "51-55", "56-60"], th: ["投保年龄", "有社保", "无社保"],
age: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65],
list: [ list: [
[ [891.8, 833.6, 785.8, 715.9, 690.4, 498.6, 424.4, 374.7, 355.6, 342.9, 338.6, 206.2, 175.4, 143.6, 156.3, 169, 181.8, 194.5, 206.1, 214.6, 222, 244.4, 252.9, 261.4, 263.5, 267.7, 286.8, 293.2, 301.6, 310.1, 329.2, 368, 398.8, 414.7, 438, 451.8, 481.2, 505.6, 519.3, 539.5, 557.5, 579.1, 616.3, 653.3, 683, 713.8, 781.7, 838.9, 886.7, 939.7, 989.4, 1041.2, 1095.2, 1187.5, 1256.3, 1314.7, 1399.4, 1467.3, 1561.7, 1600.8, 1706.8, 1938.5, 2105, 2256.5, 2447.3, 2628.6],
[30.7, 19.5, 23.1, 25.8, 34.3, 51.3, 86.8, 146.4, 252.3, "", ""], [1887.2, 1726.1, 1630.7, 1483.3, 1387.9, 996.8, 822, 717, 685.2, 649.2, 634.3, 411.8, 348.2, 282.5, 304.7, 325.9, 351.4, 371.4, 396.9, 416, 446.8, 492.4, 509.4, 532.7, 557.2, 584.7, 636.6, 648.2, 686.4, 719.3, 751.1, 864.1, 907.6, 951, 989.2, 1060.3, 1116.2, 1243.4, 1316.4, 1382.2, 1495.6, 1657.2, 1840.5, 2008, 2110.9, 2239.1, 2380.2, 2608.1, 2799.9, 2924, 3002.4, 3375.3, 3581, 3701.8, 3872.4, 3957.2, 4458.6, 4676, 4841.3, 5044.8, 5350.1, 6128.8, 6828.4, 7413.5, 7866, 8091.9]
[26.2, 17.2, 21.3, 29.3, 46.4, 75.6, 113.7, 166.6, 229.0, "", ""]
],
[
[20.4, 12.9, 15.3, 17.1, 22.8, 34.1, 57.8, 97.5, 168.1, 285.1, 443.3],
[17.4, 11.4, 14.1, 19.5, 30.8, 50.3, 75.7, 111, 152.6, 210.9, 303.6]
],
[
[10, 6.3, 7.5, 8.4, 11.2, 16.9, 28.7, 48.6, 83.9, 142.4, 221.5],
[8.6, 5.6, 6.9, 9.6, 15.3, 25, 37.7, 55.4, 76.2, 105.3, 151.7]
]
] ]
}, },
{ {
title: "一次交清", title: "一次交清",
age: ["0-1", "2-17", "18-20", "21-25", "26-30", "31-35", "36-40", "41-45", "46-50", "51-55", "56-60", "61-65", "66-70", "71-75", "76-80", "81-85", "86-90", "91-95", "96-99"], th: ["投保年龄", "有社保", "无社保"],
age: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65],
list: [ list: [
[ [88.5, 82.6, 77.9, 71, 68.4, 49.4, 42, 37.1, 35.2, 33.8, 33.4, 20.4, 17.3, 14.1, 15.4, 16.7, 17.9, 19.3, 20.4, 21.3, 22, 24.2, 25.1, 25.9, 26.1, 26.6, 28.3, 29, 29.8, 30.7, 32.6, 36.5, 39.6, 41.1, 43.4, 44.8, 47.6, 50, 51.4, 53.4, 55.3, 57.3, 61.1, 64.7, 67.6, 70.8, 77.5, 83.2, 87.9, 93.2, 98.1, 103.3, 108.7, 117.9, 124.7, 130.5, 138.8, 145.5, 154.9, 158.8, 169.3, 192.4, 208.9, 223.9, 242.8, 260.9, 88.5],
[334, 213, 252, 281, 373, 556, 939, 1582, 2724, 4616, 7176, 10505, 15247, 22582, 34031, 49350, 68806, 91974, 120048], [187.3, 171.2, 161.7, 147.1, 137.6, 98.9, 81.5, 71.1, 67.9, 64.3, 62.8, 40.8, 34.5, 27.9, 30.2, 32.3, 34.8, 36.8, 39.3, 41.2, 44.3, 48.8, 50.5, 52.9, 55.3, 57.9, 63.2, 64.3, 68.1, 71.3, 74.5, 85.7, 90, 94.3, 98.2, 105.2, 110.7, 123.3, 130.6, 137, 148.3, 164.4, 182.6, 199.2, 209.4, 222.1, 236.2, 258.8, 277.9, 290.2, 297.9, 335, 355.5, 367.4, 384.4, 392.7, 442.5, 464, 480.4, 500.7, 531, 608.4, 677.8, 735.9, 780.8, 803.3, 187.3, 171.2]
[285, 189, 232, 319, 503, 818, 1229, 1800, 2473, 3416, 4916, 7650, 13398, 21368, 32216, 46892, 64195, 83506, 105165]
],
[
[223, 142, 168, 187, 248, 371, 626, 1055, 1816, 3077, 4784, 7003, 10165, 15055, 22687, 32900, 45871, 61316, 80032],
[190, 126, 155, 213, 335, 545, 819, 1200, 1648, 2277, 3277, 5100, 8932, 14245, 21477, 31261, 42797, 55671, 70110]
],
[
[111, 71, 84, 94, 124, 185, 313, 527, 908, 1539, 2392, 3502, 5082, 7527, 11344, 16450, 22935, 30658, 40016],
[95, 63, 77, 106, 168, 273, 410, 600, 824, 1139, 1639, 2550, 4466, 7123, 10739, 15631, 21398, 27835, 35055]
]
] ]
} }
], ],
......
...@@ -32,16 +32,13 @@ ...@@ -32,16 +32,13 @@
:radio-data="insuredOptions" :radio-data="insuredOptions"
v-show="currentStep === 0" v-show="currentStep === 0"
/> />
<cr-date-picker <date-picker
ref="birthday"
@change="
(picker, value) => {
onPickerChange(picker, value, 'birthday');
}
"
v-show="currentStep === 1" v-show="currentStep === 1"
item-height="35" v-model="formBirth"
:later="endYear" type="date"
:min-date="minDate"
:max-date="maxDate"
@change="onPickerChange('', 'birthday')"
:show-toolbar="false" :show-toolbar="false"
/> />
<cr-radio-btn <cr-radio-btn
...@@ -152,29 +149,35 @@ ...@@ -152,29 +149,35 @@
</template> </template>
<script> <script>
import DatePicker from "vant/lib/datetime-picker";
import "vant/lib/datetime-picker/style";
import moment from "moment";
import CrRadioBtn from "@/components/CrRadioBtn"; import CrRadioBtn from "@/components/CrRadioBtn";
import Card from "@/components/Card"; import Card from "@/components/Card";
import localStorage from "@/service/localStorage"; import localStorage from "@/service/localStorage";
import areaList from "@qg/cherry-ui/src/area/demo/china"; import areaList from "@qg/cherry-ui/src/area/demo/china";
import { subCulQus } from "@/api/consultant"; import { subCulQus } from "@/api/consultant";
const CURRENT_TIME = new Date(); const START_YEAR = moment(new Date())
const CURRENT_YEAR = CURRENT_TIME.getFullYear(); .subtract(65, "years")
const START_YEAR = 1949; .format("YYYY-MM-DD");
const END_YEAR = CURRENT_YEAR; const END_YEAR = moment(new Date())
.subtract(18, "years")
.format("YYYY-MM-DD");
export default { export default {
name: "ConsultantQuestion", name: "ConsultantQuestion",
components: { components: {
Card, Card,
CrRadioBtn CrRadioBtn,
DatePicker
}, },
data() { data() {
return { return {
isLogin: localStorage.get("mongoToken"), isLogin: localStorage.get("mongoToken"),
areaList, areaList,
formData: { formData: {
birthday: "", birthday: "1990-01-01",
socialSecurity: "", socialSecurity: "",
annualIncome: "10万", annualIncome: "10万",
loan: "无房贷", loan: "无房贷",
...@@ -184,8 +187,9 @@ export default { ...@@ -184,8 +187,9 @@ export default {
gender: "", gender: "",
relation: "" relation: ""
}, },
startYear: CURRENT_YEAR - START_YEAR, formBirth: new Date("1990-01-01"),
endYear: END_YEAR - CURRENT_YEAR, minDate: new Date(START_YEAR),
maxDate: new Date(END_YEAR),
currentStep: 0, currentStep: 0,
showSubState: false, showSubState: false,
stepTips: [ stepTips: [
...@@ -276,9 +280,6 @@ export default { ...@@ -276,9 +280,6 @@ export default {
watch: { watch: {
currentStep(val) { currentStep(val) {
this.$forceUpdate(); this.$forceUpdate();
if (val === 1) {
this.$refs["birthday"].refreshColumns();
}
if (val === 3) { if (val === 3) {
this.$refs["income"].refreshColumns(); this.$refs["income"].refreshColumns();
} }
...@@ -314,7 +315,7 @@ export default { ...@@ -314,7 +315,7 @@ export default {
}, },
onPickerChange(picker, value, type) { onPickerChange(picker, value, type) {
if (type === "birthday") { if (type === "birthday") {
value = value.map(item => item[0]).join("-"); value = moment(this.formBirth).format("YYYY-MM-DD");
} }
if (type === "annualIncome" || type === "loan") { if (type === "annualIncome" || type === "loan") {
value = value[0]; value = value[0];
......
...@@ -255,7 +255,7 @@ export default { ...@@ -255,7 +255,7 @@ export default {
}, },
nextStep() { nextStep() {
this.generateFormData(); this.generateFormData();
this.generateOrder(); this.generateOrder("ai");
}, },
generateFormData() { generateFormData() {
const { const {
......
...@@ -86,7 +86,14 @@ ...@@ -86,7 +86,14 @@
</popup-with-iframe> </popup-with-iframe>
<div style="position: relative;z-index: 204;"> <div style="position: relative;z-index: 204;">
<cr-popup v-model="showCalDate" position="bottom"> <cr-popup v-model="showCalDate" position="bottom">
<cr-date-picker @confirm="onBirthConfirm" ref="birthDatePicker" /> <date-picker
v-model="calBirth"
type="date"
:min-date="minDate"
:max-date="maxDate"
@confirm="onBirthConfirm"
@cancel="showCalDate = false"
/>
</cr-popup> </cr-popup>
</div> </div>
</cr-form> </cr-form>
...@@ -96,6 +103,9 @@ ...@@ -96,6 +103,9 @@
/** /**
* @description: 华贵大麦2020定期寿险 Life insurance * @description: 华贵大麦2020定期寿险 Life insurance
*/ */
import DatePicker from "vant/lib/datetime-picker";
import "vant/lib/datetime-picker/style";
import moment from "moment";
import CrRadioBtn from "@/components/CrRadioBtn"; import CrRadioBtn from "@/components/CrRadioBtn";
import Card from "@/components/Card"; import Card from "@/components/Card";
import Copyright from "@/components/Copyright"; import Copyright from "@/components/Copyright";
...@@ -117,6 +127,13 @@ import detailLoginMixin from "./modules/detailLogin.mixin"; ...@@ -117,6 +127,13 @@ import detailLoginMixin from "./modules/detailLogin.mixin";
import Detail from "@/api/detail.huagui.shouxian"; import Detail from "@/api/detail.huagui.shouxian";
import { trail, list } from "@/api/product"; import { trail, list } from "@/api/product";
const START_YEAR = moment(new Date())
.subtract(60, "years")
.format("YYYY-MM-DD");
const END_YEAR = moment(new Date())
.subtract(18, "years")
.format("YYYY-MM-DD");
export default { export default {
name: "GoodsDetail-LI", name: "GoodsDetail-LI",
components: { components: {
...@@ -137,7 +154,8 @@ export default { ...@@ -137,7 +154,8 @@ export default {
PlanTip, PlanTip,
NavTab, NavTab,
ProtocolRead, ProtocolRead,
CalInsuredFee CalInsuredFee,
DatePicker
}, },
mixins: [detailLoginMixin], mixins: [detailLoginMixin],
data() { data() {
...@@ -152,10 +170,12 @@ export default { ...@@ -152,10 +170,12 @@ export default {
formData: { formData: {
payType: "1" payType: "1"
}, },
minDate: new Date(START_YEAR),
maxDate: new Date(END_YEAR),
read: true, read: true,
showLayer: false, showLayer: false,
showCalDate: false, showCalDate: false,
calDateRefresh: false calBirth: new Date("1990-01-01")
}; };
}, },
watch: { watch: {
...@@ -199,17 +219,11 @@ export default { ...@@ -199,17 +219,11 @@ export default {
}, },
methods: { methods: {
showBirthPickerHandler() { showBirthPickerHandler() {
if (!this.calDateRefresh && this.$refs["birthDatePicker"]) {
this.calDateRefresh = true;
setTimeout(() => {
this.$refs["birthDatePicker"].refreshColumns();
});
}
this.showCalDate = true; this.showCalDate = true;
}, },
onBirthConfirm(p, e) { onBirthConfirm(val) {
this.showCalDate = false; this.showCalDate = false;
this.$set(this.formData, "birth", e); this.$set(this.formData, "birth", moment(val).format("YYYY-MM-DD"));
}, },
openIframePupop(index) { openIframePupop(index) {
if (index === 4) { if (index === 4) {
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
:url="pupopData.url" :url="pupopData.url"
> >
<cps-process-detail v-if="currentPupopIndex === 5" :process-data="processDetail" /> <cps-process-detail v-if="currentPupopIndex === 5" :process-data="processDetail" />
<cps-rate v-if="currentPupopIndex === 6" :rate-data="rateInfo" /> <cps-rate v-if="currentPupopIndex === 6" :rate-data="rateInfo" :is-mi="true" />
</popup-with-iframe> </popup-with-iframe>
<go-insure-dialog <go-insure-dialog
v-model="goInsureState" v-model="goInsureState"
...@@ -251,7 +251,7 @@ export default { ...@@ -251,7 +251,7 @@ export default {
}, },
nextStep() { nextStep() {
this.generateFormData(); this.generateFormData();
this.generateOrder(); this.generateOrder("mi");
}, },
generateFormData() { generateFormData() {
if (!this.formData.socialSecurity) { if (!this.formData.socialSecurity) {
......
...@@ -57,6 +57,7 @@ import CrRadioBtn from "@/components/CrRadioBtn"; ...@@ -57,6 +57,7 @@ import CrRadioBtn from "@/components/CrRadioBtn";
const DATA_CHANGE_EVENT = "input"; const DATA_CHANGE_EVENT = "input";
import liDetail from "@/api/detail.huagui.shouxian"; import liDetail from "@/api/detail.huagui.shouxian";
const { paywayOptions, sexOptions, insuredAmountOptions, termOptions, benefitOptions } = liDetail; const { paywayOptions, sexOptions, insuredAmountOptions, termOptions, benefitOptions } = liDetail;
export default { export default {
name: "CalInsuredFee", name: "CalInsuredFee",
components: { components: {
......
...@@ -2,7 +2,12 @@ ...@@ -2,7 +2,12 @@
<div class="rate-container"> <div class="rate-container">
<cr-sticky class="rate-head"> <cr-sticky class="rate-head">
<cr-radio-btn v-model="titleIndex" :radio-data="titleOptions" /> <cr-radio-btn v-model="titleIndex" :radio-data="titleOptions" />
<cr-tabbar v-model="amountIndex" active-color="#333" inactive-color="#666" v-if="!isAi"> <cr-tabbar
v-model="amountIndex"
active-color="#333"
inactive-color="#666"
v-if="!isAi && !isMi"
>
<cr-tabbar-item v-for="(item, index) in amountOptions" :key="index"> <cr-tabbar-item v-for="(item, index) in amountOptions" :key="index">
{{ item }} {{ item }}
</cr-tabbar-item> </cr-tabbar-item>
...@@ -12,9 +17,9 @@ ...@@ -12,9 +17,9 @@
<table class="table rate-table rate-table-padding" v-if="!isAi"> <table class="table rate-table rate-table-padding" v-if="!isAi">
<thead> <thead>
<tr> <tr>
<th style="width: 40%">投保年龄</th> <th style="width: 40%">{{ thOptions[0] }}</th>
<th style="width: 30%"></th> <th style="width: 30%">{{ thOptions[1] }}</th>
<th style="width: 30%"></th> <th style="width: 30%">{{ thOptions[2] }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -64,6 +69,10 @@ export default { ...@@ -64,6 +69,10 @@ export default {
isAi: { isAi: {
type: Boolean, type: Boolean,
default: false default: false
},
isMi: {
type: Boolean,
default: false
} }
}, },
data() { data() {
...@@ -81,23 +90,35 @@ export default { ...@@ -81,23 +90,35 @@ export default {
}; };
}); });
}, },
thOptions() {
const { rateData, titleIndex } = this;
return rateData[titleIndex || 0].th;
},
amountOptions() { amountOptions() {
const { rateData, titleIndex } = this; const { rateData, titleIndex } = this;
if (this.isAi) { if (this.isAi) {
return []; return [];
} else if (this.isMi) {
return [];
} else { } else {
const _length = rateData[titleIndex].list.length; const _length = rateData[titleIndex || 0].list.length;
return rateData[titleIndex].list.map((item, index) => `${_length - index}0万保额`); return rateData[titleIndex || 0].list.map((item, index) => `${_length - index}0万保额`);
} }
}, },
listOptions() { listOptions() {
if (this.isAi) { if (this.isAi) {
return []; return [];
} else if (this.isMi) {
const { rateData, titleIndex } = this;
return {
age: rateData[titleIndex || 0].age,
list: rateData[titleIndex || 0].list
};
} else { } else {
const { rateData, titleIndex, amountIndex } = this; const { rateData, titleIndex, amountIndex } = this;
return { return {
age: rateData[titleIndex].age, age: rateData[titleIndex || 0].age,
list: rateData[titleIndex].list[amountIndex] list: rateData[titleIndex || 0].list[amountIndex]
}; };
} }
} }
......
...@@ -20,13 +20,14 @@ export default { ...@@ -20,13 +20,14 @@ export default {
}, },
methods: { methods: {
...mapActions(["setIsLoading", "setIsPayWait"]), ...mapActions(["setIsLoading", "setIsPayWait"]),
async generateOrder() { async generateOrder(detailType) {
this.setIsLoading(true); this.setIsLoading(true);
const res = await placeOrder.create({ const res = await placeOrder.create({
...this.subFormData ...this.subFormData
}); });
if (res) { if (res) {
this.orderInfo = res; this.orderInfo = res;
detailType && localStorage.remove(detailType + "DetailFormData");
this.goPay(); this.goPay();
} }
}, },
...@@ -49,17 +50,27 @@ export default { ...@@ -49,17 +50,27 @@ export default {
this.setIsPayWait(true); this.setIsPayWait(true);
const res = await placeOrder.pay(params); const res = await placeOrder.pay(params);
if (res) { if (res) {
let payInfo = { let payInfo = "";
mock: true, if (res.payUrl) {
url: res.payUrl, payInfo = {
params: { url: res.payUrl,
...orderInfo, params: {
tradeType, ...orderInfo,
state: 1 tradeType,
} state: 1
}; }
if (tradeType === "JSAPI") { };
} else if (tradeType === "JSAPI") {
payInfo = res.payInfo; payInfo = res.payInfo;
} else {
payInfo = {
url: res.payUrl,
params: {
...orderInfo,
tradeType,
state: 1
}
};
} }
payByWay(tradeType, payInfo).then(() => { payByWay(tradeType, payInfo).then(() => {
this.getPayResult(); this.getPayResult();
......
...@@ -58,7 +58,8 @@ export default { ...@@ -58,7 +58,8 @@ export default {
this.$router.push({ path: "/policy/add", query: { userInfoSecId } }); this.$router.push({ path: "/policy/add", query: { userInfoSecId } });
} else { } else {
// this.generateFormData(); // this.generateFormData();
this.generateOrder(); // TODO 目前只有一种在当前页支付的险种,先写死
this.generateOrder("cii");
} }
} }
} }
......
...@@ -771,7 +771,7 @@ export default { ...@@ -771,7 +771,7 @@ export default {
} }
sessionStorage.setItem("policyFormData", JSON.stringify(this.subFormData)); sessionStorage.setItem("policyFormData", JSON.stringify(this.subFormData));
// this.$router.push({ path: "/goods/inform", query: { url: popupArray[1].url } }); // this.$router.push({ path: "/goods/inform", query: { url: popupArray[1].url } });
this.generateOrder(); this.generateOrder("li");
}, },
relationOptionChange(relation) { relationOptionChange(relation) {
relation && this.relationChange(relation, this.clearInsured); relation && this.relationChange(relation, this.clearInsured);
......
...@@ -780,6 +780,13 @@ ...@@ -780,6 +780,13 @@
"@babel/types" "^7.4.4" "@babel/types" "^7.4.4"
esutils "^2.0.2" esutils "^2.0.2"
"@babel/runtime@7.x":
version "7.11.2"
resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.11.2.tgz?cache=0&sync_timestamp=1596637803941&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.11.2.tgz#f549c13c754cc40b87644b9fa9f09a6a95fe0736"
integrity sha1-9UnBPHVMxAuHZEufqfCaapX+BzY=
dependencies:
regenerator-runtime "^0.13.4"
"@babel/runtime@^7.8.4", "@babel/runtime@^7.9.6": "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.6":
version "7.10.5" version "7.10.5"
resolved "http://npmprivate.quantgroups.com/@babel%2fruntime/-/runtime-7.10.5.tgz#303d8bd440ecd5a491eae6117fd3367698674c5c" resolved "http://npmprivate.quantgroups.com/@babel%2fruntime/-/runtime-7.10.5.tgz#303d8bd440ecd5a491eae6117fd3367698674c5c"
...@@ -886,7 +893,7 @@ ...@@ -886,7 +893,7 @@
resolved "http://npmprivate.quantgroups.com/@nodelib%2ffs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" resolved "http://npmprivate.quantgroups.com/@nodelib%2ffs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
"@qg/cherry-ui@^1.2.1": "@qg/cherry-ui@=1.2.1":
version "1.2.1" version "1.2.1"
resolved "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-1.2.1.tgz#5f59ebf0ed677c6d3f41dd04e3b9f6a43811936b" resolved "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-1.2.1.tgz#5f59ebf0ed677c6d3f41dd04e3b9f6a43811936b"
integrity sha512-icj5WLUCJswPLF02YtCdppdfSDwQQrFoLxhRFCie2SFffIKVZSMEtSVVuEh2nZv2khPd/cvEISGpmzwDcBS7tw== integrity sha512-icj5WLUCJswPLF02YtCdppdfSDwQQrFoLxhRFCie2SFffIKVZSMEtSVVuEh2nZv2khPd/cvEISGpmzwDcBS7tw==
...@@ -955,6 +962,11 @@ ...@@ -955,6 +962,11 @@
resolved "http://npmprivate.quantgroups.com/@types%2fq/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24" resolved "http://npmprivate.quantgroups.com/@types%2fq/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24"
integrity sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug== integrity sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==
"@vant/icons@1.2.5":
version "1.2.5"
resolved "https://registry.npm.taobao.org/@vant/icons/download/@vant/icons-1.2.5.tgz#f3db43c4b300300829e3c4e909beaa33d1cbe786"
integrity sha1-89tDxLMAMAgp48TpCb6qM9HL54Y=
"@vue/babel-helper-vue-jsx-merge-props@^1.0.0": "@vue/babel-helper-vue-jsx-merge-props@^1.0.0":
version "1.0.0" version "1.0.0"
resolved "http://npmprivate.quantgroups.com/@vue%2fbabel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz#048fe579958da408fb7a8b2a3ec050b50a661040" resolved "http://npmprivate.quantgroups.com/@vue%2fbabel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz#048fe579958da408fb7a8b2a3ec050b50a661040"
...@@ -5640,6 +5652,11 @@ mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1: ...@@ -5640,6 +5652,11 @@ mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1:
dependencies: dependencies:
minimist "^1.2.5" minimist "^1.2.5"
moment@^2.27.0:
version "2.27.0"
resolved "http://npmprivate.quantgroups.com/moment/-/moment-2.27.0.tgz#8bff4e3e26a236220dfe3e36de756b6ebaa0105d"
integrity sha512-al0MUK7cpIcglMv3YF13qSgdAIqxHTO7brRtaz3DlSULbqfazqkc5kEjNrLDOM7fsjshoFIihnU8snrP7zUvhQ==
move-concurrently@^1.0.1: move-concurrently@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "http://npmprivate.quantgroups.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" resolved "http://npmprivate.quantgroups.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
...@@ -8504,6 +8521,16 @@ validate-npm-package-license@^3.0.1: ...@@ -8504,6 +8521,16 @@ validate-npm-package-license@^3.0.1:
spdx-correct "^3.0.0" spdx-correct "^3.0.0"
spdx-expression-parse "^3.0.0" spdx-expression-parse "^3.0.0"
vant@^2.10.2:
version "2.10.2"
resolved "https://registry.npm.taobao.org/vant/download/vant-2.10.2.tgz?cache=0&sync_timestamp=1598067578898&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvant%2Fdownload%2Fvant-2.10.2.tgz#f792d8583315c932f4a70051c122904b9c6e5002"
integrity sha1-95LYWDMVyTL0pwBRwSKQS5xuUAI=
dependencies:
"@babel/runtime" "7.x"
"@vant/icons" "1.2.5"
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
vue-lazyload "1.2.3"
vary@~1.1.2: vary@~1.1.2:
version "1.1.2" version "1.1.2"
resolved "http://npmprivate.quantgroups.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" resolved "http://npmprivate.quantgroups.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
...@@ -8550,6 +8577,11 @@ vue-hot-reload-api@^2.3.0: ...@@ -8550,6 +8577,11 @@ vue-hot-reload-api@^2.3.0:
resolved "http://npmprivate.quantgroups.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2" resolved "http://npmprivate.quantgroups.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog== integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==
vue-lazyload@1.2.3:
version "1.2.3"
resolved "https://registry.npm.taobao.org/vue-lazyload/download/vue-lazyload-1.2.3.tgz#901f9ec15c7e6ca78781a2bae4a343686bdedb2c"
integrity sha1-kB+ewVx+bKeHgaK65KNDaGve2yw=
vue-loader@^15.9.2: vue-loader@^15.9.2:
version "15.9.3" version "15.9.3"
resolved "http://npmprivate.quantgroups.com/vue-loader/-/vue-loader-15.9.3.tgz#0de35d9e555d3ed53969516cac5ce25531299dda" resolved "http://npmprivate.quantgroups.com/vue-loader/-/vue-loader-15.9.3.tgz#0de35d9e555d3ed53969516cac5ce25531299dda"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment