dfd6242d by simon

上传补充 三语

1 parent 3a39e0dc
...@@ -723,7 +723,13 @@ module.exports = { ...@@ -723,7 +723,13 @@ module.exports = {
723 Address:"Address", 723 Address:"Address",
724 Mail:"Please enter", 724 Mail:"Please enter",
725 }, 725 },
726 success: "Success", 726 tax:{
727 tt:"IRS website",
728 t1:"The country of your request for change of correspondence address / phone no. is the United States of America. To comply with the requirements of the US tax regulations, please complete the W8 / W9 form and submit it to us at the same time. The W8 / W9 form can be downloaded from the ",
729 t2:". For questions about US tax regulations, please contact your tax advisor",
730 },
731 success: "Successfully submitted",
732 uploadSuccess: "Uploaded successfully",
727 }, 733 },
728 policyChangeInformation: { 734 policyChangeInformation: {
729 title: "Change of Customer Information", 735 title: "Change of Customer Information",
......
...@@ -733,7 +733,13 @@ module.exports = { ...@@ -733,7 +733,13 @@ module.exports = {
733 Address:"詳細地址", 733 Address:"詳細地址",
734 Mail:"請輸入", 734 Mail:"請輸入",
735 }, 735 },
736 success: "更新成功" 736 tax:{
737 tt:"美國國稅局網站",
738 t1:"閣下遞交的更改聯繫地址/電話申请國家爲美國。爲符合美國稅務條例要求,請同時填妥W8/W9表格並遞交給我們,W8/W9表格可於",
739 t2:"下載。有關美國稅務條例疑問,請聯絡您的稅務顧問。",
740 },
741 success: "遞交申請成功",
742 uploadSuccess:"上傳成功"
737 }, 743 },
738 policyChangeInformation: { 744 policyChangeInformation: {
739 title: "客戶資料變更", 745 title: "客戶資料變更",
......
...@@ -733,7 +733,13 @@ module.exports = { ...@@ -733,7 +733,13 @@ module.exports = {
733 Address:"详细地址", 733 Address:"详细地址",
734 Mail:"请输入", 734 Mail:"请输入",
735 }, 735 },
736 success: "更新成功" 736 tax:{
737 tt:"美国国税局网站",
738 t1:"阁下递交的更改联系地址/电话申请国家为美国。为符合美国税务条例要求,请同时填妥W8/W9表格并递交给我们,W8/W9表格可于",
739 t2:"下载。有关美国税务条例疑问,请联络您的税务顾问。",
740 },
741 success: "递交申请成功",
742 uploadSuccess:"上传成功"
737 }, 743 },
738 policyChangeInformation: { 744 policyChangeInformation: {
739 title: "客户资料变更", 745 title: "客户资料变更",
......
...@@ -64,6 +64,7 @@ export default { ...@@ -64,6 +64,7 @@ export default {
64 64
65 modalSimpleVisiable: false, 65 modalSimpleVisiable: false,
66 modalVisiable: false, 66 modalVisiable: false,
67 modalVisiableTimeoutIndex: 0, //定时隐藏索引
67 usTaxFormUploadCompVisible: false, 68 usTaxFormUploadCompVisible: false,
68 targetPath: "", 69 targetPath: "",
69 modalIcon: "succ", 70 modalIcon: "succ",
...@@ -128,11 +129,18 @@ export default { ...@@ -128,11 +129,18 @@ export default {
128 this.modalVisiable = true; 129 this.modalVisiable = true;
129 }, 130 },
130 modalCallback() { 131 modalCallback() {
132 clearTimeout(this.modalVisiableTimeoutIndex);
131 this.modalVisiable = false; 133 this.modalVisiable = false;
132 }, 134 },
133 showSuccess() { 135 showSuccess() {
134 this.showModal(this.i18n.policyChangeContact.success); 136 this.showModal(this.i18n.policyChangeContact.success);
135 }, 137 },
138 showUploadSuccess() {
139 this.showModal(this.i18n.policyChangeContact.uploadSuccess);
140 this.modalVisiableTimeoutIndex = setTimeout(() => {
141 this.modalVisiable = false;
142 }, 3000);
143 },
136 // 提交前准备 144 // 提交前准备
137 updateContactsHandler() { 145 updateContactsHandler() {
138 if (this.submitBtnDisabled) { 146 if (this.submitBtnDisabled) {
...@@ -197,6 +205,7 @@ export default { ...@@ -197,6 +205,7 @@ export default {
197 }) 205 })
198 .then(() => { 206 .then(() => {
199 this.loading = false; 207 this.loading = false;
208 this.usTaxFormUploadCompVisible = false;
200 this.showSuccess(); 209 this.showSuccess();
201 }) 210 })
202 .catch(err => { 211 .catch(err => {
...@@ -318,7 +327,6 @@ export default { ...@@ -318,7 +327,6 @@ export default {
318 // 获取省份 327 // 获取省份
319 this.provinceList = getCnProvinceList(this.$i18n.locale); 328 this.provinceList = getCnProvinceList(this.$i18n.locale);
320 329
321
322 if (this.dataInit) { 330 if (this.dataInit) {
323 return; 331 return;
324 } 332 }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <input type="password" style="display: none;" /> 5 <input type="password" style="display: none;" />
6 <auth @onLogin="userLogin" @onLogout="userLogout" :checkProfile="true" ref="auth" :tipModel="'m2'"></auth> 6 <auth @onLogin="userLogin" @onLogout="userLogout" :checkProfile="true" ref="auth" :tipModel="'m2'"></auth>
7 <modal-comp :visible="modalVisiable" :show-confirm="false" :icon="modalIcon" :content="modalContent" :confirm="modalCallback" :overlay="modalCallback"></modal-comp> 7 <modal-comp :visible="modalVisiable" :show-confirm="false" :icon="modalIcon" :content="modalContent" :confirm="modalCallback" :overlay="modalCallback"></modal-comp>
8 <us-tax-form-upload-comp :visible="usTaxFormUploadCompVisible" @close="usTaxFormUploadCompVisible = false" @submit="onUsTaxSubmit"></us-tax-form-upload-comp> 8 <us-tax-form-upload-comp :visible="usTaxFormUploadCompVisible" @close="usTaxFormUploadCompVisible = false" @submit="onUsTaxSubmit" @uploadsuccess="showUploadSuccess"></us-tax-form-upload-comp>
9 <template v-if="showForm"> 9 <template v-if="showForm">
10 <policy-head-list :multiSelectable="true" @onSelect="handlePolicySelect"></policy-head-list> 10 <policy-head-list :multiSelectable="true" @onSelect="handlePolicySelect"></policy-head-list>
11 11
......
...@@ -63,9 +63,8 @@ export default { ...@@ -63,9 +63,8 @@ export default {
63 formdata({ url: api.uploadFileIobs, myFormData: myFormData, sid: true }) 63 formdata({ url: api.uploadFileIobs, myFormData: myFormData, sid: true })
64 .then(res => { 64 .then(res => {
65 this.loading = false; 65 this.loading = false;
66 this.fileName = file.name;
67 this.iobsKey = res; 66 this.iobsKey = res;
68 console.log("res:",res); 67 this.$emit("uploadsuccess");
69 }) 68 })
70 .catch(err => { 69 .catch(err => {
71 this.loading = false; 70 this.loading = false;
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
50 } 50 }
51 51
52 .message { 52 .message {
53 font-size: $fontSize-M2; 53 font-size: 0;
54 margin-left: 48px; 54 margin-left: 48px;
55 font-weight: bold; 55 font-weight: bold;
56 color: $cOrange2; 56 color: $cOrange2;
...@@ -61,6 +61,10 @@ ...@@ -61,6 +61,10 @@
61 text-align-last: left; 61 text-align-last: left;
62 62
63 span { 63 span {
64 font-size: $fontSize-M2;
65 }
66
67 .link{
64 cursor: pointer; 68 cursor: pointer;
65 text-decoration: underline; 69 text-decoration: underline;
66 } 70 }
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
10 <img src="@/assets/images/clarms/info.png"> 10 <img src="@/assets/images/clarms/info.png">
11 </div> 11 </div>
12 <div class="message" :class="{'lsp':locale != 'en'}"> 12 <div class="message" :class="{'lsp':locale != 'en'}">
13 阁下更改联系地址/电话国家为美国。为符合美国税务条例要求,请同时填妥W8/W9表格并递交给我们,W8/W9表格可于<span @click="toDownLoadTaxForm">美国国税局网站</span>下载。有关美国税务条例疑问,请联络您的税务顾问。 13 <span>{{$t('policyChangeContact.tax.t1')}}</span>
14 <span class="link" @click="toDownLoadTaxForm">{{$t('policyChangeContact.tax.tt')}}</span>
15 <span>{{$t('policyChangeContact.tax.t2')}}</span>
14 </div> 16 </div>
15 17
16 </div> 18 </div>
17 <div class="modal-form"> 19 <div class="modal-form">
18 {{fileName}} 20 <!-- {{fileName}} -->
19 </div> 21 </div>
20 <div class="modal-btn-wrap"> 22 <div class="modal-btn-wrap">
21 <div class="btn"> 23 <div class="btn">
......