dfd6242d by simon

上传补充 三语

1 parent 3a39e0dc
......@@ -723,7 +723,13 @@ module.exports = {
Address:"Address",
Mail:"Please enter",
},
success: "Success",
tax:{
tt:"IRS website",
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 ",
t2:". For questions about US tax regulations, please contact your tax advisor",
},
success: "Successfully submitted",
uploadSuccess: "Uploaded successfully",
},
policyChangeInformation: {
title: "Change of Customer Information",
......
......@@ -733,7 +733,13 @@ module.exports = {
Address:"詳細地址",
Mail:"請輸入",
},
success: "更新成功"
tax:{
tt:"美國國稅局網站",
t1:"閣下遞交的更改聯繫地址/電話申请國家爲美國。爲符合美國稅務條例要求,請同時填妥W8/W9表格並遞交給我們,W8/W9表格可於",
t2:"下載。有關美國稅務條例疑問,請聯絡您的稅務顧問。",
},
success: "遞交申請成功",
uploadSuccess:"上傳成功"
},
policyChangeInformation: {
title: "客戶資料變更",
......
......@@ -733,7 +733,13 @@ module.exports = {
Address:"详细地址",
Mail:"请输入",
},
success: "更新成功"
tax:{
tt:"美国国税局网站",
t1:"阁下递交的更改联系地址/电话申请国家为美国。为符合美国税务条例要求,请同时填妥W8/W9表格并递交给我们,W8/W9表格可于",
t2:"下载。有关美国税务条例疑问,请联络您的税务顾问。",
},
success: "递交申请成功",
uploadSuccess:"上传成功"
},
policyChangeInformation: {
title: "客户资料变更",
......
......@@ -64,6 +64,7 @@ export default {
modalSimpleVisiable: false,
modalVisiable: false,
modalVisiableTimeoutIndex: 0, //定时隐藏索引
usTaxFormUploadCompVisible: false,
targetPath: "",
modalIcon: "succ",
......@@ -128,11 +129,18 @@ export default {
this.modalVisiable = true;
},
modalCallback() {
clearTimeout(this.modalVisiableTimeoutIndex);
this.modalVisiable = false;
},
showSuccess() {
this.showModal(this.i18n.policyChangeContact.success);
},
showUploadSuccess() {
this.showModal(this.i18n.policyChangeContact.uploadSuccess);
this.modalVisiableTimeoutIndex = setTimeout(() => {
this.modalVisiable = false;
}, 3000);
},
// 提交前准备
updateContactsHandler() {
if (this.submitBtnDisabled) {
......@@ -197,6 +205,7 @@ export default {
})
.then(() => {
this.loading = false;
this.usTaxFormUploadCompVisible = false;
this.showSuccess();
})
.catch(err => {
......@@ -318,7 +327,6 @@ export default {
// 获取省份
this.provinceList = getCnProvinceList(this.$i18n.locale);
if (this.dataInit) {
return;
}
......
......@@ -5,7 +5,7 @@
<input type="password" style="display: none;" />
<auth @onLogin="userLogin" @onLogout="userLogout" :checkProfile="true" ref="auth" :tipModel="'m2'"></auth>
<modal-comp :visible="modalVisiable" :show-confirm="false" :icon="modalIcon" :content="modalContent" :confirm="modalCallback" :overlay="modalCallback"></modal-comp>
<us-tax-form-upload-comp :visible="usTaxFormUploadCompVisible" @close="usTaxFormUploadCompVisible = false" @submit="onUsTaxSubmit"></us-tax-form-upload-comp>
<us-tax-form-upload-comp :visible="usTaxFormUploadCompVisible" @close="usTaxFormUploadCompVisible = false" @submit="onUsTaxSubmit" @uploadsuccess="showUploadSuccess"></us-tax-form-upload-comp>
<template v-if="showForm">
<policy-head-list :multiSelectable="true" @onSelect="handlePolicySelect"></policy-head-list>
......
......@@ -63,9 +63,8 @@ export default {
formdata({ url: api.uploadFileIobs, myFormData: myFormData, sid: true })
.then(res => {
this.loading = false;
this.fileName = file.name;
this.iobsKey = res;
console.log("res:",res);
this.$emit("uploadsuccess");
})
.catch(err => {
this.loading = false;
......
......@@ -50,7 +50,7 @@
}
.message {
font-size: $fontSize-M2;
font-size: 0;
margin-left: 48px;
font-weight: bold;
color: $cOrange2;
......@@ -61,6 +61,10 @@
text-align-last: left;
span {
font-size: $fontSize-M2;
}
.link{
cursor: pointer;
text-decoration: underline;
}
......
......@@ -10,17 +10,19 @@
<img src="@/assets/images/clarms/info.png">
</div>
<div class="message" :class="{'lsp':locale != 'en'}">
阁下更改联系地址/电话国家为美国。为符合美国税务条例要求,请同时填妥W8/W9表格并递交给我们,W8/W9表格可于<span @click="toDownLoadTaxForm">美国国税局网站</span>下载。有关美国税务条例疑问,请联络您的税务顾问。
<span>{{$t('policyChangeContact.tax.t1')}}</span>
<span class="link" @click="toDownLoadTaxForm">{{$t('policyChangeContact.tax.tt')}}</span>
<span>{{$t('policyChangeContact.tax.t2')}}</span>
</div>
</div>
<div class="modal-form">
{{fileName}}
<!-- {{fileName}} -->
</div>
<div class="modal-btn-wrap">
<div class="btn">
<input type="file" @change="selectImgs" ref="file">
<van-loading v-if="loading" />上载表格</div>
<van-loading v-if="loading" />上载表格</div>
<div @click="onSubmitHandler" class="btn" :class="{'disable':iobsKey ==''}">提交</div>
</div>
......