修改整体看板和异常列表
This commit is contained in:
parent
d74f617af9
commit
8640a7f8ed
@ -5,29 +5,29 @@
|
|||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<div class="grid-content ep-bg-purple">
|
<div class="grid-content ep-bg-purple">
|
||||||
<el-card style="max-width: 100%">
|
<el-card style="max-width: 100%">
|
||||||
<el-row :gutter="5">
|
<el-row :gutter="5" v-if="data.taskStatusVO">
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item-title"> 任务总数 </div>
|
<div class="top-item-title"> 任务总数 </div>
|
||||||
<div class="top-item-num"> {{ data.tasksNumber || 0 }} </div>
|
<div class="top-item-num"> {{ data.taskStatusVO.tasksNumber || 0 }} </div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item-title"> 执行中 </div>
|
<div class="top-item-title"> 执行中 </div>
|
||||||
<div class="top-item-num"> {{ data.underwayNum || 0 }} </div>
|
<div class="top-item-num"> {{ data.taskStatusVO.underwayNum || 0 }} </div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item-title"> 待执行 </div>
|
<div class="top-item-title"> 待执行 </div>
|
||||||
<div class="top-item-num"> {{ data.pendingExecutionNum || 0 }} </div>
|
<div class="top-item-num"> {{ data.taskStatusVO.pendingExecutionNum || 0 }} </div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item-title"> 已完成 </div>
|
<div class="top-item-title"> 已完成 </div>
|
||||||
<div class="top-item-num"> {{ data.completedNum || 0 }} </div>
|
<div class="top-item-num"> {{ data.taskStatusVO.completedNum || 0 }} </div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
@ -41,7 +41,7 @@
|
|||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<div class="top-item" style="border: none; color: #c60606">
|
<div class="top-item" style="border: none; color: #c60606">
|
||||||
<div class="top-item-title"> 异常 </div>
|
<div class="top-item-title"> 异常 </div>
|
||||||
<div class="top-item-num"> {{ data.abnormalNum || 0 }} </div>
|
<div class="top-item-num"> {{ data.taskStatusVO.abnormalNum || 0 }} </div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -51,7 +51,7 @@
|
|||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<div class="grid-content ep-bg-purple">
|
<div class="grid-content ep-bg-purple">
|
||||||
<el-card style="max-width: 100%">
|
<el-card style="max-width: 100%">
|
||||||
<el-row :gutter="5">
|
<el-row :gutter="5" v-if="data.statistics">
|
||||||
<el-col :span="4">
|
<el-col :span="4">
|
||||||
<div class="top-item">
|
<div class="top-item">
|
||||||
<div class="top-item-title"> 车辆总数 </div>
|
<div class="top-item-title"> 车辆总数 </div>
|
||||||
@ -315,7 +315,29 @@ const router = useRouter() // 路由对象
|
|||||||
const indexPageRef = ref(null)
|
const indexPageRef = ref(null)
|
||||||
const typeList = ref([])
|
const typeList = ref([])
|
||||||
defineOptions({ name: 'BoardAllBoard' })
|
defineOptions({ name: 'BoardAllBoard' })
|
||||||
const data = ref(null)
|
const data = ref({
|
||||||
|
taskStatusVO: { //顶部左边统计
|
||||||
|
pendingExecutionNum: 0,
|
||||||
|
underwayNum: 0,
|
||||||
|
completedNum: 0,
|
||||||
|
cancelledNum: 0,
|
||||||
|
abnormalNum: 0,
|
||||||
|
tasksNumber: 0,
|
||||||
|
},
|
||||||
|
statistics: { //顶部右边 统计
|
||||||
|
total: 0,
|
||||||
|
inTask: 0,
|
||||||
|
doLock: 0,
|
||||||
|
charge: 0,
|
||||||
|
offline: 0,
|
||||||
|
fault: 0
|
||||||
|
},
|
||||||
|
underway: [], //执行中
|
||||||
|
pendingExecution: [], //待执行
|
||||||
|
robotWarnMsgDOS: [], //异常信息
|
||||||
|
deviceStatusInfoVOS: [], //设备信息
|
||||||
|
robotElectricityLevelVOS: [], //车辆信息
|
||||||
|
})
|
||||||
//获取数据
|
//获取数据
|
||||||
const getAllData = async () => {
|
const getAllData = async () => {
|
||||||
let datas = await ChartsApi.bulletinBoardGet()
|
let datas = await ChartsApi.bulletinBoardGet()
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
class="!w-240px"
|
class="!w-240px"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="ID号" prop="robotNo">
|
<el-form-item label="AGV编号" prop="robotNo">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.robotNo"
|
v-model="queryParams.robotNo"
|
||||||
placeholder="请输入AGV编号"
|
placeholder="请输入AGV编号"
|
||||||
|
Loading…
Reference in New Issue
Block a user