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
ca91f1b9
Commit
ca91f1b9
authored
6 years ago
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车配信息
parent
ab631bfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
+24
-9
BusInfo.vue
src/components/busManagement/BusInfo.vue
+1
-0
busStatistics.vue
src/components/busManagement/busStatistics.vue
+23
-9
No files found.
src/components/busManagement/BusInfo.vue
View file @
ca91f1b9
...
...
@@ -619,6 +619,7 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"保存成功!"
);
this
.
MsgBus
.
$emit
(
'msg'
)
this
.
getData
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
This diff is collapsed.
Click to expand it.
src/components/busManagement/busStatistics.vue
View file @
ca91f1b9
...
...
@@ -153,7 +153,7 @@
</div></td>
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
<div
class=
"w100 link"
>
<span
@
click=
"goUrlX('BusInfo',outItem,'车配信息')"
>
详情
</span>
<span
@
click=
"goUrlX('BusInfo',
item,
outItem,'车配信息')"
>
详情
</span>
<span
@
click=
"DownLoadFile(item,outItem.NewCombinationNum)"
>
下载
</span>
</div>
</td>
...
...
@@ -291,14 +291,28 @@ totalPrice+=busInfo.CostPrice*(Number(busInfo.TransferNum)+1)*PeopleNum;
}
);
},
goUrlX
(
path
,
obj
,
title
){
console
.
log
(
obj
);
//
let
TotalSeat
=
0
;
obj
.
StaticsReportList
.
forEach
(
outItem
=>
{
TotalSeat
+=
outItem
.
CommonReport
.
HouseStatistics
.
RealityNum
;
});
this
.
$router
.
push
({
name
:
path
,
query
:{
"TCID"
:
obj
.
TCIDs
,
TotalNumber
:
TotalSeat
,
blank
:
'y'
,
tab
:
title
}})
goUrlX
(
path
,
obj
,
outItem
,
title
){
this
.
$router
.
push
({
name
:
path
,
query
:
{
"TCID"
:
obj
.
TCIDS
,
StartDate
:
obj
.
StartDateStr
,
DayNum
:
obj
.
DayNum
,
TotalNumber
:
obj
.
TotalSeat
,
//机位总数
RealityYSeatNum
:
obj
.
CommonReport
.
HouseStatistics
.
RealityYSeatNum
,
RealityESeatNum
:
obj
.
CommonReport
.
HouseStatistics
.
RealityESeatNum
,
RealityFSeatNum
:
obj
.
CommonReport
.
HouseStatistics
.
RealityFSeatNum
,
LeaderName
:
obj
.
LeaderName
,
GuideName
:
obj
.
GuideName
,
NewCombinationNum
:
outItem
.
NewCombinationNum
,
blank
:
'y'
,
title
:
obj
.
Titles
,
TCNUMS
:
obj
.
TCNUMS
,
InOut
:
obj
.
InOut
,
RealityNum
:
obj
.
CommonReport
.
HouseStatistics
.
RealityNum
,
tab
:
title
}
})
},
goUrlR
(
path
,
obj
,
title
){
this
.
$router
.
push
({
name
:
path
,
query
:{
"ID"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
...
...
This diff is collapsed.
Click to expand it.
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