部分内容修改
Showing
3 changed files
with
14 additions
and
3 deletions
1 | import { mapState } from "vuex"; | ||
1 | import api from '@/api/api' | 2 | import api from '@/api/api' |
2 | import { | 3 | import { |
3 | httpGet, | 4 | httpGet, |
... | @@ -87,6 +88,9 @@ export default { | ... | @@ -87,6 +88,9 @@ export default { |
87 | ClarmsUpload | 88 | ClarmsUpload |
88 | }, | 89 | }, |
89 | computed: { | 90 | computed: { |
91 | ...mapState({ | ||
92 | userInfo: state => state.userInfo | ||
93 | }), | ||
90 | lan() { | 94 | lan() { |
91 | return this.$i18n.locale; | 95 | return this.$i18n.locale; |
92 | }, | 96 | }, |
... | @@ -125,6 +129,12 @@ export default { | ... | @@ -125,6 +129,12 @@ export default { |
125 | // console.log("b10:",b10); | 129 | // console.log("b10:",b10); |
126 | 130 | ||
127 | return b1 || b2 || b3 || b4 || b5 || b6 || b7 || b8 || b9 || b10; | 131 | return b1 || b2 || b3 || b4 || b5 || b6 || b7 || b8 || b9 || b10; |
132 | }, | ||
133 | isLogin() { | ||
134 | if (this.userInfo && this.userInfo.name) { | ||
135 | return true; | ||
136 | } | ||
137 | return false; | ||
128 | } | 138 | } |
129 | }, | 139 | }, |
130 | methods: { | 140 | methods: { | ... | ... |
... | @@ -137,7 +137,7 @@ | ... | @@ -137,7 +137,7 @@ |
137 | </div> | 137 | </div> |
138 | </template> | 138 | </template> |
139 | </div> | 139 | </div> |
140 | <template v-if="(data.HT41 && data.HT41.length > 0) && (data.HT26 && data.HT26.length > 0)"> | 140 | <template v-if="data.contactDate"> |
141 | <hr class="hr2" v-if="data.amount > 0"> | 141 | <hr class="hr2" v-if="data.amount > 0"> |
142 | <div class="bottom-tip orange mt20">{{$t('clarms.step2.label17')}}</div> | 142 | <div class="bottom-tip orange mt20">{{$t('clarms.step2.label17')}}</div> |
143 | <div class="bottom-tip gray mt10">{{$t('clarms.step2.tip1')}}</div> | 143 | <div class="bottom-tip gray mt10">{{$t('clarms.step2.tip1')}}</div> | ... | ... |
... | @@ -29,7 +29,7 @@ export default { | ... | @@ -29,7 +29,7 @@ export default { |
29 | data: { | 29 | data: { |
30 | // firstName: "玛丽", | 30 | // firstName: "玛丽", |
31 | // lastName: "何", | 31 | // lastName: "何", |
32 | // birthDate: "1999-07-15", | 32 | // birthDate: "15-07-1999", |
33 | // idNo: "H4099030", | 33 | // idNo: "H4099030", |
34 | // idType: "40" | 34 | // idType: "40" |
35 | 35 | ||
... | @@ -95,8 +95,9 @@ export default { | ... | @@ -95,8 +95,9 @@ export default { |
95 | return; | 95 | return; |
96 | } | 96 | } |
97 | this.loading = true; | 97 | this.loading = true; |
98 | let param = this.data; | 98 | let param = JSON.parse(JSON.stringify(this.data)); |
99 | param.birthDate = ddMMyyyy2yyyyMMdd(param.birthDate); | 99 | param.birthDate = ddMMyyyy2yyyyMMdd(param.birthDate); |
100 | console.log(param); | ||
100 | httpPost({ url: api.getCidByVerify, data: param }).then(res => { | 101 | httpPost({ url: api.getCidByVerify, data: param }).then(res => { |
101 | if (res) { | 102 | if (res) { |
102 | let cid = res; | 103 | let cid = res; | ... | ... |
-
Please register or sign in to post a comment