| | |
| | | // 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', |
| | |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.getAuth() |
| | | this.getAuth(1,'0') |
| | | // this.backGroundRepeat() |
| | | }, |
| | | methods: { |
| | |
| | | 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) { |