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
a4532be7
Commit
a4532be7
authored
Mar 13, 2023
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改评价
parent
5b0909dc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
155 additions
and
91 deletions
+155
-91
portal-manager-ui/admin/src/api/dataAdmin.js
portal-manager-ui/admin/src/api/dataAdmin.js
+5
-0
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/components/HandlingDetails.vue
...nts/evaluationRecordReport/components/HandlingDetails.vue
+38
-33
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/departmentEvaluation.vue
...omponents/evaluationRecordReport/departmentEvaluation.vue
+38
-13
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/matterEvaluation.vue
...in/components/evaluationRecordReport/matterEvaluation.vue
+38
-13
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/windowEvaluation.vue
...in/components/evaluationRecordReport/windowEvaluation.vue
+36
-32
No files found.
portal-manager-ui/admin/src/api/dataAdmin.js
View file @
a4532be7
...
...
@@ -30,6 +30,11 @@ export function getWorkerInfo(params){
return
http
.
get
(
`
${
baseURL
}
/basics_api/base/workman/info`
,
params
)
}
//评价选项
export
function
getOptonList
(
params
){
return
http
.
post
(
`
${
BASEURL
}
/bkb/bkbset/optionlist`
,
params
)
}
//评价数据列表
export
function
getEvaList
(
params
){
return
http
.
post
(
`
${
BASEURL
}
/bkb/evaluate/evaluatelist`
,
params
)
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/components/HandlingDetails.vue
View file @
a4532be7
...
...
@@ -11,14 +11,14 @@
<div
v-if=
"modalInfo.show==1"
>
<div
class=
"headerInfo"
>
<p>
<span>
总耗时:
{{
queEvaData
.
alltime
}}
<i
class=
"fa fa-long-arrow-down"
></i></span>
<span>
等待时间:
{{
queEvaData
.
waittime
}}
<i
class=
"fa fa-long-arrow-down"
></i></span>
<span>
办理时间:
{{
queEvaData
.
bltime
}}
<i
class=
"fa fa-long-arrow-down"
></i></span>
<span>
总耗时:
{{
queEvaData
.
alltime
?
queEvaData
.
alltime
:
'
--
'
}}
<i
class=
"fa fa-long-arrow-down"
></i></span>
<span>
等待时间:
{{
queEvaData
.
waittime
?
queEvaData
.
waittime
:
'
--
'
}}
<i
class=
"fa fa-long-arrow-down"
></i></span>
<span>
办理时间:
{{
queEvaData
.
bltime
?
queEvaData
.
bltime
:
'
--
'
}}
<i
class=
"fa fa-long-arrow-down"
></i></span>
</p>
<p>
<span>
平均耗时:
{{
queEvaData
.
p_alltime
}}
</span>
<span>
平均等待时间:
{{
queEvaData
.
p_waittime
}}
</span>
<span>
平均办理时间:
{{
queEvaData
.
p_bltime
}}
</span>
<span>
平均耗时:
{{
queEvaData
.
p_alltime
?
queEvaData
.
p_alltime
:
'
--
'
}}
</span>
<span>
平均等待时间:
{{
queEvaData
.
p_waittime
?
queEvaData
.
p_waittime
:
'
--
'
}}
</span>
<span>
平均办理时间:
{{
queEvaData
.
p_bltime
?
queEvaData
.
p_bltime
:
'
--
'
}}
</span>
</p>
</div>
<div
class=
"state"
v-if=
"queEvaData.style==0"
>
未办理
</div>
...
...
@@ -45,12 +45,12 @@
slot=
"description"
>
<div
class=
"details"
>
<span><i
class=
"lable"
>
申报人:
</i>
{{
queEvaData
.
people_name
}}
</span>
<span><i
class=
"lable"
>
取号时间:
</i>
{{
queEvaData
.
taketime
}}
</span>
<span><i
class=
"lable"
>
排队编码:
</i>
{{
queEvaData
.
flownum
}}
</span>
<span><i
class=
"lable"
>
取号方式:
</i>
{{
queEvaData
.
wy_signin
>
0
?
'
在线取号
'
:
'
现场取号
'
}}
</span>
<span><i
class=
"lable"
>
申报人:
</i>
{{
queEvaData
.
people_name
?
queEvaData
.
people_name
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
取号时间:
</i>
{{
queEvaData
.
taketime
?
queEvaData
.
taketime
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
排队编码:
</i>
{{
queEvaData
.
flownum
?
queEvaData
.
flownum
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
取号方式:
</i>
{{
queEvaData
.
wy_signin
==
''
?
'
--
'
:
queEvaData
.
wy_signin
>
0
?
'
在线取号
'
:
'
现场取号
'
}}
</span>
<span><i
class=
"lable"
>
注册方式:
</i>
--
</span>
<span><i
class=
"lable"
>
取号设备:
</i>
{{
queEvaData
.
take_name
}}
</span>
<span><i
class=
"lable"
>
取号设备:
</i>
{{
queEvaData
.
take_name
?
queEvaData
.
take_name
:
'
--
'
}}
</span>
</div>
</div>
</a-step>
...
...
@@ -69,10 +69,10 @@
slot=
"description"
>
<div
class=
"details"
>
<span><i
class=
"lable"
>
办理窗口:
</i>
{{
queEvaData
.
window_name
}}
</span>
<span><i
class=
"lable"
>
办理开始时间:
</i>
{{
queEvaData
.
bltime
}}
</span>
<span><i
class=
"lable"
>
工作人员:
</i>
{{
queEvaData
.
workman_name
}}
</span>
<span><i
class=
"lable"
>
叫号设备:
</i>
{{
queEvaData
.
call
ti
me
}}
</span>
<span><i
class=
"lable"
>
办理窗口:
</i>
{{
queEvaData
.
window_name
?
queEvaData
.
window_name
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
办理开始时间:
</i>
{{
queEvaData
.
bltime
?
queEvaData
.
bltime
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
工作人员:
</i>
{{
queEvaData
.
workman_name
?
queEvaData
.
workman_name
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
叫号设备:
</i>
{{
queEvaData
.
call
_na
me
}}
</span>
</div>
</div>
</a-step>
...
...
@@ -92,17 +92,18 @@
slot=
"description"
>
<div
class=
"details"
>
<span><i
class=
"lable"
>
办理结束时间:
</i>
{{
queEvaData
.
endtime
}}
</span>
<span><i
class=
"lable"
>
评价选项:
</i>
{{
queEvaData
.
option_id
}}
</span>
<span><i
class=
"lable"
>
评价时间:
</i>
{{
queEvaData
.
pj_time
}}
</span>
<span><i
class=
"lable"
>
办理结束时间:
</i>
{{
queEvaData
.
endtime
?
queEvaData
.
endtime
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
评价选项:
</i>
{{
queEvaData
.
option_id
?
queEvaData
.
option_id
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
评价时间:
</i>
{{
queEvaData
.
pj_time
?
queEvaData
.
pj_time
:
'
--
'
}}
</span>
<span
style=
"width:100%"
><i
class=
"lable"
>
评价指标:
</i>
<i
class=
"pjzb"
v-for=
"(item,index) in queEvaData.content"
:key=
"index"
>
{{
item
}}
</i>
<!--
<span
v-if=
"queEvaData.content.length==0"
>
--
</span>
-->
</span>
<span><i
class=
"lable"
>
评价来源:
</i>
{{
queEvaData
.
source
}}
</span>
<span><i
class=
"lable"
>
评价设备:
</i>
{{
queEvaData
.
pj_name
}}
</span>
<span><i
class=
"lable"
>
评价来源:
</i>
{{
queEvaData
.
source
?
queEvaData
.
source
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
评价设备:
</i>
{{
queEvaData
.
pj_name
?
queEvaData
.
pj_name
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
评价人照片:
</i>
<a-avatar
v-if=
"!queEvaData.
idcardData_PhotoFileName
"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
process.env.VUE_APP_API_BASE_URL+text"
alt=
""
srcset=
"
"
>
<a-avatar
v-if=
"!queEvaData.
picture || !baseurl
"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
baseurl+'/'+queEvaData.picture"
alt=
""
srcset=
""
style=
"max-width: 100px; max-height: 100px;
"
>
</span>
</div>
</div>
...
...
@@ -132,21 +133,22 @@
slot=
"description"
>
<div
class=
"details"
>
<span><i
class=
"lable"
>
评价人:
</i>
{{
queEvaData
.
idcard_Name
}}
</span>
<span><i
class=
"lable"
>
手机号:
</i>
{{
queEvaData
.
phone
}}
</span>
<span><i
class=
"lable"
>
身份证号:
</i>
{{
queEvaData
.
idcard_IDCardNo
}}
</span>
<span><i
class=
"lable"
>
窗口编号:
</i>
{{
queEvaData
.
window_fronum
}}
</span>
<span><i
class=
"lable"
>
评价选项:
</i>
{{
queEvaData
.
option_id
}}
</span>
<span><i
class=
"lable"
>
评价时间:
</i>
{{
queEvaData
.
create_time
}}
</span>
<span><i
class=
"lable"
>
评价人:
</i>
{{
queEvaData
.
idcard_Name
?
queEvaData
.
idcard_Name
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
手机号:
</i>
{{
queEvaData
.
phone
?
queEvaData
.
phone
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
身份证号:
</i>
{{
queEvaData
.
idcard_IDCardNo
?
queEvaData
.
idcard_IDCardNo
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
窗口编号:
</i>
{{
queEvaData
.
window_fronum
?
queEvaData
.
window_fronum
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
评价选项:
</i>
{{
queEvaData
.
option_id
?
queEvaData
.
option_id
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
评价时间:
</i>
{{
queEvaData
.
create_time
?
queEvaData
.
create_time
:
'
--
'
}}
</span>
<span
style=
"width:100%"
><i
class=
"lable"
>
评价指标:
</i>
<i
class=
"pjzb"
v-for=
"(item,index) in queEvaData.content"
:key=
"index"
>
{{
item
}}
</i>
<!--
<span
v-if=
"queEvaData.content.length==0"
>
--
</span>
-->
</span>
<span><i
class=
"lable"
>
评价来源:
</i>
{{
queEvaData
.
source
}}
</span>
<span><i
class=
"lable"
>
评价来源:
</i>
{{
queEvaData
.
source
?
queEvaData
.
source
:
'
--
'
}}
</span>
<span><i
class=
"lable"
>
评价设备:
</i>
--
</span>
<span>
<i
class=
"lable"
>
评价人照片:
</i>
<a-avatar
v-if=
"!queEvaData.
idcardData_PhotoFileNam
e"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"process.env.VUE_APP_API_BASE_URL+
text"
alt=
""
srcset=
"
"
>
<a-avatar
v-if=
"!queEvaData.
pictur
e"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"process.env.VUE_APP_API_BASE_URL+
'/'+queEvaData.picture"
alt=
""
srcset=
""
style=
"max-width: 100px; max-height: 100px;
"
>
</span>
</div>
</div>
...
...
@@ -166,7 +168,8 @@ export default {
data
()
{
return
{
queEvaData
:{}
queEvaData
:{},
baseurl
:
''
,
};
},
filters
:
{
...
...
@@ -195,7 +198,9 @@ export default {
},
mounted
()
{},
methods
:
{},
created
(){
this
.
baseurl
=
process
.
env
.
VUE_APP_API_PHP_URL
}
};
</
script
>
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/departmentEvaluation.vue
View file @
a4532be7
...
...
@@ -13,14 +13,10 @@
</div>
<span>
<a-space>
<a-select
placeholder=
"全部评价"
@
change=
"changeEvaChoose"
mode=
"multiple"
>
<a-select-option
value=
"非常满意"
>
非常满意
</a-select-option>
<a-select-option
value=
"基本满意"
>
基本满意
</a-select-option>
<a-select-option
value=
"满意"
>
满意
</a-select-option>
<a-select-option
value=
"不满意"
>
不满意
</a-select-option>
<a-select-option
value=
"非常不满意"
>
非常不满意
</a-select-option>
<a-select
v-model=
"evaChoose"
placeholder=
"全部评价"
@
change=
"changeEvaChoose"
mode=
"multiple"
style=
"max-width:140px"
>
<a-select-option
v-for=
"item in optonList"
:key=
"item.id"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
<a-select
placeholder=
"全部来源"
@
change=
"changeEvaFrom"
mode=
"multiple
"
>
<a-select
v-model=
"evaFrom"
placeholder=
"全部来源"
@
change=
"changeEvaFrom"
mode=
"multiple"
style=
"max-width:160px
"
>
<a-select-option
value=
"1"
>
窗口评价
</a-select-option>
<a-select-option
value=
"2"
>
自助服务终端
</a-select-option>
<a-select-option
value=
"3"
>
背靠背评价
</a-select-option>
...
...
@@ -37,6 +33,7 @@
<a-icon
slot=
"prefix"
type=
"search"
/>
</a-input>
<a-button
type=
"primary"
@
click=
"togetevalist()"
>
搜索
</a-button>
<a-button
@
click=
"clearnAllChoose()"
>
重置
</a-button>
</a-space>
</span>
</div>
...
...
@@ -47,8 +44,8 @@
}" :scroll="{ y: 590 }" :pagination="tablePagination" @change="pagTableChange" :loading="tableLoading"
:columns="tableHeaders" :dataSource="tableSourceData">
<template
slot=
"评价人照片"
slot-scope=
"text, record, index"
>
<a-avatar
v-if=
"!text"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
process.env.VUE_APP_API_BASE_URL+text"
alt=
""
srcset=
"
"
>
<a-avatar
v-if=
"!text
|| !baseurl
"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
baseurl+'/'+text"
alt=
""
srcset=
""
style=
"max-width: 100px; max-height: 100px;
"
>
</
template
>
<
template
slot=
"操作"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
style=
"color:#FF7370;"
>
删除
</a-button>
...
...
@@ -66,7 +63,7 @@
<
script
>
import
table
from
"
@/mixins/table
"
;
import
HandlingDetails
from
"
./components/HandlingDetails.vue
"
;
import
{
getEvaList
,
getEvaData
,
getEvaDetil
,
getQueEvaData
}
from
"
@/api/dataAdmin
"
;
import
{
get
OptonList
,
get
EvaList
,
getEvaData
,
getEvaDetil
,
getQueEvaData
}
from
"
@/api/dataAdmin
"
;
export
default
{
mixins
:
[
table
],
...
...
@@ -86,31 +83,37 @@ export default {
title
:
"
部门名称
"
,
align
:
"
center
"
,
dataIndex
:
"
section
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价选项
"
,
align
:
"
center
"
,
dataIndex
:
"
option_id
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价人
"
,
align
:
"
center
"
,
dataIndex
:
"
idcard_Name
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
身份证号
"
,
align
:
"
center
"
,
dataIndex
:
"
idcard_IDCardNo
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
手机号
"
,
align
:
"
center
"
,
dataIndex
:
"
phone
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价时间
"
,
align
:
"
center
"
,
dataIndex
:
"
create_time
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价来源
"
,
...
...
@@ -127,8 +130,10 @@ export default {
return
'
微官网
'
}
else
if
(
text
==
5
){
return
'
好差评
'
}
else
{
}
else
if
(
text
==
6
)
{
return
'
一体化评价
'
}
else
{
return
'
--
'
}
},
},
...
...
@@ -141,8 +146,10 @@ export default {
return
'
安卓
'
}
else
if
(
text
==
2
){
return
'
导视机
'
}
else
{
}
else
if
(
text
==
3
)
{
return
'
微信
'
}
else
{
return
'
--
'
}
},
},
...
...
@@ -170,10 +177,12 @@ export default {
tableSourceData
:[],
evaCount
:
0
,
//评价次数
evaChoose
:[],
//评价选项
evaFrom
:[
0
],
// 评价来源
evaFrom
:[],
// 评价来源
evaDates
:[],
// 评价日期
content
:
'
此操作将删除该评价信息,是否继续?
'
,
delId
:
null
,
//当前删除id
baseurl
:
''
,
optonList
:[]
};
},
components
:
{
...
...
@@ -185,8 +194,21 @@ export default {
this
.
evaDates
=
[
this
.
$moment
(
new
Date
()).
format
(
"
YYYY-MM-DD
"
),
this
.
$moment
(
new
Date
()).
format
(
"
YYYY-MM-DD
"
)]
this
.
togetevalist
()
getOptonList
().
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
1
){
this
.
optonList
=
res
.
data
}
})
},
methods
:
{
clearnAllChoose
(){
this
.
evaChoose
=
[]
this
.
evaFrom
=
[]
this
.
searchName
=
''
},
//导出
toexportTable
()
{
let
tableData
=
[];
...
...
@@ -363,6 +385,9 @@ export default {
tablePagination
(){
this
.
togetevalist
()
}
},
created
(){
this
.
baseurl
=
process
.
env
.
VUE_APP_API_PHP_URL
}
};
</
script
>
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/matterEvaluation.vue
View file @
a4532be7
...
...
@@ -13,14 +13,10 @@
</div>
<span>
<a-space>
<a-select
placeholder=
"全部评价"
@
change=
"changeEvaChoose"
mode=
"multiple"
>
<a-select-option
value=
"非常满意"
>
非常满意
</a-select-option>
<a-select-option
value=
"基本满意"
>
基本满意
</a-select-option>
<a-select-option
value=
"满意"
>
满意
</a-select-option>
<a-select-option
value=
"不满意"
>
不满意
</a-select-option>
<a-select-option
value=
"非常不满意"
>
非常不满意
</a-select-option>
<a-select
v-model=
"evaChoose"
placeholder=
"全部评价"
@
change=
"changeEvaChoose"
mode=
"multiple"
style=
"max-width:140px"
>
<a-select-option
v-for=
"item in optonList"
:key=
"item.id"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
<a-select
placeholder=
"全部来源"
@
change=
"changeEvaFrom"
mode=
"multiple
"
>
<a-select
v-model=
"evaFrom"
placeholder=
"全部来源"
@
change=
"changeEvaFrom"
mode=
"multiple"
style=
"max-width:160px
"
>
<a-select-option
value=
"1"
>
窗口评价
</a-select-option>
<a-select-option
value=
"2"
>
自助服务终端
</a-select-option>
<a-select-option
value=
"3"
>
背靠背评价
</a-select-option>
...
...
@@ -37,6 +33,7 @@
<a-icon
slot=
"prefix"
type=
"search"
/>
</a-input>
<a-button
type=
"primary"
@
click=
"togetevalist()"
>
搜索
</a-button>
<a-button
@
click=
"clearnAllChoose()"
>
重置
</a-button>
</a-space>
</span>
</div>
...
...
@@ -47,8 +44,8 @@
}" :scroll="{ y: 590 }" :pagination="tablePagination" @change="pagTableChange" :loading="tableLoading"
:columns="tableHeaders" :dataSource="tableSourceData">
<template
slot=
"评价人照片"
slot-scope=
"text, record, index"
>
<a-avatar
v-if=
"!text"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
process.env.VUE_APP_API_BASE_URL+text"
alt=
""
srcset=
"
"
>
<a-avatar
v-if=
"!text
|| !baseurl
"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
baseurl+'/'+text"
alt=
""
srcset=
""
style=
"max-width: 100px; max-height: 100px;
"
>
</
template
>
<
template
slot=
"操作"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
style=
"color:#FF7370;"
@
click=
"showModal(record)"
>
删除
</a-button>
...
...
@@ -66,7 +63,7 @@
<
script
>
import
table
from
"
@/mixins/table
"
;
import
HandlingDetails
from
"
./components/HandlingDetails.vue
"
;
import
{
getEvaList
,
getEvaData
,
getEvaDetil
,
getQueEvaData
}
from
"
@/api/dataAdmin
"
;
import
{
get
OptonList
,
get
EvaList
,
getEvaData
,
getEvaDetil
,
getQueEvaData
}
from
"
@/api/dataAdmin
"
;
export
default
{
mixins
:
[
table
],
...
...
@@ -86,31 +83,37 @@ export default {
title
:
"
排队编号
"
,
align
:
"
center
"
,
dataIndex
:
"
flounum
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价选项
"
,
align
:
"
center
"
,
dataIndex
:
"
option_id
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价人
"
,
align
:
"
center
"
,
dataIndex
:
"
idcard_Name
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
身份证号
"
,
align
:
"
center
"
,
dataIndex
:
"
idcard_IDCardNo
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
手机号
"
,
align
:
"
center
"
,
dataIndex
:
"
phone
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价时间
"
,
align
:
"
center
"
,
dataIndex
:
"
create_time
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价来源
"
,
...
...
@@ -127,8 +130,10 @@ export default {
return
'
微官网
'
}
else
if
(
text
==
5
){
return
'
好差评
'
}
else
{
}
else
if
(
text
==
6
)
{
return
'
一体化评价
'
}
else
{
return
'
--
'
}
},
},
...
...
@@ -141,8 +146,10 @@ export default {
return
'
安卓
'
}
else
if
(
text
==
2
){
return
'
导视机
'
}
else
{
}
else
if
(
text
==
3
)
{
return
'
微信
'
}
else
{
return
'
--
'
}
},
},
...
...
@@ -170,10 +177,12 @@ export default {
tableSourceData
:[],
evaCount
:
0
,
//评价次数
evaChoose
:[],
//评价选项
evaFrom
:[
0
],
// 评价来源
evaFrom
:[],
// 评价来源
evaDates
:[],
// 评价日期
content
:
'
此操作将删除该评价信息,是否继续?
'
,
delId
:
null
,
//当前删除id
baseurl
:
''
,
optonList
:[]
};
},
components
:
{
...
...
@@ -185,8 +194,21 @@ export default {
this
.
evaDates
=
[
this
.
$moment
(
new
Date
()).
format
(
"
YYYY-MM-DD
"
),
this
.
$moment
(
new
Date
()).
format
(
"
YYYY-MM-DD
"
)]
this
.
togetevalist
()
getOptonList
().
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
1
){
this
.
optonList
=
res
.
data
}
})
},
methods
:
{
clearnAllChoose
(){
this
.
evaChoose
=
[]
this
.
evaFrom
=
[]
this
.
searchName
=
''
},
//导出
toexportTable
()
{
let
tableData
=
[];
...
...
@@ -363,6 +385,9 @@ export default {
tablePagination
(){
this
.
togetevalist
()
}
},
created
(){
this
.
baseurl
=
process
.
env
.
VUE_APP_API_PHP_URL
}
};
</
script
>
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/windowEvaluation.vue
View file @
a4532be7
...
...
@@ -13,14 +13,10 @@
</div>
<span>
<a-space>
<a-select
placeholder=
"全部评价"
@
change=
"changeEvaChoose"
mode=
"multiple"
>
<a-select-option
value=
"非常满意"
>
非常满意
</a-select-option>
<a-select-option
value=
"基本满意"
>
基本满意
</a-select-option>
<a-select-option
value=
"满意"
>
满意
</a-select-option>
<a-select-option
value=
"不满意"
>
不满意
</a-select-option>
<a-select-option
value=
"非常不满意"
>
非常不满意
</a-select-option>
<a-select
v-model=
"evaChoose"
placeholder=
"全部评价"
@
change=
"changeEvaChoose"
mode=
"multiple"
style=
"max-width:140px"
>
<a-select-option
v-for=
"item in optonList"
:key=
"item.id"
:value=
"item.id"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
<a-select
placeholder=
"全部来源"
@
change=
"changeEvaFrom"
mode=
"multiple
"
>
<a-select
v-model=
"evaFrom"
placeholder=
"全部来源"
@
change=
"changeEvaFrom"
mode=
"multiple"
style=
"max-width:160px
"
>
<a-select-option
value=
"1"
>
窗口评价
</a-select-option>
<a-select-option
value=
"2"
>
自助服务终端
</a-select-option>
<a-select-option
value=
"3"
>
背靠背评价
</a-select-option>
...
...
@@ -37,6 +33,7 @@
<a-icon
slot=
"prefix"
type=
"search"
/>
</a-input>
<a-button
type=
"primary"
@
click=
"togetevalist()"
>
搜索
</a-button>
<a-button
@
click=
"clearnAllChoose()"
>
重置
</a-button>
</a-space>
</span>
</div>
...
...
@@ -47,8 +44,8 @@
}" :scroll="{ y: 590 }" :pagination="tablePagination" @change="pagTableChange" :loading="tableLoading"
:columns="tableHeaders" :dataSource="tableSourceData">
<template
slot=
"评价人照片"
slot-scope=
"text, record, index"
>
<a-avatar
v-if=
"!text"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
process.env.VUE_APP_API_BASE_URL+text"
alt=
""
srcset=
"
"
>
<a-avatar
v-if=
"!text
|| !baseurl
"
shape=
"square"
:size=
"40"
icon=
"user"
/>
<img
v-else
:src=
"
baseurl+'/'+text"
alt=
""
srcset=
""
style=
"max-width: 100px; max-height: 100px;
"
>
</
template
>
<
template
slot=
"操作"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
style=
"color:#FF7370;"
@
click=
"showModal(record)"
>
删除
</a-button>
...
...
@@ -66,7 +63,7 @@
<
script
>
import
table
from
"
@/mixins/table
"
;
import
HandlingDetails
from
"
./components/HandlingDetails.vue
"
;
import
{
getEvaList
,
getEvaData
,
getEvaDetil
,
getQueEvaData
}
from
"
@/api/dataAdmin
"
;
import
{
get
OptonList
,
get
EvaList
,
getEvaData
,
getEvaDetil
,
getQueEvaData
}
from
"
@/api/dataAdmin
"
;
export
default
{
mixins
:
[
table
],
...
...
@@ -86,31 +83,37 @@ export default {
title
:
"
窗口编号
"
,
align
:
"
center
"
,
dataIndex
:
"
window
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价选项
"
,
align
:
"
center
"
,
dataIndex
:
"
option_id
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价人
"
,
align
:
"
center
"
,
dataIndex
:
"
idcard_Name
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
身份证号
"
,
align
:
"
center
"
,
dataIndex
:
"
idcard_IDCardNo
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
手机号
"
,
align
:
"
center
"
,
dataIndex
:
"
phone
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价时间
"
,
align
:
"
center
"
,
dataIndex
:
"
create_time
"
,
customRender
:
(
text
)
=>
{
return
text
?
text
:
'
--
'
}
},
{
title
:
"
评价来源
"
,
...
...
@@ -127,8 +130,10 @@ export default {
return
'
微官网
'
}
else
if
(
text
==
5
){
return
'
好差评
'
}
else
{
}
else
if
(
text
==
6
)
{
return
'
一体化评价
'
}
else
{
return
'
--
'
}
},
},
...
...
@@ -141,8 +146,10 @@ export default {
return
'
安卓
'
}
else
if
(
text
==
2
){
return
'
导视机
'
}
else
{
}
else
if
(
text
==
3
)
{
return
'
微信
'
}
else
{
return
'
--
'
}
},
},
...
...
@@ -170,10 +177,12 @@ export default {
tableSourceData
:[],
evaCount
:
0
,
//评价次数
evaChoose
:[],
//评价选项
evaFrom
:[
0
],
// 评价来源
evaFrom
:[],
// 评价来源
evaDates
:[],
// 评价日期
content
:
'
此操作将删除该评价信息,是否继续?
'
,
delId
:
null
,
//当前删除id
baseurl
:
''
,
optonList
:[]
};
},
components
:
{
...
...
@@ -185,8 +194,19 @@ export default {
this
.
evaDates
=
[
this
.
$moment
(
new
Date
()).
format
(
"
YYYY-MM-DD
"
),
this
.
$moment
(
new
Date
()).
format
(
"
YYYY-MM-DD
"
)]
this
.
togetevalist
()
getOptonList
().
then
(
res
=>
{
if
(
res
.
code
==
1
){
this
.
optonList
=
res
.
data
}
})
},
methods
:
{
clearnAllChoose
(){
this
.
evaChoose
=
[]
this
.
evaFrom
=
[]
this
.
searchName
=
''
},
//导出
toexportTable
()
{
let
tableData
=
[];
...
...
@@ -360,6 +380,9 @@ export default {
tablePagination
(){
this
.
togetevalist
()
}
},
created
(){
this
.
baseurl
=
process
.
env
.
VUE_APP_API_PHP_URL
}
};
</
script
>
...
...
@@ -379,25 +402,6 @@ export default {
display: flex;
justify-content: flex-start;
align-items: center;
b {
font-style: normal;
font-weight: unset;
font-size: 16px;
margin-left: 20px;
i {
color: #0595fd;
font-style: normal;
}
}
sub {
font-size: 14px;
font-style: normal;
bottom: unset;
margin-left: 20px;
}
}
}
</
style
>
...
...
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