Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
9fb91f42
Commit
9fb91f42
authored
Jul 18, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
37286584
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
31 deletions
+26
-31
PassengerFeedback.vue
...components/TravelManager/TravelList/PassengerFeedback.vue
+26
-31
No files found.
src/components/TravelManager/TravelList/PassengerFeedback.vue
View file @
9fb91f42
...
...
@@ -7,8 +7,8 @@
<span>
<em>
线路
</em>
</span>
<el-select
filterable
v-model=
"msg.
CreateBy"
@
change=
"getLineTeamList(msg.LineId
)"
>
<el-option
label=
"不限"
value=
'-1
'
></el-option>
<el-select
filterable
v-model=
"msg.
lineID"
@
change=
"getLineTeamList(msg.lineID
)"
>
<el-option
label=
"不限"
:value=
'0
'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
></el-option>
</el-select>
</li>
...
...
@@ -16,8 +16,8 @@
<span>
<em>
系列
</em>
</span>
<el-select
filterable
v-model=
"msg.
CreateBy
"
>
<el-option
label=
"不限"
value=
'-1
'
></el-option>
<el-select
filterable
v-model=
"msg.
LineteamId
"
>
<el-option
label=
"不限"
:value=
'0
'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-select>
...
...
@@ -26,11 +26,10 @@
<span>
<em>
只看有评分
</em>
</span>
<el-select
filterable
class=
'multiple_input'
v-model=
'msg.
Brand
'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
:value=
"
-1
"
></el-option>
<el-option
label=
"是"
:value=
"
-
1"
></el-option>
<el-select
filterable
class=
'multiple_input'
v-model=
'msg.
isScore
'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
:value=
"
0
"
></el-option>
<el-option
label=
"是"
:value=
"1"
></el-option>
<el-option
label=
"否"
:value=
"-1"
></el-option>
</el-select>
</li>
<li>
...
...
@@ -54,7 +53,7 @@
value=
"查询"
@
click=
"resetPageIndex(),getList()"
>
<
el-button
@
click=
"goUrl"
type=
"danger"
style=
"border-radius:14px;margin-left:8px"
size=
"small"
>
旅客反馈分析
</el-button
>
<
input
type=
"button"
@
click=
"goUrl"
class=
"normalBtn"
value=
"旅客反馈分析"
/
>
</li>
</ul>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
...
...
@@ -67,7 +66,7 @@
</tr>
<tr
v-for=
"(item,i) in dataList"
:key=
"i"
>
<td>
{{
item
.
start
}}
</td>
<td>
没有字段(
{{
item
.
tcid
}}
)
</td>
<td>
{{
item
.
tCNUM
}}
</td>
<td>
{{
(
item
.
sumScore
/
fields
.
length
).
toFixed
(
1
)
}}
</td>
...
...
@@ -78,7 +77,7 @@
</td>
</tr>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"1
0
"
align=
"center"
>
暂无数据
</td>
<td
colspan=
"1
2
"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
<el-pagination
...
...
@@ -103,6 +102,11 @@ export default {
msg
:{
pageSize
:
10
,
pageIndex
:
1
,
lineID
:
0
,
LineteamId
:
0
,
reStartDate
:
''
,
reEndDate
:
''
,
isScore
:
0
},
total
:
0
,
currentPage
:
1
,
...
...
@@ -117,11 +121,8 @@ export default {
this
.
getList
();
},
methods
:{
chaKan
(
item
){
console
.
log
(
"item"
,
item
)
chaKan
(
item
){
this
.
$router
.
push
({
name
:
'investigationList'
,
query
:{
"TCID"
:
item
.
tcid
,
blank
:
'y'
}
})
},
goUrl
(){
this
.
$router
.
push
({
name
:
'FeedbackChart'
,
query
:{
"customerId"
:
1
,
blank
:
'y'
}
})
...
...
@@ -149,23 +150,20 @@ export default {
getList
(){
if
(
this
.
dateList
){
this
.
msg
.
s
tartDate
=
this
.
dateList
[
0
];
this
.
msg
.
e
ndDate
=
this
.
dateList
[
1
];
this
.
msg
.
reS
tartDate
=
this
.
dateList
[
0
];
this
.
msg
.
reE
ndDate
=
this
.
dateList
[
1
];
}
else
{
this
.
msg
.
s
tartDate
=
""
;
this
.
msg
.
e
ndDate
=
""
;
this
.
msg
.
reS
tartDate
=
""
;
this
.
msg
.
reE
ndDate
=
""
;
}
this
.
loading
=
true
;
this
.
apiJavaPost
(
"/api/erp/survey//getSurveyList"
,
this
.
msg
,
res
=>
{
// this.loading = false;
console
.
log
(
res
);
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
let
arrays
=
[]
res
.
data
.
data
.
pageData
.
forEach
(
x
=>
{
let
isHave
=
false
if
(
this
.
fields
.
indexOf
(
x
.
title
)
==-
1
){
if
(
this
.
fields
.
indexOf
(
x
.
title
)
==-
1
&&
x
.
title
!=
''
){
this
.
fields
.
push
(
x
.
title
)
}
if
(
arrays
.
length
>
0
){
...
...
@@ -182,7 +180,8 @@ export default {
let
obj
=
{
tcid
:
x
.
tCID
,
start
:
x
.
startDate
.
split
(
'T'
)[
0
],
sumScore
:
x
.
scoreNum
sumScore
:
x
.
scoreNum
,
tCNUM
:
x
.
tCNUM
}
obj
[
x
.
title
]
=
x
.
scoreNum
arrays
.
push
(
obj
)
...
...
@@ -191,12 +190,8 @@ export default {
});
this
.
dataList
=
arrays
;
this
.
total
=
this
.
dataList
.
length
;
console
.
log
(
this
.
dataList
,
'datalist'
);
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
}
},
null
);
},
...
...
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