2023-03-22 17:30:09 +08:00
|
|
|
|
<template>
|
2023-03-21 17:56:02 +08:00
|
|
|
|
<view class="content">
|
|
|
|
|
|
<view class="header">
|
|
|
|
|
|
<view class="header-item">
|
2023-04-03 09:48:53 +08:00
|
|
|
|
<text class="header-user">登录人员:{{userName}}</text>
|
2023-03-21 17:56:02 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="header-item header-r">
|
|
|
|
|
|
<button class="header-button" @click="toExit">退 出</button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2023-03-23 18:55:02 +08:00
|
|
|
|
<view class="nav-wrapper">
|
|
|
|
|
|
<view class="nav-wrap">
|
2023-04-04 16:14:34 +08:00
|
|
|
|
<view class="nav-item" @click="toJump('/pages/management/inscanerror')">
|
2023-04-06 11:04:41 +08:00
|
|
|
|
<text class="nav-text">扫码异常</text>
|
2023-03-23 18:55:02 +08:00
|
|
|
|
</view>
|
2023-04-06 11:06:08 +08:00
|
|
|
|
<!-- <view class="nav-item" @click="toJump('/pages/management/outscanerror')">
|
|
|
|
|
|
<text class="nav-text">出箱扫码异常</text>
|
|
|
|
|
|
</view> -->
|
2023-04-04 16:14:34 +08:00
|
|
|
|
<view class="nav-item" @click="toJump('/pages/management/hcxcheck')">
|
|
|
|
|
|
<text class="nav-text">缓存线盘点</text>
|
2023-03-23 18:55:02 +08:00
|
|
|
|
</view>
|
2023-04-04 16:14:34 +08:00
|
|
|
|
<!-- <view class="nav-item" @click="toJump('/pages/management/agvinerror')">
|
|
|
|
|
|
<text class="nav-text">AGV入箱异常</text>
|
2023-03-23 18:55:02 +08:00
|
|
|
|
</view>
|
2023-04-04 16:14:34 +08:00
|
|
|
|
<view class="nav-item" @click="toJump('/pages/management/AgvOutError')">
|
|
|
|
|
|
<text class="nav-text">AGV出箱异常</text>
|
2023-03-30 10:45:00 +08:00
|
|
|
|
</view> -->
|
2023-04-04 16:14:34 +08:00
|
|
|
|
<view class="nav-item" @click="toJump('/pages/management/HcxOutError')">
|
|
|
|
|
|
<text class="nav-text">缓存线出箱异常</text>
|
2023-03-23 18:55:02 +08:00
|
|
|
|
</view>
|
2023-04-04 16:14:34 +08:00
|
|
|
|
<view class="nav-item" @click="toJump('/pages/management/ZlOperate')">
|
2023-04-06 11:04:41 +08:00
|
|
|
|
<text class="nav-text">任务操作</text>
|
2023-03-23 18:55:02 +08:00
|
|
|
|
</view>
|
2023-04-04 16:14:34 +08:00
|
|
|
|
<view class="nav-item" @click="toJump('/pages/management/HcxErrorHandle')">
|
|
|
|
|
|
<text class="nav-text">缓存线异常处理</text>
|
2023-03-23 18:55:02 +08:00
|
|
|
|
</view>
|
2023-03-21 19:13:34 +08:00
|
|
|
|
</view>
|
2023-03-22 17:30:09 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
export default {
|
|
|
|
|
|
data() {
|
2023-04-03 09:48:53 +08:00
|
|
|
|
return {
|
|
|
|
|
|
userName: this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).username : ''
|
|
|
|
|
|
}
|
2023-03-22 17:30:09 +08:00
|
|
|
|
},
|
|
|
|
|
|
onLoad() {
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2023-03-21 17:56:02 +08:00
|
|
|
|
toJump(path) {
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: path
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
toExit () {
|
|
|
|
|
|
this.$store.dispatch('delUserInfo', '')
|
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|
|
url: '/pages/login/login'
|
|
|
|
|
|
})
|
2023-03-22 17:30:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
2023-03-21 19:13:34 +08:00
|
|
|
|
<style lang="stylus" scoped>
|
2023-03-22 17:30:09 +08:00
|
|
|
|
@import '../../common/style/mixin.styl';
|
2023-03-21 19:13:34 +08:00
|
|
|
|
.content
|
|
|
|
|
|
_fj()
|
2023-03-22 17:30:09 +08:00
|
|
|
|
_wh(100%, 100%)
|
2023-03-21 19:13:34 +08:00
|
|
|
|
flex-direction column
|
|
|
|
|
|
.header
|
|
|
|
|
|
_fj()
|
2023-03-24 17:18:00 +08:00
|
|
|
|
_wh(100%,42px)
|
2023-03-21 19:13:34 +08:00
|
|
|
|
background-color $red
|
|
|
|
|
|
.header-item
|
2023-03-24 17:18:00 +08:00
|
|
|
|
width calc(50% - 30px)
|
2023-03-21 19:13:34 +08:00
|
|
|
|
padding 0 10px
|
|
|
|
|
|
.header-user
|
2023-03-24 17:18:00 +08:00
|
|
|
|
_font(16px, 42px, #fff,,)
|
2023-03-21 19:13:34 +08:00
|
|
|
|
.header-r
|
|
|
|
|
|
_fj(flex-end)
|
|
|
|
|
|
/deep/ .header-r uni-button
|
|
|
|
|
|
margin-right 0
|
|
|
|
|
|
.header-button
|
2023-03-24 17:18:00 +08:00
|
|
|
|
_wh(auto, 34px)
|
|
|
|
|
|
_font(16px,34px,#333,,)
|
2023-03-23 18:55:02 +08:00
|
|
|
|
.nav-wrapper
|
2023-03-24 17:18:00 +08:00
|
|
|
|
_wh(calc(100% - 15px),calc(100% - 72px))
|
2023-03-24 17:30:25 +08:00
|
|
|
|
padding 15px 15%
|
2023-03-23 18:55:02 +08:00
|
|
|
|
background-color #fff
|
2023-03-24 17:18:00 +08:00
|
|
|
|
border-radius 12px
|
|
|
|
|
|
margin 15px auto
|
2023-03-21 19:13:34 +08:00
|
|
|
|
.nav-wrap
|
|
|
|
|
|
_fj(flex-start)
|
|
|
|
|
|
align-content center
|
|
|
|
|
|
flex-wrap wrap
|
2023-03-23 18:55:02 +08:00
|
|
|
|
_wh(100%, 100%)
|
2023-03-21 19:13:34 +08:00
|
|
|
|
.nav-item
|
|
|
|
|
|
_fj(center)
|
|
|
|
|
|
align-items center
|
2023-03-24 17:30:25 +08:00
|
|
|
|
_wh(30%,68px)
|
2023-03-24 17:18:00 +08:00
|
|
|
|
border-radius 12px
|
2023-03-21 19:13:34 +08:00
|
|
|
|
border 10px solid #acbec6
|
2023-03-24 17:18:00 +08:00
|
|
|
|
margin 15px 5% 15px 0
|
2023-03-21 19:13:34 +08:00
|
|
|
|
.nav-item:nth-child(3n)
|
|
|
|
|
|
margin-right 0
|
|
|
|
|
|
.nav-text
|
2023-03-24 17:30:25 +08:00
|
|
|
|
_font(18px, 24px, #333,,)
|
2023-03-24 17:18:00 +08:00
|
|
|
|
letter-spacing: 2px
|
2023-03-21 17:56:02 +08:00
|
|
|
|
</style>
|