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
1d910ef7
Commit
1d910ef7
authored
May 11, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
85269622
00a6f5f7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
403 additions
and
366 deletions
+403
-366
RegistrationStatistics.vue
...nents/TravelManager/TravelList/RegistrationStatistics.vue
+363
-333
RegistrationStatistics_Sale.vue
.../TravelManager/TravelList/RegistrationStatistics_Sale.vue
+15
-3
confirmationOrderDownLoad.vue
src/components/confirmationOrderDownLoad.vue
+5
-16
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+20
-14
No files found.
src/components/TravelManager/TravelList/RegistrationStatistics.vue
View file @
1d910ef7
<
style
>
.RegistrationStatistic
.Rs_LtName
{
.RegistrationStatistic
.Rs_LtName
{
text-align
:
left
;
padding-left
:
20px
;
}
}
.RegistrationStatistic
.RS_Nameover
{
.RegistrationStatistic
.RS_Nameover
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
...
...
@@ -12,89 +12,90 @@
-webkit-box-orient
:
vertical
;
cursor
:
pointer
;
text-align
:
left
;
}
}
.RegistrationStatistic
.singeRowTable
{
.RegistrationStatistic
.singeRowTable
{
border-collapse
:
collapse
;
}
}
.RegistrationStatistic
.singeRowTable
tr
td
{
.RegistrationStatistic
.singeRowTable
tr
td
{
border
:
1px
solid
#e5e5e5
;
}
}
.RegistrationStatistic
.Rs_Start1
{
.RegistrationStatistic
.Rs_Start1
{
background-color
:
#ff6670
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start2
{
.RegistrationStatistic
.Rs_Start2
{
background-color
:
#16e09d
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start3
{
.RegistrationStatistic
.Rs_Start3
{
background-color
:
#ff8547
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start4
{
.RegistrationStatistic
.Rs_Start4
{
background-color
:
#ff528b
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start5
{
.RegistrationStatistic
.Rs_Start5
{
background-color
:
#ffab1e
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start6
{
.RegistrationStatistic
.Rs_Start6
{
background-color
:
#7ccc4e
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start7
{
.RegistrationStatistic
.Rs_Start7
{
background-color
:
#b47df0
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start8
{
.RegistrationStatistic
.Rs_Start8
{
background-color
:
#00c8f5
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start9
{
.RegistrationStatistic
.Rs_Start9
{
background-color
:
#7598ff
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start10
{
.RegistrationStatistic
.Rs_Start10
{
background-color
:
#dbc500
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start11
{
.RegistrationStatistic
.Rs_Start11
{
background-color
:
#7598ff
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start12
{
.RegistrationStatistic
.Rs_Start12
{
background-color
:
#00d9c3
;
color
:
#fff
;
}
}
.RegistrationStatistic
.Rs_Start13
{
.RegistrationStatistic
.Rs_Start13
{
background-color
:
#40afff
;
color
:
#fff
;
}
}
.RegistrationStatistic
.RS_RedType
{
.RegistrationStatistic
.RS_RedType
{
color
:
#ff0000
;
}
}
.RegistrationStatistic
.Order_RS
{
.RegistrationStatistic
.Order_RS
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
}
</
style
>
<
template
>
<div
class=
"flexOne RegistrationStatistic"
>
...
...
@@ -110,53 +111,63 @@
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'system.table_ssLine'
)
}}
</em>
<el-select
v-model=
"queryMsg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLinePlaceList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></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=
"queryMsg.PlaceID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></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
(
'active.ad_xlmc'
)
}}
</em>
<el-select
v-model=
"queryMsg.ltID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.LineTeamList"
:label=
"item.LtName"
:value=
"item.LtID"
:key=
"item.LtID"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'system.table_ssLine'
)
}}
</em>
<el-select
v-model=
"queryMsg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLinePlaceList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></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=
"queryMsg.PlaceID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></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
(
'active.ad_xlmc'
)
}}
</em>
<el-select
v-model=
"queryMsg.ltID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.LineTeamList"
:label=
"item.LtName"
:value=
"item.LtID"
:key=
"item.LtID"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'fnc.tuanqi'
)
}}
</em>
<el-date-picker
class=
"w150"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
""
v-model=
"queryMsg.QStartDate"
>
<el-date-picker
class=
"w150"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
""
v-model=
"queryMsg.QStartDate"
>
</el-date-picker>
<el-date-picker
class=
"w150"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
""
v-model=
"queryMsg.QEndDate"
>
<el-date-picker
class=
"w150"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
""
v-model=
"queryMsg.QEndDate"
>
</el-date-picker>
</span>
</li>
<li>
<span>
<em>
机位占比
</em>
<el-input
class=
"w100"
type=
"text"
placeholder=
""
v-model=
"queryMsg.TicketStartNum"
@
keyup
.
native=
"checkPrice(queryMsg,'TicketStartNum')"
maxlength=
"3"
>
<el-input
class=
"w100"
type=
"text"
placeholder=
""
v-model=
"queryMsg.TicketStartNum"
@
keyup
.
native=
"checkPrice(queryMsg,'TicketStartNum')"
maxlength=
"3"
>
</el-input>
—
<el-input
class=
"w100"
type=
"text"
placeholder=
""
v-model=
"queryMsg.TicketEndNum"
@
keyup
.
native=
"checkPrice(queryMsg,'TicketEndNum')"
maxlength=
"3"
>
<el-input
class=
"w100"
type=
"text"
placeholder=
""
v-model=
"queryMsg.TicketEndNum"
@
keyup
.
native=
"checkPrice(queryMsg,'TicketEndNum')"
maxlength=
"3"
>
</el-input>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
/>
<button
class=
"hollowFixedBtn"
@
click=
"DownLoadFile()"
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
</li>
</ul>
...
...
@@ -165,7 +176,7 @@
<tr>
<th
width=
"50"
>
{{
$t
(
'active.ad_xuhao'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'Operation.Op_chutuan'
)
}}
</th>
<th
width=
'120'
>
{{
$t
(
'Operation.Op_TeamName'
)
}}
</th>
<th
width=
'120'
>
系列
</th>
<th
width=
"80"
>
{{
$t
(
'fnc.tuanqi'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'op.TQBH'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'Operation.Op_jinchudian'
)
}}
</th>
...
...
@@ -178,12 +189,13 @@
<th
width=
"80"
>
机票状态
</th>
<th
width=
"100"
>
{{
$t
(
'leader.leader_Leader'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'leader.leader_Guide'
)
}}
</th>
<th>
{{
$t
(
'hotel.hotel_remark'
)
}}
</th>
</tr>
<tbody
v-for=
"(item,index) in DataList"
:key=
"index"
>
<tr>
<td
rowspan=
"2"
:data-TCID=
"item.TCID"
:data-AirTicketId=
"item.AirTicketId"
>
{{
item
.
Num
}}
</td>
<td
:class=
"
{'Rs_Start1':item.StartCityNum==1,'Rs_Start2':item.StartCityNum==2,'Rs_Start3':item.StartCityNum==3,
<td
:class=
"
{'Rs_Start1':item.StartCityNum==1,'Rs_Start2':item.StartCityNum==2,'Rs_Start3':item.StartCityNum==3,
'Rs_Start4':item.StartCityNum==4,'Rs_Start5':item.StartCityNum==5,'Rs_Start6':item.StartCityNum==6,
'Rs_Start7':item.StartCityNum==7,'Rs_Start8':item.StartCityNum==8,'Rs_Start9':item.StartCityNum==9,
'Rs_Start10':item.StartCityNum==10,'Rs_Start11':item.StartCityNum==11,'Rs_Start12':item.StartCityNum==12,'Rs_Start13':item.StartCityNum==13}">
...
...
@@ -191,14 +203,16 @@
<td>
{{
item
.
LtName
}}
</td>
<td>
{{
item
.
StartDateStr
}}
{{
item
.
AlCode
}}
</td>
<td>
<span
title=
"点击跳转到团控列表"
:class=
"item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@
click=
"goUrlTCList('TravelControlList',item.TCNUM,'团控列表')"
>
{{
item
.
TCID
}}
</span>
<span
title=
"点击跳转到团控列表"
:class=
"item.TCID>0?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@
click=
"goUrlTCList('TravelControlList',item.TCNUM,'团控列表')"
>
{{
item
.
TCID
}}
</span>
</td>
<td>
{{
item
.
InOut
}}
</td>
<td>
{{
item
.
InOutTime
}}
</td>
<td>
{{
item
.
B2BMemberPrice
}}
</td>
<td>
{{
item
.
TotalSeat
}}
</td>
<td>
<span
title=
"点击跳转到报名清单"
class=
"Order_RS"
:class=
"
{'RS_RedType':item.OrderTotalNum>0}" @click="goUrl('RegistrationList',item.TCID,'设置领队')">
{{
item
.
OrderTotalNum
-
item
.
OrderLeaderGuestNum
}}
<span
title=
"点击跳转到报名清单"
class=
"Order_RS"
:class=
"
{'RS_RedType':item.OrderTotalNum>0}"
@click="goUrl('RegistrationList',item.TCID,'设置领队')">
{{
item
.
OrderTotalNum
-
item
.
OrderLeaderGuestNum
}}
<span
v-if=
"item.OrderLeaderGuestNum>0"
>
+
{{
item
.
OrderLeaderGuestNum
}}
</span>
</span>
</td>
...
...
@@ -212,12 +226,27 @@
{{
item
.
AirTicketStatusStr
}}
</td>
<td>
<span
title=
"点击跳转到报名清单"
:class=
"item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'"
@
click=
"goUrl('RegistrationList',item.TCID,'报名清单')"
>
{{
item
.
LeaderName
!=
""
&&
item
.
LeaderName
!=
null
?
item
.
LeaderName
:
"设置领队"
}}
</span>
<span
title=
"点击跳转到报名清单"
:class=
"item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'"
@
click=
"goUrl('RegistrationList',item.TCID,'报名清单')"
>
{{
item
.
LeaderName
!=
""
&&
item
.
LeaderName
!=
null
?
item
.
LeaderName
:
"设置领队"
}}
</span>
</td>
<td>
<span
title=
"点击跳转到设置导游页面"
:class=
"item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@
click=
"goUrl('leaderArrangement',item.TCID,'设置导游')"
>
{{
item
.
GuideName
!=
""
&&
item
.
GuideName
!=
null
?
item
.
GuideName
:
"设置导游"
}}
</span>
<span
title=
"点击跳转到设置导游页面"
:class=
"item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@
click=
"goUrl('leaderArrangement',item.TCID,'设置导游')"
>
{{
item
.
GuideName
!=
""
&&
item
.
GuideName
!=
null
?
item
.
GuideName
:
"设置导游"
}}
</span>
</td>
</tr>
<tr>
<td>
团名
</td>
<td
colspan=
"6"
>
<span
class=
"RS_Nameover"
>
{{
item
.
Title
}}
</span>
</td>
<td>
备注
</td>
<td
colspan=
"6"
>
<span
class=
"RS_Nameover"
>
{{
item
.
OPRemark
}}
</span>
</td>
</tr>
...
...
@@ -228,279 +257,280 @@
<p>
{{
$t
(
'active.ld_noData'
)
}}
</p>
</div>
<div
v-if=
"DataList.length>0"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'queryMsg.pageSize'
:total=
'total'
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'queryMsg.pageSize'
:total=
'total'
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
queryCommonData
:
{
//线路列表
LineList
:
[],
//系列列表
LineTeamList
:
[],
PlaceList
:[],
//目的地
//公司数据
BranchList
:
[],
//公用下拉默认
SelectDefaultValue
:
0
,
//公用下拉默认
SelectDefaultValue2
:
-
1
,
//loading
loading
:
false
},
queryMsg
:
{
pageIndex
:
1
,
pageSize
:
50
,
LineID
:
0
,
ltID
:
0
,
PlaceID
:
0
,
OutBranchId
:
-
1
,
QStartDate
:
""
,
QEndDate
:
""
,
TicketStartNum
:
""
,
TicketEndNum
:
""
,
uid
:
"0"
},
//数据列表
DataList
:
[],
currentPage
:
0
,
total
:
0
};
},
methods
:
{
goUrlTCList
(
path
,
TCNUMS
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
tcmun
:
TCNUMS
,
blank
:
"y"
,
tab
:
title
}
});
},
//初始化公司
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
();
var
RB_Group_id
=
userInfo
.
RB_Group_id
;
let
msg
=
{
Status
:
0
,
is_show
:
0
,
RB_Group_Id
:
RB_Group_id
};
this
.
apipost
(
"admin_get_BranchGetList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
BranchList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
//获取线路列表
getLineList
()
{
this
.
apipost
(
"line_post_GetList"
,
{
LineDirection
:
0
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
PlaceList
=
[];
this
.
queryCommonData
.
LineTeamList
=
[];
}
}
);
return
{
queryCommonData
:
{
//线路列表
LineList
:
[],
//系列列表
LineTeamList
:
[],
PlaceList
:
[],
//目的地
//公司数据
BranchList
:
[],
//公用下拉默认
SelectDefaultValue
:
0
,
//公用下拉默认
SelectDefaultValue2
:
-
1
,
//loading
loading
:
false
},
//获取目的地列表
getLinePlaceList
()
{
this
.
queryMsg
.
PlaceID
=
0
;
this
.
queryMsg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
};
this
.
apipost
(
"team_post_GetLinePlace"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
PlaceList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineTeamList
=
[];
}
});
},
//获取系列列表
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
placeID
:
this
.
queryMsg
.
PlaceID
,
isTOOP
:
1
};
this
.
apipost
(
"team_post_GetList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
;
}
});
queryMsg
:
{
pageIndex
:
1
,
pageSize
:
50
,
LineID
:
0
,
ltID
:
0
,
PlaceID
:
0
,
OutBranchId
:
-
1
,
QStartDate
:
""
,
QEndDate
:
""
,
TicketStartNum
:
""
,
TicketEndNum
:
""
,
uid
:
"0"
},
getList
()
{
this
.
queryCommonData
.
loading
=
true
;
if
(
this
.
queryMsg
.
TicketStartNum
==
""
)
{
this
.
queryMsg
.
TicketStartNum
=
0
;
//数据列表
DataList
:
[],
currentPage
:
0
,
total
:
0
};
},
methods
:
{
goUrlTCList
(
path
,
TCNUMS
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
tcmun
:
TCNUMS
,
blank
:
"y"
,
tab
:
title
}
});
},
//初始化公司
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
();
var
RB_Group_id
=
userInfo
.
RB_Group_id
;
let
msg
=
{
Status
:
0
,
is_show
:
0
,
RB_Group_Id
:
RB_Group_id
};
this
.
apipost
(
"admin_get_BranchGetList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
BranchList
=
res
.
data
.
data
;
}
if
(
this
.
queryMsg
.
TicketEndNum
==
""
)
{
this
.
queryMsg
.
TicketEndNum
=
0
;
},
err
=>
{}
);
},
//获取线路列表
getLineList
()
{
this
.
apipost
(
"line_post_GetList"
,
{
LineDirection
:
0
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
PlaceList
=
[];
this
.
queryCommonData
.
LineTeamList
=
[];
}
this
.
apipost
(
"travel_get_TravelPriceOrderStatistics"
,
this
.
queryMsg
,
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
this
.
queryMsg
.
TicketStartNum
==
0
)
{
this
.
queryMsg
.
TicketStartNum
=
""
;
}
if
(
this
.
queryMsg
.
TicketEndNum
==
0
)
{
this
.
queryMsg
.
TicketEndNum
=
""
;
}
this
.
total
=
res
.
data
.
data
.
count
;
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
DataList
.
forEach
(
item
=>
{
switch
(
item
.
StartCityName
)
{
case
"成都"
:
item
.
StartCityNum
=
1
;
break
;
case
"昆明"
:
item
.
StartCityNum
=
2
;
break
;
case
"重庆"
:
item
.
StartCityNum
=
3
;
break
;
case
"西安"
:
item
.
StartCityNum
=
4
;
break
;
case
"武汉"
:
item
.
StartCityNum
=
5
;
break
;
case
"贵阳"
:
item
.
StartCityNum
=
6
;
break
;
case
"南昌"
:
item
.
StartCityNum
=
7
;
break
;
case
"兰州"
:
item
.
StartCityNum
=
8
;
break
;
case
"票务"
:
item
.
StartCityNum
=
9
;
break
;
case
"长沙"
:
item
.
StartCityNum
=
10
;
break
;
case
"微途"
:
item
.
StartCityNum
=
11
;
break
;
case
"厦门"
:
item
.
StartCityNum
=
12
;
break
;
case
"南京"
:
item
.
StartCityNum
=
13
;
break
;
}
});
}
}
);
},
//获取目的地列表
getLinePlaceList
()
{
this
.
queryMsg
.
PlaceID
=
0
;
this
.
queryMsg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
};
this
.
apipost
(
"team_post_GetLinePlace"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
PlaceList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineTeamList
=
[];
}
});
},
//获取系列列表
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
;
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
placeID
:
this
.
queryMsg
.
PlaceID
,
isTOOP
:
1
};
this
.
apipost
(
"team_post_GetList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
;
}
});
},
getList
()
{
this
.
queryCommonData
.
loading
=
true
;
if
(
this
.
queryMsg
.
TicketStartNum
==
""
)
{
this
.
queryMsg
.
TicketStartNum
=
0
;
}
if
(
this
.
queryMsg
.
TicketEndNum
==
""
)
{
this
.
queryMsg
.
TicketEndNum
=
0
;
}
this
.
apipost
(
"travel_get_TravelPriceOrderStatistics"
,
this
.
queryMsg
,
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
this
.
queryMsg
.
TicketStartNum
==
0
)
{
this
.
queryMsg
.
TicketStartNum
=
""
;
}
if
(
this
.
queryMsg
.
TicketEndNum
==
0
)
{
this
.
queryMsg
.
TicketEndNum
=
""
;
}
this
.
total
=
res
.
data
.
data
.
count
;
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
DataList
.
forEach
(
item
=>
{
switch
(
item
.
StartCityName
)
{
case
"成都"
:
item
.
StartCityNum
=
1
;
break
;
case
"昆明"
:
item
.
StartCityNum
=
2
;
break
;
case
"重庆"
:
item
.
StartCityNum
=
3
;
break
;
case
"西安"
:
item
.
StartCityNum
=
4
;
break
;
case
"武汉"
:
item
.
StartCityNum
=
5
;
break
;
case
"贵阳"
:
item
.
StartCityNum
=
6
;
break
;
case
"南昌"
:
item
.
StartCityNum
=
7
;
break
;
case
"兰州"
:
item
.
StartCityNum
=
8
;
break
;
case
"票务"
:
item
.
StartCityNum
=
9
;
break
;
case
"长沙"
:
item
.
StartCityNum
=
10
;
break
;
case
"微途"
:
item
.
StartCityNum
=
11
;
break
;
case
"厦门"
:
item
.
StartCityNum
=
12
;
break
;
case
"南京"
:
item
.
StartCityNum
=
13
;
break
;
}
);
},
DownLoadFile
()
{
this
.
Info
(
"正在下载文件..."
);
if
(
this
.
queryMsg
.
TicketStartNum
==
""
)
{
this
.
queryMsg
.
TicketStartNum
=
0
;
});
}
if
(
this
.
queryMsg
.
TicketEndNum
==
""
)
{
this
.
queryMsg
.
TicketEndNum
=
0
;
}
);
},
DownLoadFile
()
{
this
.
Info
(
"正在下载文件..."
);
if
(
this
.
queryMsg
.
TicketStartNum
==
""
)
{
this
.
queryMsg
.
TicketStartNum
=
0
;
}
if
(
this
.
queryMsg
.
TicketEndNum
==
""
)
{
this
.
queryMsg
.
TicketEndNum
=
0
;
}
this
.
queryCommonData
.
loading
=
true
;
this
.
queryMsg
.
uid
=
this
.
getLocalStorage
().
EmployeeId
;
this
.
GetLocalFile
(
"travel_get_DownTravelPriceOrderStatistics"
,
this
.
queryMsg
,
"报名统计.xls"
,
res
=>
{
if
(
this
.
queryMsg
.
TicketStartNum
==
0
)
{
this
.
queryMsg
.
TicketStartNum
=
""
;
}
this
.
queryCommonData
.
loading
=
true
;
this
.
queryMsg
.
uid
=
this
.
getLocalStorage
().
EmployeeId
;
this
.
GetLocalFile
(
"travel_get_DownTravelPriceOrderStatistics"
,
this
.
queryMsg
,
"报名统计.xls"
,
res
=>
{
if
(
this
.
queryMsg
.
TicketStartNum
==
0
)
{
this
.
queryMsg
.
TicketStartNum
=
""
;
}
if
(
this
.
queryMsg
.
TicketEndNum
==
0
)
{
this
.
queryMsg
.
TicketEndNum
=
""
;
}
this
.
queryCommonData
.
loading
=
false
;
}
);
},
goUrl
(
path
,
id
,
NameStr
)
{
if
(
id
>
0
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
"y"
,
tab
:
NameStr
}
});
}
else
{
this
.
$router
.
push
({
name
:
path
});
if
(
this
.
queryMsg
.
TicketEndNum
==
0
)
{
this
.
queryMsg
.
TicketEndNum
=
""
;
}
},
goUrlTM
(
path
,
TCNUM
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
TCNUM
}
});
},
addMoth
(
d
,
m
)
{
let
ds
=
d
.
split
(
"-"
),
_d
=
ds
[
2
]
-
0
;
let
nextM
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
+
1
,
0
);
let
max
=
nextM
.
getDate
();
d
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
,
_d
>
max
?
max
:
_d
);
return
d
.
toLocaleDateString
()
.
match
(
/
\d
+/g
)
.
join
(
"-"
);
},
handleCurrentChange
:
function
(
val
)
{
//翻页
this
.
queryMsg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
:
function
()
{
// 重置页码
this
.
queryMsg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
this
.
queryCommonData
.
loading
=
false
;
}
);
},
goUrl
(
path
,
id
,
NameStr
)
{
if
(
id
>
0
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
"y"
,
tab
:
NameStr
}
});
}
else
{
this
.
$router
.
push
({
name
:
path
});
}
},
goUrlTM
(
path
,
TCNUM
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
TCNUM
}
});
},
addMoth
(
d
,
m
)
{
let
ds
=
d
.
split
(
"-"
),
_d
=
ds
[
2
]
-
0
;
let
nextM
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
+
1
,
0
);
let
max
=
nextM
.
getDate
();
d
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
,
_d
>
max
?
max
:
_d
);
return
d
.
toLocaleDateString
()
.
match
(
/
\d
+/g
)
.
join
(
"-"
);
},
handleCurrentChange
:
function
(
val
)
{
//翻页
this
.
queryMsg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
:
function
()
{
// 重置页码
this
.
queryMsg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
}
},
mounted
()
{
let
myDate
=
new
Date
();
let
nowDate
=
myDate
.
getFullYear
()
+
"-"
+
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
myDate
.
getDate
();
let
myDate
=
new
Date
();
let
nowDate
=
myDate
.
getFullYear
()
+
"-"
+
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
myDate
.
getDate
();
this
.
queryMsg
.
QStartDate
=
nowDate
;
this
.
queryMsg
.
QEndDate
=
this
.
addMoth
(
nowDate
,
1
);
this
.
getCompanyList
();
this
.
getLineList
();
this
.
getList
();
this
.
queryMsg
.
QStartDate
=
nowDate
;
this
.
queryMsg
.
QEndDate
=
this
.
addMoth
(
nowDate
,
1
);
this
.
getCompanyList
();
this
.
getLineList
();
this
.
getList
();
}
};
};
</
script
>
src/components/TravelManager/TravelList/RegistrationStatistics_Sale.vue
View file @
1d910ef7
...
...
@@ -159,7 +159,7 @@
<tr>
<th
width=
"50"
>
{{
$t
(
'salesModule.Xu'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'Operation.Op_chutuan'
)
}}
</th>
<th
width=
'200'
>
{{
$t
(
'Operation.Op_TeamName'
)
}}
</th>
<th
width=
'200'
>
系列
</th>
<th
width=
"80"
>
{{
$t
(
'fnc.tuanqi'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'Operation.Op_jinchudian'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'Operation.Op_ArriveTime'
)
}}
</th>
...
...
@@ -169,7 +169,6 @@
<th
width=
"80"
>
{{
$t
(
'Operation.Op_orderNum'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'leader.leader_Leader'
)
}}
</th>
<th
width=
"100"
>
{{
$t
(
'leader.leader_Guide'
)
}}
</th>
<th>
{{
$t
(
'pub.pubRemark'
)
}}
</th>
</tr>
<tbody
v-for=
"item in DataList"
>
<tr>
...
...
@@ -199,7 +198,20 @@
<td><span
:class=
"item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'"
@
click=
"goUrl('leaderArrangement',item.TCID,'设置导游')"
>
{{
item
.
GuideName
!=
""
&&
item
.
GuideName
!=
null
?
item
.
GuideName
:
"设置导游"
}}
</span>
</td>
<td><span
class=
"RS_Nameover"
>
{{
item
.
OPRemark
}}
</span></td>
</tr>
<tr>
<td>
团名
</td>
<td
colspan=
"6"
>
<span
class=
"RS_Nameover"
>
{{
item
.
Title
}}
</span>
</td>
<td>
备注
</td>
<td
colspan=
"6"
>
<span
class=
"RS_Nameover"
>
{{
item
.
OPRemark
}}
</span>
</td>
</tr>
</tbody>
</table>
...
...
src/components/confirmationOrderDownLoad.vue
View file @
1d910ef7
...
...
@@ -64,7 +64,7 @@
@
click=
"gernalFeature(0)"
/>
<input
type=
"button"
style=
"width: auto !important;"
class=
"travelControlTripBtn"
value=
"下载电脑版WORD"
@
click=
"gernalFeature(1)"
/>
-->
<input
type=
"button"
value=
"新版行程"
class=
"travelControlTripBtn"
@
click=
"goUrlView()"
/>
<input
type=
"button"
value=
"新版行程"
class=
"travelControlTripBtn"
@
click=
"goUrlView()"
style=
"display:none;"
/>
<el-checkbox
v-model=
"isShowTime"
>
显示行程日期
</el-checkbox>
<a
class=
"travelControlTripBtn"
v-if=
"priceList.length>0&& priceList[0].wordPath!=''"
style=
"display:inline-block;text-decoration:none;
width:135px;text-align:center;line-height:30px;font-size:13px;position:relative;top:2px;"
...
...
@@ -180,11 +180,8 @@
<div
class=
"collection-item clearfix"
>
<div><img
src=
"../assets/img/TravelControlTripIcon11.png"
/>
机场服务
</div>
<span>
<template
v-if=
"orderTripdiff&&orderTripdiff.airportService&&orderTripdiff.airportService!=''"
>
{{
orderTripdiff
.
airportService
}}
</
template
>
<
template
v-else-if=
"orderMsg&&orderMsg.airportServicePerson&&orderMsg.airportServicePerson!=''"
>
{{
orderMsg
.
airportServicePerson
+
"/"
+
orderMsg
.
airportServicePhone
}}
<template
v-if=
"orderMsg&&orderMsg.airportServicePerson&&orderMsg.airportServicePerson!=''"
>
{{
orderMsg
.
airportServicePerson
}}
</
template
>
</span>
</div>
...
...
@@ -203,18 +200,10 @@
<div><img
src=
"../assets/img/TravelControlTripIcon13.png"
/>
紧急联系人
</div>
<
template
>
<span
v-if=
'vshowLLR'
>
<template
v-if=
"orderTripdiff&&orderTripdiff.emergencyContact!=''"
>
{{
orderTripdiff
.
emergencyContact
}}
</
template
>
<
template
v-else-if=
"orderMsg.branchManager&&orderMsg.branchManager!=''&&orderMsg.mobilePhone&&orderMsg.mobilePhone!=''"
>
{{
orderMsg
.
branchManager
+
"/"
+
orderMsg
.
mobilePhone
}}
</
template
>
<
template
v-else-if=
"orderMsg.sellName!=''&&orderMsg.sellTel!=''"
>
{{
orderMsg
.
sellName
+
"/"
+
orderMsg
.
sellTel
}}
<template
v-if=
"orderMsg.emergencyContact!=''"
>
{{
orderMsg
.
emergencyContact
}}
</
template
>
</span>
<span
v-else
></span>
</template>
</div>
</td>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
1d910ef7
...
...
@@ -648,7 +648,7 @@
</el-input>
</el-form-item>
<span
class=
"TP_Sendprepend"
>
{{$t('sm.songqianshijian')}}
</span>
<el-form-item
prop=
"SendVisaTime"
style=
"margin-top:1px;"
>
<el-form-item
prop=
"SendVisaTime"
>
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
</el-form-item>
...
...
@@ -730,15 +730,20 @@
<
template
slot=
"prepend"
>
{{
$t
(
'sm.jihedidian'
)
}}
</
template
>
</el-input>
</el-form-item>
<el-form-item>
<span
class=
"TP_Sendprepend"
style=
"margin-left:0;width:120px;"
>
{{$t('sm.xiaoshouzt')}}
</span>
<el-select
class=
"w180"
v-model=
"priceData.TCSaleState"
>
<el-option
v-for=
"item in TeamList"
:key=
"item.Id"
:label=
"item.name"
:value=
"item.Id"
>
</el-option>
</el-select>
<el-form-item
style=
"margin-top:1px;"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w260"
v-model=
"priceData.AirportService"
>
<
template
slot=
"prepend"
>
{{
$t
(
'op.AirSupplier'
)
}}
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"EmergencyContact"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w260"
v-model=
"priceData.EmergencyContact"
>
<
template
slot=
"prepend"
>
紧急联系人
</
template
>
</el-input>
</el-form-item>
<el-form-item>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w
4
60 ComSeat"
v-model=
"priceData.GatherTag"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w
2
60 ComSeat"
v-model=
"priceData.GatherTag"
>
<
template
slot=
"prepend"
>
{{
$t
(
'op.JHbiaoshi'
)
}}
</
template
>
</el-input>
</el-form-item>
...
...
@@ -778,15 +783,15 @@
<i
class=
"iconfont icon-arrow-down SimulaDrop"
></i>
</div>
</el-popover>
<el-form-item
style=
"margin-top:1px;"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w460 ComSeat"
v-model=
"priceData.AirportService"
>
<
template
slot=
"prepend"
>
{{
$t
(
'op.AirSupplier'
)
}}
</
template
>
</el-input>
<el-form-item>
<span
class=
"TP_Sendprepend"
style=
"margin-left:0;width:120px;"
>
{{$t('sm.xiaoshouzt')}}
</span>
<el-select
class=
"w180"
v-model=
"priceData.TCSaleState"
>
<el-option
v-for=
"item in TeamList"
:key=
"item.Id"
:label=
"item.name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
</div>
</div>
<div
class=
"clearfix"
>
<div
class=
"leftSetInfo"
>
<span
class=
"TPbaseSet"
></span>
...
...
@@ -1363,6 +1368,7 @@
PriceOfferName
:
""
,
//报价单名称
IsUseCompanyBus
:
0
,
//是否使用公司车辆
BusPriceId
:
0
,
//公司车辆编号
EmergencyContact
:
""
,
//紧急联系人
};
}
this
.
returnPriceList
.
push
(
objItem
);
...
...
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