Commit 51addda5 authored by 王晓旭's avatar 王晓旭

排队记录报表的三个时间(总时长、平均等待时长、办理时长)按照报表业务条数来导出

parent 9a2170e4
...@@ -66,6 +66,15 @@ ...@@ -66,6 +66,15 @@
<template slot="calltime" slot-scope="text"> <template slot="calltime" slot-scope="text">
{{ text.calltime ? text.calltime : "--" }} {{ text.calltime ? text.calltime : "--" }}
</template> </template>
<template slot="all_time" slot-scope="text">
{{ text.all_time ? text.all_time : "--" }}
</template>
<template slot="run_time" slot-scope="text">
{{ text.run_time ? text.run_time : "--" }}
</template>
<template slot="wait_time" slot-scope="text">
{{ text.wait_time ? text.wait_time : "--" }}
</template>
<!-- 办理窗口 --> <!-- 办理窗口 -->
<template slot="window_name" slot-scope="text"> <template slot="window_name" slot-scope="text">
{{ {{
...@@ -207,6 +216,30 @@ export default { ...@@ -207,6 +216,30 @@ export default {
customRender: "endtime", customRender: "endtime",
}, },
}, },
{
title: "当前排号总时长",
width: "8%",
align: "center",
scopedSlots: {
customRender: "all_time",
},
},
{
title: "业务平均办理时长",
width: "8%",
align: "center",
scopedSlots: {
customRender: "run_time",
},
},
{
title: "业务平均等待时长",
width: "8%",
align: "center",
scopedSlots: {
customRender: "wait_time",
},
},
{ {
title: "状态", title: "状态",
...@@ -276,6 +309,9 @@ export default { ...@@ -276,6 +309,9 @@ export default {
"window_name", "window_name",
"workman_name", "workman_name",
"endtime", "endtime",
"all_time",
"run_time",
"wait_time",
"style", "style",
], ],
btnLoading: false, btnLoading: false,
......
...@@ -97,6 +97,15 @@ ...@@ -97,6 +97,15 @@
<template slot="endtime" slot-scope="text"> <template slot="endtime" slot-scope="text">
{{ text.endtime ? text.endtime : "--" }} {{ text.endtime ? text.endtime : "--" }}
</template> </template>
<template slot="all_time" slot-scope="text">
{{ text.all_time ? text.all_time : "--" }}
</template>
<template slot="run_time" slot-scope="text">
{{ text.run_time ? text.run_time : "--" }}
</template>
<template slot="wait_time" slot-scope="text">
{{ text.wait_time ? text.wait_time : "--" }}
</template>
<!-- 操作 --> <!-- 操作 -->
<template slot="action" slot-scope="text"> <template slot="action" slot-scope="text">
<a @click="openHandlingDetails(text.id)">详细信息</a> <a @click="openHandlingDetails(text.id)">详细信息</a>
...@@ -224,6 +233,30 @@ export default { ...@@ -224,6 +233,30 @@ export default {
customRender: "endtime", customRender: "endtime",
}, },
}, },
{
title: "当前排号总时长",
width: "8%",
align: "center",
scopedSlots: {
customRender: "all_time",
},
},
{
title: "业务平均办理时长",
width: "8%",
align: "center",
scopedSlots: {
customRender: "run_time",
},
},
{
title: "业务平均等待时长",
width: "8%",
align: "center",
scopedSlots: {
customRender: "wait_time",
},
},
{ {
title: "状态", title: "状态",
...@@ -268,6 +301,9 @@ export default { ...@@ -268,6 +301,9 @@ export default {
"window_name", "window_name",
"workman_name", "workman_name",
"endtime", "endtime",
"all_time",
"run_time",
"wait_time",
"style", "style",
], ],
//设备数据 //设备数据
......
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