feat: 首页调整

This commit is contained in:
caoqianming 2024-08-13 10:57:57 +08:00
parent 3e7473444f
commit 98cf9e8e66
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template>
<el-row :gutter="6">
<el-col :md="8" :sm="24">
<el-card shadow="hover" header="工单待办" style="">
<el-card shadow="hover" header="待办审批" style="">
<div class="card-body" v-if="dutyAgg.length>0" :style="{height:divHeight}">
<div v-for="item in dutyAgg" :key="item.workflow" style="margin-bottom: 10px;height: fit-content;">
<el-badge :value="item.count" class="item workItemImg">
@ -11,7 +11,7 @@
</div>
</div>
<div class="card-body" v-else :style="{height:divHeight}">
<div style="width:100%;line-height: 200px;color: #606266;text-align: center;">暂无待办工单</div>
<div style="width:100%;line-height: 200px;color: #606266;text-align: center;">暂无待办审批</div>
</div>
</el-card>
</el-col>
@ -177,7 +177,7 @@ export default {
query: {},
});
},
//
//
async getdutyAgg() {
let res = await this.$API.wf.ticket.dutyAgg.req({ page: 0 });
this.dutyAgg = res.details;