改为只有盘点

just-order
LAPTOP-S9HJSOEB\昊天 2 years ago
parent 6be06cf32c
commit 8ec6c116d0

@ -3,8 +3,8 @@
"type": -1, "type": -1,
"rights": "duojiSystem", "rights": "duojiSystem",
"children": [{ "children": [{
"description": "实时视频流", "description": "盘点管理",
"type": 1, "type": 1,
"rights": "realTimeMonitoring" "rights": "checkManage"
}] }]
} }

@ -71,7 +71,12 @@ export default {
parents = this.$router.options.routes[0].children.filter(ele => { parents = this.$router.options.routes[0].children.filter(ele => {
if ( if (
this.userInfo.permissionList.some(item => { this.userInfo.permissionList.some(item => {
return item.rights === ele.name && ele.name.indexOf("center") < 0 && item.rights === ele.name && ele.name.indexOf("ioTable") < 0 && item.rights === ele.name && ele.name.indexOf("realTimeMonitoringModel") < 0 && item.rights === ele.name && ele.name.indexOf("plcStatus") < 0 && item.rights === ele.name && ele.name.indexOf("cameraManageModel") < 0 && item.rights === ele.name && ele.name.indexOf("checkOperation") < 0; return item.rights === ele.name && ele.name.indexOf("center") < 0
&& item.rights === ele.name && ele.name.indexOf("ioTable") < 0
&& item.rights === ele.name && ele.name.indexOf("realTimeMonitoringModel") < 0
&& item.rights === ele.name && ele.name.indexOf("plcStatus") < 0
&& item.rights === ele.name && ele.name.indexOf("cameraManageModel") < 0
&& item.rights === ele.name && ele.name.indexOf("checkOperation") < 0;
}) })
) { ) {
return ele; return ele;

@ -2,7 +2,7 @@
<div class="wrap"> <div class="wrap">
<!-- 面包屑下标题 --> <!-- 面包屑下标题 -->
<keep-alive include="checkManage" exclude="realTimeMonitoring,videoWall,cameraManage,cameraManageModel"> <keep-alive include="checkManage" exclude="checkManage,videoWall,cameraManage,cameraManageModel">
<router-view class="table" /> <router-view class="table" />
</keep-alive> </keep-alive>

@ -25,57 +25,57 @@ VueRouter.prototype.push = function push(location) {
const routes = [{ const routes = [{
path: '/', path: '/',
redirect: { redirect: {
name: 'realTimeMonitoring' name: 'checkManage'
}, },
component: () => import('@/views/index'), component: () => import('@/views/index'),
children: [ children: [
{ // {
path: 'videoWall1`', // path: 'videoWall1`',
name: 'videoWall1`', // name: 'videoWall1`',
meta: { // meta: {
icon: 'desktop', // icon: 'desktop',
name: '视频墙1' // name: '视频墙1'
}, // },
component: () => import('@/views/videoWall/index'), // component: () => import('@/views/videoWall/index'),
}, // },
{ // {
path: 'videoWall2', // path: 'videoWall2',
name: 'videoWall2', // name: 'videoWall2',
meta: { // meta: {
icon: 'desktop', // icon: 'desktop',
name: '视频墙2' // name: '视频墙2'
}, // },
component: () => import('@/views/videoWall2/index'), // component: () => import('@/views/videoWall2/index'),
}, // },
{ // {
path: 'realTimeMonitoring', // path: 'realTimeMonitoring',
name: 'realTimeMonitoring', // name: 'realTimeMonitoring',
meta: { // meta: {
icon: 'video-camera', // icon: 'video-camera',
name: '实时视频流' // name: '实时视频流'
}, // },
component: () => import('@/views/realTimeMonitoring/index'), // component: () => import('@/views/realTimeMonitoring/index'),
}, // },
{ // {
path: 'historyMonitoring', // path: 'historyMonitoring',
name: 'historyMonitoring', // name: 'historyMonitoring',
meta: { // meta: {
icon: 'book', // icon: 'book',
name: '历史数据' // name: '历史数据'
}, // },
component: () => import('@/views/historyMonitoring/index') // component: () => import('@/views/historyMonitoring/index')
}, // },
{ // {
path: 'alarmLog', // path: 'alarmLog',
name: 'alarmLog', // name: 'alarmLog',
meta: { // meta: {
icon: 'eye', // icon: 'eye',
name: '告警日志' // name: '告警日志'
}, // },
component: () => import('@/views/alarmVideos/alarmLog') // component: () => import('@/views/alarmVideos/alarmLog')
}, // },
{ {
path: 'checkManage', path: 'checkManage',
name: 'checkManage', name: 'checkManage',
@ -128,66 +128,66 @@ const routes = [{
}, },
component: () => import('@/views/roadwayManage/index') component: () => import('@/views/roadwayManage/index')
}, },
{
path: 'cameraManage',
name: 'cameraManage',
meta: {
icon: 'camera',
name: '球机管理'
},
component: () => import('@/views/cameraManage/index')
},
{
path: 'cameraManage/model',
name: 'cameraManageModel',
meta: {
name: '球机管理测试or配置'
},
component: () => import('@/views/cameraManage/model')
},
// { // {
// path: 'productSpecManage', // path: 'cameraManage',
// name: 'productSpecManage', // name: 'cameraManage',
// meta: { // meta: {
// icon: 'pushpin', // icon: 'camera',
// name: '品规管理' // name: '球机管理'
// }, // },
// component: () => import('@/views/productSpecManage/index') // component: () => import('@/views/cameraManage/index')
// }, // },
// { // {
// path: 'repertoryManage', // path: 'cameraManage/model',
// name: 'repertoryManage', // name: 'cameraManageModel',
// meta: { // meta: {
// icon: 'wallet', // name: '球机管理测试or配置'
// name: '库存管理'
// }, // },
// component: () => import('@/views/repertoryManage/index') // component: () => import('@/views/cameraManage/model')
// }, // },
// // {
// // path: 'productSpecManage',
// // name: 'productSpecManage',
// // meta: {
// // icon: 'pushpin',
// // name: '品规管理'
// // },
// // component: () => import('@/views/productSpecManage/index')
// // },
// // {
// // path: 'repertoryManage',
// // name: 'repertoryManage',
// // meta: {
// // icon: 'wallet',
// // name: '库存管理'
// // },
// // component: () => import('@/views/repertoryManage/index')
// // },
{ // {
path: 'cameraManage/ioTable', // path: 'cameraManage/ioTable',
name: 'ioTable', // name: 'ioTable',
meta: { // meta: {
name: 'IO表配置' // name: 'IO表配置'
}, // },
component: () => import('@/views/cameraManage/ioTable') // component: () => import('@/views/cameraManage/ioTable')
}, // },
{ // {
path: 'center', // path: 'center',
name: 'center', // name: 'center',
meta: { // meta: {
name: '个人中心' // name: '个人中心'
}, // },
component: () => import('@/views/center') // component: () => import('@/views/center')
}, // },
{ // {
path: 'plcStatus', // path: 'plcStatus',
name: 'plcStatus', // name: 'plcStatus',
meta: { // meta: {
name: 'PLC状态' // name: 'PLC状态'
}, // },
component: () => import('@/views/plcStatus') // component: () => import('@/views/plcStatus')
} // }
] ]
}, },
{ {

@ -3,7 +3,7 @@
<div> <div>
<div class="carousel-page"> <div class="carousel-page">
<div class="carousel-page-content"> <div class="carousel-page-content" style="margin-bottom: 150px;">
<div class="img-box"> <div class="img-box">
<ul> <ul>
<li> <li>
@ -11,7 +11,7 @@
位置: 位置:
</span> </span>
<span class="img-box-value"> <span class="img-box-value">
{{checkObj.streetName}}-{{checkObj.direction }}-{{checkObj.column}}-{{checkObj.row}} {{checkObj.streetName}}-{{direction==1?"左":"右"}}-{{side==1?"浅":"深"}}-{{checkObj.column}}-{{checkObj.row}}
</span> </span>
</li> </li>
<li> <li>
@ -34,7 +34,7 @@
</ul> </ul>
</div> </div>
<div class="img-box"> <div class="img-box">
<viewer v-if="checkObj.checkPic" style="height: 300px"> <viewer v-if="checkObj.checkPic" style="height: 600px">
<img :src="imgUrl+checkObj.checkPic"/> <img :src="imgUrl+checkObj.checkPic"/>
</viewer> </viewer>
<div <div
@ -44,17 +44,6 @@
</div> </div>
<p>盘点图1</p> <p>盘点图1</p>
</div> </div>
<div class="img-box">
<viewer v-if="checkObj.checkPic" style="height: 300px">
<img :src="imgUrl+checkObj.checkPic2"/>
</viewer>
<div
v-else
style="display: flex;align-items: center;justify-content: center;width:100px;height:300px;">
暂无图片
</div>
<p>盘点图2</p>
</div>
<!-- <div class="img-box"> <!-- <div class="img-box">
<viewer v-if="checkObj.preoperationPic" style="height:300px;"> <viewer v-if="checkObj.preoperationPic" style="height:300px;">
<img :src="imgUrl+checkObj.preoperationPic"/> <img :src="imgUrl+checkObj.preoperationPic"/>
@ -93,7 +82,7 @@
@click="checkfalse(checkObj.row,checkObj.column,checkObj.shelveId,index)" @click="checkfalse(checkObj.row,checkObj.column,checkObj.shelveId,index)"
>核对错误 >核对错误
</a-button> </a-button>
<a-button class="btn" <a-button class="btn"
type="primary" type="primary"
style="background:#29c12b;border-color:#29c12b;" style="background:#29c12b;border-color:#29c12b;"
@click="nextOne(checkObj.id)"> @click="nextOne(checkObj.id)">
@ -143,11 +132,7 @@ export default {
}, },
{ {
label:'托盘码', label:'托盘码',
key: 'wmsCode' key: 'trayCode'
},
{
label:'托盘码描述',
key: 'wmsCategory'
}, },
{ {
label:'盘点时间', label:'盘点时间',

@ -27,7 +27,7 @@ export default {
methods: { methods: {
go(index) { go(index) {
if (index === 0) { if (index === 0) {
this.$router.push({ name: "realTimeMonitoring" }); this.$router.push({ name: "checkManage" });
} else { } else {
this.$message.info("暂未开放"); this.$message.info("暂未开放");
} }

Loading…
Cancel
Save