RGV状态查询
This commit is contained in:
@@ -240,6 +240,13 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/DispatchManage/RGVStatus",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/WarehouseManage/LabelBind",
|
||||
"style" :
|
||||
|
||||
67
pages/DispatchManage/RGVStatus.vue
Normal file
67
pages/DispatchManage/RGVStatus.vue
Normal file
@@ -0,0 +1,67 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<nav-bar title="RGV状态查询"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper grid-wraper">
|
||||
<view class="slide_new">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>设备编码</th>
|
||||
<th>X坐标</th>
|
||||
<th>Y坐标</th>
|
||||
<th>电量</th>
|
||||
<th>故障名称</th>
|
||||
<th>楼层</th>
|
||||
<th>木箱号</th>
|
||||
<th>是否有货</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i">
|
||||
<td>{{e.device_code}}</td>
|
||||
<td>{{e.x}}</td>
|
||||
<td>{{e.y}}</td>
|
||||
<td>{{e.power}}</td>
|
||||
<td>{{e.error_name}}</td>
|
||||
<td>{{e.map_id}}</td>
|
||||
<td>{{e.pallet}}</td>
|
||||
<td>{{['无货', '有货'][Number(e.move)]}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import {rgvStatusQuery} from '@/utils/getData2.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
dataList: []
|
||||
};
|
||||
},
|
||||
created () {
|
||||
this._rgvStatusQuery()
|
||||
},
|
||||
methods: {
|
||||
/** 初始化查询 */
|
||||
async _rgvStatusQuery () {
|
||||
let res = await rgvStatusQuery()
|
||||
this.dataList = [...res.data]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.zd_content
|
||||
padding-bottom 0
|
||||
</style>
|
||||
@@ -39,7 +39,6 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
menu: [{url: '/pages/ProductManage/SboProdProgress', name: '生箔生产进度'}, {url: '/pages/ProductManage/SboProcess', name: '生箔工序'}, {url: '/pages/ProductManage/BakeProcess', name: '烘烤工序'}, {url: '/pages/ProductManage/ManmadeBake', name: '人工烘烤'}, {url: '/pages/ProductManage/PointManage', name: '点位管理'}, {url: '/pages/ProductManage/EmptyPipeInStore', name: '空管入库'}, {url: '/pages/ProductManage/EmptyPipeOutStore', name: '空管出库'}, {url: '/pages/ProductManage/ZjCasing', name: '空轴套管'}, {url: '/pages/ProductManage/ZjDelivery', name: '空轴配送'}, {url: '/pages/ProductManage/ZjInStore', name: '空轴进站'}, {url: '/pages/ProductManage/ZjOutStore', name: '子卷出站'}, {url: '/pages/WarehouseManage/SemifinishedInStore', name: '半成品入库'}, {url: '/pages/WarehouseManage/CheckList', name: '盘点管理'}, {url: '/pages/WarehouseManage/SemifinishedOutStore', name: '半成品出库'}, {url: '/pages/WarehouseManage/ReturngoodsInStore', name: '退货入库'}, {url: '/pages/WarehouseManage/ScrapInStore', name: '报废入库'}, {url: '/pages/WarehouseManage/InStoreConfirm', name: '生产入库'}, {url: '/pages/WarehouseManage/ProdDelivery', name: '生产区发货'}, {url: '/pages/WarehouseManage/XuniDelivery', name: '虚拟区发货'}, {url: '/pages/WarehouseManage/EmptyInStore', name: '空载具入库'}, {url: '/pages/WarehouseManage/EmptyOutStore', name: '空载具出库'}, {url: '/pages/WarehouseManage/CustomerLabelPrint', name: '客户标签打印'}, {url: '/pages/WarehouseManage/ErrorOutUnlock', name: '异常出库解锁'}],
|
||||
menuList: [],
|
||||
show: false,
|
||||
secM: []
|
||||
|
||||
@@ -78,6 +78,7 @@ export const authority = () => {
|
||||
]},
|
||||
{menu_id: '10', path: 'RF10', name: '调度管理', sonTree: [
|
||||
{menu_id: '1', name: '任务管理', path: '/pages/DispatchManage/TaskManage'},
|
||||
{menu_id: '2', name: 'RGV状态查询', path: '/pages/DispatchManage/RGVStatus'}
|
||||
]}
|
||||
]
|
||||
}
|
||||
@@ -537,3 +538,12 @@ data: {
|
||||
product_area: area
|
||||
}
|
||||
})
|
||||
|
||||
/**
|
||||
* RGV状态
|
||||
*/
|
||||
// 1.1查询
|
||||
export const rgvStatusQuery = () => request({
|
||||
url:'api/pda/task/rgvStatusQuery',
|
||||
data: {}
|
||||
})
|
||||
Reference in New Issue
Block a user