This commit is contained in:
2022-10-10 19:58:07 +08:00
parent e7806048b7
commit 1702a7c6a3
9 changed files with 142 additions and 42 deletions

View File

@@ -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'
})