us-tax-form-upload-comp.js
732 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
/**
* 组件描述:上传美国税务表格
*/
export default {
props: {
// 是否显示组件
// 1、顯示事故類型;2、顯示時間
// 是否显示组件
visible: {
type: Boolean,
default: false
}
},
data() {
return {
iobsKey: "asdfs"
};
},
components: {},
computed: {
locale() {
return this.$i18n.locale || "tc";
}
},
methods: {
initData() {},
onOverLayHandler() {
console.log("onOverLayHandler");
this.$emit("close");
},
toDownLoadTaxForm() {
window.open("https://www.irs.gov/");
},
onUploadHandler() {},
onSubmitHandler() {
this.$emit("submit", {
iobsKey: this.iobsKey
});
}
},
mounted() {},
created() {
this.initData();
},
watch: {}
};