#
whycq
2024-07-17 bbfe4dd2532bbd41c7f9d26285c7f0aae84ccb54
#
1个文件已修改
55 ■■■■■ 已修改文件
pages/home/menuHome.vue 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/menuHome.vue
@@ -32,55 +32,6 @@
                        // cuIcon: 'pullup',
                        url: `/phyz/stationManage/stationManage`
                    },
                    // {
                    //     title: '入出库管理',
                    //     name: 'inOutManage',
                    //     color: 'purple',
                    //     // cuIcon: 'pullup',
                    //     url: `/home/inOutManage`
                    // },
                    {
                        title: '单据管理',
                        name: 'ordeManage',
                        color: 'mauve',
                        // cuIcon: 'pullup',
                        url: `/home/orderManage`
                    },
                    {
                        title: '库位管理',
                        name: 'locManage',
                        color: 'blue',
                        // cuIcon: 'pullup',
                        url: `/home/locMastManage`
                    },
                    {
                        title: '任务管理',
                        name: 'ordeManage',
                        color: 'olive',
                        // cuIcon: 'pullup',
                        url: `/home/wrkMastManage`
                    },
                    // {
                    //     title: '测试',
                    //     name: 'testView',
                    //     color: 'blue',
                    //     // cuIcon: 'pullup',
                    //     url: `/home/testView`
                    // },
                    /* {
                        title: '平仓管理',
                        name: 'basicStore',
                        color: 'mauve',
                        // cuIcon: 'pullup',
                        url: '/home/basicStore'
                    },
                    {
                        title: '其他',
                        name: 'other',
                        color: 'brown',
                        // cuIcon: 'pullup',
                        url: '/home/other'
                    }, */
                    {
                        title: '退出登录',
                        name: 'logOut',
@@ -96,7 +47,7 @@
        onShow() {
            this.baseUrl = uni.getStorageSync('baseUrl');
            this.token = uni.getStorageSync('token');
            this.getAuth()
            this.getAuth(1,'0')
            // this.backGroundRepeat()
        },
        methods: {
@@ -111,11 +62,11 @@
                    i++
                }
            },
            getAuth() {
            getAuth(lev,uid) {
                let that = this
                uni.request({
                    url: that.baseUrl + '/menu/pda/auth',
                    data: {level:1,id: '0'},
                    data: {level:lev,id: uid},
                    header: { 'token': uni.getStorageSync('token') },
                    method: 'POST',
                    success(res) {