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
77ea13e4
Commit
77ea13e4
authored
May 07, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
b7fe01b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
82 additions
and
34 deletions
+82
-34
busStatistics.vue
src/components/busManagement/busStatistics.vue
+82
-34
No files found.
src/components/busManagement/busStatistics.vue
View file @
77ea13e4
...
...
@@ -2,10 +2,34 @@
<div>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul>
<li><span><em>
系列
</em>
<li>
<span>
<em>
{{
$t
(
'advmanager.v_line'
)
}}
</em>
<el-select
v-model=
"msg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLinePlaceList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"item in queryCommonData.LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'Operation.Op_Country'
)
}}
/
{{
$t
(
'system.query_dest'
)
}}
</em>
<el-select
v-model=
"msg.PlaceID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"0"
></el-option>
<el-option
v-for=
"item in queryCommonData.PlaceList"
:label=
"item.PlaceName"
:value=
"item.PlaceID"
:key=
"item.LtID"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'advmanager.v_xilie'
)
}}
</em>
<el-select
v-model=
"msg.LineteamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
value=
'-1'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"item in queryCommonData.LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
>
</el-option>
</el-select>
</span>
...
...
@@ -216,6 +240,7 @@
export
default
{
data
()
{
return
{
userInfo
:
{},
//用户信息
loading
:
false
,
currentPage
:
1
,
total
:
0
,
...
...
@@ -223,30 +248,34 @@
pageIndex
:
1
,
pageSize
:
10
,
SelectType
:
4
,
LineId
:
14
,
LineteamId
:
"-1"
,
LineId
:
0
,
PlaceID
:
0
,
LineteamId
:
0
,
StartDate
:
''
,
EndDate
:
''
,
PriceStatus
:
"0"
,
CombinationNum
:
""
},
LineList
:
[],
LineTeamList
:
[],
queryCommonData
:
{
PlaceList
:
[],
LineList
:
[],
LineTeamList
:
[],
},
thLengthTitle
:
[],
DataList
:
[],
colspanTotal
:
0
,
isCha
:
0
,
boxHeight
:
0
,
showHotelObj
:
{
showPrice
:
false
,
//是否显示价格
showPay
:
false
,
//是否显示支付方式
showZhan
:
false
,
//占房时间
showBtnList
:
false
,
//是否下载、确认按钮
showPrice
:
false
,
//是否显示价格
showPay
:
false
,
//是否显示支付方式
showZhan
:
false
,
//占房时间
showBtnList
:
false
,
//是否下载、确认按钮
ShowTaxType
:
false
,
//显示税入税别
ShowRebateRatio
:
false
,
//显示返佣比列
ShowSupplier
:
false
,
//是否显示供应商
showCaozuoTime
:
false
,
//操作时间
colspanLength
:
6
//跨行
ShowSupplier
:
false
,
//是否显示供应商
showCaozuoTime
:
false
,
//操作时间
colspanLength
:
6
//跨行
}
}
},
...
...
@@ -257,12 +286,42 @@
getLineList
()
{
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
PlaceList
=
[]
this
.
queryCommonData
.
LineTeamList
=
[]
}
else
{
this
.
$message
.
e
rror
(
res
.
data
.
message
);
this
.
E
rror
(
res
.
data
.
message
);
}
});
},
//获取目的地列表
getLinePlaceList
()
{
this
.
msg
.
PlaceID
=
0
;
this
.
msg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
msg
.
LineId
,
}
this
.
apipost
(
'team_post_GetLinePlace'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
PlaceList
=
res
.
data
.
data
this
.
queryCommonData
.
LineTeamList
=
[]
}
})
},
//获取系列列表
getLineTeamList
()
{
this
.
msg
.
LineteamId
=
0
let
msg
=
{
lineID
:
this
.
msg
.
LineId
,
placeID
:
this
.
msg
.
PlaceID
,
isTOOP
:
1
}
this
.
apipost
(
'team_post_GetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
}
})
},
GetTotalPrice
(
obj
)
{
//车费总价
let
totalPrice
=
0
;
obj
.
forEach
(
busInfo
=>
{
...
...
@@ -276,22 +335,7 @@
});
return
totalPrice
;
},
//获取系列列表
getLineTeamList
(
lineId
)
{
this
.
LineTeamList
=
[];
this
.
apipost
(
"team_post_GetList"
,
{
lineID
:
14
,
isTOOP
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msg
.
LineteamId
=
"-1"
;
this
.
LineTeamList
=
res
.
data
.
data
;
}
}
);
},
GetPeiChe
(
obj
)
{
//配车信息
let
jieji
=
""
;
let
songji
=
""
;
...
...
@@ -437,6 +481,10 @@
},
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
if
(
this
.
userInfo
.
RB_Group_id
==
2
)
{
this
.
msg
.
LineId
=
14
;
}
let
myDate
=
new
Date
();
let
nowDate
=
myDate
.
getFullYear
()
+
...
...
@@ -445,13 +493,13 @@
"-"
+
myDate
.
getDate
();
this
.
msg
.
StartDate
=
nowDate
;
//this.msg.StartDate = '2019-08-12';
let
width
=
window
.
innerWidth
-
50
;
let
height
=
window
.
innerHeight
-
65
-
210
;
this
.
boxHeight
=
height
;
this
.
offsetwidth
=
width
;
this
.
getList
();
this
.
getLine
Team
List
();
this
.
getLineList
();
},
}
...
...
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