新框架PDA前端(祈禧6月初版本)
南骏 池
3 天以前 3ff569f00d22919e47cab8fb6d7d9867fd115d97
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
 
var vm = new Vue({
    el: '#app',
    data: function () {
        return {
            isLoading: false,
            active: 0,
            cardType: "",
            userInfo: {
                "loginGuid": '',
                "loginAccount": '',
                "loginName": '',
            },
            tabs: [
                {
                    name: '待办列表',
                    img: "../Images/sm.png",
                    path: '/home/kcpg'
                },
                {
                    name: '采购入库单',
                    img: "../Images/cgrkd.png",
                    path: '/home/kcpg'
                },
                {
                    name: '来料检验',
                    img: "../Images/cgrkd.png",
                    path: '/home/kcpg'
                }, {
                    name: '检验管理',
                    img: "../Images/yj.png",
                    path: '/home/kcpg'
                }, {
                    name: '巡检管理',
                    img: "../Images/yj.png",
                    path: '/home/kcpg'
                }
                , {
                    name: '巡检管理',
                    img: "../Images/yj.png",
                    path: '/home/kcpg'
                }, {
                    name: '打印设置',
                    img: "../Images/print.png",
                    path: '/H5/Config.aspx'
                }
            ]
        }
    },
    mounted() {
        var that = this;
        this.userInfo = {
            loginGuid: this.GetLoginInfor().loginGuid,
            loginAccount: this.GetLoginInfor().loginAccount,
            loginName: Cookies.get('loginName'),
        };
    },
    methods: {
        goOut() {
            var that = this;
            this.$dialog.confirm({
                title: '友情提示',
                message: '确定退出当前账号吗?',
                confirmButtonText: '确定',
                cancelButtonText: '取消'
            })
                .then(() => {
                    window.location.href = "/UserLogin.aspx";
                })
                .catch(() => {
                    // on cancel
                });
        },
        goMsg() {
            var that = this;
            window.location.href = "/H5/Message.aspx";
        },
        goOrg() {
            var that = this;
            this.$dialog.confirm({
                title: '友情提示',
                message: '确定切换当前组织?',
                confirmButtonText: '确定',
                cancelButtonText: '取消'
            })
                .then(() => {
                    window.location.href = "/UserLogin.aspx";
                })
                .catch(() => {
                    // on cancel
                });
        },
    }
})