|
@@ -235,6 +235,12 @@
|
|
|
show-word-limit></el-input>
|
|
show-word-limit></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
+ <!-- <el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
|
|
|
|
|
+ <el-form-item label="省市区:" prop="shengshiqu">
|
|
|
|
|
+ <el-cascader v-model="selectedOptions" :options="areaOptions" @change="areahandleChange"
|
|
|
|
|
+ ref="shengshi"></el-cascader>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col> -->
|
|
|
<el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
|
|
<el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
|
|
|
<el-form-item label="地址:" prop="addr">
|
|
<el-form-item label="地址:" prop="addr">
|
|
|
<el-input v-model="ownerInfo.addr" placeholder="请输入地址" type="text"></el-input>
|
|
<el-input v-model="ownerInfo.addr" placeholder="请输入地址" type="text"></el-input>
|
|
@@ -1524,6 +1530,10 @@ import QRCode from "qrcodejs2";
|
|
|
import Cookies from "js-cookie";
|
|
import Cookies from "js-cookie";
|
|
|
import CommonUtil from "@/utils/comutil.js";
|
|
import CommonUtil from "@/utils/comutil.js";
|
|
|
import { getAgeByIdCard } from "@/utils/validate.js";
|
|
import { getAgeByIdCard } from "@/utils/validate.js";
|
|
|
|
|
+import {
|
|
|
|
|
+ regionData,
|
|
|
|
|
+ CodeToText,
|
|
|
|
|
+} from "element-china-area-data";
|
|
|
export default {
|
|
export default {
|
|
|
inject: ["reload"],
|
|
inject: ["reload"],
|
|
|
name: "qrCode",
|
|
name: "qrCode",
|
|
@@ -1556,6 +1566,8 @@ export default {
|
|
|
mdcell: 12,
|
|
mdcell: 12,
|
|
|
smcell: 24,
|
|
smcell: 24,
|
|
|
xscell: 24,
|
|
xscell: 24,
|
|
|
|
|
+ areaOptions: regionData,
|
|
|
|
|
+ selectedOptions: [],
|
|
|
// ------------紫金意外险
|
|
// ------------紫金意外险
|
|
|
ziJinInsuranceData: [],
|
|
ziJinInsuranceData: [],
|
|
|
accidentalDrivingVo: [],
|
|
accidentalDrivingVo: [],
|
|
@@ -2735,6 +2747,10 @@ export default {
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ areahandleChange() {
|
|
|
|
|
+ var arr = this.$refs.shengshi.getCheckedNodes();
|
|
|
|
|
+ console.log(arr); // 这里就是获取到的所有的数据。就能从中获取到想要的label和value
|
|
|
|
|
+ },
|
|
|
iconfftter(icon) {
|
|
iconfftter(icon) {
|
|
|
return CommonUtil.getDataName({
|
|
return CommonUtil.getDataName({
|
|
|
dataList: this.global.insCompanyList,
|
|
dataList: this.global.insCompanyList,
|
|
@@ -3531,36 +3547,9 @@ export default {
|
|
|
} else if (res.code == "200") {
|
|
} else if (res.code == "200") {
|
|
|
if (res.data.warnMessageList.length > 0) {
|
|
if (res.data.warnMessageList.length > 0) {
|
|
|
this.totalCompanyList[num].lastYearMsg += "<br><b>商业险</b><br>" + res.data.warnMessageList[0];
|
|
this.totalCompanyList[num].lastYearMsg += "<br><b>商业险</b><br>" + res.data.warnMessageList[0];
|
|
|
- let time = res.data.warnMessageList[0].substr(res.data.warnMessageList[0].indexOf("终保日期:") + 5, 12) + "00";
|
|
|
|
|
- time = time.substring(0, 4) + "-" + time.substring(4, 6) + "-" + time.substring(6, 8) + " " + time.substring(8, 10) + ":" + time.substring(10, 12) + ":" + time.substring(12, 14);
|
|
|
|
|
- this.systartDate = time;
|
|
|
|
|
- this.syendDate = this.oneYearPast1(time);
|
|
|
|
|
- if (this.riskList.length > 0) {
|
|
|
|
|
- for (let i = 0; i < this.riskList.length; i++) {
|
|
|
|
|
- if (this.riskList[i].riskCode == "0510") {
|
|
|
|
|
- this.riskList[i].startDate = time;
|
|
|
|
|
- this.riskList[i].endDate = this.oneYearPast1(time);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- let param = {
|
|
|
|
|
- userId: this.userId,
|
|
|
|
|
- quoteno: this.quoteno,
|
|
|
|
|
- orderNo: this.orderno,
|
|
|
|
|
- carInfo: this.carInfo,
|
|
|
|
|
- insuredPersonInfo: this.insuredPersonInfo,
|
|
|
|
|
- ownerInfo: this.ownerInfo,
|
|
|
|
|
- policyHolderInfo: this.policyHolderInfo,
|
|
|
|
|
- kindList: this.kindList,
|
|
|
|
|
- riskList: this.riskList
|
|
|
|
|
- };
|
|
|
|
|
- return this.$api.letter.generateOrder(param).then(res => {
|
|
|
|
|
- this.yongcheng(num, id);
|
|
|
|
|
- });
|
|
|
|
|
- } else {
|
|
|
|
|
- this.totalCompanyList[num].quoteCode = 200;
|
|
|
|
|
- this.totalCompanyList[num].result = res.data;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ this.totalCompanyList[num].quoteCode = 200;
|
|
|
|
|
+ this.totalCompanyList[num].result = res.data;
|
|
|
} else if (res.code == "101") {
|
|
} else if (res.code == "101") {
|
|
|
this.totalCompanyList[num].quoteCode = "101";
|
|
this.totalCompanyList[num].quoteCode = "101";
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
this.totalCompanyList[num].msg = res.msg;
|