From 7c906b4acf785180132f91db5d70c3a29fa85cd3 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Wed, 21 Jun 2023 09:39:13 +0800
Subject: [PATCH] 新增页面和配置,对接口
---
src/views/Admin/components/callListMod.vue | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/views/Admin/components/callListMod.vue b/src/views/Admin/components/callListMod.vue
index 7b4e630..10b3bec 100644
--- a/src/views/Admin/components/callListMod.vue
+++ b/src/views/Admin/components/callListMod.vue
@@ -23,6 +23,11 @@
{{ unittype==1?'省级':unittype==2?'地(市、州)级':unittype==3?'区县级':unittype==4?'村(乡、镇)级':'管理员' }}
</a-tag>
</template >
+ <template #responseStatus="text">
+ <a-tag :color="text === 3 ? 'red' :text === 2? 'green':text === 1?'orange':'blue'">
+ {{text == 1 ? '待叫应' : text == 2 ?'已叫应':text == 3 ?'超时未叫应' : ''}}
+ </a-tag>
+ </template>
</a-table>
</a-modal>
</template>
@@ -62,18 +67,12 @@
{
title: '接收人单位',
dataIndex: 'receiveUnit',
- width: '20%',
- scopedSlots: {
- customRender: 'receiveUnit'
- }
+ width: '20%'
},
{
title: '接收人',
dataIndex: 'recipienterName',
- width: '20%',
- scopedSlots: {
- customRender: 'recipienterName'
- }
+ width: '20%'
},
{
title: '级别',
@@ -84,11 +83,11 @@
},
},
{
- title: '叫应时间',
- dataIndex: 'responseTime',
+ title: '叫应状态',
+ dataIndex: 'responseStatus',
width: '15%',
scopedSlots: {
- customRender: 'responseTime'
+ customRender: 'responseStatus'
} //设置定制化表格数据
}
]
--
Gitblit v1.9.2