Commit f9b967a9 authored by “yiyousong”'s avatar “yiyousong”

perf:优化样表、排号、呼叫报表

1 merge request!1Master
......@@ -71,7 +71,7 @@
<a-tag
class="cursor-pointer"
color="blue"
@click="checkInfo(record.id)"
@click="checkInfo(record.id, record)"
>
详细信息
</a-tag>
......@@ -421,14 +421,17 @@ export default {
},
// 查看详细信息
async checkInfo(id) {
async checkInfo(id, row) {
this.loading = true;
let res = await getQueueInfo({
id,
});
if (res.code == 1) {
let { data } = res;
this.detailsInfo = data;
this.detailsInfo = {
...data,
business: row.business,
};
this.detailsVisible = true;
}
this.loading = false;
......
......@@ -98,14 +98,27 @@
</a-col>
</a-row>
<a-row :gutter="[0, 8]">
<a-col :span="12"> <span>注册方式:</span>身份证注册 </a-col>
<a-col :span="12">
<span>注册方式:</span
>{{
detailsInfo.register_type == "Applets"
? "小程序"
: detailsInfo.register_type == "wechat"
? "公众号"
: detailsInfo.register_type == "app"
? "自助服务终端"
: "--"
}}
</a-col>
<a-col :span="12">
<span>取号设备:</span>{{ detailsInfo.take_name }}
</a-col>
</a-row>
<!-- <a-row :gutter="[0, 8]">
<a-col :span="12"> <span>健康状态:</span>绿码 </a-col>
</a-row> -->
<a-row :gutter="[0, 8]">
<a-col :span="24">
<span>办理业务:</span>{{ detailsInfo.business || "--" }}
</a-col>
</a-row>
<!-- 当前办理步骤标识 -->
<div class="transact-tips2" v-if="detailsInfo.style === 0">
<span class="tips-text"> 排队中 </span>
......@@ -140,7 +153,7 @@
</a-row>
<a-row :gutter="[0, 8]">
<a-col :span="12">
<span>叫号设备:</span>{{ detailsInfo.call_name }}
<span>叫号设备:</span>{{ detailsInfo.call_name || "--" }}
</a-col>
</a-row>
</div>
......
......@@ -71,7 +71,7 @@
<a-tag
class="cursor-pointer"
color="blue"
@click="checkInfo(record.id)"
@click="checkInfo(record.id, record)"
>
详细信息
</a-tag>
......@@ -414,14 +414,17 @@ export default {
},
// 查看详细信息
async checkInfo(id) {
async checkInfo(id, row) {
this.loading = true;
let res = await getQueueInfo({
id,
});
if (res.code == 1) {
let { data } = res;
this.detailsInfo = data;
this.detailsInfo = {
...data,
business: row.business,
};
this.detailsVisible = true;
}
this.loading = false;
......
......@@ -78,8 +78,8 @@ const filterVal = [
"materialName",
"materialFullName",
"deviceName",
"createTime",
"operTime",
"createTime",
]; // 导出的表头字段名,需要导出表格字段名
export default {
data() {
......@@ -117,11 +117,11 @@ export default {
},
{
title: "操作时间",
dataIndex: "createTime",
dataIndex: "operTime",
},
{
title: "查看时间",
dataIndex: "operTime",
dataIndex: "createTime",
customRender: (text) => {
return text ? text : "--";
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment