e-correspondence-enquiry.js
1016 Bytes
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
import {
mapState
} from "vuex";
import api from '@/api/api'
import {
httpGet,
httpPost
} from '@/api/fetch-api.js'
import Auth from '@components/auth/auth.vue';
import ECorrespondenceHeadList from "./e-correspondence-head-list.vue";
import {
formatMoney,
getInsuredPeriod,
getBenefitType,
getPayPeriod,
getPayType,
getMoneyName,
getPayMode,
getPolicyName
} from "@/utils/biz.js";
export default {
name: "ECorrespondenceEnquiry",
data() {
return {
showForm: false,
dataForm: null,
insuranceForm: {
f1: true,
f2: true,
f3: true,
f4: true,
f5: true,
},
policy: null,
}
},
methods: {
handlePolicySelect() {
},
userLogout() {
this.showForm = false;
},
userLogin(data) {
this.showForm = true;
}
},
computed: {
...mapState({
userInfo: state => state.userInfo
}),
i18n() {
return this.$i18n.messages && this.$i18n.locale ? this.$i18n.messages[this.$i18n.locale] : {};
},
},
components: {
Auth,
ECorrespondenceHeadList,
},
}