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
19653a75
Commit
19653a75
authored
Feb 15, 2019
by
王悦
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
2641d8c3
313b3517
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
3779 additions
and
3430 deletions
+3779
-3430
ComplaintsDetail.vue
src/components/Complaints/ComplaintsDetail.vue
+33
-7
ComplaintsManage.vue
src/components/Complaints/ComplaintsManage.vue
+163
-75
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+1
-1
sellCommissionRules.vue
src/components/FinancialModule/sellCommissionRules.vue
+1
-1
customerTransfer.vue
src/components/SalesModule/customerTransfer.vue
+3
-0
enrollTotal.vue
src/components/SalesModule/enrollTotal.vue
+6
-1
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+3024
-2778
planeTicketInquiry.vue
src/components/SalesModule/planeTicketInquiry.vue
+8
-109
productQuery.vue
src/components/SalesModule/productQuery.vue
+1
-1
ShoppingStore.vue
src/components/ShoppingStore/ShoppingStore.vue
+5
-24
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+521
-433
index.vue
src/components/index.vue
+13
-0
No files found.
src/components/Complaints/ComplaintsDetail.vue
View file @
19653a75
...
...
@@ -202,11 +202,15 @@
<ul>
<li><span>
线路:
</span>
{{
PriceInfo
.
LineName
}}
</li>
<li><span>
系列:
</span>
{{
PriceInfo
.
LtName
}}
</li>
<li><span>
团队编号:
</span><a>
{{
PriceInfo
.
TCID
}}
</a></li>
<li><span>
团队编号:
</span><a
style=
"text-decoration:underline;cursor:pointer;"
@
click=
"goTeamBalancePayment('团队收支','TeamBalancePayment',PriceInfo.TCID,PriceInfo.OutBranchId)"
>
{{
PriceInfo
.
TCID
}}
</a>
</li>
<li><span>
行程天数:
</span>
{{
PriceInfo
.
DayNum
}}
</li>
<li><span>
出发日期:
</span>
{{
PriceInfo
.
StartDate
}}
</li>
<li><span>
返回日期:
</span>
{{
PriceInfo
.
BackDate
}}
</li>
<li><span>
订单号:
</span><a>
{{
PriceInfo
.
OrderId
}}
</a></li>
<li><span>
订单号:
</span><a
style=
"text-decoration:underline;cursor:pointer;"
@
click=
"goEnrollTotal('报名统计','enrollTotal',PriceInfo.OrderId)"
>
{{
PriceInfo
.
OrderId
}}
</a>
</li>
<li><span>
业务员:
</span>
{{
PriceInfo
.
Salesman
}}
</li>
<li><span>
线控:
</span>
{{
PriceInfo
.
DriveByWire
}}
</li>
<li><span>
操作OP:
</span>
{{
PriceInfo
.
OpName
}}
</li>
...
...
@@ -231,7 +235,7 @@
<span>
已赔金额:
</span>
{{
getBackMoney
()
}}
</li>
<li
v-if=
"ComplainInfo.DisposeStatus===4&&
getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy
"
>
v-if=
"ComplainInfo.DisposeStatus===4&&
(getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy||authority.indexOf('S_Complain_Finance')!=-1)
"
>
<span>
单据详情:
</span>
<span
v-for=
"compensation in ComplainCompensation"
class=
"CD_dealResult"
href=
"javascript:void(0)"
@
click=
"setFinance(compensation)"
>
{{
compensation
.
CompensateMoney
}}
</span>
...
...
@@ -444,7 +448,8 @@
ishowBtn
:
true
,
showAppendMoney
:
false
,
CompensateMoney
:
0
,
//赔偿金额
ComplainCompensation
:
[]
//赔款列表
ComplainCompensation
:
[],
//赔款列表
authority
:
[],
}
},
methods
:
{
...
...
@@ -604,13 +609,13 @@
})
}
else
if
(
compensation
.
FinanceID
>
0
)
{
this
.
$router
.
push
({
name
:
"FinancialDocumentsDetail"
,
name
:
'FinancialDocumentsDetail'
,
query
:
{
id
:
compensation
.
FinanceID
,
blank
:
'y'
,
tab
:
"单据详情"
tab
:
'单据详情'
}
})
;
})
}
},
...
...
@@ -727,6 +732,26 @@
})
return
money
},
goEnrollTotal
(
name
,
path
,
orderId
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
orderId
:
orderId
,
blank
:
'y'
,
tab
:
name
}
})
},
goTeamBalancePayment
(
name
,
path
,
id
,
outBranchId
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
outBranchId
:
outBranchId
,
blank
:
'y'
,
tab
:
name
}
})
},
initAuthor
()
{
let
msg
=
{
MenuUrl
:
"/ChoiceAddFinancialDocuments"
};
this
.
apipost
(
"admin_get_GetActionCodeForUrlAndUser"
,
msg
,
r
=>
{
this
.
authority
=
r
.
data
.
data
;
});
},
},
mounted
()
{
this
.
queryMsg
.
ID
=
this
.
$route
.
query
.
id
...
...
@@ -734,6 +759,7 @@
this
.
getEnumeration
()
this
.
getEmployeeList
()
this
.
getDetial
()
this
.
initAuthor
();
}
}
...
...
src/components/Complaints/ComplaintsManage.vue
View file @
19653a75
<
style
>
.CM_detail
{
color
:
#3980C8
;
cursor
:
pointer
;
}
.CM_detail
:hover
{
text-decoration
:
underline
;
color
:
#E95252
;
}
.Complain_info
{
margin
:
20px
0
;
}
.Complain_item
{
font-weight
:
400
;
padding
:
10px
;
height
:
100%
;
border
:
1px
solid
#E6E6E6
;
background-color
:
#FFFFFF
;
color
:
#333333
;
}
.Complain_item
span
{
font-size
:
14px
;
}
.Complain_item
div
{
margin-top
:
7px
;
}
.Complain_item
div
i
{
font-size
:
12px
;
}
.complain_col
{
height
:
60px
;
}
.Complain_green
{
color
:
#1BC594
;
}
.Com_yingfu
{
font-size
:
16px
;
color
:
#1BC594
;
font-weight
:
bold
;
}
.Com_zong
{
font-size
:
16px
;
color
:
#E95252
;
font-weight
:
bold
;
}
</
style
>
<
template
>
...
...
@@ -98,10 +135,32 @@
</li>
</ul>
</div>
<!-- 统计版块 -->
<div
class=
"Complain_info"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
class=
"complain_col"
>
<div
class=
"Complain_item"
>
<div>
<i
class=
"iconfont icon-qian Complain_green"
></i>
<span>
应赔总金额:
<span
class=
"Com_yingfu"
>
{{
complainStatistic
.
compensateTotalMoney
}}
</span></span>
</div>
</div>
</el-col>
<el-col
:span=
"4"
class=
"complain_col"
>
<div
class=
"Complain_item"
>
<div>
<i
class=
"iconfont icon-qian Complain_green"
></i>
<span>
实赔总金额:
<span
class=
"Com_zong"
>
{{
complainStatistic
.
backTotalMoney
}}
</span></span>
</div>
</div>
</el-col>
</el-row>
</div>
<div
class=
"commonContent"
v-loading=
"queryCommonData.loading"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
投诉编号
</th>
<th>
团队编号
</th>
<th>
订单号
</th>
<th>
投诉内容
</th>
<th>
严重程度
</th>
...
...
@@ -116,13 +175,19 @@
</tr>
<tr
v-for=
"item in queryCommonData.dataList"
>
<td>
{{
item
.
ID
}}
</td>
<td>
{{
item
.
OrderID
}}
</td>
<td
style=
"text-decoration:underline;cursor:pointer;"
@
click=
"goTeamBalancePayment('团队收支','TeamBalancePayment',item.TCID,item.OutBranchId)"
>
{{
item
.
TCNUM
}}
(
{{
item
.
TCID
}}
)
</td>
<td
style=
"text-decoration:underline;cursor:pointer;"
@
click=
"goEnrollTotal('报名统计','enrollTotal',item.OrderID)"
>
{{
item
.
OrderID
}}
</td>
<td>
{{
item
.
Contentrs
}}
</td>
<td>
{{
item
.
SeverityLevelStr
}}
</td>
<td>
{{
item
.
RecordEmpName
}}
</td>
<td>
{{
item
.
DisposeStatusStr
}}
</td>
<td>
{{
item
.
DisposeStatus
===
4
?
item
.
ShouldPayMoney
:
""
}}
</td>
<td>
{{
item
.
DisposeStatus
===
4
?
item
.
BackMoney
:
""
}}
</td>
<td>
{{
item
.
DisposeStatus
===
4
?
item
.
ShouldPayMoney
:
''
}}
</td>
<td>
{{
item
.
DisposeStatus
===
4
?
item
.
BackMoney
:
''
}}
</td>
<td>
{{
item
.
CurrentDealEmpName
}}
</td>
<td>
{{
getTimeConsuming
(
item
,
1
)
}}
</td>
<td>
{{
getTimeConsuming
(
item
,
2
)
}}
</td>
...
...
@@ -143,7 +208,7 @@
<
script
>
export
default
{
data
()
{
data
()
{
return
{
queryCommonData
:
{
//下拉默认值
...
...
@@ -184,12 +249,13 @@
TCID
:
''
,
pageIndex
:
1
,
pageSize
:
10
},
complainStatistic
:
{}
}
};
},
methods
:
{
//添加修改投诉
goUrl
(
path
,
id
)
{
goUrl
(
path
,
id
)
{
this
.
$router
.
push
({
path
:
path
,
query
:
{
...
...
@@ -197,28 +263,28 @@
blank
:
'y'
,
tab
:
'投诉编辑'
}
})
;
})
},
getList
()
{
this
.
queryCommonData
.
loading
=
true
;
this
.
queryMsg
.
pageIndex
=
this
.
queryCommonData
.
currentPage
;
this
.
queryMsg
.
pageSize
=
this
.
queryCommonData
.
pageSize
;
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
))
;
if
(
msg
.
ID
==
""
)
{
msg
.
ID
=
0
;
getList
()
{
this
.
queryCommonData
.
loading
=
true
this
.
queryMsg
.
pageIndex
=
this
.
queryCommonData
.
currentPage
this
.
queryMsg
.
pageSize
=
this
.
queryCommonData
.
pageSize
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
))
if
(
msg
.
ID
==
''
)
{
msg
.
ID
=
0
}
if
(
msg
.
OrderID
==
""
)
{
msg
.
OrderID
=
0
;
if
(
msg
.
OrderID
==
''
)
{
msg
.
OrderID
=
0
}
if
(
msg
.
TCID
==
""
)
{
msg
.
TCID
=
0
;
if
(
msg
.
TCID
==
''
)
{
msg
.
TCID
=
0
}
this
.
apipost
(
'conplain_get_GetPageList'
,
msg
,
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
this
.
queryCommonData
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
total
=
res
.
data
.
data
.
count
;
this
.
queryCommonData
.
noData
=
!
this
.
queryCommonData
.
total
>
0
;
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
queryCommonData
.
total
=
res
.
data
.
data
.
count
this
.
queryCommonData
.
noData
=
!
this
.
queryCommonData
.
total
>
0
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
...
...
@@ -226,109 +292,131 @@
})
},
//翻页
handleCurrentChange
(
val
)
{
this
.
queryCommonData
.
pageIndex
=
val
;
this
.
getList
()
;
handleCurrentChange
(
val
)
{
this
.
queryCommonData
.
pageIndex
=
val
this
.
getList
()
},
//重新查询
resetPageIndex
()
{
this
.
queryCommonData
.
pageIndex
=
1
;
this
.
queryMsg
.
pageIndex
=
1
;
this
.
queryCommonData
.
currentPage
=
1
;
resetPageIndex
()
{
this
.
queryCommonData
.
pageIndex
=
1
this
.
queryMsg
.
pageIndex
=
1
this
.
queryCommonData
.
currentPage
=
1
},
//获取线路列表
getLineList
()
{
this
.
apipost
(
"line_post_GetList"
,
{},
res
=>
{
getLineList
()
{
this
.
apipost
(
'line_post_GetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
}
})
;
})
},
//获取系列列表
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
;
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineID
,
isTOOP
:
1
}
;
this
.
apipost
(
"team_post_GetList"
,
msg
,
res
=>
{
}
this
.
apipost
(
'team_post_GetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
}
})
;
})
},
//获取投诉枚举集合
getEnumeration
()
{
this
.
apipost
(
"conplain_get_GetComplainEnumList"
,
{},
res
=>
{
getEnumeration
()
{
this
.
apipost
(
'conplain_get_GetComplainEnumList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
ComplainContentEnumList
=
res
.
data
.
data
.
ComplainContentEnumList
;
this
.
queryCommonData
.
ComplainDealLevelList
=
res
.
data
.
data
.
ComplainDealLevelList
;
this
.
queryCommonData
.
DisposeStatusList
=
res
.
data
.
data
.
DisposeStatusList
;
this
.
queryCommonData
.
ComplainContentEnumList
=
res
.
data
.
data
.
ComplainContentEnumList
this
.
queryCommonData
.
ComplainDealLevelList
=
res
.
data
.
data
.
ComplainDealLevelList
this
.
queryCommonData
.
DisposeStatusList
=
res
.
data
.
data
.
DisposeStatusList
}
else
{
this
.
Error
(
res
.
data
.
message
)
;
this
.
Error
(
res
.
data
.
message
)
}
})
;
})
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
;
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
BranchId
:
"-1"
,
DepartmentId
:
"-1"
,
PostId
:
"-1"
,
IsLeave
:
"0"
}
;
BranchId
:
'-1'
,
DepartmentId
:
'-1'
,
PostId
:
'-1'
,
IsLeave
:
'0'
}
this
.
apipost
(
"admin_get_EmployeeGetList"
,
{},
'admin_get_EmployeeGetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
EmployeeList
=
res
.
data
.
data
;
this
.
queryCommonData
.
EmployeeList
=
res
.
data
.
data
}
},
err
=>
{
}
)
;
)
},
//跳转
goUrl
(
path
,
id
,
orderId
,
title
)
{
goUrl
(
path
,
id
,
orderId
,
title
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
id
,
"orderId"
:
orderId
,
'id'
:
id
,
'orderId'
:
orderId
,
blank
:
'y'
,
tab
:
title
}
})
},
//获取耗时
getTimeConsuming
(
item
,
type
)
{
var
endDate
=
new
Date
()
;
//获取系统当前时间
let
resultStr
=
""
;
getTimeConsuming
(
item
,
type
)
{
var
endDate
=
new
Date
()
//获取系统当前时间
let
resultStr
=
''
//处理人耗时
if
(
type
===
1
)
{
if
(
item
.
DisposeStatus
===
2
)
{
resultStr
=
this
.
$commonUtils
.
getDateTimeInterval
(
new
Date
(
item
.
DealCreateTime
),
endDate
)
;
resultStr
=
this
.
$commonUtils
.
getDateTimeInterval
(
new
Date
(
item
.
DealCreateTime
),
endDate
)
}
else
{
resultStr
=
item
.
ElapsedTime
;
resultStr
=
item
.
ElapsedTime
}
}
else
{
//总耗时
if
(
item
.
DisposeStatus
===
2
)
{
resultStr
=
this
.
$commonUtils
.
getDateTimeInterval
(
new
Date
(
item
.
CreateTime
),
endDate
)
;
resultStr
=
this
.
$commonUtils
.
getDateTimeInterval
(
new
Date
(
item
.
CreateTime
),
endDate
)
}
else
{
resultStr
=
this
.
$commonUtils
.
getDateTimeInterval
(
new
Date
(
item
.
CreateTime
),
new
Date
(
item
.
UpdateTime
))
;
resultStr
=
this
.
$commonUtils
.
getDateTimeInterval
(
new
Date
(
item
.
CreateTime
),
new
Date
(
item
.
UpdateTime
))
}
}
return
resultStr
;
return
resultStr
},
goEnrollTotal
(
name
,
path
,
orderId
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
orderId
:
orderId
,
blank
:
'y'
,
tab
:
name
}
})
},
goTeamBalancePayment
(
name
,
path
,
id
,
outBranchId
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
outBranchId
:
outBranchId
,
blank
:
'y'
,
tab
:
name
}
})
},
//获取投诉统计
getComplainStatistic
()
{
let
msg
=
{}
this
.
apipost
(
'travel_post_GetComplainStatistic'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
complainStatistic
=
res
.
data
.
data
}
})
},
mounted
()
{
this
.
getLineList
();
this
.
getEnumeration
();
this
.
getEmployeeList
();
this
.
getList
();
},
mounted
()
{
this
.
getLineList
()
this
.
getEnumeration
()
this
.
getEmployeeList
()
this
.
getList
()
this
.
getComplainStatistic
()
}
}
};
</
script
>
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
19653a75
...
...
@@ -969,7 +969,7 @@ export default {
this
.
GetDetail
.
walist
.
forEach
(
x
=>
{
if
(
x
.
Type
===
1
){
AccList
.
forEach
(
y
=>
{
if
(
y
.
Name
===
'私帐账户'
||
y
.
Name
===
'公帐账户'
||
y
.
Name
===
'微信支付宝'
){
if
(
y
.
Name
===
'私帐账户'
||
y
.
Name
===
'公帐账户'
||
y
.
Name
===
'微信支付宝'
||
y
.
Name
===
'虚拟账户'
){
newAccList
.
push
(
y
)
}
})
...
...
src/components/FinancialModule/sellCommissionRules.vue
View file @
19653a75
src/components/SalesModule/customerTransfer.vue
View file @
19653a75
...
...
@@ -786,6 +786,9 @@
this
.
getEmployee
()
},
getEmployee
()
{
this
.
employeeMsg
.
departmentId
=
0
this
.
employeeMsg
.
RB_Group_id
=
this
.
getLocalStorage
().
RB_Group_id
this
.
employeeMsg
.
RB_Branch_id
=-
1
this
.
apipost
(
'app_get_company_employee'
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
!
this
.
isSelLayer
)
...
...
src/components/SalesModule/enrollTotal.vue
View file @
19653a75
...
...
@@ -588,6 +588,11 @@
this
.
msg
.
QStartDate
=
nowDay
;
this
.
msg
.
QEndDate
=
nowDay
;
}
if
(
this
.
$route
.
query
.
orderId
)
{
this
.
msg
.
tempOrderId
=
this
.
$route
.
query
.
orderId
;
this
.
msg
.
QStartDate
=
""
;
this
.
msg
.
QEndDate
=
""
;
}
this
.
getList
();
}
};
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
19653a75
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/SalesModule/planeTicketInquiry.vue
View file @
19653a75
...
...
@@ -1462,12 +1462,12 @@
<el-col
:span=
"2"
>
<span
class=
"_lian_style"
v-if=
"item.IsSetUnion==1"
>
联
</span>
<div
class=
"_oll_img_box"
>
<span
class=
"TICK_Code PingFangSC"
>
编号:
{{
item
.
ID
}}
</span>
<span
class=
"TICK_Code PingFangSC"
style=
"left:35px;"
>
编号:
{{
item
.
ID
}}
</span>
<img
v-if=
"!item.AirlineUrl"
class=
"_oll_img"
:src=
"defaultImg"
>
<img
v-else
class=
"_oll_img"
:src=
"item.AirlineUrl"
:onerror=
"defaultImg"
>
<img
v-else
class=
"_oll_img"
:src=
"item.AirlineUrl"
:onerror=
"defaultImg"
style=
"margin-left:30px;"
>
</div>
</el-col>
<el-col
:span=
"
2"
class=
"vmiddle"
style=
"width:85px;
"
>
<el-col
:span=
"
3"
class=
"vmiddle
"
>
<div
class=
"_oll_info"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.AirlineName"
placement=
"top-start"
popper-class=
"max-w250"
>
<p
class=
"_oll_tit"
>
{{
item
.
AirlineName
}}
</p>
...
...
@@ -1475,7 +1475,7 @@
<span
class=
"_oll_adrr"
>
{{
item
.
FreightSpaceStr
}}
</span>
</div>
</el-col>
<el-col
:span=
"
4
"
class=
"vmiddle"
>
<el-col
:span=
"
5
"
class=
"vmiddle"
>
<div
class=
"FlightDivDetails"
>
<div
class=
"_flightList"
v-for=
"subItem in item.flightList"
>
<span
class=
"FlightNumber"
>
{{
subItem
.
Flight_number
}}
</span>
...
...
@@ -1544,78 +1544,7 @@
</div>
</div>
</el-col>
<el-col
:span=
"3"
class=
"vmiddle"
>
<div
class=
"TK_raduis"
>
<ul>
<!--一定-->
<li
v-if=
"item.FirstDeposit!=''"
>
<div
@
click=
"goFinacePage(item,1)"
:class=
"getClass(item.FirstDepositStatus)"
>
<el-tooltip
effect=
"dark"
:content=
"item.FirstDeposit"
placement=
"top"
popper-class=
"max-w250"
>
<span>
1
</span>
</el-tooltip>
</div>
<div
class=
"FinaDetailContent"
>
<span
v-if=
"item.FirstAuditList!=null"
v-for=
"childItem in item.FirstAuditList"
>
<span
class=
"FinaceDanList"
@
click=
"goFinaceDetails(childItem.FinaceId)"
>
{{
childItem
.
FinaceId
}}
</span>
</span>
</div>
</li>
<!--二定-->
<li
v-if=
"item.SecondDeposit!=''"
>
<div
@
click=
"goFinacePage(item,2)"
:class=
"getClass(item.SecondDepositStatus)"
>
<el-tooltip
effect=
"dark"
:content=
"item.SecondDeposit"
placement=
"top"
popper-class=
"max-w250"
>
<span>
2
</span>
</el-tooltip>
</div>
<div
class=
"FinaDetailContent"
>
<span
v-if=
"item.SecondAuditList!=null"
v-for=
"childItem in item.SecondAuditList"
>
<span
class=
"FinaceDanList"
@
click=
"goFinaceDetails(childItem.FinaceId)"
>
{{
childItem
.
FinaceId
}}
</span>
</span>
</div>
</li>
<!--三定-->
<li
v-if=
"item.ThirdDeposit!=''"
>
<div
@
click=
"goFinacePage(item,3)"
:class=
"getClass(item.ThirdDepositStatus)"
>
<el-tooltip
effect=
"dark"
:content=
"item.ThirdDeposit"
placement=
"top"
popper-class=
"max-w250"
>
<span>
3
</span>
</el-tooltip>
</div>
<div
class=
"FinaDetailContent"
>
<span
v-if=
"item.ThirdAuditList!=null"
v-for=
"childItem in item.ThirdAuditList"
>
<span
class=
"FinaceDanList"
@
click=
"goFinaceDetails(childItem.FinaceId)"
>
{{
childItem
.
FinaceId
}}
</span>
</span>
</div>
</li>
<!--四定-->
<li
v-if=
"item.FourthDeposit!=''"
>
<div
@
click=
"goFinacePage(item,4)"
:class=
"getClass(item.FourthDepositStatus)"
>
<el-tooltip
effect=
"dark"
:content=
"item.FourthDeposit"
placement=
"top"
popper-class=
"max-w250"
>
<span>
4
</span>
</el-tooltip>
</div>
<div
class=
"FinaDetailContent"
>
<span
v-if=
"item.FourthAuditList!=null"
v-for=
"childItem in item.FourthAuditList"
>
<span
class=
"FinaceDanList"
@
click=
"goFinaceDetails(childItem.FinaceId)"
>
{{
childItem
.
FinaceId
}}
</span>
</span>
</div>
</li>
<!--尾款-->
<li
v-if=
"item.FinalPayment!=''"
>
<div
@
click=
"goFinacePage(item,5)"
:class=
"getClass(item.FinalPaymentStatus)"
>
<el-tooltip
effect=
"dark"
:content=
"item.FinalPayment"
placement=
"top"
popper-class=
"max-w250"
>
<span>
尾
</span>
</el-tooltip>
</div>
<div
class=
"FinaDetailContent"
>
<span
v-if=
"item.FinalAuditList!=null"
v-for=
"childItem in item.FinalAuditList"
>
<span
class=
"FinaceDanList"
@
click=
"goFinaceDetails(childItem.FinaceId)"
>
{{
childItem
.
FinaceId
}}
</span>
</span>
</div>
</li>
</ul>
</div>
</el-col>
<el-col
:span=
"1"
class=
"vmiddle"
>
<el-col
:span=
"2"
class=
"vmiddle"
>
<div
class=
"TMA_raduis"
>
<ul
style=
"padding:0;"
>
<li
class=
"_head"
style=
"display:block"
>
...
...
@@ -1626,13 +1555,13 @@
</ul>
</div>
</el-col>
<el-col
:span=
"
2
"
class=
"vmiddle"
>
<el-col
:span=
"
3
"
class=
"vmiddle"
>
<div
class=
"_jztime"
>
<p
class=
"PingFangSC"
>
{{
item
.
TicketDeadlineStr
}}
</p>
<p
class=
"_text"
>
{{
$t
(
'Airticket.Air_deadTicketTime'
)
}}
</p>
</div>
</el-col>
<el-col
:span=
"
3
"
class=
"vmiddle"
>
<el-col
:span=
"
1
"
class=
"vmiddle"
>
<el-button-group
size=
"mini"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"立即下单"
placement=
"top-start"
>
<el-button
type=
"primary"
icon=
"iconfont icon-fukuan1"
@
click=
"goBuy(item)"
></el-button>
...
...
@@ -1642,16 +1571,13 @@
</el-row>
<el-row
:gutter=
"0"
>
<el-col
:span=
"
16
"
>
<el-col
:span=
"
24
"
>
<div
class=
"TCID_cont PingFangSC"
>
团期:
<span
v-show=
"item.TCIDList.length==0"
>
暂无
</span>
<span
class=
"Ticket_TCID"
style=
"display:inline-block;margin-right: 10px;cursor: pointer;"
v-for=
"(subItem, subIndex) in item.TravelInfo"
:key=
"subIndex"
@
click=
"goUrlP(subItem.TCID)"
>
{{
subItem
.
TCNUM
}}
(
{{
subItem
.
TCID
}}
)
</span>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"TCID_cont"
>
PNR:
{{
item
.
PNR
}}
</div>
</el-col>
</el-row>
</li>
</ul>
...
...
@@ -2303,33 +2229,6 @@
}
return
FeeTypeName
;
},
//跳转财务付款单
goFinacePage
(
item
,
type
)
{
var
TCID
=
0
;
if
(
item
.
TCIDList
!=
null
&&
item
.
TCIDList
.
length
>
0
)
{
TCID
=
item
.
TCIDList
[
0
];
}
let
orderObj
=
{
OrderID
:
null
,
OrderSource
:
4
,
TCID
:
null
,
Obj
:
{
Type
:
type
},
SourceID
:
item
.
ID
,
TCIDList
:
item
.
TCIDList
};
this
.
$router
.
push
({
name
:
"ChoiceAddFinancialDocuments"
,
query
:
{
Type
:
2
,
companyID
:
-
1
,
path
:
"TicketFinace"
,
blank
:
"y"
,
orderObj
:
JSON
.
stringify
(
orderObj
)
}
});
},
//导入
getImport
(
command
)
{
this
.
importType
=
command
;
...
...
src/components/SalesModule/productQuery.vue
View file @
19653a75
...
...
@@ -740,7 +740,7 @@
<p><span>
当前余位
</span><i
:style=
"item.SurplusSeat
<0
?'
color:
red
'
:
''"
>
{{
item
.
SurplusSeat
}}
</i></p>
<p><span>
已报入
</span><i>
{{
item
.
Seat
==
''
?
"0"
:
item
.
Seat
}}
人
</i>
(占位:
{{
item
.
Occupied
}}
人)
</p>
<p><span>
候补
</span>
<em
v-if=
'item.IsSubstitution==1'
>
可以候补
</em>
<em
v-if=
'item.IsSubstitution==1'
>
可以候补
(候补
{{
item
.
SubstitutionCount
}}
人)
</em>
<em
v-if=
'item.IsSubstitution!=1'
style=
"color: #E95252;"
>
本团拒绝候补
</em>
</p>
</div>
...
...
src/components/ShoppingStore/ShoppingStore.vue
View file @
19653a75
...
...
@@ -602,7 +602,7 @@
</tr>
<tr
v-for=
"(item,index) in importData"
:key=
"item.subCode"
>
<td
:class=
"
{'redType':item.TCIDExist==-1}">
<el-input
v-model=
"item.TC
ID
"
class=
"w150"
></el-input>
<el-input
v-model=
"item.TC
NUM
"
class=
"w150"
></el-input>
</td>
<td
:class=
"
{'redType':item.ShoppingNameExist==-1}">
<el-select
clearable
class=
"w150"
v-model=
'item.ShoppingID'
filterable
:placeholder=
"$t('hotel.hotel_area')"
>
...
...
@@ -651,8 +651,6 @@
</el-upload>
</el-dialog>
</div>
</
template
>
<
script
>
...
...
@@ -1036,9 +1034,9 @@
);
},
//导游名称
get
Guider
()
{
get
LeaderAndGuide
()
{
let
msg
=
{
Type
:
2
Type
:
0
};
this
.
apipost
(
"leader_post_GetList"
,
...
...
@@ -1046,23 +1044,6 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
guidList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
//领队名称
getLeader
()
{
let
msg
=
{
Type
:
1
};
this
.
apipost
(
"leader_post_GetList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
leaderList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
@@ -1071,6 +1052,7 @@
err
=>
{}
);
},
showTip2
(
index
)
{
this
.
importData
[
index
].
infoShow
=
true
;
},
...
...
@@ -1179,8 +1161,7 @@
this
.
getList
();
this
.
getType
();
this
.
getShopList
();
this
.
getGuider
();
this
.
getLeader
();
this
.
getLeaderAndGuide
();
this
.
getDownList
();
}
};
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
19653a75
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
.TC_companyList
span
,
.TC_OtherCompany
span
{
display
:
inline-block
;
...
...
@@ -10,28 +11,47 @@
border-radius
:
4px
;
cursor
:
pointer
;
}
.TC_companyList
span
:first-child
{
margin-right
:
20px
;
}
.TC_companyList
{
padding-top
:
15px
;
margin-left
:
32px
;
}
.TC_checked
{
border
:
1px
solid
#d95454
!important
;
box-sizing
:
border-box
;
}
.TC_OtherCompany
{
margin
:
0
0
20px
20px
;
}
.TC_customerInfo
tbody
th
{
height
:
40px
;
.TC_customerInfo
tbody
th
{
height
:
40px
;
text-align
:
center
;
}
.TC_firTable
td
{
height
:
20px
!important
;
text-align
:
center
!important
;}
.TC_midTable
td
{
text-align
:
center
!important
;}
.TC_showUnion
{
float
:
right
;
color
:
#2aaef2
;
cursor
:
pointer
;
margin-bottom
:
10px
;}
.go_date
{
.TC_firTable
td
{
height
:
20px
!important
;
text-align
:
center
!important
;
}
.TC_midTable
td
{
text-align
:
center
!important
;
}
.TC_showUnion
{
float
:
right
;
color
:
#2aaef2
;
cursor
:
pointer
;
margin-bottom
:
10px
;
}
.go_date
{
font-weight
:
700
;
font-size
:
14px
;
}
...
...
@@ -41,26 +61,31 @@
<div
class=
"TC_Content TC-MyList"
>
<div
class=
"query-box"
>
<!--v-if="queryCommonData.IsParentCompany==1"-->
<div
class=
"TC_companyList"
>
<div
class=
"TC_companyList"
>
<span
:class=
"
{'TC_checked':queryCommonData.checkCompanyAll}" @click="getCompanyCheckAll()">全部
</span>
<span
v-for=
"(item,bindex) in queryCommonData.BranchList"
:class=
"
{'TC_checked':item.isShow}" @click="getCompanyCheck(item)">
{{
item
.
BName
}}
</span>
<span
v-for=
"(item,bindex) in queryCommonData.BranchList"
:class=
"
{'TC_checked':item.isShow}"
@click="getCompanyCheck(item)">
{{
item
.
BName
}}
</span>
</div>
<ul>
<li>
<span>
<em>
所属线路
</em>
<el-select
class=
"w150"
v-model=
"queryMsg.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLinePlaceList()"
>
<el-select
class=
"w150"
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-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>
国别/目的地
</em>
<el-select
class=
"w150"
v-model=
"queryMsg.PlaceID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList()"
>
<el-select
class=
"w150"
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-option
v-for=
"item in queryCommonData.PlaceList"
:label=
"item.PlaceName"
:value=
"item.PlaceID"
:key=
"item.LtID"
></el-option>
</el-select>
</span>
</li>
...
...
@@ -69,30 +94,35 @@
<em>
系列名称
</em>
<el-select
class=
"w150"
v-model=
"queryMsg.LineteamId"
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-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>
团号
</em>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCNUM"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCNUM"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li
style=
"display:none;"
>
<span>
<em>
编号
</em>
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCID"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
<el-input
maxlength=
"50"
v-model=
"queryMsg.TCID"
class=
"permiss-input w150"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
发团日期
</em>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
:picker-options=
"pickerBeginDateBefore"
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
:picker-options=
"pickerBeginDateAfter"
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
...
...
@@ -104,17 +134,22 @@
<div
class=
"TC_leftSearch"
>
<div>
<span>
航空公司
</span>
<el-select
v-model=
"queryMsg.AirTicketId"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.AirlineList"
:key=
"item.AirLineId"
:label=
"item.AlName"
<el-select
v-model=
"queryMsg.AirTicketId"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.AirlineList"
:key=
"item.AirLineId"
:label=
"item.AlName"
:value=
"item.AirLineId"
></el-option>
</el-select>
</div>
<div>
<span>
操作人员
</span>
<el-select
class=
"w150"
v-model=
"queryMsg.CreateBy"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.EmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.EmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
</el-select>
</div>
...
...
@@ -126,30 +161,40 @@
<div>
<span>
联运城市
</span>
<el-select
class=
"w150"
filterable
v-model=
"queryMsg.UnionCityId"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.CityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
<el-select
class=
"w150"
filterable
v-model=
"queryMsg.UnionCityId"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"queryCommonData.SelectDefaultValue"
></el-option>
<el-option
v-for=
"item in queryCommonData.CityList"
:label=
"item.Name"
:value=
"item.ID"
:key=
"item.ID"
></el-option>
</el-select>
</div>
</div>
<div
class=
"TC_rightSearch"
>
<div>
<span>
团队人数
</span>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
-
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMaxNum')"
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
-
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.TeamMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'TeamMaxNum')"
@
blur=
"checkTeamNum(queryMsg)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</div>
<div>
<span>
报名人数
</span>
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
-
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMaxNum')"
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMinNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMinNum')"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
-
<el-input
maxlength=
"50"
class=
"w80"
v-model=
"queryMsg.ApplyMaxNum"
@
keyup
.
native=
"checkInteger(queryMsg,'ApplyMaxNum')"
@
blur=
"checkTeamNum(queryMsg)"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</div>
<div
class=
"OnlyShowOverTeam"
>
<span>
只看报超团
</span>
<el-switch
v-model=
"queryMsg.OnlyShowOverTeam"
active-value=
"true"
inactive-value=
"false"
></el-switch>
<el-switch
v-model=
"queryMsg.OnlyShowOverTeam"
active-value=
"true"
inactive-value=
"false"
></el-switch>
</div>
<div>
<span>
销售公司
</span>
...
...
@@ -166,7 +211,8 @@
<span>
<el-checkbox
v-model=
"queryCommonData.checkTCStateAll"
@
change=
"checkAllTeam"
>
全选
</el-checkbox>
<el-checkbox-group
v-model=
"queryMsg.TCState"
@
change=
"checkedTeamList"
>
<el-checkbox
v-for=
"team in $tripUtils.TeamStatesList.TeamStates"
:label=
"team.Id"
:key=
"team.Name"
>
{{
team
.
Name
}}
</el-checkbox>
<el-checkbox
v-for=
"team in $tripUtils.TeamStatesList.TeamStates"
:label=
"team.Id"
:key=
"team.Name"
>
{{
team
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
</div>
...
...
@@ -176,7 +222,8 @@
<span>
<el-checkbox
v-model=
"queryCommonData.checkPlatForm"
@
change=
"checkAllSales"
>
全选
</el-checkbox>
<el-checkbox-group
v-model=
"queryMsg.SalePlat"
@
change=
"checkSales"
>
<el-checkbox
v-for=
"sales in $tripUtils.TeamStatesList.salsPlat"
:label=
"sales.Id"
:key=
"sales.Name"
>
{{
sales
.
Name
}}
</el-checkbox>
<el-checkbox
v-for=
"sales in $tripUtils.TeamStatesList.salsPlat"
:label=
"sales.Id"
:key=
"sales.Name"
>
{{
sales
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
</div>
...
...
@@ -185,7 +232,8 @@
<span>
<el-checkbox
v-model=
"queryCommonData.checkGroupALL"
@
change=
"checkGroupAll"
>
全选
</el-checkbox>
<el-checkbox-group
v-model=
"queryMsg.GroupState"
@
change=
"checkGroup"
>
<el-checkbox
v-for=
"state in $tripUtils.TeamStatesList.teamDateStates"
:label=
"state.Id"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
<el-checkbox
v-for=
"state in $tripUtils.TeamStatesList.teamDateStates"
:label=
"state.Id"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
</el-checkbox-group>
<el-checkbox
v-model=
"queryMsg.IsWarning"
>
预警团
</el-checkbox>
</span>
...
...
@@ -194,7 +242,8 @@
<span>
航班状态
</span>
<span>
<el-checkbox-group
v-model=
"queryCommonData.flightCKed"
style=
"margin-left:0;"
>
<el-checkbox
v-for=
"state in flightStatus"
:label=
"state.Id"
:checked=
"state.Checked"
@
change=
"checkedFlight(state)"
<el-checkbox
v-for=
"state in flightStatus"
:label=
"state.Id"
:checked=
"state.Checked"
@
change=
"checkedFlight(state)"
:key=
"state.Name"
>
{{
state
.
Name
}}
</el-checkbox>
</el-checkbox-group>
</span>
...
...
@@ -208,7 +257,9 @@
</el-select>
</span>
</div>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showHigradeSearch=false"
>
查询
</button>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showHigradeSearch=false"
>
查询
</button>
</div>
<span
class=
"advancedQuery"
slot=
"reference"
>
高级查询
<i
class=
"iconfont icon-xiaotuziCduan_1"
></i>
...
...
@@ -223,7 +274,8 @@
<div
class=
"TC_leftSearch"
>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
报名人数
</span>
<el-select
v-model=
"queryMsg.WarningQuery"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-select
v-model=
"queryMsg.WarningQuery"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
value=
"-1"
></el-option>
<el-option
label=
"尚未有人报名"
value=
"1"
></el-option>
<el-option
label=
"10人以下"
value=
"2"
></el-option>
...
...
@@ -234,7 +286,8 @@
</div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
天数选择
</span>
<el-select
v-model=
"queryMsg.RateOnDay"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-select
v-model=
"queryMsg.RateOnDay"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
value=
"-1"
></el-option>
<el-option
label=
"10天以内"
value=
"1"
></el-option>
<el-option
label=
"15天以内"
value=
"2"
></el-option>
...
...
@@ -244,7 +297,8 @@
</div>
<div>
<span
style=
"display:inline-block;margin: 0 5px 0 0;width:50px;text-align:right;"
>
上座率
</span>
<el-select
v-model=
"queryMsg.RateOn"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-select
v-model=
"queryMsg.RateOn"
filterable
:placeholder=
"$t('system.ph_buxian')"
class=
"w150"
>
<el-option
:label=
"$t('system.ph_buxian')"
value=
"-1"
></el-option>
<el-option
label=
"100%"
value=
"1"
></el-option>
<el-option
label=
"不足80%"
value=
"2"
></el-option>
...
...
@@ -254,7 +308,9 @@
</div>
</div>
</div>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showWarningSearch=false"
>
查询
</button>
<button
class=
"normalBtn TC_SearchBtn"
@
click=
"resetPageIndex(),getControlList(),queryCommonData.showWarningSearch=false"
>
查询
</button>
</div>
<span
class=
"advancedQuery"
slot=
"reference"
>
预警查询
<i
class=
"iconfont icon-xiaotuziCduan_1"
></i>
...
...
@@ -270,8 +326,10 @@
<div
class=
"TravelTclList"
v-loading=
"queryCommonData.loading"
>
<ul>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryMsg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
></el-pagination>
<li
v-for=
"(item,index) in queryCommonData.dataList"
:key=
"index"
:class=
"
{'TC_hasContent':item.OPInnerRemark==''
&&
item.OPRemark==''}">
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
></el-pagination>
<li
v-for=
"(item,index) in queryCommonData.dataList"
:key=
"index"
:class=
"
{'TC_hasContent':item.OPInnerRemark==''
&&
item.OPRemark==''}">
<div
class=
"TC_remarkContent TC_teamName"
>
<div
class=
"clearfix"
>
<div
class=
"TCL_remarkTitle"
>
团名:
</div>
...
...
@@ -297,7 +355,8 @@
<p
class=
"d12p"
>
{{
item
.
LtName
}}
</p>
</div>
<div
class=
"TC_TravelSalePlat clearfix"
>
<span
class=
"TC_neibu"
v-if=
"item.TCState==3"
:class=
"
{'TCneibu':plat==3,'TCb2b':plat==1,'TCb2c':plat==2,'AppPlat':plat==4,'otherPlat':plat==5}"
<span
class=
"TC_neibu"
v-if=
"item.TCState==3"
:class=
"
{'TCneibu':plat==3,'TCb2b':plat==1,'TCb2c':plat==2,'AppPlat':plat==4,'otherPlat':plat==5}"
v-for="plat in item.SalePlatList" :key="plat.subCode">
{{
$tripUtils
.
getPlatName
(
plat
)
}}
</span>
<span
class=
"TC_xiajia daiwanshan"
v-if=
"item.TCState==1"
>
待完善
</span>
<span
class=
"TC_xiajia"
v-if=
"item.TCState==2"
>
已下架
</span>
...
...
@@ -323,7 +382,8 @@
<td
class=
"_d_name _color_666"
>
<span
v-if=
"fIndex==0"
>
{{
$t
(
'Airticket.Air_go'
)
}}
</span>
<span
v-else-if=
"fIndex==item.flightList.length-1"
>
{{
$t
(
'Airticket.Air_returnTrip'
)
}}
</span>
<span
v-else-if=
"fIndex>0 && fIndex!=item.flightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
<span
v-else-if=
"fIndex>0 && fIndex!=item.flightList.length-1"
>
{{
$t
(
'Airticket.Air_transit'
)
}}
</span>
</td>
<td>
<div>
{{
fItem
.
Flight_number
}}
</div>
...
...
@@ -341,12 +401,13 @@
</tr>
</table>
<div
class=
"FlightDiv-TCL"
slot=
"reference"
>
<div
v-for=
"subItem in item.flightList"
slot=
"reference"
:key=
"subItem.subCode"
class=
"TCL-flighInfoList"
>
<div
v-for=
"subItem in item.flightList"
slot=
"reference"
:key=
"subItem.subCode"
class=
"TCL-flighInfoList"
>
<span
class=
"travelnowrap"
>
<span
class=
"TCL-FlightNumber"
>
{{
subItem
.
Flight_number
}}
</span>
(
{{
subItem
.
DIATA
}}
)
{{
subItem
.
DepartureName
}}
{{
subItem
.
StopoverName
==
""
?
""
:
"-("
+
subItem
.
StopoverIATA
+
")"
+
subItem
.
StopoverName
}}
{{
subItem
.
ArrivalCityName
==
""
?
""
:
"-("
+
subItem
.
AIATA
+
")"
+
subItem
.
ArrivalCityName
}}
{{
subItem
.
StopoverName
==
''
?
''
:
'-('
+
subItem
.
StopoverIATA
+
')'
+
subItem
.
StopoverName
}}
{{
subItem
.
ArrivalCityName
==
''
?
''
:
'-('
+
subItem
.
AIATA
+
')'
+
subItem
.
ArrivalCityName
}}
<span
v-if=
"subItem.FlightState==1"
class=
"TCL-greenType"
>
【确定】
</span>
<span
v-if=
"subItem.FlightState==2"
class=
"TCL-redType"
>
【暂定】
</span>
</span>
...
...
@@ -369,7 +430,7 @@
</p>
<p
class=
"travelnowrap"
>
<span>
出团通知书
</span>
{{
item
.
OutNotice
==
1
?
"OK"
:
"暂定"
}}
{{
item
.
OutNotice
==
1
?
'OK'
:
'暂定'
}}
</p>
<p
class=
"travelnowrap"
>
<span>
出团公司
</span>
...
...
@@ -451,7 +512,8 @@
</p>
<p>
<span>
当前余位
</span>
<i>
{{
item
.
SurplusSeat
=
item
.
SurplusSeat
<
0
?
0
:
item
.
SurplusSeat
}}
</i>
</p>
<p>
<i>
{{
item
.
SurplusSeat
=
item
.
SurplusSeat
<
0
?
0
:
item
.
SurplusSeat
}}
</i></p>
<p>
<span>
已报入
</span>
<i>
{{
item
.
OrderGuestNum
}}
...
...
@@ -464,7 +526,7 @@
</p>
<p
class=
"travelnowrap"
>
<span>
候补
</span>
<span
v-if=
"item.IsSubstitution==1"
class=
"TCL-greenType"
>
允许候补
</span>
<span
v-if=
"item.IsSubstitution==1"
class=
"TCL-greenType"
>
允许候补
(候补
{{
item
.
SubstitutionCount
}}
人)
</span>
<span
v-else
class=
"TCL-redType"
>
不允许候补
</span>
</p>
<p>
...
...
@@ -530,7 +592,8 @@
<span>
签证资料
</span>
</p>
<p
v-if=
"item.VisaFileList.length!==0"
v-for=
"(item2, index2) in item.VisaFileList"
:key=
"index2"
>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
<span
style=
"cursor:pointer;text-decoration: underline;"
@
click=
"downloadFile(item2)"
>
{{
item2
.
Name
}}
</span>
</p>
<p>
<span>
个签
</span>
...
...
@@ -542,30 +605,46 @@
</div>
<div
class=
"el-col"
>
<div
class=
"d7"
>
<el-button
@
click
.
native=
'goUrl("RegistrationList", item.TCID,"报名清单")'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF"
>
报名清单
</el-button>
<el-button
@
click
.
native=
'goUrl("RegistrationList", item.TCID,"报名清单")'
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF"
>
报名清单
</el-button>
<el-dropdown
trigger=
"click"
style=
"margin-bottom:5px;"
>
<span
class=
"el-dropdown-link"
>
修改
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
class=
"TC-dropdown"
>
<el-dropdown-item
@
click
.
native=
"goToOpenTravel('TravelManager2',item.ID,0)"
>
系列团修改
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)"
>
当团修改
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goToOpenTravel('TravelManager2',item.ID,0)"
>
系列团修改
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goTonowTeam('TravelManager2',item.ID,item.TCID,item.TCNUM)"
>
当团修改
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-button
@
click=
'goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")'
type=
"primary"
style=
"background:#67c23a; border-color:#67c23a"
>
广告
{{
item
.
AdvertCount
}}
</el-button>
<el-button
@
click=
"ckOPremark(item)"
type=
"primary"
style=
"background:#F16C3C; border-color:#F16C3C"
>
OP备注
</el-button>
<el-button
@
click=
'goUrlMake("GroupAdvertising",item.LineID,item.TCID,"团期广告")'
type=
"primary"
style=
"background:#67c23a; border-color:#67c23a"
>
广告
{{
item
.
AdvertCount
}}
</el-button>
<el-button
@
click=
"ckOPremark(item)"
type=
"primary"
style=
"background:#F16C3C; border-color:#F16C3C"
>
OP备注
</el-button>
<el-dropdown
trigger=
"click"
>
<span
class=
"el-dropdown-link"
>
更多操作
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
</span>
<el-dropdown-menu
slot=
"dropdown"
class=
"TC-dropdown"
>
<el-dropdown-item
@
click
.
native=
"goTeamBalance(item.TCID,item.OutBranchId)"
>
团队收支明细
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goTeamBalance(item.TCID,item.OutBranchId)"
>
团队收支明细
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goUrlR('confirmationOrderDownLoad',item)"
>
行程下载
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"removeTeamInfo(item.TCID)"
>
删除
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==2||item.TCState==0||item.TCState==1"
@
click
.
native=
"setUpPlat(item)"
>
上架
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==3"
@
click
.
native=
"Setshelves(item.TCID)"
>
下架
</el-dropdown-item>
<el-dropdown-item
v-if=
"CurrentUserInfo.B2BDomain!=''"
@
click
.
native=
"goB2B(item.ConfigId)"
>
B2B预览
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'goUrl("DistributionTransport",item.ID,"分销联运")'
>
分销联运
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==2||item.TCState==0||item.TCState==1"
@
click
.
native=
"setUpPlat(item)"
>
上架
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.TCState==3"
@
click
.
native=
"Setshelves(item.TCID)"
>
下架
</el-dropdown-item>
<el-dropdown-item
v-if=
"CurrentUserInfo.B2BDomain!=''"
@
click
.
native=
"goB2B(item.ConfigId)"
>
B2B预览
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'goUrl("DistributionTransport",item.ID,"分销联运")'
>
分销联运
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
'ckSellPoint(item)'
>
本团卖点
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
...
...
@@ -581,12 +660,14 @@
<div
class=
"TCL_remarkTitle"
>
OP对内备注:
</div>
<div
class=
"TCL_Content"
>
{{
item
.
OPInnerRemark
}}
</div>
</div>
<div
class=
"clearfix TCL-redType"
v-if=
"item.DmcRemarkLast || item.HotelDiningBus.HotelChangeState>0 || item.HotelDiningBus.DiningChangeState>0 || item.HotelDiningBus.ResultBusTypeStr!='' "
>
<div
class=
"clearfix TCL-redType"
v-if=
"item.DmcRemarkLast || item.HotelDiningBus.HotelChangeState>0 || item.HotelDiningBus.DiningChangeState>0 || item.HotelDiningBus.ResultBusTypeStr!='' "
>
<div
class=
"TCL_remarkTitle"
>
地接备注:
</div>
<div
class=
"TCL_Content"
>
{{
item
.
DmcRemarkLast
!=
null
?
item
.
DmcRemarkLast
.
DMCRemark
:
""
}}
<div
class=
"TCL_Content"
>
{{
item
.
DmcRemarkLast
!=
null
?
item
.
DmcRemarkLast
.
DMCRemark
:
''
}}
<a
v-if=
"item.HotelDiningBus.HotelChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,1)"
style=
"color:blue;cursor:pointer"
>
酒店变更
</a>
<a
v-if=
"item.HotelDiningBus.DiningChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,2)"
<a
v-if=
"item.HotelDiningBus.DiningChangeState>0"
@
click=
"goHotelDiningBus(item,item.HotelDiningBus,2)"
style=
"color:blue;cursor:pointer"
>
餐厅变更
</a>
<a
v-if=
"item.HotelDiningBus.ResultBusTypeStr!=''"
>
车型:
{{
item
.
HotelDiningBus
.
ResultBusTypeStr
}}
</a>
</div>
...
...
@@ -596,7 +677,8 @@
</ul>
<div
class=
"noData"
v-show=
"queryMsg.noData"
>
{{
$t
(
'system.content_noData'
)
}}
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"queryMsg.currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
></el-pagination>
layout=
"total,prev, pager, next, jumper"
:page-size=
"queryMsg.pageSize"
:total=
"queryMsg.total"
></el-pagination>
</div>
</div>
...
...
@@ -604,7 +686,8 @@
<div
class=
"combottomTitle"
>
请选择上架平台
</div>
<span
class=
"setPlatLeft"
>
销售平台
</span>
<span>
<el-checkbox
v-model=
"queryCommonData.checkDialogAll"
@
change=
"checkAllDialog"
style=
"margin-right:20px;"
>
全选
</el-checkbox>
<el-checkbox
v-model=
"queryCommonData.checkDialogAll"
@
change=
"checkAllDialog"
style=
"margin-right:20px;"
>
全选
</el-checkbox>
<el-checkbox-group
v-model=
"queryCommonData.ckedplat"
@
change=
"checkDialog"
>
<el-checkbox
v-for=
"sales in $tripUtils.TeamStatesList.salsPlat"
:label=
"sales.Id"
:key=
"sales.Name"
>
{{
sales
.
Name
}}
</el-checkbox>
</el-checkbox-group>
...
...
@@ -651,7 +734,7 @@
</
template
>
<
script
>
export
default
{
data
()
{
data
()
{
return
{
//查询数据列表
queryCommonData
:
{
...
...
@@ -664,7 +747,7 @@
//下拉框默认值
SelectDefaultValue
:
0
,
//公司选项卡默认选中
activeName
:
"-1"
,
activeName
:
'-1'
,
//航空公司
AirlineList
:
[],
//员工列表
...
...
@@ -672,7 +755,7 @@
//公司数据
BranchList
:
[],
//是否为分公司
IsParentCompany
:
""
,
IsParentCompany
:
''
,
//显示销售平台
showPlatForm
:
false
,
//团期全选
...
...
@@ -690,11 +773,11 @@
//loading
loading
:
false
,
//中间变量ID
comID
:
""
,
comID
:
''
,
//中间变量TCState
comState
:
""
,
comState
:
''
,
//标题
comPlatTitle
:
""
,
comPlatTitle
:
''
,
//高级搜索
showHigradeSearch
:
false
,
//预警搜索
...
...
@@ -725,17 +808,17 @@
PlaceID
:
0
,
LineIdList
:
[],
LineteamId
:
0
,
TCNUM
:
""
,
StartGroupDate
:
""
,
EndGroupDate
:
""
,
TCNUM
:
''
,
StartGroupDate
:
''
,
EndGroupDate
:
''
,
OutBranchId
:
-
1
,
AirTicketId
:
0
,
TeamMinNum
:
""
,
TeamMaxNum
:
""
,
TeamMinNum
:
''
,
TeamMaxNum
:
''
,
CreateBy
:
0
,
ApplyMinNum
:
""
,
ApplyMaxNum
:
""
,
DayNum
:
""
,
ApplyMinNum
:
''
,
ApplyMaxNum
:
''
,
DayNum
:
''
,
OnlyShowOverTeam
:
false
,
TCState
:
[
3
],
//去掉默认显示
GroupState
:
[],
...
...
@@ -750,35 +833,35 @@
FlightState
:
1
,
//预警团
IsWarning
:
false
,
WarningQuery
:
"-1"
,
RateOnDay
:
"-1"
,
RateOn
:
"-1"
,
WarningQuery
:
'-1'
,
RateOnDay
:
'-1'
,
RateOn
:
'-1'
,
TeamType
:
0
,
//一般常规团
IsShowUnion
:
1
,
TCID
:
"0"
,
TCID
:
'0'
,
},
remarkMsg
:
{
TCID
:
0
,
OPRemark
:
""
,
OPInnerRemark
:
""
,
OPRemark
:
''
,
OPInnerRemark
:
''
,
//配置
ConfigId
:
0
,
//本团卖点
ProductRecommend
:
""
ProductRecommend
:
''
},
flightStatus
:
[{
Id
:
0
,
Name
:
"不限"
,
Name
:
'不限'
,
Checked
:
false
},
{
Id
:
1
,
Name
:
"已配置"
,
Name
:
'已配置'
,
Checked
:
true
},
{
Id
:
2
,
Name
:
"未配置"
,
Name
:
'未配置'
,
Checked
:
false
}
],
...
...
@@ -786,339 +869,343 @@
CurrentUserInfo
:
{},
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
)
;
return
endTime
.
getTime
()
<
time
.
getTime
()
;
let
endTime
=
new
Date
(
this
.
queryMsg
.
EndGroupDate
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
queryMsg
.
StartGroupDate
);
return
startTime
.
getTime
()
>=
time
.
getTime
();
let
startTime
=
new
Date
(
this
.
queryMsg
.
StartGroupDate
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
}
}
};
},
methods
:
{
downloadFile
:
function
(
item
)
{
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
;
this
.
downloadFileRename
(
item
.
FullUrl
.
replace
(
reg
,
""
),
item
.
Name
);
let
reg
=
/^http
(
s
)?
:
\/\/(
.*
?)\/
/
this
.
downloadFileRename
(
item
.
FullUrl
.
replace
(
reg
,
''
),
item
.
Name
)
},
//翻页
handleCurrentChange
(
val
)
{
this
.
queryMsg
.
pageIndex
=
val
;
this
.
getControlList
()
;
handleCurrentChange
(
val
)
{
this
.
queryMsg
.
pageIndex
=
val
this
.
getControlList
()
},
//重新查询
resetPageIndex
()
{
this
.
queryMsg
.
pageIndex
=
1
;
this
.
queryMsg
.
currentPage
=
1
;
resetPageIndex
()
{
this
.
queryMsg
.
pageIndex
=
1
this
.
queryMsg
.
currentPage
=
1
},
//获取线路列表
getLineList
()
{
this
.
apipost
(
"line_post_GetList"
,
{},
res
=>
{
getLineList
()
{
this
.
apipost
(
'line_post_GetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
PlaceList
=
[];
this
.
queryCommonData
.
LineTeamList
=
[];
this
.
queryCommonData
.
LineList
=
res
.
data
.
data
this
.
queryCommonData
.
PlaceList
=
[]
this
.
queryCommonData
.
LineTeamList
=
[]
}
})
;
})
},
//获取目的地列表
getLinePlaceList
()
{
this
.
queryMsg
.
PlaceID
=
0
;
getLinePlaceList
()
{
this
.
queryMsg
.
PlaceID
=
0
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
}
;
this
.
apipost
(
"team_post_GetLinePlace"
,
msg
,
res
=>
{
}
this
.
apipost
(
'team_post_GetLinePlace'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
PlaceList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineTeamList
=
[];
this
.
queryCommonData
.
PlaceList
=
res
.
data
.
data
this
.
queryCommonData
.
LineTeamList
=
[]
}
})
;
})
},
//获取系列列表
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
;
getLineTeamList
()
{
this
.
queryMsg
.
LineteamId
=
0
let
msg
=
{
lineID
:
this
.
queryMsg
.
LineId
,
placeID
:
this
.
queryMsg
.
PlaceID
,
isTOOP
:
1
}
;
this
.
apipost
(
"team_post_GetList"
,
msg
,
res
=>
{
}
this
.
apipost
(
'team_post_GetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
;
this
.
queryCommonData
.
LineTeamList
=
res
.
data
.
data
}
})
;
})
},
//切换公司
getCompanyTab
(
Id
)
{
this
.
queryMsg
.
OutBranchId
=
Id
;
this
.
queryMsg
.
currentPage
=
1
;
this
.
getControlList
()
;
getCompanyTab
(
Id
)
{
this
.
queryMsg
.
OutBranchId
=
Id
this
.
queryMsg
.
currentPage
=
1
this
.
getControlList
()
},
//获取航空公司
getAirlineList
()
{
getAirlineList
()
{
this
.
apipost
(
"airline_post_GetList"
,
{},
'airline_post_GetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
AirlineList
=
res
.
data
.
data
;
this
.
queryCommonData
.
AirlineList
=
res
.
data
.
data
}
},
err
=>
{}
);
err
=>
{
}
)
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
;
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
BranchId
:
"-1"
,
DepartmentId
:
"-1"
,
PostId
:
"-1"
,
IsLeave
:
"0"
}
;
BranchId
:
'-1'
,
DepartmentId
:
'-1'
,
PostId
:
'-1'
,
IsLeave
:
'0'
}
this
.
apipost
(
"admin_get_EmployeeGetList"
,
{},
'admin_get_EmployeeGetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
EmployeeList
=
res
.
data
.
data
;
this
.
queryCommonData
.
EmployeeList
=
res
.
data
.
data
}
},
err
=>
{}
);
err
=>
{
}
)
},
//新获取列表数据
getControlList
()
{
getControlList
()
{
if
(
this
.
flagWangYue
)
{
this
.
queryCommonData
.
flightCKed
=
[]
;
this
.
queryCommonData
.
flightCKed
.
push
(
0
)
;
this
.
queryMsg
.
FlightState
=
0
;
this
.
queryCommonData
.
flightCKed
=
[]
this
.
queryCommonData
.
flightCKed
.
push
(
0
)
this
.
queryMsg
.
FlightState
=
0
}
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
))
;
if
(
msg
.
TeamMinNum
==
""
)
{
msg
.
TeamMinNum
=
-
1
;
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
))
if
(
msg
.
TeamMinNum
==
''
)
{
msg
.
TeamMinNum
=
-
1
}
if
(
msg
.
TeamMaxNum
==
""
)
{
msg
.
TeamMaxNum
=
-
1
;
if
(
msg
.
TeamMaxNum
==
''
)
{
msg
.
TeamMaxNum
=
-
1
}
if
(
msg
.
ApplyMinNum
==
""
)
{
msg
.
ApplyMinNum
=
-
1
;
if
(
msg
.
ApplyMinNum
==
''
)
{
msg
.
ApplyMinNum
=
-
1
}
if
(
msg
.
ApplyMaxNum
==
""
)
{
msg
.
ApplyMaxNum
=
-
1
;
if
(
msg
.
ApplyMaxNum
==
''
)
{
msg
.
ApplyMaxNum
=
-
1
}
if
(
msg
.
DayNum
==
""
)
{
msg
.
DayNum
=
-
1
;
if
(
msg
.
DayNum
==
''
)
{
msg
.
DayNum
=
-
1
}
this
.
queryCommonData
.
loading
=
true
;
this
.
queryCommonData
.
loading
=
true
this
.
apipost
(
"travel_get_GetTravelPrciePageList"
,
'travel_get_GetTravelPrciePageList'
,
msg
,
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
this
.
queryCommonData
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
;
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
this
.
queryCommonData
.
dataList
=
res
.
data
.
data
.
pageData
this
.
queryMsg
.
total
=
res
.
data
.
data
.
count
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
this
.
queryCommonData
.
dataList
.
forEach
(
item
=>
{
item
.
SalePlatList
=
[]
;
item
.
SalePlatList
=
[]
if
(
item
.
SalePlat
!==
null
)
{
var
SalePlatArr
=
item
.
SalePlat
.
split
(
","
);
var
SalePlatArr
=
item
.
SalePlat
.
split
(
','
)
SalePlatArr
.
forEach
(
y
=>
{
item
.
SalePlatList
.
push
(
parseInt
(
y
));
});
};
item
.
SalePlatList
.
push
(
parseInt
(
y
))
})
}
})
;
})
}
},
err
=>
{}
);
err
=>
{
}
)
},
//验证大小
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
)
;
var
TeamMaxNum
=
parseInt
(
queryMsg
.
TeamMaxNum
)
;
var
ApplyMinNum
=
parseInt
(
queryMsg
.
ApplyMinNum
)
;
var
ApplyMaxNum
=
parseInt
(
queryMsg
.
ApplyMaxNum
)
;
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
)
var
TeamMaxNum
=
parseInt
(
queryMsg
.
TeamMaxNum
)
var
ApplyMinNum
=
parseInt
(
queryMsg
.
ApplyMinNum
)
var
ApplyMaxNum
=
parseInt
(
queryMsg
.
ApplyMaxNum
)
if
(
TeamMaxNum
<
TeamMinNum
)
{
queryMsg
.
TeamMaxNum
=
""
;
queryMsg
.
TeamMaxNum
=
''
}
if
(
ApplyMaxNum
<
ApplyMinNum
)
{
queryMsg
.
ApplyMaxNum
=
""
;
queryMsg
.
ApplyMaxNum
=
''
}
},
//初始化公司
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
()
;
var
RB_Group_id
=
userInfo
.
RB_Group_id
;
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"
,
'admin_get_BranchGetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
BranchList
=
res
.
data
.
data
;
this
.
queryCommonData
.
BranchList
=
res
.
data
.
data
this
.
queryCommonData
.
BranchList
.
forEach
(
x
=>
{
x
.
isShow
=
false
;
})
;
x
.
isShow
=
false
})
}
},
err
=>
{}
);
err
=>
{
}
)
},
//团期状态全选
checkGroupAll
(
val
)
{
this
.
queryMsg
.
GroupState
=
[]
;
checkGroupAll
(
val
)
{
this
.
queryMsg
.
GroupState
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
teamDateStates
.
forEach
(
x
=>
{
this
.
queryMsg
.
GroupState
.
push
(
x
.
Id
)
;
})
;
this
.
queryMsg
.
GroupState
.
push
(
x
.
Id
)
})
}
},
checkGroup
(
value
)
{
let
checkedCount
=
value
.
length
;
checkGroup
(
value
)
{
let
checkedCount
=
value
.
length
this
.
queryCommonData
.
checkGroupALL
=
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
teamDateStates
.
length
;
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
teamDateStates
.
length
},
//销售平台全选
checkAllSales
(
val
)
{
this
.
queryMsg
.
SalePlat
=
[]
;
checkAllSales
(
val
)
{
this
.
queryMsg
.
SalePlat
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
forEach
(
x
=>
{
this
.
queryMsg
.
SalePlat
.
push
(
x
.
Id
)
;
})
;
this
.
queryMsg
.
SalePlat
.
push
(
x
.
Id
)
})
}
},
checkSales
(
value
)
{
let
checkedCount
=
value
.
length
;
checkSales
(
value
)
{
let
checkedCount
=
value
.
length
this
.
queryCommonData
.
checkPlatForm
=
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
;
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
},
//团队状态全选
checkAllTeam
(
val
)
{
this
.
queryMsg
.
TCState
=
[]
;
checkAllTeam
(
val
)
{
this
.
queryMsg
.
TCState
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
forEach
(
x
=>
{
this
.
queryMsg
.
TCState
.
push
(
x
.
Id
)
;
})
;
this
.
queryMsg
.
TCState
.
push
(
x
.
Id
)
})
}
if
(
this
.
queryMsg
.
TCState
.
indexOf
(
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
[
2
].
Id
)
>
-
1
)
{
this
.
queryCommonData
.
showPlatForm
=
true
;
this
.
queryCommonData
.
showPlatForm
=
true
}
else
{
this
.
queryCommonData
.
showPlatForm
=
false
;
this
.
queryCommonData
.
showPlatForm
=
false
}
},
checkedTeamList
(
value
)
{
checkedTeamList
(
value
)
{
if
(
value
.
indexOf
(
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
[
2
].
Id
)
>
-
1
)
{
this
.
queryCommonData
.
showPlatForm
=
true
;
this
.
queryCommonData
.
showPlatForm
=
true
}
else
{
this
.
queryCommonData
.
showPlatForm
=
false
;
this
.
queryCommonData
.
showPlatForm
=
false
}
let
checkedCount
=
value
.
length
;
let
checkedCount
=
value
.
length
this
.
queryCommonData
.
checkTCStateAll
=
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
length
;
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
TeamStates
.
length
},
//全选弹出框
checkAllDialog
(
val
)
{
this
.
queryCommonData
.
ckedplat
=
[]
;
checkAllDialog
(
val
)
{
this
.
queryCommonData
.
ckedplat
=
[]
if
(
val
)
{
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
forEach
(
x
=>
{
this
.
queryCommonData
.
ckedplat
.
push
(
x
.
Id
)
;
})
;
this
.
queryCommonData
.
ckedplat
.
push
(
x
.
Id
)
})
}
},
checkDialog
(
value
)
{
let
checkedCount
=
value
.
length
;
checkDialog
(
value
)
{
let
checkedCount
=
value
.
length
this
.
queryCommonData
.
checkDialogAll
=
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
;
checkedCount
===
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
},
//点击上架
setUpPlat
(
item
)
{
this
.
queryCommonData
.
outerVisible
=
false
;
this
.
queryCommonData
.
setPlatDialog
=
true
;
this
.
queryCommonData
.
singleTCID
=
item
.
TCID
;
setUpPlat
(
item
)
{
this
.
queryCommonData
.
outerVisible
=
false
this
.
queryCommonData
.
setPlatDialog
=
true
this
.
queryCommonData
.
singleTCID
=
item
.
TCID
if
(
item
.
TCState
==
2
)
{
this
.
queryCommonData
.
ckedplat
=
[]
;
this
.
queryCommonData
.
checkDialogAll
=
false
;
this
.
queryCommonData
.
ckedplat
=
[]
this
.
queryCommonData
.
checkDialogAll
=
false
}
else
if
(
item
.
TCState
==
3
)
{
item
.
SalePlatList
.
forEach
(
x
=>
{
this
.
queryCommonData
.
ckedplat
.
push
(
parseInt
(
x
))
;
})
;
this
.
queryCommonData
.
ckedplat
.
push
(
parseInt
(
x
))
})
if
(
item
.
SalePlatList
.
length
==
this
.
$tripUtils
.
TeamStatesList
.
salsPlat
.
length
)
{
this
.
queryCommonData
.
checkDialogAll
=
true
;
this
.
queryCommonData
.
checkDialogAll
=
true
}
}
},
//单团设置下架
Setshelves
(
TCID
)
{
Setshelves
(
TCID
)
{
let
msg
=
{
TCID
:
TCID
,
TCState
:
2
,
SalePlat
:
""
}
;
this
.
apipost
(
"travel_post_SetPriceTCState"
,
msg
,
res
=>
{
SalePlat
:
''
}
this
.
apipost
(
'travel_post_SetPriceTCState'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
;
this
.
getControlList
()
;
this
.
queryCommonData
.
checkDialogAll
=
false
;
this
.
queryCommonData
.
ckedplat
=
[]
;
this
.
Success
(
res
.
data
.
message
)
this
.
getControlList
()
this
.
queryCommonData
.
checkDialogAll
=
false
this
.
queryCommonData
.
ckedplat
=
[]
}
else
{
this
.
Info
(
res
.
data
.
message
);
else
{
this
.
Info
(
res
.
data
.
message
)
}
})
;
})
},
//单团设置上架
SetshelvesUp
()
{
SetshelvesUp
()
{
let
msg
=
{
TCID
:
this
.
queryCommonData
.
singleTCID
,
TCState
:
3
,
SalePlat
:
this
.
queryCommonData
.
ckedplat
.
join
(
","
)
}
;
if
(
msg
.
SalePlat
==
""
)
{
this
.
Error
(
"请选择上架平台"
);
return
;
SalePlat
:
this
.
queryCommonData
.
ckedplat
.
join
(
','
)
}
if
(
msg
.
SalePlat
==
''
)
{
this
.
Error
(
'请选择上架平台'
)
return
}
this
.
apipost
(
"travel_post_SetPriceTCState"
,
msg
,
res
=>
{
this
.
apipost
(
'travel_post_SetPriceTCState'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
;
this
.
getControlList
()
;
this
.
queryCommonData
.
setPlatDialog
=
false
;
this
.
queryCommonData
.
checkDialogAll
=
false
;
this
.
queryCommonData
.
ckedplat
=
[]
;
this
.
Success
(
res
.
data
.
message
)
this
.
getControlList
()
this
.
queryCommonData
.
setPlatDialog
=
false
this
.
queryCommonData
.
checkDialogAll
=
false
this
.
queryCommonData
.
ckedplat
=
[]
}
})
;
})
},
goUrl
(
path
,
id
,
name
)
{
this
.
$store
.
commit
(
"pageConditionUpdate"
,
this
.
queryMsg
);
goUrl
(
path
,
id
,
name
)
{
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
"y"
,
blank
:
'y'
,
tab
:
name
}
})
;
})
},
goUrlR
(
path
,
item
)
{
var
cityId
=
item
.
StartCityID
;
goUrlR
(
path
,
item
)
{
var
cityId
=
item
.
StartCityID
if
(
item
.
IsUnion
==
1
&&
item
.
UnionTypeStr
==
2
)
{
cityId
=
item
.
UnionCityId
}
...
...
@@ -1128,71 +1215,71 @@
configId
:
item
.
ID
,
cityId
:
cityId
,
tcid
:
item
.
TCID
,
orderId
:
0
,
vshowL
:
false
,
vshowM
:
false
,
vshowTCNUM
:
true
,
orderId
:
0
,
vshowL
:
false
,
vshowM
:
false
,
vshowTCNUM
:
true
,
}
})
;
window
.
open
(
routeData
.
href
,
"_blank"
);
})
window
.
open
(
routeData
.
href
,
'_blank'
)
},
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
LineID
:
LineID
,
TCID
:
TCID
,
blank
:
"y"
,
blank
:
'y'
,
tab
:
name
}
})
;
})
},
goB2B
(
ConfigId
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
;
goB2B
(
ConfigId
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
window
.
open
(
"http://www.oytour.com/#/detailTwo/"
+
'http://www.oytour.com/#/detailTwo/'
+
encodeURIComponent
(
ConfigId
)
+
"/preview"
,
"_blank"
)
;
'/preview'
,
'_blank'
)
},
goTeamBalance
(
id
,
OutBranchId
)
{
goTeamBalance
(
id
,
OutBranchId
)
{
this
.
$router
.
push
({
name
:
"TeamBalancePayment"
,
name
:
'TeamBalancePayment'
,
query
:
{
id
:
id
,
OutBranchId
:
OutBranchId
,
blank
:
"y"
,
tab
:
"团队收支明细"
blank
:
'y'
,
tab
:
'团队收支明细'
}
})
;
})
},
//开团或修改
goToOpenTravel
(
path
,
configId
,
tcid
)
{
goToOpenTravel
(
path
,
configId
,
tcid
)
{
if
(
configId
>
0
)
{
this
.
$store
.
commit
(
"pageConditionUpdate"
,
this
.
queryMsg
);
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
name
:
path
,
query
:
{
configId
:
configId
,
openState
:
1
,
tcid
:
tcid
,
blank
:
"y"
,
tab
:
"团期配置"
,
blank
:
'y'
,
tab
:
'团期配置'
,
flag
:
this
.
$route
.
query
.
flag
?
this
.
$route
.
query
.
flag
:
false
}
})
;
})
}
else
{
this
.
$router
.
push
({
name
:
path
})
;
})
}
},
//当团修改
goTonowTeam
(
path
,
configId
,
tcid
,
TCNUM
)
{
goTonowTeam
(
path
,
configId
,
tcid
,
TCNUM
)
{
if
(
configId
>
0
)
{
this
.
$store
.
commit
(
"pageConditionUpdate"
,
this
.
queryMsg
);
this
.
$store
.
commit
(
'pageConditionUpdate'
,
this
.
queryMsg
)
this
.
$router
.
push
({
name
:
path
,
query
:
{
...
...
@@ -1200,272 +1287,273 @@
openState
:
1
,
tcid
:
tcid
,
TCNUM
:
TCNUM
,
blank
:
"y"
,
tab
:
"团期配置"
,
blank
:
'y'
,
tab
:
'团期配置'
,
flag
:
this
.
$route
.
query
.
flag
?
this
.
$route
.
query
.
flag
:
false
}
})
;
})
}
else
{
this
.
$router
.
push
({
name
:
path
})
;
})
}
},
//删除团期
removeTeamInfo
(
TCID
)
{
var
that
=
this
;
that
.
Confirm
(
"是否删除?"
,
function
()
{
removeTeamInfo
(
TCID
)
{
var
that
=
this
that
.
Confirm
(
'是否删除?'
,
function
()
{
var
msg
=
{
TCID
:
TCID
}
;
}
that
.
apipost
(
"travel_post_RemoveTravelPrice"
,
'travel_post_RemoveTravelPrice'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
)
;
that
.
getControlList
()
;
that
.
Success
(
res
.
data
.
message
)
that
.
getControlList
()
}
else
{
that
.
Error
(
res
.
data
.
message
)
;
that
.
Error
(
res
.
data
.
message
)
}
},
null
)
;
})
;
)
})
},
//获取城市
getCountryCity
()
{
this
.
apipost
(
"sellorder_get_GetAllStartCity"
,
{},
res
=>
{
getCountryCity
()
{
this
.
apipost
(
'sellorder_get_GetAllStartCity'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
CityList
=
res
.
data
.
data
;
this
.
queryCommonData
.
CityList
=
res
.
data
.
data
}
})
;
})
},
getSellorCompany
()
{
getSellorCompany
()
{
//出团公司
this
.
apipost
(
"sellorder_post_GetBranchList"
,
{},
'sellorder_post_GetBranchList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
queryCommonData
.
companyList
=
res
.
data
.
data
;
this
.
queryCommonData
.
companyList
=
res
.
data
.
data
}
},
err
=>
{}
);
err
=>
{
}
)
},
//点击op备注
ckOPremark
(
item
)
{
this
.
remarkMsg
.
TCID
=
item
.
TCID
;
this
.
remarkMsg
.
OPRemark
=
item
.
OPRemark
;
this
.
remarkMsg
.
OPInnerRemark
=
item
.
OPInnerRemark
;
this
.
queryCommonData
.
setPlatDialog
=
false
;
this
.
queryCommonData
.
outerVisible
=
true
;
ckOPremark
(
item
)
{
this
.
remarkMsg
.
TCID
=
item
.
TCID
this
.
remarkMsg
.
OPRemark
=
item
.
OPRemark
this
.
remarkMsg
.
OPInnerRemark
=
item
.
OPInnerRemark
this
.
queryCommonData
.
setPlatDialog
=
false
this
.
queryCommonData
.
outerVisible
=
true
},
//设置OP备注
setOPremark
()
{
setOPremark
()
{
this
.
apipost
(
"travel_post_SetTravelPrcieOpRemark"
,
'travel_post_SetTravelPrcieOpRemark'
,
this
.
remarkMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
;
this
.
queryCommonData
.
outerVisible
=
false
;
this
.
getControlList
()
;
this
.
Success
(
res
.
data
.
message
)
this
.
queryCommonData
.
outerVisible
=
false
this
.
getControlList
()
}
else
{
this
.
Error
(
res
.
data
.
message
)
;
this
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{}
);
err
=>
{
}
)
},
//点击本团卖点
ckSellPoint
(
item
)
{
this
.
queryCommonData
.
SellingPoints
=
true
;
this
.
remarkMsg
.
ConfigId
=
item
.
ID
;
this
.
remarkMsg
.
ProductRecommend
=
item
.
ProductRecommend
;
this
.
remarkMsg
.
TCID
=
item
.
TCID
;
ckSellPoint
(
item
)
{
this
.
queryCommonData
.
SellingPoints
=
true
this
.
remarkMsg
.
ConfigId
=
item
.
ID
this
.
remarkMsg
.
ProductRecommend
=
item
.
ProductRecommend
this
.
remarkMsg
.
TCID
=
item
.
TCID
},
//本团卖点
SetSellingPoints
()
{
SetSellingPoints
()
{
this
.
apipost
(
"travel_post_SetSellingPoints"
,
'travel_post_SetSellingPoints'
,
this
.
remarkMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
;
this
.
queryCommonData
.
SellingPoints
=
false
;
this
.
getControlList
()
;
this
.
Success
(
res
.
data
.
message
)
this
.
queryCommonData
.
SellingPoints
=
false
this
.
getControlList
()
}
else
{
this
.
Error
(
res
.
data
.
message
)
;
this
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{}
);
err
=>
{
}
)
},
checkedFlight
(
item
)
{
this
.
queryMsg
.
FlightState
=
item
.
Id
;
this
.
queryCommonData
.
flightCKed
=
[]
;
this
.
queryCommonData
.
flightCKed
.
push
(
item
.
Id
)
;
checkedFlight
(
item
)
{
this
.
queryMsg
.
FlightState
=
item
.
Id
this
.
queryCommonData
.
flightCKed
=
[]
this
.
queryCommonData
.
flightCKed
.
push
(
item
.
Id
)
},
//点击选取出团公司
getCompanyCheck
(
item
)
{
item
.
isShow
=
!
item
.
isShow
;
this
.
queryCommonData
.
checkCompanyAll
=
false
;
this
.
$forceUpdate
()
;
this
.
queryMsg
.
OutBranchIds
=
[]
;
getCompanyCheck
(
item
)
{
item
.
isShow
=
!
item
.
isShow
this
.
queryCommonData
.
checkCompanyAll
=
false
this
.
$forceUpdate
()
this
.
queryMsg
.
OutBranchIds
=
[]
this
.
queryCommonData
.
BranchList
.
forEach
(
x
=>
{
if
(
x
.
isShow
)
{
this
.
queryMsg
.
OutBranchIds
.
push
(
x
.
Id
)
;
this
.
queryMsg
.
OutBranchIds
.
push
(
x
.
Id
)
}
})
;
})
if
(
this
.
queryMsg
.
OutBranchIds
.
length
==
this
.
queryCommonData
.
BranchList
.
length
||
this
.
queryMsg
.
OutBranchIds
.
length
==
0
)
{
this
.
queryCommonData
.
checkCompanyAll
=
true
;
this
.
queryCommonData
.
checkCompanyAll
=
true
}
this
.
resetPageIndex
()
;
this
.
getControlList
()
;
this
.
resetPageIndex
()
this
.
getControlList
()
},
//查询全部
getCompanyCheckAll
()
{
this
.
queryCommonData
.
checkCompanyAll
=
true
;
this
.
queryMsg
.
OutBranchIds
=
[]
;
getCompanyCheckAll
()
{
this
.
queryCommonData
.
checkCompanyAll
=
true
this
.
queryMsg
.
OutBranchIds
=
[]
this
.
queryCommonData
.
BranchList
.
forEach
(
x
=>
{
x
.
isShow
=
false
;
})
;
this
.
getControlList
()
;
x
.
isShow
=
false
})
this
.
getControlList
()
},
SetPrice
(
value
)
{
SetPrice
(
value
)
{
if
(
value
==
null
)
{
return
0.0
;
}
let
nStr
=
value
.
toFixed
(
2
)
;
nStr
+=
""
;
let
x
=
nStr
.
split
(
"."
);
let
x1
=
x
[
0
]
;
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
return
0.0
}
let
nStr
=
value
.
toFixed
(
2
)
nStr
+=
''
let
x
=
nStr
.
split
(
'.'
)
let
x1
=
x
[
0
]
let
x2
=
x
.
length
>
1
?
'.'
+
x
[
1
]
:
''
var
rgx
=
/
(\d
+
)(\d{3})
/
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
x1
=
x1
.
replace
(
rgx
,
'$1'
+
','
+
'$2'
)
}
return
x1
+
x2
;
return
x1
+
x2
},
//隐藏显示
ShowUnionList
(
item
)
{
ShowUnionList
(
item
)
{
// this.queryCommonData.showUnion = !this.queryCommonData.showUnion;
item
.
isshowUnion
=
!
item
.
isshowUnion
;
item
.
isshowUnion
=
!
item
.
isshowUnion
if
(
item
.
isshowUnion
)
{
item
.
UnionText
=
'隐藏联运'
}
else
{
item
.
UnionText
=
'显示联运'
}
this
.
$forceUpdate
()
;
this
.
$forceUpdate
()
},
//酒店餐厅处理跳转
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
if
(
type
==
1
)
{
this
.
$router
.
push
({
name
:
"ChangeHotel"
,
name
:
'ChangeHotel'
,
query
:
{
TCNUM
:
item
.
TCNUM
,
id
:
item
.
TCID
,
blank
:
"y"
,
tab
:
"酒店变更"
,
blank
:
'y'
,
tab
:
'酒店变更'
,
}
})
;
})
}
else
{
this
.
$router
.
push
({
name
:
"ChangeDining"
,
name
:
'ChangeDining'
,
query
:
{
TCNUM
:
item
.
TCNUM
,
id
:
item
.
TCID
,
blank
:
"y"
,
tab
:
"餐厅变更"
,
blank
:
'y'
,
tab
:
'餐厅变更'
,
}
})
;
})
}
}
},
filters
:
{
formatStartDate
(
value
)
{
let
dataArr
=
value
.
split
(
"-"
);
return
dataArr
[
1
]
+
"-"
+
dataArr
[
2
];
formatStartDate
(
value
)
{
let
dataArr
=
value
.
split
(
'-'
)
return
dataArr
[
1
]
+
'-'
+
dataArr
[
2
]
},
priceFormat
(
value
)
{
priceFormat
(
value
)
{
if
(
value
==
null
)
{
return
0.0
;
}
let
nStr
=
value
.
toFixed
(
2
)
;
nStr
+=
""
;
let
x
=
nStr
.
split
(
"."
);
let
x1
=
x
[
0
]
;
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
return
0.0
}
let
nStr
=
value
.
toFixed
(
2
)
nStr
+=
''
let
x
=
nStr
.
split
(
'.'
)
let
x1
=
x
[
0
]
let
x2
=
x
.
length
>
1
?
'.'
+
x
[
1
]
:
''
var
rgx
=
/
(\d
+
)(\d{3})
/
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
x1
=
x1
.
replace
(
rgx
,
'$1'
+
','
+
'$2'
)
}
return
x1
+
x2
;
return
x1
+
x2
}
},
mounted
()
{
mounted
()
{
//销售公司
this
.
getSellorCompany
()
;
this
.
getCompanyList
()
;
this
.
getLineList
()
;
this
.
getAirlineList
()
;
this
.
getEmployeeList
()
;
this
.
getCountryCity
()
;
this
.
getSellorCompany
()
this
.
getCompanyList
()
this
.
getLineList
()
this
.
getAirlineList
()
this
.
getEmployeeList
()
this
.
getCountryCity
()
},
created
()
{
created
()
{
//默认显示联运
this
.
queryMsg
.
IsShowUnion
=
1
;
let
userInfo
=
this
.
getLocalStorage
()
;
this
.
CurrentUserInfo
=
userInfo
;
this
.
flagWangYue
=
this
.
$route
.
query
.
flag
;
this
.
queryMsg
.
IsShowUnion
=
1
let
userInfo
=
this
.
getLocalStorage
()
this
.
CurrentUserInfo
=
userInfo
this
.
flagWangYue
=
this
.
$route
.
query
.
flag
if
(
this
.
$route
.
query
.
tcmun
)
{
this
.
queryMsg
.
TCNUM
=
this
.
$route
.
query
.
tcmun
;
this
.
queryMsg
.
TCNUM
=
this
.
$route
.
query
.
tcmun
}
if
(
this
.
flagWangYue
)
{
this
.
queryMsg
.
CreateBy
=
this
.
CurrentUserInfo
.
EmployeeId
;
this
.
queryCommonData
.
checkTCStateAll
=
true
;
this
.
flightStatus
[
1
].
Checked
=
false
;
this
.
checkAllTeam
()
;
this
.
queryMsg
.
CreateBy
=
this
.
CurrentUserInfo
.
EmployeeId
this
.
queryCommonData
.
checkTCStateAll
=
true
this
.
flightStatus
[
1
].
Checked
=
false
this
.
checkAllTeam
()
}
if
(
this
.
CurrentUserInfo
.
IsParentCompany
==
undefined
)
{
this
.
queryCommonData
.
IsParentCompany
=
2
;
this
.
queryCommonData
.
IsParentCompany
=
2
}
else
{
this
.
queryCommonData
.
IsParentCompany
=
this
.
CurrentUserInfo
.
IsParentCompany
;
this
.
queryCommonData
.
IsParentCompany
=
this
.
CurrentUserInfo
.
IsParentCompany
}
if
(
this
.
$route
.
query
.
hasOwnProperty
(
"cache"
))
{
if
(
this
.
$route
.
query
.
hasOwnProperty
(
'cache'
))
{
if
(
this
.
$store
.
state
.
pageCondition
!=
null
)
{
this
.
queryMsg
=
this
.
$store
.
state
.
pageCondition
;
this
.
queryMsg
=
this
.
$store
.
state
.
pageCondition
}
}
var
myDate
=
new
Date
()
;
var
myDate
=
new
Date
()
var
nowDate
=
myDate
.
getFullYear
()
+
"-"
+
'-'
+
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
myDate
.
getDate
();
if
(
!
this
.
$route
.
query
.
tcmun
)
{
this
.
queryMsg
.
StartGroupDate
=
nowDate
;
'-'
+
myDate
.
getDate
()
if
(
!
this
.
$route
.
query
.
tcmun
)
{
this
.
queryMsg
.
StartGroupDate
=
nowDate
}
if
(
this
.
queryCommonData
.
IsParentCompany
!=
1
)
{
this
.
queryMsg
.
OutBranchIds
.
push
(
this
.
CurrentUserInfo
.
RB_Branch_id
);
this
.
queryMsg
.
OutBranchIds
.
push
(
this
.
CurrentUserInfo
.
RB_Branch_id
)
}
this
.
getControlList
()
}
this
.
getControlList
();
}
};
</
script
>
src/components/index.vue
View file @
19653a75
...
...
@@ -959,6 +959,7 @@ export default {
firstMenuList
:[],
allSsionList
:[],
allWindowWidth
:
''
,
SetTimeout
:
null
,
};
},
filters
:
{
...
...
@@ -3494,6 +3495,18 @@ export default {
padding: 20px 0 20px 20px;
height: auto;
// transition: all .5s linear .5s;
animation:ttt .5s forwards;
}
@keyframes ttt {
0%{
opacity:0;
}
66%{
opacity:0;
}
100%{
opacity:1;
}
}
.nav-middle ul li .menuList_son{
position: fixed;
...
...
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