feat: 首页调整
This commit is contained in:
parent
3e7473444f
commit
98cf9e8e66
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<el-row :gutter="6">
|
<el-row :gutter="6">
|
||||||
<el-col :md="8" :sm="24">
|
<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 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;">
|
<div v-for="item in dutyAgg" :key="item.workflow" style="margin-bottom: 10px;height: fit-content;">
|
||||||
<el-badge :value="item.count" class="item workItemImg">
|
<el-badge :value="item.count" class="item workItemImg">
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body" v-else :style="{height:divHeight}">
|
<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>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -177,7 +177,7 @@ export default {
|
||||||
query: {},
|
query: {},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//工单待办
|
//待办审批
|
||||||
async getdutyAgg() {
|
async getdutyAgg() {
|
||||||
let res = await this.$API.wf.ticket.dutyAgg.req({ page: 0 });
|
let res = await this.$API.wf.ticket.dutyAgg.req({ page: 0 });
|
||||||
this.dutyAgg = res.details;
|
this.dutyAgg = res.details;
|
||||||
|
|
Loading…
Reference in New Issue