policy-change-guide.js
1.06 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import { setTitle } from '@/utils/utils.js';
import PolicyHeadList from "./policy-head-list.vue";
import Auth from '@components/auth/auth.vue';
export default {
data() {
return {
showForm: false,
key: 'value'
}
},
components: {
PolicyHeadList,
Auth
},
computed: {
locale() {
return this.$i18n.locale || 'tc';
},
i18n() {
return this.$i18n.messages && this.$i18n.locale ? this.$i18n.messages[this.$i18n.locale] : {};
},
},
methods: {
toContactUs() {
this.$router.push({
path: "/custom/service",
query: {
q: "m1"
}
});
},
onProjectHandler(item) {
if (item.projectType == 1) {
this.$router.push({
path: item.path,
query: item.query
})
}
},
initData() {},
userLogout() {
this.showForm = false;
},
userLogin(data) {
this.showForm = true;
},
initTitle() {
try {
let title = this.i18n.customService.menu41;
setTitle(title);
} catch (e) {
}
}
},
mounted() {
this.initTitle();
},
created() {}
}