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
b0776ff3
Commit
b0776ff3
authored
Jan 26, 2026
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
3cce5d4a
9b1714c6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
476 additions
and
28 deletions
+476
-28
HPTripPlan.vue
src/components/busManagement/HPTripPlan.vue
+17
-17
JourneyTripPlan copy.vue
src/components/busManagement/JourneyTripPlan copy.vue
+421
-0
JourneyTripPlan.vue
src/components/busManagement/JourneyTripPlan.vue
+38
-11
No files found.
src/components/busManagement/HPTripPlan.vue
View file @
b0776ff3
...
@@ -10,9 +10,7 @@
...
@@ -10,9 +10,7 @@
.tripPlanTab
tr
th
{
.tripPlanTab
tr
th
{
border
:
1px
solid
#d2d2d2
;
border
:
1px
solid
#d2d2d2
;
text-align
:
center
;
text-align
:
center
;
padding-left
:
1px
;
min-width
:
60px
;
padding-right
:
1px
;
min-width
:
55px
;
height
:
29px
;
height
:
29px
;
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
...
@@ -82,21 +80,21 @@
...
@@ -82,21 +80,21 @@
</span>
</span>
</li>
</li>
<li>
<li>
<
input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/
>
<
el-button
type=
"primary"
size=
"small"
@
click=
"getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</el-button
>
<
button
class=
"normalBtn"
type=
"button"
@
click=
"downLoadPlan()"
>
{{
$t
(
'adm.adm_download'
)
}}
</
button>
<
el-button
type=
"primary"
size=
"small"
@
click=
"downLoadPlan()"
>
{{
$t
(
'adm.adm_download'
)
}}
</el-
button>
</li>
</li>
</ul>
</ul>
</div>
</div>
<el-tag
effect=
"dark"
color=
"#29b6f6"
>
已制单
</el-tag>
<el-tag
effect=
"dark"
color=
"#29b6f6"
>
已制单
</el-tag>
<div
style=
"float: right;"
>
<div
style=
"float: right;"
>
<el-select
v-model=
"CarId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
"CarId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in carList"
:label=
"item.CarName+`(`+item.CarNo+`)`"
:value=
"item.Id"
<el-option
v-for=
"item in carList"
:label=
"item.CarName+`(`+item.CarNo+`)`"
:value=
"item.Id"
:key=
"item.Id"
>
:key=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-button
type=
"success"
size=
"mini"
round
@
click=
"SureCar()
"
>
确认派车
</el-button>
<el-button
type=
"success"
size=
"mini"
@
click=
"SureCar()"
:loading=
"saveLoading
"
>
确认派车
</el-button>
</div>
</div>
<div
style=
"width: 9
8%; overflow-x: hidden;padding-bottom: 50px;
"
:style=
"
{height: boxHeight + 'px'}"
<div
style=
"width: 9
9%; overflow-x: hidden;padding-bottom: 50px;margin-top:5px;
"
:style=
"
{height: boxHeight + 'px'}"
class="ownScrollbarStyle" v-loading="loading">
class="ownScrollbarStyle" v-loading="loading">
<table
class=
"tripPlanTab"
v-if=
"dataList&&dataList.length>0"
>
<table
class=
"tripPlanTab"
v-if=
"dataList&&dataList.length>0"
>
<thead>
<thead>
...
@@ -129,21 +127,21 @@
...
@@ -129,21 +127,21 @@
<td
:key=
"`d1_`+index+`s1_`+subIndex+`d1`+childIndex"
<td
:key=
"`d1_`+index+`s1_`+subIndex+`d1`+childIndex"
:class=
"
{'tdTopBorder': childItem.OrderId>0,'tdTopLeftBorder':childItem.DayNum==1
&&
childItem.OrderId>0,'tdTopRightBorder':childItem.DayNum==childItem.ColumnNum
&&
childItem.OrderId>0}">
:class=
"
{'tdTopBorder': childItem.OrderId>0,'tdTopLeftBorder':childItem.DayNum==1
&&
childItem.OrderId>0,'tdTopRightBorder':childItem.DayNum==childItem.ColumnNum
&&
childItem.OrderId>0}">
<template
v-if=
"childItem.OrderId>0"
>
<template
v-if=
"childItem.OrderId>0"
>
<font
:style=
"
{color: childItem.Income>0?'#29b6f6':'#000000'}"
>
<font
>
<template
v-if=
"childItem.UseType==1"
>
<template
v-if=
"childItem.UseType==1"
>
接
<font
style=
"color:#FF0080"
>
接
</font>
</
template
>
</
template
>
<
template
v-else-if=
"childItem.UseType==2"
>
<
template
v-else-if=
"childItem.UseType==2"
>
送
<font
style=
"color:#FF0080"
>
送
</font>
</
template
>
</
template
>
<
template
v-else-if=
"childItem.UseType==3"
>
<
template
v-else-if=
"childItem.UseType==3"
>
半天
半天
</
template
>
</
template
>
<
template
v-else-if=
"childItem.UseType==4"
>
<
template
v-else-if=
"childItem.UseType==4"
>
√
<font
style=
"color:#67C23A"
>
√
</font>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
X
<font
style=
"color:red;"
>
X
</font>
</
template
>
</
template
>
</font>
</font>
<br/>
<br/>
...
@@ -231,7 +229,8 @@
...
@@ -231,7 +229,8 @@
isHaveAuth
:
false
,
isHaveAuth
:
false
,
boxHeight
:
0
,
boxHeight
:
0
,
CarOrderIds
:
""
,
CarOrderIds
:
""
,
CarId
:
""
CarId
:
""
,
saveLoading
:
false
,
}
}
},
},
components
:
{
components
:
{
...
@@ -356,8 +355,9 @@
...
@@ -356,8 +355,9 @@
});
});
if
(
OrderIds
.
length
==
0
){
this
.
Error
(
'请勾选订单'
);
return
;}
if
(
OrderIds
.
length
==
0
){
this
.
Error
(
'请勾选订单'
);
return
;}
if
(
this
.
CarId
<=
0
){
this
.
Error
(
'请选择车辆'
);
return
;}
if
(
this
.
CarId
<=
0
){
this
.
Error
(
'请选择车辆'
);
return
;}
this
.
saveLoading
=
true
;
this
.
apipost
(
'travel_post_SetTripUseCar'
,
{
OrderIds
:
OrderIds
.
join
(
','
),
CarId
:
this
.
CarId
},
res
=>
{
this
.
apipost
(
'travel_post_SetTripUseCar'
,
{
OrderIds
:
OrderIds
.
join
(
','
),
CarId
:
this
.
CarId
},
res
=>
{
this
.
l
oading
=
false
;
this
.
saveL
oading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
this
.
getList
();
}
else
{
}
else
{
...
...
src/components/busManagement/JourneyTripPlan copy.vue
0 → 100644
View file @
b0776ff3
This diff is collapsed.
Click to expand it.
src/components/busManagement/JourneyTripPlan.vue
View file @
b0776ff3
...
@@ -10,10 +10,9 @@
...
@@ -10,10 +10,9 @@
.journeyTripTab
tr
th
{
.journeyTripTab
tr
th
{
border
:
1px
solid
#d2d2d2
;
border
:
1px
solid
#d2d2d2
;
text-align
:
center
;
text-align
:
center
;
padding-left
:
1px
;
padding-right
:
1px
;
min-width
:
60px
;
min-width
:
60px
;
height
:
29px
;
height
:
29px
;
line-height
:
29px
;
;
position
:
sticky
;
position
:
sticky
;
top
:
0
;
top
:
0
;
z-index
:
10
;
z-index
:
10
;
...
@@ -30,7 +29,6 @@
...
@@ -30,7 +29,6 @@
font-size
:
14px
;
font-size
:
14px
;
}
}
.journeyTripTab
tr
td
.tdTopBorder
{
.journeyTripTab
tr
td
.tdTopBorder
{
border-top
:
1px
solid
black
!important
;
border-top
:
1px
solid
black
!important
;
}
}
...
@@ -49,6 +47,25 @@
...
@@ -49,6 +47,25 @@
border-left
:
1px
solid
black
!important
;
border-left
:
1px
solid
black
!important
;
border-right
:
1px
solid
black
!important
;
border-right
:
1px
solid
black
!important
;
}
}
.journeyTripTab
tr
td
.tdMergeBusTopBorder
{
border-top
:
1px
solid
blue
!important
;
}
.journeyTripTab
tr
td
.tdMergeBusTopLeftBorder
{
border-left
:
1px
solid
blue
!important
;
}
.journeyTripTab
tr
td
.tdMergeBusTopRightBorder
{
border-right
:
1px
solid
blue
!important
;
}
.journeyTripTab
tr
td
.tdMergeBusBottomBorder
{
border-bottom
:
1px
solid
blue
!important
;
border-left
:
1px
solid
blue
!important
;
border-right
:
1px
solid
blue
!important
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -82,9 +99,8 @@
...
@@ -82,9 +99,8 @@
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<el-button
type=
"primary"
size=
"small"
@
click=
"getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</el-button>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('op.TDHT')"
@
click=
"mergeBus"
<el-button
type=
"primary"
size=
"small"
v-show=
"this.ArrList.length>1"
@
click=
"mergeBus()"
:loading=
"saveLoading"
>
团队套车
</el-button>
v-show=
"this.ArrList.length>1"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -106,14 +122,20 @@
...
@@ -106,14 +122,20 @@
<tbody
v-for=
"(item,index) in dataList"
:key=
"`d_`+index"
>
<tbody
v-for=
"(item,index) in dataList"
:key=
"`d_`+index"
>
<tr
:key=
"`d1_`+index"
>
<tr
:key=
"`d1_`+index"
>
<
template
v-for=
"(subItem,subIndex) in item"
>
<
template
v-for=
"(subItem,subIndex) in item"
>
<td
:key=
"`d1_`+index+`s1_`+subIndex"
:class=
"
{'tdTopBorder': subItem.TCID>0,'tdTopLeftBorder':subItem.DayNum==1
&&
subItem.TCID>0,'tdTopRightBorder':subItem.DayNum==subItem.ColumnNum
&&
subItem.TCID>0}">
<td
:key=
"`d1_`+index+`s1_`+subIndex"
:class=
"
{
'tdTopBorder': subItem.TCID>0
&&
!subItem.IsMergeBus,
'tdMergeBusTopBorder': subItem.TCID>0
&&
subItem.IsMergeBus,
'tdTopLeftBorder':subItem.DayNum==1
&&
subItem.TCID>0,
'tdTopRightBorder':subItem.DayNum==subItem.ColumnNum
&&
subItem.TCID>0
}">
<template
v-if=
"subItem.TCID>0"
>
<template
v-if=
"subItem.TCID>0"
>
<font>
<font>
<template
v-if=
"subItem.AirportPickUp==1"
>
<template
v-if=
"subItem.AirportPickUp==1"
>
<font
style=
"color:#FF0080"
>
接
</font>
<font
style=
"color:#FF0080"
>
接
</font>
</
template
>
</
template
>
<
template
v-else-if=
"subItem.AirportPickUp==2"
>
<
template
v-else-if=
"subItem.AirportPickUp==2"
>
<font
style=
"color:#FF0080"
>
送
</font>
<font
style=
"color:#FF0080"
>
送
</font>
</
template
>
</
template
>
<
template
v-else-if=
"subItem.AirportPickUp==16"
>
<
template
v-else-if=
"subItem.AirportPickUp==16"
>
<font
style=
"color:#FF0080"
>
酒店派车
</font>
<font
style=
"color:#FF0080"
>
酒店派车
</font>
...
@@ -183,7 +205,7 @@
...
@@ -183,7 +205,7 @@
<el-button
v-if=
"subItem.CarIsPush!=1"
type=
"text"
@
click=
"setBusOrder(subItem)"
>
同步
</el-button>
<el-button
v-if=
"subItem.CarIsPush!=1"
type=
"text"
@
click=
"setBusOrder(subItem)"
>
同步
</el-button>
<!-- <el-button v-else type="text" @click="cancelBusOrder(subItem)" style="color:red;">取消</el-button> -->
<!-- <el-button v-else type="text" @click="cancelBusOrder(subItem)" style="color:red;">取消</el-button> -->
<el-button
v-if=
"subItem.
TCID+''!=subItem.TCID
s"
type=
"text"
@
click=
"splitBus(subItem)"
style=
"color:red;"
>
拆分
</el-button>
<el-button
v-if=
"subItem.
IsMergeBu
s"
type=
"text"
@
click=
"splitBus(subItem)"
style=
"color:red;"
>
拆分
</el-button>
</td>
</td>
</template>
</template>
<
template
v-else
>
<
template
v-else
>
...
@@ -213,6 +235,7 @@
...
@@ -213,6 +235,7 @@
boxHeight
:
0
,
boxHeight
:
0
,
BranchList
:
[],
BranchList
:
[],
ArrList
:[],
//合团
ArrList
:[],
//合团
saveLoading
:
false
,
}
}
},
},
components
:
{},
components
:
{},
...
@@ -345,9 +368,11 @@
...
@@ -345,9 +368,11 @@
sumArr
.
push
(
item
)
sumArr
.
push
(
item
)
});
});
if
(
sumArr
!=
null
&&
sumArr
.
length
>
0
)
{
if
(
sumArr
!=
null
&&
sumArr
.
length
>
0
)
{
this
.
saveLoading
=
true
;
this
.
apipost
(
'travel_post_MergeUseBus'
,
{
this
.
apipost
(
'travel_post_MergeUseBus'
,
{
Ids
:
sumArr
Ids
:
sumArr
},
res
=>
{
},
res
=>
{
this
.
saveLoading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getList
()
this
.
getList
()
...
@@ -355,7 +380,9 @@
...
@@ -355,7 +380,9 @@
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
}
}
},
err
=>
{});
},
err
=>
{
this
.
saveLoading
=
true
;
});
}
}
},
},
//拆团
//拆团
...
...
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