191217修改意见
Showing
33 changed files
with
739 additions
and
83 deletions
... | @@ -10,6 +10,8 @@ | ... | @@ -10,6 +10,8 @@ |
10 | 10 | ||
11 | 11 | ||
12 | <script> | 12 | <script> |
13 | |||
14 | import Vue from 'vue' | ||
13 | import { mapGetters, mapActions, mapState } from "vuex"; | 15 | import { mapGetters, mapActions, mapState } from "vuex"; |
14 | import { getCookie } from "@utils/utils.js"; | 16 | import { getCookie } from "@utils/utils.js"; |
15 | import VHeader from "@components/home/header/header.vue"; | 17 | import VHeader from "@components/home/header/header.vue"; |
... | @@ -18,6 +20,7 @@ import VFooter from "@components/home/footer/footer.vue"; | ... | @@ -18,6 +20,7 @@ import VFooter from "@components/home/footer/footer.vue"; |
18 | import api from "@/api/api"; | 20 | import api from "@/api/api"; |
19 | import { httpGet, httpPost } from "@/api/fetch-api.js"; | 21 | import { httpGet, httpPost } from "@/api/fetch-api.js"; |
20 | 22 | ||
23 | window.eventBus = new Vue(); | ||
21 | var UA = require("ua-device"); | 24 | var UA = require("ua-device"); |
22 | 25 | ||
23 | export default { | 26 | export default { | ... | ... |
... | @@ -58,7 +58,7 @@ module.exports = { | ... | @@ -58,7 +58,7 @@ module.exports = { |
58 | }, | 58 | }, |
59 | navList: [{ | 59 | navList: [{ |
60 | name: "Products", | 60 | name: "Products", |
61 | path: "/empty", | 61 | path: "/product/introduction", |
62 | list: [{ | 62 | list: [{ |
63 | name: "VHIS", | 63 | name: "VHIS", |
64 | path: "", | 64 | path: "", |
... | @@ -120,30 +120,30 @@ module.exports = { | ... | @@ -120,30 +120,30 @@ module.exports = { |
120 | }, | 120 | }, |
121 | { | 121 | { |
122 | name: "Company Events", | 122 | name: "Company Events", |
123 | path: "/empty" | 123 | path: "/company/events" |
124 | }, { | 124 | }, { |
125 | name: "News Center", | 125 | name: "News Center", |
126 | path: "/news/list" | 126 | path: "/news/list" |
127 | }, | 127 | }, |
128 | { | 128 | { |
129 | name: "Corporate Social Responsibility", | 129 | name: "Corporate Social Responsibility", |
130 | path: "/empty" | 130 | path: "/responsibility" |
131 | }, | 131 | }, |
132 | { | 132 | { |
133 | name: "Awards", | 133 | name: "Awards", |
134 | path: "/empty" | 134 | path: "/awards" |
135 | }] | 135 | }] |
136 | }, | 136 | }, |
137 | { | 137 | { |
138 | name: "Join Us", | 138 | name: "Join Us", |
139 | path: "/empty", | 139 | path: "/join/us", |
140 | list: [{ | 140 | list: [{ |
141 | name: "Corporate Culture", | 141 | name: "Corporate Culture", |
142 | path: "/empty" | 142 | path: "/corporate/culture" |
143 | }, | 143 | }, |
144 | { | 144 | { |
145 | name: "Career Opportunities", | 145 | name: "Career Opportunities", |
146 | path: "/empty" | 146 | path: "/career/opportunities" |
147 | }, | 147 | }, |
148 | ] | 148 | ] |
149 | }] | 149 | }] |
... | @@ -772,8 +772,8 @@ module.exports = { | ... | @@ -772,8 +772,8 @@ module.exports = { |
772 | }, | 772 | }, |
773 | tips: "Login with your One Connect account in order to enjoy full online service.", | 773 | tips: "Login with your One Connect account in order to enjoy full online service.", |
774 | or: "or", | 774 | or: "or", |
775 | login: " login", | 775 | login: " Login", |
776 | register: " register", | 776 | register: " Register", |
777 | baseInfoTip: "To verify account information, please ", | 777 | baseInfoTip: "To verify account information, please ", |
778 | infoBtn: "provide", | 778 | infoBtn: "provide", |
779 | baseInfoTail: "customer information same as your insured information." | 779 | baseInfoTail: "customer information same as your insured information." |
... | @@ -785,11 +785,13 @@ module.exports = { | ... | @@ -785,11 +785,13 @@ module.exports = { |
785 | } | 785 | } |
786 | }, | 786 | }, |
787 | pagination: { | 787 | pagination: { |
788 | firstPage: "first", | 788 | firstPage: "last", |
789 | nextPage: "next", | 789 | nextPage: "next", |
790 | goto: "Go to", | 790 | goto: "Go to", |
791 | per: "page", | 791 | per: "page", |
792 | page: "" | 792 | page: "", |
793 | total : "total", | ||
794 | unit : "news" | ||
793 | }, | 795 | }, |
794 | newsDetail: { | 796 | newsDetail: { |
795 | back: "Back", | 797 | back: "Back", | ... | ... |
... | @@ -59,7 +59,7 @@ module.exports = { | ... | @@ -59,7 +59,7 @@ module.exports = { |
59 | navList: [ | 59 | navList: [ |
60 | { | 60 | { |
61 | name: "產品介紹", | 61 | name: "產品介紹", |
62 | path: "/empty", | 62 | path: "/product/introduction", |
63 | list: [{ | 63 | list: [{ |
64 | name: "自願醫保計劃", | 64 | name: "自願醫保計劃", |
65 | path: "", | 65 | path: "", |
... | @@ -121,30 +121,30 @@ module.exports = { | ... | @@ -121,30 +121,30 @@ module.exports = { |
121 | }, | 121 | }, |
122 | { | 122 | { |
123 | name: "公司活動", | 123 | name: "公司活動", |
124 | path: "/empty" | 124 | path: "/company/events" |
125 | }, { | 125 | }, { |
126 | name: "新聞中心", | 126 | name: "新聞中心", |
127 | path: "/news/list" | 127 | path: "/news/list" |
128 | }, | 128 | }, |
129 | { | 129 | { |
130 | name: "企業社會責任", | 130 | name: "企業社會責任", |
131 | path: "/empty" | 131 | path: "/responsibility" |
132 | }, | 132 | }, |
133 | { | 133 | { |
134 | name: "獎項殊榮", | 134 | name: "獎項殊榮", |
135 | path: "/empty" | 135 | path: "/awards" |
136 | }] | 136 | }] |
137 | }, | 137 | }, |
138 | { | 138 | { |
139 | name: "加入我們", | 139 | name: "加入我們", |
140 | path: "/empty", | 140 | path: "/join/us", |
141 | list: [{ | 141 | list: [{ |
142 | name: "企業文化", | 142 | name: "企業文化", |
143 | path: "/empty" | 143 | path: "/corporate/culture" |
144 | }, | 144 | }, |
145 | { | 145 | { |
146 | name: "事業發展機會", | 146 | name: "事業發展機會", |
147 | path: "/empty" | 147 | path: "/career/opportunities" |
148 | }, | 148 | }, |
149 | ] | 149 | ] |
150 | } | 150 | } |
... | @@ -784,11 +784,13 @@ module.exports = { | ... | @@ -784,11 +784,13 @@ module.exports = { |
784 | } | 784 | } |
785 | }, | 785 | }, |
786 | pagination: { | 786 | pagination: { |
787 | firstPage: "第一頁", | 787 | firstPage: "上一頁", |
788 | nextPage: "下一頁", | 788 | nextPage: "下一頁", |
789 | goto: "跳轉", | 789 | goto: "跳轉", |
790 | per: "第", | 790 | per: "第", |
791 | page: "頁" | 791 | page: "頁", |
792 | total : "共", | ||
793 | unit : "條" | ||
792 | }, | 794 | }, |
793 | newsDetail: { | 795 | newsDetail: { |
794 | back: "回到列表頁", | 796 | back: "回到列表頁", | ... | ... |
1 | module.exports = { | 1 | module.exports = { |
2 | message: { | 2 | message: { |
3 | login: '登陆', | 3 | login: '登入', |
4 | Username: '用户名', | 4 | Username: '用户名', |
5 | Password: '密码', | 5 | Password: '密码', |
6 | Captcha: '验证码', | 6 | Captcha: '验证码', |
... | @@ -9,7 +9,7 @@ module.exports = { | ... | @@ -9,7 +9,7 @@ module.exports = { |
9 | en: '英文' | 9 | en: '英文' |
10 | }, | 10 | }, |
11 | glbalTips: { | 11 | glbalTips: { |
12 | sessionLost: "为了更好的体验,需要您登陆后再进行此操作" | 12 | sessionLost: "为了更好的体验,需要您登入后再进行此操作" |
13 | }, | 13 | }, |
14 | form: { | 14 | form: { |
15 | datePicker: { | 15 | datePicker: { |
... | @@ -23,7 +23,7 @@ module.exports = { | ... | @@ -23,7 +23,7 @@ module.exports = { |
23 | }, | 23 | }, |
24 | nav: { | 24 | nav: { |
25 | loginData: { | 25 | loginData: { |
26 | name: "登陆", | 26 | name: "登入", |
27 | path: "/login", | 27 | path: "/login", |
28 | list: [{ | 28 | list: [{ |
29 | name: "注册", | 29 | name: "注册", |
... | @@ -31,7 +31,7 @@ module.exports = { | ... | @@ -31,7 +31,7 @@ module.exports = { |
31 | type: "noAuth", | 31 | type: "noAuth", |
32 | value: "" | 32 | value: "" |
33 | }, { | 33 | }, { |
34 | name: "登陆", | 34 | name: "登入", |
35 | path: "", | 35 | path: "", |
36 | type: "noAuth", | 36 | type: "noAuth", |
37 | value: "login" | 37 | value: "login" |
... | @@ -58,9 +58,9 @@ module.exports = { | ... | @@ -58,9 +58,9 @@ module.exports = { |
58 | }, | 58 | }, |
59 | navList: [{ | 59 | navList: [{ |
60 | name: "产品介绍", | 60 | name: "产品介绍", |
61 | path: "/empty", | 61 | path: "/product/introduction", |
62 | list: [{ | 62 | list: [{ |
63 | name: "自愿医保基本计划", | 63 | name: "自愿医保计划", |
64 | path: "", | 64 | path: "", |
65 | value: "gotoVHIS" | 65 | value: "gotoVHIS" |
66 | }, | 66 | }, |
... | @@ -119,31 +119,31 @@ module.exports = { | ... | @@ -119,31 +119,31 @@ module.exports = { |
119 | }, | 119 | }, |
120 | { | 120 | { |
121 | name: "公司活动", | 121 | name: "公司活动", |
122 | path: "/empty" | 122 | path: "/company/events" |
123 | }, { | 123 | }, { |
124 | name: "新闻中心", | 124 | name: "新闻中心", |
125 | path: "/news/list" | 125 | path: "/news/list" |
126 | }, | 126 | }, |
127 | { | 127 | { |
128 | name: "企业社会责任", | 128 | name: "企业社会责任", |
129 | path: "/empty" | 129 | path: "/responsibility" |
130 | }, | 130 | }, |
131 | { | 131 | { |
132 | name: "奖项殊荣", | 132 | name: "奖项殊荣", |
133 | path: "/empty" | 133 | path: "/awards" |
134 | } | 134 | } |
135 | ] | 135 | ] |
136 | }, | 136 | }, |
137 | { | 137 | { |
138 | name: "加入我们", | 138 | name: "加入我们", |
139 | path: "/empty", | 139 | path: "/join/us", |
140 | list: [{ | 140 | list: [{ |
141 | name: "企业文化", | 141 | name: "企业文化", |
142 | path: "/empty" | 142 | path: "/corporate/culture" |
143 | }, | 143 | }, |
144 | { | 144 | { |
145 | name: "事业发展机会", | 145 | name: "事业发展机会", |
146 | path: "/empty" | 146 | path: "/career/opportunities" |
147 | }, | 147 | }, |
148 | ] | 148 | ] |
149 | } | 149 | } |
... | @@ -169,12 +169,12 @@ module.exports = { | ... | @@ -169,12 +169,12 @@ module.exports = { |
169 | }, | 169 | }, |
170 | login: { | 170 | login: { |
171 | title: "平安一账通", | 171 | title: "平安一账通", |
172 | loginType1: "账密登陆", | 172 | loginType1: "账密登入", |
173 | loginType2: "动态密码登陆", | 173 | loginType2: "动态密码登入", |
174 | account: "账号", | 174 | account: "账号", |
175 | accountPlaceholder: "请输入证件号/一账通用户名/手机号", | 175 | accountPlaceholder: "请输入证件号/一账通用户名/手机号", |
176 | password: "密码", | 176 | password: "密码", |
177 | passwordPlaceholder: "输入登陆密码", | 177 | passwordPlaceholder: "输入登入密码", |
178 | verifyPlaceholder: "请输入验证码", | 178 | verifyPlaceholder: "请输入验证码", |
179 | agree: "同意", | 179 | agree: "同意", |
180 | protocol: "《平安一账通会员服务协议》", | 180 | protocol: "《平安一账通会员服务协议》", |
... | @@ -200,7 +200,7 @@ module.exports = { | ... | @@ -200,7 +200,7 @@ module.exports = { |
200 | } | 200 | } |
201 | }, | 201 | }, |
202 | session: { | 202 | session: { |
203 | sidExpire: "长时间未操作,为了您的账户安全,请登陆后再操作", | 203 | sidExpire: "长时间未操作,为了您的账户安全,请登入后再操作", |
204 | }, | 204 | }, |
205 | register: { | 205 | register: { |
206 | mobileOptions: [{ | 206 | mobileOptions: [{ |
... | @@ -233,7 +233,7 @@ module.exports = { | ... | @@ -233,7 +233,7 @@ module.exports = { |
233 | e2: "请同意《平安一账通会员服务协议》", | 233 | e2: "请同意《平安一账通会员服务协议》", |
234 | e3: "短信验证码不正确", | 234 | e3: "短信验证码不正确", |
235 | e4: "请先获取短信验证码", | 235 | e4: "请先获取短信验证码", |
236 | e5: "手机号已经被注册,请使用其他手机号注册或直接登陆", | 236 | e5: "手机号已经被注册,请使用其他手机号注册或直接登入", |
237 | e6: "请输入图片验证码", | 237 | e6: "请输入图片验证码", |
238 | e7: "密码长度不能少于8位", | 238 | e7: "密码长度不能少于8位", |
239 | e8: "密码必须同时包含数字、字母、特殊字符", | 239 | e8: "密码必须同时包含数字、字母、特殊字符", |
... | @@ -772,7 +772,7 @@ module.exports = { | ... | @@ -772,7 +772,7 @@ module.exports = { |
772 | 772 | ||
773 | tips: "如您有平安一账通账户,可帮助我们更好地为您提供服务", | 773 | tips: "如您有平安一账通账户,可帮助我们更好地为您提供服务", |
774 | or: "或", | 774 | or: "或", |
775 | login: "登陆", | 775 | login: "登入", |
776 | register: "注册", | 776 | register: "注册", |
777 | baseInfoTip: "您尚未验证客户资料,请", | 777 | baseInfoTip: "您尚未验证客户资料,请", |
778 | infoBtn: "填写", | 778 | infoBtn: "填写", |
... | @@ -789,7 +789,9 @@ module.exports = { | ... | @@ -789,7 +789,9 @@ module.exports = { |
789 | nextPage: "下一页", | 789 | nextPage: "下一页", |
790 | goto: "跳转", | 790 | goto: "跳转", |
791 | per: "第", | 791 | per: "第", |
792 | page: "页" | 792 | page: "页", |
793 | total : "共", | ||
794 | unit : "条" | ||
793 | }, | 795 | }, |
794 | newsDetail: { | 796 | newsDetail: { |
795 | back: "回到列表页", | 797 | back: "回到列表页", | ... | ... |
... | @@ -96,6 +96,7 @@ export default { | ... | @@ -96,6 +96,7 @@ export default { |
96 | // } | 96 | // } |
97 | let item = curData; | 97 | let item = curData; |
98 | let path = item && item.path || ""; | 98 | let path = item && item.path || ""; |
99 | eventBus.$emit(item.path); | ||
99 | if (path) { | 100 | if (path) { |
100 | this.$router.push({ | 101 | this.$router.push({ |
101 | path: path | 102 | path: path |
... | @@ -119,6 +120,7 @@ export default { | ... | @@ -119,6 +120,7 @@ export default { |
119 | } | 120 | } |
120 | }, | 121 | }, |
121 | onLoginHandler() { | 122 | onLoginHandler() { |
123 | eventBus.$emit("login"); | ||
122 | if (this.$route.name == "login") { | 124 | if (this.$route.name == "login") { |
123 | return; | 125 | return; |
124 | } else if (this.$route.name == "register" || this.$route.name == "passwordFind") { | 126 | } else if (this.$route.name == "register" || this.$route.name == "passwordFind") { | ... | ... |
... | @@ -24,19 +24,19 @@ | ... | @@ -24,19 +24,19 @@ |
24 | <div @click="toPage('profile')" class="n-item">{{$t('footer.aboutUs')}}</div> | 24 | <div @click="toPage('profile')" class="n-item">{{$t('footer.aboutUs')}}</div> |
25 | <div @click="toPage('profile')" class="n-item">{{$t('footer.companyIntroduction')}}</div> | 25 | <div @click="toPage('profile')" class="n-item">{{$t('footer.companyIntroduction')}}</div> |
26 | <div @click="toPage('newsList')" class="n-item">{{$t('footer.news')}}</div> | 26 | <div @click="toPage('newsList')" class="n-item">{{$t('footer.news')}}</div> |
27 | <div @click="toPage('empty')" class="n-item">{{$t('footer.joinUs')}}</div> | 27 | <div @click="toPage('joinUs')" class="n-item">{{$t('footer.joinUs')}}</div> |
28 | </div> | 28 | </div> |
29 | <div class="nav-v"> | 29 | <div class="nav-v"> |
30 | <div @click="toPage('empty')" class="n-item">{{$t('footer.helpCenter')}}</div> | 30 | <div @click="toPage('help')" class="n-item">{{$t('footer.helpCenter')}}</div> |
31 | <div @click="toPage('privacy')" class="n-item">{{$t('footer.privacy')}}</div> | 31 | <div @click="toPage('privacy')" class="n-item">{{$t('footer.privacy')}}</div> |
32 | <div @click="toPage('terms')" class="n-item">{{$t('footer.terms')}}</div> | 32 | <div @click="toPage('terms')" class="n-item">{{$t('footer.terms')}}</div> |
33 | <div @click="toPage('personalDataCollection')" class="n-item">{{$t('footer.protocol')}}</div> | 33 | <div @click="toPage('personalDataCollection')" class="n-item">{{$t('footer.protocol')}}</div> |
34 | </div> | 34 | </div> |
35 | <div class="nav-v"> | 35 | <div class="nav-v"> |
36 | <div @click="toPath('/custom/service?q=m1')" class="n-item">{{$t('footer.contactUs')}}</div> | 36 | <div @click="toPath('/custom/service?q=m1')" class="n-item">{{$t('footer.contactUs')}}</div> |
37 | <div @click="toPage('empty')" class="n-item">{{$t('footer.contactInformation')}}</div> | 37 | <div @click="toPage('contactMethod')" class="n-item">{{$t('footer.contactInformation')}}</div> |
38 | <div @click="toPage('empty')" class="n-item">{{$t('footer.service')}}</div> | 38 | <div @click="toPage('serviceNet')" class="n-item">{{$t('footer.service')}}</div> |
39 | <div @click="toPage('empty')" class="n-item">{{$t('footer.map')}}</div> | 39 | <div @click="toPage('map')" class="n-item">{{$t('footer.map')}}</div> |
40 | </div> | 40 | </div> |
41 | </div> | 41 | </div> |
42 | 42 | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <template> | 2 | <template> |
3 | <div class="comp"> | 3 | <div class="comp"> |
4 | <div class="pagination gird-g"> | 4 | <div class="pagination gird-g"> |
5 | <div>共<span class="t1">{{totalItem}}</span>条</div> | 5 | <div>{{$t('pagination.total')}}<span class="t1">{{totalItem}}</span>{{$t('pagination.unit')}}</div> |
6 | <div class="pagination-item"> | 6 | <div class="pagination-item"> |
7 | <span class="pointer" :class="{'pagination-disabled' : cur == 1}"> | 7 | <span class="pointer" :class="{'pagination-disabled' : cur == 1}"> |
8 | <a @click="prevPage()">{{$t('pagination.firstPage')}}</a> | 8 | <a @click="prevPage()">{{$t('pagination.firstPage')}}</a> | ... | ... |
src/pages/company-events/company-events.vue
0 → 100644
src/pages/contact-method/contact-method.vue
0 → 100644
... | @@ -5,6 +5,7 @@ import { | ... | @@ -5,6 +5,7 @@ import { |
5 | } from '@/api/fetch-api.js' | 5 | } from '@/api/fetch-api.js' |
6 | 6 | ||
7 | import { contactMethodCheck } from '@utils/utils.js'; | 7 | import { contactMethodCheck } from '@utils/utils.js'; |
8 | import { setTitle } from '@/utils/utils.js'; | ||
8 | 9 | ||
9 | import Auth from '@components/auth/auth.vue'; | 10 | import Auth from '@components/auth/auth.vue'; |
10 | import modalComp from '@/components/modal-comp/modal-comp.vue'; | 11 | import modalComp from '@/components/modal-comp/modal-comp.vue'; |
... | @@ -181,6 +182,14 @@ export default { | ... | @@ -181,6 +182,14 @@ export default { |
181 | }, | 182 | }, |
182 | userLogin(data) { | 183 | userLogin(data) { |
183 | this.showForm = true; | 184 | this.showForm = true; |
185 | }, | ||
186 | initTitle() { | ||
187 | try { | ||
188 | let title = this.i18n.customService.menu42; | ||
189 | setTitle(title); | ||
190 | } catch (e) { | ||
191 | console.error(e); | ||
192 | } | ||
184 | } | 193 | } |
185 | }, | 194 | }, |
186 | watch: { | 195 | watch: { |
... | @@ -195,5 +204,6 @@ export default { | ... | @@ -195,5 +204,6 @@ export default { |
195 | } | 204 | } |
196 | }, | 205 | }, |
197 | mounted() { | 206 | mounted() { |
207 | this.initTitle(); | ||
198 | } | 208 | } |
199 | } | 209 | } | ... | ... |
1 | import api from '@/api/api' | 1 | |
2 | import { | 2 | import { setTitle } from '@/utils/utils.js'; |
3 | httpGet, | ||
4 | httpPost | ||
5 | } from '@/api/fetch-api.js' | ||
6 | 3 | ||
7 | import PolicyHeadList from "./policy-head-list.vue"; | 4 | import PolicyHeadList from "./policy-head-list.vue"; |
8 | import Auth from '@components/auth/auth.vue'; | 5 | import Auth from '@components/auth/auth.vue'; |
... | @@ -49,8 +46,18 @@ export default { | ... | @@ -49,8 +46,18 @@ export default { |
49 | }, | 46 | }, |
50 | userLogin(data) { | 47 | userLogin(data) { |
51 | this.showForm = true; | 48 | this.showForm = true; |
52 | } | 49 | }, |
50 | initTitle() { | ||
51 | try { | ||
52 | let title = this.i18n.customService.menu41; | ||
53 | setTitle(title); | ||
54 | } catch (e) { | ||
55 | |||
56 | } | ||
57 | } | ||
58 | }, | ||
59 | mounted() { | ||
60 | this.initTitle(); | ||
53 | }, | 61 | }, |
54 | mounted() {}, | ||
55 | created() {} | 62 | created() {} |
56 | } | 63 | } | ... | ... |
... | @@ -4,6 +4,9 @@ import { | ... | @@ -4,6 +4,9 @@ import { |
4 | httpPost | 4 | httpPost |
5 | } from '@/api/fetch-api.js' | 5 | } from '@/api/fetch-api.js' |
6 | 6 | ||
7 | import { getNationsList, getMarryList, getPolicyIdTypeList } from '@/utils/biz.js'; | ||
8 | import { setTitle } from '@/utils/utils.js'; | ||
9 | |||
7 | import Auth from '@components/auth/auth.vue'; | 10 | import Auth from '@components/auth/auth.vue'; |
8 | import PolicyHeadList from "./policy-head-list.vue"; | 11 | import PolicyHeadList from "./policy-head-list.vue"; |
9 | import DatePicker from '@/components/date-picker/date-picker.vue' | 12 | import DatePicker from '@/components/date-picker/date-picker.vue' |
... | @@ -36,6 +39,7 @@ export default { | ... | @@ -36,6 +39,7 @@ export default { |
36 | targetPath: "", | 39 | targetPath: "", |
37 | modalIcon: "succ", | 40 | modalIcon: "succ", |
38 | modalContent: "", | 41 | modalContent: "", |
42 | showIdNumber: false, | ||
39 | } | 43 | } |
40 | }, | 44 | }, |
41 | components: { | 45 | components: { |
... | @@ -60,9 +64,18 @@ export default { | ... | @@ -60,9 +64,18 @@ export default { |
60 | let i18n = this.$i18n.messages[this.$i18n.locale]; | 64 | let i18n = this.$i18n.messages[this.$i18n.locale]; |
61 | return i18n.infomationImprove.candidates.idType; | 65 | return i18n.infomationImprove.candidates.idType; |
62 | }, | 66 | }, |
67 | nationList() { | ||
68 | return getNationsList(); | ||
69 | }, | ||
70 | marryList() { | ||
71 | return getMarryList(); | ||
72 | }, | ||
73 | policyIdTypeList() { | ||
74 | return getPolicyIdTypeList(); | ||
75 | } | ||
63 | }, | 76 | }, |
64 | methods: { | 77 | methods: { |
65 | 78 | ||
66 | showModal(content, icon) { | 79 | showModal(content, icon) { |
67 | icon = !icon || typeof icon === "undefined" ? "succ" : icon; | 80 | icon = !icon || typeof icon === "undefined" ? "succ" : icon; |
68 | this.modalIcon = icon; | 81 | this.modalIcon = icon; |
... | @@ -94,6 +107,10 @@ export default { | ... | @@ -94,6 +107,10 @@ export default { |
94 | this.loading = false; | 107 | this.loading = false; |
95 | if (res) { | 108 | if (res) { |
96 | this.policy = res; | 109 | this.policy = res; |
110 | |||
111 | this.policy.clientBirthday = this.policy.clientBirthday ? this.policy.clientBirthday.split(" ")[0] : ""; | ||
112 | this.policy.insuredBirthday = this.policy.insuredBirthday ? this.policy.insuredBirthday.split(" ")[0] : ""; | ||
113 | |||
97 | let clientName = res.clientNameCn ? res.clientNameCn : res.clientNameEn; | 114 | let clientName = res.clientNameCn ? res.clientNameCn : res.clientNameEn; |
98 | let insuredName = res.insuredNameCn ? res.insuredNameCn : res.insuredNameEn; | 115 | let insuredName = res.insuredNameCn ? res.insuredNameCn : res.insuredNameEn; |
99 | this.policy.clientName = clientName; | 116 | this.policy.clientName = clientName; |
... | @@ -261,10 +278,19 @@ export default { | ... | @@ -261,10 +278,19 @@ export default { |
261 | }, | 278 | }, |
262 | userLogin(data) { | 279 | userLogin(data) { |
263 | this.showForm = true; | 280 | this.showForm = true; |
281 | }, | ||
282 | initTitle() { | ||
283 | try { | ||
284 | let title = this.i18n.customService.menu43; | ||
285 | setTitle(title); | ||
286 | } catch (e) { | ||
287 | |||
288 | } | ||
264 | } | 289 | } |
265 | }, | 290 | }, |
266 | mounted() { | 291 | mounted() { |
267 | this.isOwner = this.$route.query.u == 2 ? false : true; | 292 | this.isOwner = this.$route.query.u == 2 ? false : true; |
293 | this.initTitle(); | ||
268 | }, | 294 | }, |
269 | created() { } | 295 | created() { } |
270 | } | 296 | } | ... | ... |
... | @@ -81,9 +81,7 @@ | ... | @@ -81,9 +81,7 @@ |
81 | <div class="ipt-wrap"> | 81 | <div class="ipt-wrap"> |
82 | <div class="down-arrow"></div> | 82 | <div class="down-arrow"></div> |
83 | <select class="ipt" v-model="data.idType"> | 83 | <select class="ipt" v-model="data.idType"> |
84 | <template v-if="idTypeCandidates"> | 84 | <option v-for="(item,index) in policyIdTypeList" :key="index" :value="item.v">{{item.n}}</option> |
85 | <option v-for="(item,index) in idTypeCandidates" :key="index" :value="item.value">{{item.name}}</option> | ||
86 | </template> | ||
87 | </select> | 85 | </select> |
88 | </div> | 86 | </div> |
89 | </div> | 87 | </div> |
... | @@ -94,7 +92,7 @@ | ... | @@ -94,7 +92,7 @@ |
94 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.NO')}} | 92 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.NO')}} |
95 | </div> | 93 | </div> |
96 | <div class="ipt-wrap"> | 94 | <div class="ipt-wrap"> |
97 | <div class="eye"></div> | 95 | <!-- <div class="eye"></div> --> |
98 | <!-- --> | 96 | <!-- --> |
99 | <!-- <div class="eye eye-act"></div> --> | 97 | <!-- <div class="eye eye-act"></div> --> |
100 | <input class="ipt" type="text" v-model="data.idNumber"> | 98 | <input class="ipt" type="text" v-model="data.idNumber"> |
... | @@ -107,7 +105,8 @@ | ... | @@ -107,7 +105,8 @@ |
107 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.validityPeriod')}} | 105 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.validityPeriod')}} |
108 | </div> | 106 | </div> |
109 | <div class="ipt-wrap"> | 107 | <div class="ipt-wrap"> |
110 | <date-picker class="date" v-model="data.idExpireAt" :filtModel="['history', 'today']"></date-picker> | 108 | <!-- <date-picker class="date" v-model="data.idExpireAt" :filtModel="['history', 'today']"></date-picker> --> |
109 | <input disabled class="ipt disable" type="text" value="-"> | ||
111 | </div> | 110 | </div> |
112 | </div> | 111 | </div> |
113 | 112 | ||
... | @@ -117,7 +116,12 @@ | ... | @@ -117,7 +116,12 @@ |
117 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-earth.png"></div> {{$t('policyChangeInformation.nationality')}} | 116 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-earth.png"></div> {{$t('policyChangeInformation.nationality')}} |
118 | </div> | 117 | </div> |
119 | <div class="ipt-wrap"> | 118 | <div class="ipt-wrap"> |
120 | <input class="ipt" type="text" v-model="data.nature"> | 119 | <!-- <input class="ipt" type="text" v-model="data.nature"> --> |
120 | |||
121 | <div class="down-arrow"></div> | ||
122 | <select class="ipt" v-model="data.nature"> | ||
123 | <option v-for="(item,index) in nationList" :key="index" :value="item.v">{{item.n}}</option> | ||
124 | </select> | ||
121 | </div> | 125 | </div> |
122 | </div> | 126 | </div> |
123 | 127 | ||
... | @@ -137,7 +141,12 @@ | ... | @@ -137,7 +141,12 @@ |
137 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-love.png"></div> {{$t('policyChangeInformation.maritalStatus')}} | 141 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-love.png"></div> {{$t('policyChangeInformation.maritalStatus')}} |
138 | </div> | 142 | </div> |
139 | <div class="ipt-wrap"> | 143 | <div class="ipt-wrap"> |
140 | <input class="ipt" type="text" v-model="data.marriage"> | 144 | <div class="down-arrow"></div> |
145 | |||
146 | <!-- <input class="ipt" type="text" v-model="data.marriage"> --> | ||
147 | <select class="ipt" v-model="data.marriage"> | ||
148 | <option v-for="(item,index) in marryList" :key="index" :value="item.v">{{item.n}}</option> | ||
149 | </select> | ||
141 | </div> | 150 | </div> |
142 | </div> | 151 | </div> |
143 | 152 | ... | ... |
src/pages/help/help.vue
0 → 100644
... | @@ -176,12 +176,11 @@ export default { | ... | @@ -176,12 +176,11 @@ export default { |
176 | if (key == "zh") { | 176 | if (key == "zh") { |
177 | key = "cn"; | 177 | key = "cn"; |
178 | } | 178 | } |
179 | let newList = []; | 179 | let bannerList = []; |
180 | this.bannerCandidateList.forEach(element => { | 180 | this.bannerCandidateList.forEach(element => { |
181 | newList.push(element[key]); | 181 | bannerList.push(element[key]); |
182 | }); | 182 | }); |
183 | console.log(newList); | 183 | this.$set(this, 'bannerList', bannerList); |
184 | this.$set(this, 'bannerList', newList); | ||
185 | }, | 184 | }, |
186 | btnNavigateTo(type, link) { | 185 | btnNavigateTo(type, link) { |
187 | location.href = link; | 186 | location.href = link; | ... | ... |
src/pages/join-us/join-us.vue
0 → 100644
... | @@ -30,7 +30,7 @@ export default { | ... | @@ -30,7 +30,7 @@ export default { |
30 | return { | 30 | return { |
31 | loading: false, | 31 | loading: false, |
32 | key: 'value', | 32 | key: 'value', |
33 | type: 1, // 1:帐密登陆 2:OTP登陆, | 33 | type: 1, // 1:帐密登陆 2:OTP登陆 3:OTP注册密码, |
34 | values: { | 34 | values: { |
35 | // 返回的token,串连整个流程,后台安全校验使用 | 35 | // 返回的token,串连整个流程,后台安全校验使用 |
36 | token: "", | 36 | token: "", |
... | @@ -48,14 +48,14 @@ export default { | ... | @@ -48,14 +48,14 @@ export default { |
48 | tip: "" // 显示的文字 | 48 | tip: "" // 显示的文字 |
49 | }, | 49 | }, |
50 | loginForm: { | 50 | loginForm: { |
51 | userId: "", | ||
52 | password: "", | ||
51 | // userId: "18334783910", | 53 | // userId: "18334783910", |
52 | // password: "qweqwe123", | 54 | // password: "qweqwe123", |
53 | // userId: "18145729463", | 55 | // userId: "18145729463", |
54 | // password: "ccc123!@#", | 56 | // password: "ccc123!@#", |
55 | // userId: "15927024254", | 57 | // userId: "15927024254", |
56 | // password: "a1234567@", | 58 | // password: "a1234567@", |
57 | userId: "", | ||
58 | password: "", | ||
59 | 59 | ||
60 | imageValue: "", | 60 | imageValue: "", |
61 | mobileNo: "", | 61 | mobileNo: "", |
... | @@ -571,8 +571,13 @@ export default { | ... | @@ -571,8 +571,13 @@ export default { |
571 | }, | 571 | }, |
572 | mounted() { | 572 | mounted() { |
573 | this.initData(); | 573 | this.initData(); |
574 | |||
574 | // console.log("PK === ", this.PK) | 575 | // console.log("PK === ", this.PK) |
575 | // console.log("E === ", this.E) | 576 | // console.log("E === ", this.E) |
576 | }, | 577 | }, |
577 | created() { } | 578 | created() { |
579 | eventBus.$on("login", () => { | ||
580 | this.type = 1; | ||
581 | }); | ||
582 | } | ||
578 | } | 583 | } | ... | ... |
... | @@ -38,6 +38,16 @@ | ... | @@ -38,6 +38,16 @@ |
38 | @extend .box-shadow; | 38 | @extend .box-shadow; |
39 | background-color: #ffffff; | 39 | background-color: #ffffff; |
40 | 40 | ||
41 | &-tit2 { | ||
42 | color: $cOrange; | ||
43 | text-align: center; | ||
44 | font-size: $fontSizeTitle; | ||
45 | font-weight: bold; | ||
46 | letter-spacing: .2rem; | ||
47 | text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27); | ||
48 | margin-top: 2rem; | ||
49 | } | ||
50 | |||
41 | &-tit { | 51 | &-tit { |
42 | color: $cOrange; | 52 | color: $cOrange; |
43 | text-align: center; | 53 | text-align: center; |
... | @@ -244,6 +254,17 @@ | ... | @@ -244,6 +254,17 @@ |
244 | padding: 2rem 1rem 3.5rem; | 254 | padding: 2rem 1rem 3.5rem; |
245 | border-bottom: none; | 255 | border-bottom: none; |
246 | 256 | ||
257 | |||
258 | &-tit2 { | ||
259 | color: $cOrange; | ||
260 | text-align: center; | ||
261 | font-size: $fontSizeTitle; | ||
262 | font-weight: bold; | ||
263 | letter-spacing: .2rem; | ||
264 | text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27); | ||
265 | margin-top: 2rem; | ||
266 | } | ||
267 | |||
247 | &-nav { | 268 | &-nav { |
248 | margin: 1.75rem auto 1rem; | 269 | margin: 1.75rem auto 1rem; |
249 | } | 270 | } | ... | ... |
... | @@ -138,11 +138,13 @@ | ... | @@ -138,11 +138,13 @@ |
138 | 138 | ||
139 | <!----> | 139 | <!----> |
140 | <div v-if="type == 3" class="login"> | 140 | <div v-if="type == 3" class="login"> |
141 | <div class="login-tit"> | 141 | <!-- <div class="login-tit"> |
142 | <img v-if="locale == 'zh'" src="@/assets/images/login/login-tit-zh.png"> | 142 | <img v-if="locale == 'zh'" src="@/assets/images/login/login-tit-zh.png"> |
143 | <img v-if="locale == 'tc'" src="@/assets/images/login/login-tit-tc.png"> | 143 | <img v-if="locale == 'tc'" src="@/assets/images/login/login-tit-tc.png"> |
144 | <img v-if="locale == 'en'" class="img-en" src="@/assets/images/login/login-tit-en.png"> | 144 | <img v-if="locale == 'en'" class="img-en" src="@/assets/images/login/login-tit-en.png"> |
145 | </div> | 145 | </div> --> |
146 | |||
147 | <div class="login-tit2">{{$t('register.title2')}}</div> | ||
146 | <div class="gird-g form"> | 148 | <div class="gird-g form"> |
147 | <div class="pure-u-1 form-item"> | 149 | <div class="pure-u-1 form-item"> |
148 | <div class="label"> | 150 | <div class="label"> | ... | ... |
src/pages/map/map.vue
0 → 100644
... | @@ -20,7 +20,9 @@ export default { | ... | @@ -20,7 +20,9 @@ export default { |
20 | page: 1, | 20 | page: 1, |
21 | size: 10 | 21 | size: 10 |
22 | }, | 22 | }, |
23 | total: 0, | 23 | |
24 | totalPage: 0, | ||
25 | totalItem : 0, | ||
24 | news: [] | 26 | news: [] |
25 | } | 27 | } |
26 | }, | 28 | }, |
... | @@ -53,15 +55,15 @@ export default { | ... | @@ -53,15 +55,15 @@ export default { |
53 | this.queryForm.page = page; | 55 | this.queryForm.page = page; |
54 | this.$nextTick(()=>{ | 56 | this.$nextTick(()=>{ |
55 | this.$refs.pagination.selPage(page); | 57 | this.$refs.pagination.selPage(page); |
56 | }); | 58 | }); |
57 | |||
58 | httpGet({ url: api.newsList, data: this.queryForm }).then(res => { | 59 | httpGet({ url: api.newsList, data: this.queryForm }).then(res => { |
59 | let newsList = res.list; | 60 | let newsList = res.list; |
60 | newsList.forEach(element => { | 61 | newsList.forEach(element => { |
61 | element.dateFormat = getDateYMD(element.createAt); | 62 | element.dateFormat = getDateYMD(element.createAt); |
62 | }); | 63 | }); |
63 | this.$set(this, 'news', newsList); | 64 | this.$set(this, 'news', newsList); |
64 | this.total = Math.ceil(res.total / this.queryForm.size); | 65 | this.totalPage = Math.ceil(res.total / this.queryForm.size); |
66 | this.totalItem = res.total; | ||
65 | }); | 67 | }); |
66 | } | 68 | } |
67 | }, | 69 | }, | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | <div class="news-item-date">{{item.dateFormat}}</div> | 15 | <div class="news-item-date">{{item.dateFormat}}</div> |
16 | </div> | 16 | </div> |
17 | </div> | 17 | </div> |
18 | <pagination ref="pagination" @selpage="selPage" :total="total" class="pagination"></pagination> | 18 | <pagination ref="pagination" @selpage="selPage" :total="totalPage" :totalItem="totalItem" class="pagination"></pagination> |
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |
21 | </div> | 21 | </div> | ... | ... |
... | @@ -274,7 +274,7 @@ export default { | ... | @@ -274,7 +274,7 @@ export default { |
274 | case "COMMON_ERROR_E2": | 274 | case "COMMON_ERROR_E2": |
275 | // 身份过期了,请重新登录 | 275 | // 身份过期了,请重新登录 |
276 | this.values.cid = ""; | 276 | this.values.cid = ""; |
277 | this.showModal(this.i18n().passwordReset.cidExpire, "info"); | 277 | // this.showModal(this.i18n().passwordReset.cidExpire, "info"); |
278 | this.step2.idNo = ""; | 278 | this.step2.idNo = ""; |
279 | this.step3.otp = ""; | 279 | this.step3.otp = ""; |
280 | this.step3.error = ""; | 280 | this.step3.error = ""; | ... | ... |
... | @@ -335,6 +335,9 @@ export default { | ... | @@ -335,6 +335,9 @@ export default { |
335 | _showCheckOTPErrTip(msg) { | 335 | _showCheckOTPErrTip(msg) { |
336 | // this.showModal(msg, "info"); | 336 | // this.showModal(msg, "info"); |
337 | // let message = this.i18n.register.tips.e5; | 337 | // let message = this.i18n.register.tips.e5; |
338 | if (msg == "非法操作") { | ||
339 | this._showOTPTip(); | ||
340 | } | ||
338 | this.errorTips.p2 = msg; | 341 | this.errorTips.p2 = msg; |
339 | 342 | ||
340 | // alert(msg); | 343 | // alert(msg); |
... | @@ -514,5 +517,8 @@ export default { | ... | @@ -514,5 +517,8 @@ export default { |
514 | }, | 517 | }, |
515 | created() { | 518 | created() { |
516 | this.initData(); | 519 | this.initData(); |
520 | eventBus.$on("/register", () => { | ||
521 | this.type = 1; | ||
522 | }); | ||
517 | } | 523 | } |
518 | } | 524 | } | ... | ... |
src/pages/responsibility/responsibility.vue
0 → 100644
src/pages/service-net/service-net.vue
0 → 100644
... | @@ -132,6 +132,15 @@ const routes = [ | ... | @@ -132,6 +132,15 @@ const routes = [ |
132 | }, | 132 | }, |
133 | 133 | ||
134 | { | 134 | { |
135 | path: '/product/introduction', | ||
136 | name: 'productIntroduction', | ||
137 | component: () => import('./pages/product-introduction/product-introduction.vue'), | ||
138 | meta: { | ||
139 | title: '平安人寿香港' | ||
140 | } | ||
141 | }, | ||
142 | |||
143 | { | ||
135 | path: '/product', | 144 | path: '/product', |
136 | name: 'product', | 145 | name: 'product', |
137 | component: () => import('./pages/product/product.vue'), | 146 | component: () => import('./pages/product/product.vue'), |
... | @@ -173,6 +182,86 @@ const routes = [ | ... | @@ -173,6 +182,86 @@ const routes = [ |
173 | } | 182 | } |
174 | }, | 183 | }, |
175 | { | 184 | { |
185 | path: '/company/events', | ||
186 | name: 'companyEvents', | ||
187 | component: () => import('./pages/company-events/company-events.vue'), | ||
188 | meta: { | ||
189 | title: '平安人寿香港' | ||
190 | } | ||
191 | }, | ||
192 | { | ||
193 | path: '/responsibility', | ||
194 | name: 'responsibility', | ||
195 | component: () => import('./pages/responsibility/responsibility.vue'), | ||
196 | meta: { | ||
197 | title: '平安人寿香港' | ||
198 | } | ||
199 | }, | ||
200 | { | ||
201 | path: '/awards', | ||
202 | name: 'awards', | ||
203 | component: () => import('./pages/awards/awards.vue'), | ||
204 | meta: { | ||
205 | title: '平安人寿香港' | ||
206 | } | ||
207 | }, | ||
208 | { | ||
209 | path: '/join/us', | ||
210 | name: 'joinUs', | ||
211 | component: () => import('./pages/join-us/join-us.vue'), | ||
212 | meta: { | ||
213 | title: '平安人寿香港' | ||
214 | } | ||
215 | }, | ||
216 | { | ||
217 | path: '/corporate/culture', | ||
218 | name: 'corporateCulture', | ||
219 | component: () => import('./pages/corporate-culture/corporate-culture.vue'), | ||
220 | meta: { | ||
221 | title: '平安人寿香港' | ||
222 | } | ||
223 | }, | ||
224 | { | ||
225 | path: '/career/opportunities', | ||
226 | name: 'careerOpportunities', | ||
227 | component: () => import('./pages/career-opportunities/career-opportunities.vue'), | ||
228 | meta: { | ||
229 | title: '平安人寿香港' | ||
230 | } | ||
231 | }, | ||
232 | { | ||
233 | path: '/help', | ||
234 | name: 'help', | ||
235 | component: () => import('./pages/help/help.vue'), | ||
236 | meta: { | ||
237 | title: '帮助中心' | ||
238 | } | ||
239 | }, | ||
240 | { | ||
241 | path: '/contact/method', | ||
242 | name: 'contactMethod', | ||
243 | component: () => import('./pages/contact-method/contact-method.vue'), | ||
244 | meta: { | ||
245 | title: '联系方式' | ||
246 | } | ||
247 | }, | ||
248 | { | ||
249 | path: '/service/net', | ||
250 | name: 'serviceNet', | ||
251 | component: () => import('./pages/service-net/service-net.vue'), | ||
252 | meta: { | ||
253 | title: '服务网络' | ||
254 | } | ||
255 | }, | ||
256 | { | ||
257 | path: '/map', | ||
258 | name: 'map', | ||
259 | component: () => import('./pages/map/map.vue'), | ||
260 | meta: { | ||
261 | title: '网站地图' | ||
262 | } | ||
263 | }, | ||
264 | { | ||
176 | path: '/empty', | 265 | path: '/empty', |
177 | name: 'empty', | 266 | name: 'empty', |
178 | component: () => import('./pages/empty/empty.vue'), | 267 | component: () => import('./pages/empty/empty.vue'), |
... | @@ -223,16 +312,14 @@ router.beforeEach((to, from, next) => { | ... | @@ -223,16 +312,14 @@ router.beforeEach((to, from, next) => { |
223 | // lang对象为当前语言配置 见 en.js,tc.js,zh.js | 312 | // lang对象为当前语言配置 见 en.js,tc.js,zh.js |
224 | let title = ""; | 313 | let title = ""; |
225 | lang.nav.navList.forEach(e1 => { | 314 | lang.nav.navList.forEach(e1 => { |
226 | if (e1.list && e1.list.length > 0) { | 315 | if (e1.path == to.fullPath) { |
316 | title = e1.name; | ||
317 | } else if (e1.list && e1.list.length > 0) { | ||
227 | e1.list.forEach(e2 => { | 318 | e1.list.forEach(e2 => { |
228 | if(e2.path == to.fullPath){ | 319 | if (e2.path == to.fullPath) { |
229 | title = e2.name; | 320 | title = e2.name; |
230 | } | 321 | } |
231 | }); | 322 | }); |
232 | } else { | ||
233 | if(e1.path == to.fullPath){ | ||
234 | title = e1.name; | ||
235 | } | ||
236 | } | 323 | } |
237 | }); | 324 | }); |
238 | // to参数可以获取要前往页面的信息,包括参数 | 325 | // to参数可以获取要前往页面的信息,包括参数 | ... | ... |
1 | let nationsList = [ | ||
2 | { "v": "10", "n": "HONG KONG,CHINA" }, | ||
3 | { "v": "28", "n": "CHINA" }, | ||
4 | { "v": "401", "n": "AFGHANISTAN" }, | ||
5 | { "v": "403", "n": "ALBANIA" }, | ||
6 | { "v": "405", "n": "ALGERIA" }, | ||
7 | { "v": "407", "n": "AMERICAN SAMOA" }, | ||
8 | { "v": "409", "n": "ANDORRA" }, | ||
9 | { "v": "411", "n": "ANGOLA" }, | ||
10 | { "v": "413", "n": "ANGUILLA" }, | ||
11 | { "v": "415", "n": "ANTARCTICA" }, | ||
12 | { "v": "417", "n": "ANTIGUA AND BARBUDA" }, | ||
13 | { "v": "419", "n": "ARGENTINA" }, | ||
14 | { "v": "421", "n": "ARMENIA" }, | ||
15 | { "v": "423", "n": "ARUBA" }, | ||
16 | { "v": "425", "n": "AUSTRALIA" }, | ||
17 | { "v": "427", "n": "AUSTRIA" }, | ||
18 | { "v": "429", "n": "AZERBAIJAN" }, | ||
19 | { "v": "431", "n": "BAHAMAS" }, | ||
20 | { "v": "433", "n": "BAHRAIN" }, | ||
21 | { "v": "435", "n": "BANGLADESH" }, | ||
22 | { "v": "437", "n": "BARBADOS" }, | ||
23 | { "v": "439", "n": "BELARUS" }, | ||
24 | { "v": "441", "n": "BELGIUM" }, | ||
25 | { "v": "443", "n": "BELIZE" }, | ||
26 | { "v": "445", "n": "BENIN" }, | ||
27 | { "v": "447", "n": "BERMUDA" }, | ||
28 | { "v": "449", "n": "BHUTAN" }, | ||
29 | { "v": "451", "n": "BOLIVIA" }, | ||
30 | { "v": "453", "n": "BOSNIA AND HERZEGOVINA" }, | ||
31 | { "v": "455", "n": "BOTSWANA" }, | ||
32 | { "v": "457", "n": "BOUVET ISLAND" }, | ||
33 | { "v": "459", "n": "BRAZIL" }, | ||
34 | { "v": "461", "n": "BRUNEI DARUSSALAM" }, | ||
35 | { "v": "463", "n": "BULGARIA" }, | ||
36 | { "v": "465", "n": "BURKINA FASO" }, | ||
37 | { "v": "467", "n": "BURUNDI" }, | ||
38 | { "v": "469", "n": "CAMBODIA" }, | ||
39 | { "v": "471", "n": "CAMEROON" }, | ||
40 | { "v": "473", "n": "CANADA" }, | ||
41 | { "v": "475", "n": "CAPE VERDE" }, | ||
42 | { "v": "477", "n": "CAYMAN ISLANDS" }, | ||
43 | { "v": "479", "n": "CENTRAL AFRICAN REPUBLIC" }, | ||
44 | { "v": "481", "n": "CHAD" }, | ||
45 | { "v": "483", "n": "CHILE" }, | ||
46 | { "v": "485", "n": "CHRISTMAS ISLAND" }, | ||
47 | { "v": "487", "n": "COCOS (KEELING) ISLANDS" }, | ||
48 | { "v": "489", "n": "COLOMBIA" }, | ||
49 | { "v": "491", "n": "COMOROS" }, | ||
50 | { "v": "493", "n": "CONGO, REPUBLIC OF" }, | ||
51 | { "v": "495", "n": "COOK ISLANDS" }, | ||
52 | { "v": "497", "n": "COSTA RICA" }, | ||
53 | { "v": "499", "n": "COTE D'IVOIRE" }, | ||
54 | { "v": "501", "n": "CROATIA" }, | ||
55 | { "v": "503", "n": "CUBA" }, | ||
56 | { "v": "505", "n": "CYPRUS" }, | ||
57 | { "v": "507", "n": "CZECH REPUBLIC" }, | ||
58 | { "v": "509", "n": "DENMARK" }, | ||
59 | { "v": "511", "n": "DJIBOUTI" }, | ||
60 | { "v": "513", "n": "DOMINICA" }, | ||
61 | { "v": "515", "n": "EAST TIMOR" }, | ||
62 | { "v": "517", "n": "ECUADOR" }, | ||
63 | { "v": "519", "n": "EGYPT" }, | ||
64 | { "v": "521", "n": "EL SALVADOR" }, | ||
65 | { "v": "523", "n": "EQUATORIAL GUINEA" }, | ||
66 | { "v": "525", "n": "ERITREA" }, | ||
67 | { "v": "527", "n": "ESTONIA" }, | ||
68 | { "v": "529", "n": "ETHIOPIA" }, | ||
69 | { "v": "531", "n": "FALKLAND ISLANDS" }, | ||
70 | { "v": "533", "n": "FAROE ISLANDS" }, | ||
71 | { "v": "535", "n": "FIJI" }, | ||
72 | { "v": "537", "n": "FINLAND" }, | ||
73 | { "v": "539", "n": "FRANCE" }, | ||
74 | { "v": "541", "n": "GABON" }, | ||
75 | { "v": "543", "n": "GAMBIA" }, | ||
76 | { "v": "545", "n": "GEORGIA" }, | ||
77 | { "v": "547", "n": "GERMANY" }, | ||
78 | { "v": "549", "n": "GHANA" }, | ||
79 | { "v": "551", "n": "GIBRALTAR" }, | ||
80 | { "v": "553", "n": "GREECE" }, | ||
81 | { "v": "555", "n": "GREENLAND" }, | ||
82 | { "v": "557", "n": "GRENADA" }, | ||
83 | { "v": "559", "n": "GUADELOUPE" }, | ||
84 | { "v": "561", "n": "GUAM" }, | ||
85 | { "v": "563", "n": "GUATEMALA" }, | ||
86 | { "v": "565", "n": "GUINEA" }, | ||
87 | { "v": "567", "n": "GUINEA-BISSAU" }, | ||
88 | { "v": "569", "n": "GUYANA" }, | ||
89 | { "v": "571", "n": "HAITI" }, | ||
90 | { "v": "573", "n": "HEARD AND MC DONALD ISLANDS" }, | ||
91 | { "v": "575", "n": "HOLY SEE (VATICAN CITY STATE)" }, | ||
92 | { "v": "577", "n": "HONDURAS" }, | ||
93 | { "v": "579", "n": "HUNGARY" }, | ||
94 | { "v": "581", "n": "ICELAND" }, | ||
95 | { "v": "583", "n": "INDIA" }, | ||
96 | { "v": "585", "n": "INDONESIA" }, | ||
97 | { "v": "587", "n": "IRAN" }, | ||
98 | { "v": "589", "n": "IRAQ" }, | ||
99 | { "v": "591", "n": "IRELAND" }, | ||
100 | { "v": "593", "n": "ISRAEL" }, | ||
101 | { "v": "595", "n": "ITALY" }, | ||
102 | { "v": "597", "n": "JAMAICA" }, | ||
103 | { "v": "599", "n": "JAPAN" }, | ||
104 | { "v": "601", "n": "JORDAN" }, | ||
105 | { "v": "603", "n": "KAZAKHSTAN" }, | ||
106 | { "v": "605", "n": "KENYA" }, | ||
107 | { "v": "607", "n": "KIRIBATI" }, | ||
108 | { "v": "609", "n": "KOSOVO" }, | ||
109 | { "v": "611", "n": "KUWAIT" }, | ||
110 | { "v": "613", "n": "KYRGYZSTAN" }, | ||
111 | { "v": "615", "n": "LAOS" }, | ||
112 | { "v": "617", "n": "LATVIA" }, | ||
113 | { "v": "619", "n": "LEBANON" }, | ||
114 | { "v": "621", "n": "LESOTHO" }, | ||
115 | { "v": "623", "n": "LIBERIA" }, | ||
116 | { "v": "625", "n": "LIBYAN ARAB JAMAHIRIYA" }, | ||
117 | { "v": "627", "n": "LIECHTENSTEIN" }, | ||
118 | { "v": "629", "n": "LITHUANIA" }, | ||
119 | { "v": "631", "n": "LUXEMBOURG" }, | ||
120 | { "v": "633", "n": "MADAGASCAR" }, | ||
121 | { "v": "635", "n": "MALAWI" }, | ||
122 | { "v": "637", "n": "MALAYSIA" }, | ||
123 | { "v": "639", "n": "MALDIVES" }, | ||
124 | { "v": "641", "n": "MALI" }, | ||
125 | { "v": "643", "n": "MALTA" }, | ||
126 | { "v": "645", "n": "MARSHALL ISLANDS" }, | ||
127 | { "v": "647", "n": "MARTINIQUE" }, | ||
128 | { "v": "649", "n": "MAURITANIA" }, | ||
129 | { "v": "651", "n": "MAURITIUS" }, | ||
130 | { "v": "653", "n": "MAYOTTE" }, | ||
131 | { "v": "655", "n": "MEXICO" }, | ||
132 | { "v": "657", "n": "MICRONESIA" }, | ||
133 | { "v": "659", "n": "MONACO" }, | ||
134 | { "v": "661", "n": "MONGOLIA" }, | ||
135 | { "v": "663", "n": "MONTENEGRO" }, | ||
136 | { "v": "665", "n": "MONTSERRAT" }, | ||
137 | { "v": "667", "n": "MOROCCO" }, | ||
138 | { "v": "669", "n": "MOZAMBIQUE" }, | ||
139 | { "v": "671", "n": "MYANMAR" }, | ||
140 | { "v": "673", "n": "NAMIBIA" }, | ||
141 | { "v": "675", "n": "NAURU" }, | ||
142 | { "v": "677", "n": "NEPAL" }, | ||
143 | { "v": "679", "n": "NETHERLANDS" }, | ||
144 | { "v": "681", "n": "NEW CALEDONIA" }, | ||
145 | { "v": "683", "n": "NEW ZEALAND" }, | ||
146 | { "v": "685", "n": "NICARAGUA" }, | ||
147 | { "v": "687", "n": "NIGER" }, | ||
148 | { "v": "689", "n": "NIGERIA" }, | ||
149 | { "v": "691", "n": "NIUE" }, | ||
150 | { "v": "693", "n": "NORFOLK ISLAND" }, | ||
151 | { "v": "695", "n": "NORTH KOREA" }, | ||
152 | { "v": "697", "n": "NORTHERN MARIANA ISLANDS" }, | ||
153 | { "v": "699", "n": "NORWAY" }, | ||
154 | { "v": "701", "n": "OMAN" }, | ||
155 | { "v": "703", "n": "PAKISTAN" }, | ||
156 | { "v": "705", "n": "PALAU" }, | ||
157 | { "v": "707", "n": "PALESTINE" }, | ||
158 | { "v": "709", "n": "PANAMA" }, | ||
159 | { "v": "711", "n": "PAPUA NEW GUINEA" }, | ||
160 | { "v": "713", "n": "PARAGUAY" }, | ||
161 | { "v": "715", "n": "PERU" }, | ||
162 | { "v": "717", "n": "PHILIPPINES" }, | ||
163 | { "v": "719", "n": "PITCAIRN" }, | ||
164 | { "v": "721", "n": "POLAND" }, | ||
165 | { "v": "723", "n": "PORTUGAL" }, | ||
166 | { "v": "725", "n": "PUERTO RICO" }, | ||
167 | { "v": "727", "n": "QATAR" }, | ||
168 | { "v": "729", "n": "REPUBLIC OF MACEDONI" }, | ||
169 | { "v": "731", "n": "REPUBLIC OF MOLDOVA" }, | ||
170 | { "v": "733", "n": "REUNION" }, | ||
171 | { "v": "735", "n": "ROMANIA" }, | ||
172 | { "v": "737", "n": "RUSSIA" }, | ||
173 | { "v": "739", "n": "RWANDA" }, | ||
174 | { "v": "741", "n": "SAINT KITTS AND NEVIS" }, | ||
175 | { "v": "743", "n": "SAINT LUCIA" }, | ||
176 | { "v": "745", "n": "SAINT VINCENT AND THE GRENADINES" }, | ||
177 | { "v": "747", "n": "SAMOA" }, | ||
178 | { "v": "749", "n": "SAN MARINO" }, | ||
179 | { "v": "751", "n": "SAO TOME AND PRINCIPE" }, | ||
180 | { "v": "753", "n": "SAUDI ARABIA" }, | ||
181 | { "v": "755", "n": "SENEGAL" }, | ||
182 | { "v": "757", "n": "SERBIA" }, | ||
183 | { "v": "759", "n": "SERBIA AND MONTENEGRO" }, | ||
184 | { "v": "761", "n": "SEYCHELLES" }, | ||
185 | { "v": "763", "n": "SIERRA LEONE" }, | ||
186 | { "v": "765", "n": "SINGAPORE" }, | ||
187 | { "v": "767", "n": "SLOVAKIA" }, | ||
188 | { "v": "769", "n": "SLOVENIA" }, | ||
189 | { "v": "771", "n": "SOLOMON ISLANDS" }, | ||
190 | { "v": "773", "n": "SOMALIA" }, | ||
191 | { "v": "775", "n": "SOUTH AFRICA" }, | ||
192 | { "v": "777", "n": "SOUTH GEORGIA AND THE SOUTH SANDWICH ISL" }, | ||
193 | { "v": "779", "n": "SOUTH KOREA" }, | ||
194 | { "v": "781", "n": "SOUTH YEMEN" }, | ||
195 | { "v": "783", "n": "SPAIN" }, | ||
196 | { "v": "785", "n": "SRI LANKA" }, | ||
197 | { "v": "787", "n": "ST. HELENA" }, | ||
198 | { "v": "789", "n": "ST. PIERRE AND MIQUELON" }, | ||
199 | { "v": "791", "n": "STATELESS" }, | ||
200 | { "v": "793", "n": "SUDAN" }, | ||
201 | { "v": "795", "n": "SURINAME" }, | ||
202 | { "v": "797", "n": "SVALBARD AND JAN MAYEN ISLANDS" }, | ||
203 | { "v": "799", "n": "SWAZILAND" }, | ||
204 | { "v": "801", "n": "SWEDEN" }, | ||
205 | { "v": "803", "n": "SWITZERLAND" }, | ||
206 | { "v": "805", "n": "SYRIAN ARAB REPUBLIC" }, | ||
207 | { "v": "807", "n": "TAIWAN,CHINA" }, | ||
208 | { "v": "809", "n": "TAJIKISTAN" }, | ||
209 | { "v": "811", "n": "THAILAND" }, | ||
210 | { "v": "813", "n": "TIMOR-LESTE" }, | ||
211 | { "v": "815", "n": "TOGO" }, | ||
212 | { "v": "817", "n": "TOKELAU" }, | ||
213 | { "v": "819", "n": "TONGA" }, | ||
214 | { "v": "821", "n": "TRINIDAD AND TOBAGO" }, | ||
215 | { "v": "823", "n": "TUNISIA" }, | ||
216 | { "v": "825", "n": "TURKEY" }, | ||
217 | { "v": "827", "n": "TURKMENISTAN" }, | ||
218 | { "v": "829", "n": "TURKS AND CAICOS ISLANDS" }, | ||
219 | { "v": "831", "n": "TUVALU" }, | ||
220 | { "v": "833", "n": "UGANDA" }, | ||
221 | { "v": "835", "n": "UKRAINE" }, | ||
222 | { "v": "837", "n": "UNITED ARAB EMIRATES" }, | ||
223 | { "v": "839", "n": "UNITED KINGDOM" }, | ||
224 | { "v": "841", "n": "UNITED REPUBLIC OF TANZANIA" }, | ||
225 | { "v": "843", "n": "UPPER VOLTA" }, | ||
226 | { "v": "845", "n": "URUGUAY" }, | ||
227 | { "v": "847", "n": "UZBEKISTAN" }, | ||
228 | { "v": "849", "n": "VANUATU" }, | ||
229 | { "v": "851", "n": "VENEZUELA" }, | ||
230 | { "v": "853", "n": "VIETNAM" }, | ||
231 | { "v": "855", "n": "VIRGIN ISLANDS" }, | ||
232 | { "v": "857", "n": "WALLIS AND FUTUNA ISLANDS" }, | ||
233 | { "v": "859", "n": "WESTERN SAHARA" }, | ||
234 | { "v": "861", "n": "YEMEN" }, | ||
235 | { "v": "863", "n": "YUGOSLAVIA" }, | ||
236 | { "v": "865", "n": "ZAIRE" }, | ||
237 | { "v": "867", "n": "ZAMBIA" }, | ||
238 | { "v": "869", "n": "ZIMBABWE" }, | ||
239 | { "v": "119", "n": "MACAU,CHINA" }, | ||
240 | { "v": "225", "n": "UNITED STATES" }, | ||
241 | { "v": "494", "n": "CONGO, DEMOCRATIC REP" }, | ||
242 | { "v": "906", "n": "REPUBLIC OF SOUTH SUDAN" } | ||
243 | ] | ||
244 | |||
245 | let marryList = [ | ||
246 | { "v": "1", "n": "已婚" }, | ||
247 | { "v": "2", "n": "未婚" }, | ||
248 | { "v": "5", "n": "其他" } | ||
249 | ]; | ||
250 | |||
251 | let policyIdTypeList = [ | ||
252 | { "v": "1", "n": "身份证(旧)" }, | ||
253 | { "v": "36", "n": "身份证(新)" }, | ||
254 | { "v": "33", "n": "香港身份证" }, | ||
255 | { "v": "40", "n": "护照" }, | ||
256 | { "v": "9", "n": "其他" }, | ||
257 | ]; | ||
258 | |||
1 | /** | 259 | /** |
2 | * | 260 | * |
3 | * @param {string} lan 语言 | 261 | * @param {string} lan 语言 |
... | @@ -27,4 +285,27 @@ export function getDateYMD(timestamp) { | ... | @@ -27,4 +285,27 @@ export function getDateYMD(timestamp) { |
27 | let d = day.getDate(); | 285 | let d = day.getDate(); |
28 | let s = y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d); | 286 | let s = y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d); |
29 | return s; | 287 | return s; |
288 | } | ||
289 | |||
290 | |||
291 | export function getNationsList() { | ||
292 | return nationsList; | ||
293 | }; | ||
294 | |||
295 | export function getMarryList() { | ||
296 | return marryList; | ||
297 | }; | ||
298 | |||
299 | export function getPolicyIdTypeList(){ | ||
300 | return policyIdTypeList; | ||
301 | } | ||
302 | |||
303 | export function getNationsByCode(code) { | ||
304 | let n = ""; | ||
305 | nationsList.forEach(element => { | ||
306 | if (element.v == code) { | ||
307 | n = element.n; | ||
308 | } | ||
309 | }); | ||
310 | return n; | ||
30 | } | 311 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment