Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
00eb684e
Commit
00eb684e
authored
Feb 24, 2023
by
王启林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排队叫号报表接口对接
Signed-off-by:
王启林
<
1940603613@qq.com
>
parent
00a28b7f
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
355 additions
and
180 deletions
+355
-180
portal-manager-ui/admin/src/api/dataAdmin.js
portal-manager-ui/admin/src/api/dataAdmin.js
+34
-11
portal-manager-ui/admin/src/mixins/table.js
portal-manager-ui/admin/src/mixins/table.js
+20
-22
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/callRecord.vue
...n/src/views/dataAdmin/components/queueCall/callRecord.vue
+211
-113
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/components/businessInfo.vue
...ataAdmin/components/queueCall/components/businessInfo.vue
+8
-7
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/components/userInfo.vue
...ws/dataAdmin/components/queueCall/components/userInfo.vue
+11
-10
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/components/workpeopleInfo.vue
...aAdmin/components/queueCall/components/workpeopleInfo.vue
+6
-6
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/queueRecord.vue
.../src/views/dataAdmin/components/queueCall/queueRecord.vue
+65
-11
No files found.
portal-manager-ui/admin/src/api/dataAdmin.js
View file @
00eb684e
...
...
@@ -7,23 +7,46 @@ export function censusListInterface(params) {
}
/* 排号机部分 */
//排号机列表数据
export
function
getTaskList
(
params
){
return
http
.
get
(
`
${
BASEURL
}
/admin/take/takelist`
,
params
)
export
function
getTaskList
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/admin/take/takelist`
,
params
)
}
//排队办理记录报表接口
export
function
getQueueData
(
params
){
return
http
.
post
(
`
${
BASEURL
}
/inter/reportform/quelist`
,
params
)
export
function
getQueueData
(
params
)
{
return
http
.
post
(
`
${
BASEURL
}
/inter/reportform/quelist`
,
params
)
}
//排号记录详情
export
function
getQueueInfo
(
params
){
return
http
.
post
(
`
${
BASEURL
}
/inter/reportform/queinfo`
,
params
)
export
function
getQueueInfo
(
params
)
{
return
http
.
post
(
`
${
BASEURL
}
/inter/reportform/queinfo`
,
params
)
}
//业务事项关联
export
function
getBusinessEvent
(
params
){
return
http
.
post
(
`
${
baseURL
}
/basics_api/base/business/matter/list`
,
params
)
export
function
getBusinessEvent
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/inter/reportform/busanalyse`
,
params
)
}
//查询业务人员信息
export
function
getWorkerInfo
(
params
){
return
http
.
get
(
`
${
baseURL
}
/basics_api/base/workman/info`
,
params
)
export
function
getWorkerInfo
(
params
)
{
return
http
.
get
(
`
${
baseURL
}
/basics_api/base/workman/info`
,
params
)
}
//查询业务人员业务数据分析
export
function
getWorkmananalyse
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/inter/reportform/workmananalyse`
,
params
)
}
//查询用户信息
export
function
getPeopleanalyse
(
params
)
{
return
http
.
get
(
`
${
BASEURL
}
/inter/reportform/peopleanalyse`
,
params
)
}
/* 呼叫部分 */
// 呼叫器列表
export
function
getCalllist
(
params
)
{
return
http
.
get
(
`
${
baseURL
}
/zwfw_api/admin/call/calllist`
,
params
)
}
// 呼叫记录报表
export
function
getCallQueList
(
params
)
{
return
http
.
post
(
`
${
BASEURL
}
/inter/reportform/callQueList`
,
params
)
}
portal-manager-ui/admin/src/mixins/table.js
View file @
00eb684e
...
...
@@ -6,7 +6,6 @@ export default {
nowWeek
:
""
,
timer
:
null
,
tableLoading
:
false
,
tablePagination
:
{
current
:
1
,
pageSize
:
10
,
...
...
@@ -16,11 +15,9 @@ export default {
showTotal
:
(
total
,
range
)
=>
`共
${
total
}
条`
,
pageSizeOptions
:
[
"
10
"
,
"
20
"
,
"
30
"
],
},
tableSourceData
:
[],
tableSelectedRows
:
[],
//选中的数据
tableSelectedRows
:
[],
//选中的
行
数据
tableSelectedKeys
:
[],
//选中的id
sourceInfoForm
:
{},
}
},
...
...
@@ -39,25 +36,24 @@ export default {
},
methods
:
{
//导出
exportTable
()
{
let
tableData
=
[];
exportTable
(
tHeader
,
filterVal
,
transformText
)
{
console
.
log
(
tHeader
,
filterVal
)
let
tableData
=
[];
//列表数据
if
(
this
.
tableSelectedRows
.
length
==
0
)
{
tableData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableSourceData
));
tableData
=
this
.
downAllData
()
}
else
{
tableData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableSelectedRows
));
}
let
tableColumns
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableHeaders
));
let
newTableData
=
tableData
.
map
(
item
=>
{
let
obj
=
{};
for
(
let
key
in
item
)
{
obj
[
key
]
=
item
[
key
];
}
return
obj
;
})
// let tableColumns = JSON.parse(JSON.stringify(this.tableHeaders));
console
.
log
(
'
表格数据
'
,
tableData
)
// console.log('表头内容', tableColumns)
// let newTableData = tableData.map(item => {
// // console.log(item)
// })
let
exprotExcelName
=
`
${
this
.
nowDay
}
/
${
this
.
nowTime
}
/
${
this
.
$route
[
'
meta
'
][
'
title
'
]
||
'
报表信息统计
'
}
`
;
this
.
exportExcel
(
t
ableColumns
,
newT
ableData
,
exprotExcelName
);
this
.
exportExcel
(
t
Header
,
filterVal
,
t
ableData
,
exprotExcelName
);
},
exportExcel
(
t
ableColumns
,
tableData
,
exprotExcelName
)
{
exportExcel
(
t
Header
,
filterVal
,
tableData
,
exprotExcelName
)
{
// console.log(tableColumns);
// console.log(tableData);
// console.log(exprotExcelName);
...
...
@@ -67,6 +63,7 @@ export default {
for
(
let
i
=
0
;
i
<
tableColumns
.
length
;
i
++
)
{
for
(
let
key
in
item
)
{
if
(
tableColumns
[
i
][
"
dataIndex
"
]
==
key
)
{
console
.
log
(
tableColumns
[
i
][
"
dataIndex
"
])
if
(
j
==
0
)
{
exportHeaderName
.
push
(
tableColumns
[
i
][
"
title
"
]);
}
...
...
@@ -87,8 +84,8 @@ export default {
{
sheetData
:
exportData
,
sheetName
:
"
sheet
"
,
sheetHeader
:
exportHeaderName
,
sheetFilter
:
exportHeaderName
,
sheetHeader
:
tHeader
,
sheetFilter
:
tHeader
,
},
];
let
toExcel
=
new
this
.
$ExportJsonExcel
(
option
);
...
...
@@ -105,7 +102,8 @@ export default {
onSelectChange
(
selectedRowKeys
,
selectedRows
)
{
this
.
tableSelectedKeys
=
selectedRowKeys
;
this
.
tableSelectedRows
=
selectedRows
;
// console.log(this.tableSelectedKeys, this.tableSelectedRows);
// console.log('选中的ID', this.tableSelectedKeys);
// console.log('选中的行数据', this.tableSelectedRows);
},
pagTableChange
(
pagination
)
{
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/callRecord.vue
View file @
00eb684e
This diff is collapsed.
Click to expand it.
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/components/businessInfo.vue
View file @
00eb684e
...
...
@@ -5,21 +5,23 @@
:getContainer=
"() => $refs.businessModal"
>
<div
class=
"content"
>
<h1>
{{
title
}}
</h1>
<em
>
关联事项(
{{
dataL
ist
.
length
}}
)
</em>
<em
v-if=
"dataList.matterlist"
>
关联事项(
{{
dataList
.
matterl
ist
.
length
}}
)
</em>
<p>
<!--
{{
item
.
shixiangmingcheng
}}
-->
<template
v-for=
"item in dataList.matterlist"
>
<p>
{{
item
}}
</p>
</
template
>
</p>
<h4>
<span>
受理次数
<br
/><i>
12
</i></span>
<span>
办结次数
<br
/><i>
12
</i></span>
<span>
好评率
<br
/><i>
99%
</i></span>
<span>
受理次数
<br
/><i>
{{ dataList.slcount }}
</i></span>
<span>
办结次数
<br
/><i>
{{ dataList.bjcount }}
</i></span>
<span>
好评率
<br
/><i>
{{ dataList.hplv }}
</i></span>
</h4>
</div>
<
template
slot=
"footer"
>
<a-button
type=
"primary"
ghost
@
click=
"lookDetails"
>
查看业务分析
</a-button>
</
template
>
</a-modal>
</div>
</div>
</template>
<
script
>
...
...
@@ -33,7 +35,6 @@ export default {
dataList
:
[]
};
},
mounted
()
{
},
methods
:
{
lookDetails
()
{
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/components/userInfo.vue
View file @
00eb684e
...
...
@@ -11,26 +11,26 @@
:getContainer=
"() => $refs.userModal"
>
<div
class=
"content"
>
<h1>
{{
useInfo
.
name
}}
</h1>
<h1>
{{
dataList
.
people_name
}}
</h1>
<p>
<span>
{{
d
efaultInfoForm
.
Gender
}}
</span>
<span>
{{
d
efaultInfoForm
.
Age
}}
</span>
<span>
{{
d
efaultInfoForm
.
P
hone
}}
</span>
<span>
{{
d
ataList
.
people_sex
}}
</span>
<span>
{{
d
ataList
.
age
}}
</span>
<span>
{{
d
ataList
.
people_p
hone
}}
</span>
</p>
<h2>
<span
>
预约次数
<br
/><i>
{{
d
efaultInfoForm
.
yuyuecishu
}}
</i></span
>
预约次数
<br
/><i>
{{
d
ataList
.
ordernum
}}
</i></span
>
<span
>
排队次数
<br
/><i>
{{
d
efaultInfoForm
.
paiduicishu
}}
</i></span
>
排队次数
<br
/><i>
{{
d
ataList
.
quenum
}}
</i></span
>
<span
>
关联业务
<br
/><i>
{{
d
efaultInfoForm
.
guanlianyewu
}}
</i></span
>
关联业务
<br
/><i>
{{
d
ataList
.
bus_num
}}
</i></span
>
</h2>
</div>
<template
slot=
"footer"
>
<a-button
type=
"primary"
ghost
>
查看TA的数据画像
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"openBlockchain"
>
查看TA的数据画像
</a-button>
<a-button
type=
"primary"
ghost
@
click=
"openBlockchain"
>
区块链信息
</a-button
>
...
...
@@ -48,7 +48,7 @@ export default {
name
:
"
PortalAdminVueUserInfo
"
,
data
()
{
return
{
useInfo
:[]
dataList
:[],
};
},
components
:
{
...
...
@@ -58,7 +58,8 @@ export default {
mounted
()
{},
methods
:
{
openBlockchain
()
{
this
.
$refs
.
Blockchain
.
modalInfo
.
visible
=
true
;
// this.$refs.Blockchain.modalInfo.visible = true;
this
.
$message
.
warning
(
'
暂未开放
'
)
},
},
};
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/components/workpeopleInfo.vue
View file @
00eb684e
...
...
@@ -14,15 +14,15 @@
<span><i
class=
"lable"
>
工号:
</i>
{{
infoData
.
number
||
"
--
"
}}
</span>
<span><i
class=
"lable"
>
所属部门:
</i>
{{
infoData
.
deptName
||
"
--
"
}}
</span>
<span><i
class=
"lable"
>
政治面貌:
</i>
{{
$codeMap
.
politicalStatus
[
infoData
.
politicalstatus
]
||
"
--
"
}}
</span>
<span><i
class=
"lable"
>
电话:
</i>
{{
infoData
.
phon
e
||
"
--
"
}}
</span>
<span><i
class=
"lable"
>
电话:
</i>
{{
infoData
.
mobil
e
||
"
--
"
}}
</span>
<span><i
class=
"lable"
>
星级:
</i>
{{
infoData
.
starlevel
||
"
--
"
}}
</span>
</div>
</div>
</div>
<h2>
<span>
受理业务
<br
/><i>
{{
"
--
"
}}
</i></span>
<span>
评价次数
<br
/><i>
{{
"
--
"
}}
</i></span>
<span>
好评率
<br
/><i>
{{
"
--
"
}}
</i></span>
<span>
受理业务
<br
/><i>
{{
infoData
.
slbusiness
||
"
0
"
}}
</i></span>
<span>
评价次数
<br
/><i>
{{
infoData
.
pjnum
||
"
0
"
}}
</i></span>
<span>
好评率
<br
/><i>
{{
infoData
.
hplv
||
"
0
"
}}
</i></span>
</h2>
</div>
<template
slot=
"footer"
>
...
...
@@ -31,7 +31,7 @@
</
template
>
</a-modal>
<Blockchain
ref=
"Blockchain"
/>
</div>
</div>
</template>
<
script
>
...
...
@@ -98,7 +98,7 @@ export default {
.lable {
display: inline-block;
font-style: normal;
width:
10
0px;
width:
7
0px;
text-align: right;
}
}
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/queueCall/queueRecord.vue
View file @
00eb684e
...
...
@@ -2,10 +2,10 @@
<div
class=
"queueRecord-Container"
>
<div
class=
"header_box"
>
<div>
<a-button
type=
"success"
@
click=
"exportTable"
>
<a-button
type=
"success"
@
click=
"exportTable
(tHeader, filterVal, style, downAllData)
"
>
<span>
{{
tableSelectedRows
.
length
?
"
导出
"
:
"
导出全部
"
}}
</span>
</a-button>
<b>
叫号次数:
<i>
{{
tablePagination
.
total
}}
</i>
次
</b>
<b>
叫号次数:
<i>
{{
tablePagination
.
total
}}
</i>
次
</b>
<sub>
统计时间段:
{{
searchForm
.
time
[
0
]
}}
~
{{
searchForm
.
time
[
1
]
}}
</sub>
</div>
<span>
...
...
@@ -57,7 +57,7 @@
</
template
>
<!-- 办理业务 -->
<
template
slot=
"business"
slot-scope=
"text"
>
<a
v-if=
"text.business"
@
click=
"openBusiness(text.business, text.business
I
d)"
>
{{
text
.
business
}}
</a>
<a
v-if=
"text.business"
@
click=
"openBusiness(text.business, text.business
i
d)"
>
{{
text
.
business
}}
</a>
<span
v-else
>
--
</span>
</
template
>
<!-- 办理开始时间 -->
...
...
@@ -99,7 +99,7 @@
<WorkpeopleInfo
ref=
"WorkpeopleInfo"
/>
<HandlingDetails
ref=
"HandlingDetails"
/>
</div>
</div>
</div>
</template>
<
script
>
...
...
@@ -109,7 +109,10 @@ import UserInfo from "./components/userInfo.vue";
import
BusinessInfo
from
"
./components/businessInfo.vue
"
;
import
WorkpeopleInfo
from
"
./components/workpeopleInfo.vue
"
;
import
HandlingDetails
from
"
./components/HandlingDetails.vue
"
;
import
{
getTaskList
,
getQueueData
,
getQueueInfo
,
getBusinessEvent
,
getWorkerInfo
}
from
"
@/api/dataAdmin
"
;
import
{
getTaskList
,
getQueueData
,
getQueueInfo
,
getBusinessEvent
,
getWorkerInfo
,
getPeopleanalyse
,
getWorkmananalyse
}
from
"
@/api/dataAdmin
"
;
export
default
{
mixins
:
[
table
],
name
:
"
PortalAdminVueQueueRecord
"
,
...
...
@@ -209,6 +212,32 @@ export default {
},
},
],
tHeader
:
[
// 导出的表头名信息
"
排队编号
"
,
"
申报人
"
,
"
联系方式
"
,
"
取号时间
"
,
"
取号设备
"
,
"
办理业务
"
,
"
办理开始时间
"
,
"
办理窗口
"
,
"
工作人员
"
,
"
办理结束时间
"
,
"
状态
"
,
],
filterVal
:
[
// 导出的表头字段名,需要导出表格字段名
"
flownum
"
,
"
people_name
"
,
"
people_phone
"
,
"
taketime
"
,
"
device_name
"
,
"
business
"
,
"
calltime
"
,
"
window_name
"
,
"
workman_name
"
,
"
endtime
"
,
"
style
"
,
],
//设备数据
deviceData
:
[],
// 搜索数据
...
...
@@ -235,6 +264,11 @@ export default {
],
//Form数据列表
tableList
:
[],
obj
:
{
0
:
"
排队中
"
,
1
:
"
办理中
"
,
4
:
"
办理完成
"
,
},
};
},
components
:
{
...
...
@@ -289,8 +323,13 @@ export default {
this
.
getQueueDataArr
()
},
//用户模态框
openDeclarant
(
item
)
{
console
.
log
(
item
)
async
openDeclarant
(
item
)
{
await
getPeopleanalyse
({
peopleid
:
item
.
peopleid
,
time
:
this
.
searchForm
.
time
}).
then
(
res
=>
{
if
(
res
.
code
=
1
)
{
this
.
$refs
.
UserInfo
.
dataList
=
{
...
item
,
...
res
.
data
}
// console.log(this.$refs.UserInfo.dataList)
}
})
this
.
$refs
.
UserInfo
.
modalInfo
.
title
=
"
用户信息
"
;
this
.
$refs
.
UserInfo
.
modalInfo
.
width
=
"
25%
"
;
this
.
$refs
.
UserInfo
.
modalInfo
.
visible
=
true
;
...
...
@@ -298,8 +337,8 @@ export default {
//业务关联模块
async
openBusiness
(
business
,
id
)
{
let
siteId
=
localStorage
.
getItem
(
'
siteId
'
)
await
getBusinessEvent
({
siteId
,
page
:
1
,
size
:
-
1
,
siteBusinessId
:
id
}).
then
(
res
=>
{
this
.
$refs
.
BusinessInfo
.
dataList
=
res
.
data
.
data
await
getBusinessEvent
({
businessid
:
id
,
time
:
this
.
searchForm
.
time
}).
then
(
res
=>
{
this
.
$refs
.
BusinessInfo
.
dataList
=
res
.
data
})
this
.
$refs
.
BusinessInfo
.
modalInfo
.
title
=
"
业务分析
"
;
this
.
$refs
.
BusinessInfo
.
title
=
business
...
...
@@ -307,10 +346,15 @@ export default {
},
//工作人员信息模态框
async
openWorkpeople
(
id
)
{
let
a
,
b
=
{}
await
getWorkerInfo
({
id
}).
then
(
res
=>
{
console
.
log
(
res
.
data
)
this
.
$refs
.
WorkpeopleInfo
.
infoData
=
res
.
data
a
=
res
.
data
})
await
getWorkmananalyse
({
workmanid
:
id
,
time
:
this
.
searchForm
.
time
}).
then
(
res
=>
{
b
=
res
.
data
})
this
.
$refs
.
WorkpeopleInfo
.
infoData
=
{
...
a
,
...
b
}
console
.
log
(
this
.
$refs
.
WorkpeopleInfo
.
infoData
)
this
.
$refs
.
WorkpeopleInfo
.
modalInfo
.
title
=
"
工作人员信息
"
;
this
.
$refs
.
WorkpeopleInfo
.
modalInfo
.
visible
=
true
;
},
...
...
@@ -323,7 +367,17 @@ export default {
this
.
$refs
.
HandlingDetails
.
modalInfo
.
title
=
"
办理明细
"
;
this
.
$refs
.
HandlingDetails
.
modalInfo
.
visible
=
true
;
},
//获取全部数据
downAllData
()
{
getQueueData
({
page
:
1
,
size
:
-
1
,
...
this
.
searchForm
,
}).
then
(
res
=>
{
return
res
});
}
},
};
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment