78e78433 by joe

部分内容修改

1 parent 9f9a9aef
import { mapState } from "vuex";
import api from '@/api/api'
import {
httpGet,
......@@ -87,6 +88,9 @@ export default {
ClarmsUpload
},
computed: {
...mapState({
userInfo: state => state.userInfo
}),
lan() {
return this.$i18n.locale;
},
......@@ -125,6 +129,12 @@ export default {
// console.log("b10:",b10);
return b1 || b2 || b3 || b4 || b5 || b6 || b7 || b8 || b9 || b10;
},
isLogin() {
if (this.userInfo && this.userInfo.name) {
return true;
}
return false;
}
},
methods: {
......
......@@ -137,7 +137,7 @@
</div>
</template>
</div>
<template v-if="(data.HT41 && data.HT41.length > 0) && (data.HT26 && data.HT26.length > 0)">
<template v-if="data.contactDate">
<hr class="hr2" v-if="data.amount > 0">
<div class="bottom-tip orange mt20">{{$t('clarms.step2.label17')}}</div>
<div class="bottom-tip gray mt10">{{$t('clarms.step2.tip1')}}</div>
......
......@@ -29,7 +29,7 @@ export default {
data: {
// firstName: "玛丽",
// lastName: "何",
// birthDate: "1999-07-15",
// birthDate: "15-07-1999",
// idNo: "H4099030",
// idType: "40"
......@@ -94,9 +94,10 @@ export default {
if (this.loading) {
return;
}
this.loading = true;
let param = this.data;
param.birthDate = ddMMyyyy2yyyyMMdd(param.birthDate);
this.loading = true;
let param = JSON.parse(JSON.stringify(this.data));
param.birthDate = ddMMyyyy2yyyyMMdd(param.birthDate);
console.log(param);
httpPost({ url: api.getCidByVerify, data: param }).then(res => {
if (res) {
let cid = res;
......