登录
This commit is contained in:
@@ -18,20 +18,31 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {handRequest} from '@/utils/api.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
menu: [{url: '/pages/ProductManage/EmptyPipeInStore', name: '空管入库'}, {url: '/pages/ProductManage/ZjCasing', name: '子卷套管'}, {url: '/pages/ProductManage/ZjDelivery', name: '子卷配送'}, {url: '/pages/ProductManage/ZjOutStore', name: '子卷出站'}, {url: '/pages/task/painttask', name: '任务生成'}, {url: '/pages/task/sitemanage', name: '站点管理'}, {url: '/pages/task/pointrelease', name: '点位取放货确认'}, {url: '/pages/task/taskmanage', name: '任务管理'}, {url: '/pages/task/zlmanage', name: '指令管理'}]
|
||||
};
|
||||
},
|
||||
mounted () {
|
||||
this._handRequest()
|
||||
},
|
||||
methods: {
|
||||
async _handRequest () {
|
||||
let res = await handRequest()
|
||||
uni.showModal({
|
||||
content: res.desc,
|
||||
showCancel: false
|
||||
})
|
||||
},
|
||||
toPage (url) {
|
||||
uni.redirectTo({
|
||||
url: url
|
||||
})
|
||||
},
|
||||
Quit () {
|
||||
this.$store.dispatch('setSignOut')
|
||||
this.$store.dispatch('delUserInfo')
|
||||
uni.redirectTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user