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
8dd39b28
Commit
8dd39b28
authored
Aug 23, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
2d161898
efe9a3da
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
183 additions
and
132 deletions
+183
-132
restaurantRankingList.vue
src/components/Restaurant/restaurantRankingList.vue
+26
-1
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+70
-57
TravelControlListSale.vue
...onents/TravelManager/TravelList/TravelControlListSale.vue
+87
-74
No files found.
src/components/Restaurant/restaurantRankingList.vue
View file @
8dd39b28
...
...
@@ -282,8 +282,27 @@
</div>
<el-table
:data=
"tableData"
tooltip-effect=
"dark"
style=
"width: 100%;min-height:450px;"
v-loading=
"loading"
>
<el-table-column
prop=
"NewDinnerName"
label=
"餐厅名称"
>
<template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.URL&&scope.row.URL.length>5"
>
<a
style=
"text-decoration:underline;cursor:pointer;"
:href=
"scope.row.URL"
target=
"_blank"
>
{{
scope
.
row
.
NewDinnerName
}}
</a>
</
template
>
<
template
v-else
>
{{
scope
.
row
.
NewDinnerName
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"DinnerRealName"
label=
"餐厅真实名称"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.URL&&scope.row.URL.length>5"
>
<a
style=
"text-decoration:underline;cursor:pointer;"
:href=
"scope.row.URL"
target=
"_blank"
>
{{
scope
.
row
.
DinnerRealName
}}
</a>
</
template
>
<
template
v-else
>
{{
scope
.
row
.
DinnerRealName
}}
</
template
>
</template>
</el-table-column>
<el-table-column
width=
"150"
prop=
"UserNum"
label=
"使用次数"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -466,6 +485,12 @@
query
:
qMsg
});
},
goToGuWangUrl
(
url
){
this
.
$router
.
push
({
path
:
url
,
});
},
getSellorCompany
()
{
//出团公司
this
.
apipost
(
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
8dd39b28
...
...
@@ -988,7 +988,7 @@
<span
class=
"TCL-redType"
>
{{item.VisaOPName}}
</span>
</p>
<
template
v-if=
"item.VisaAssistantList&&item.VisaAssistantList.length>0"
>
<p
>
<p>
<span>
签证助理OP
</span>
<template
v-for=
"(subItem,subIndex) in item.VisaAssistantList"
>
<span
:key=
"subIndex"
style=
"padding-right:3px;"
>
{{
subItem
}}
</span>
...
...
@@ -1369,22 +1369,26 @@
</el-col>
</el-form>
</div>
<!--修改op信息-->
<div
class=
"combottomDiv OPremarkDiv
"
v-show=
"VisaOPMsg.VisaShow"
>
<!--修改op信息-->
<div
class=
"combottomDiv OPremarkDiv"
style=
"height:150px;
"
v-show=
"VisaOPMsg.VisaShow"
>
<div
class=
"combottomTitle"
>
签证OP设置
</div>
<el-form
label-width=
"100px"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"签证OP"
prop=
"Remark"
>
<el-select
filterable
style=
"width: 80%"
clearable
v-model=
"VisaOPMsg.VisaId"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
<el-select
filterable
style=
"width: 80%"
clearable
v-model=
"VisaOPMsg.VisaId"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"签证助手"
prop=
"Remark"
>
<el-select
multiple
filterable
style=
"width: 80%"
clearable
v-model=
"VisaOPMsg.VisaAssistIds"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
<el-select
multiple
filterable
style=
"width: 80%;height:auto;"
clearable
v-model=
"VisaOPMsg.VisaAssistIds"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1394,7 +1398,7 @@
<button
class=
"hollowFixedBtn"
@
click=
"VisaOPMsg.VisaShow = false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SetVisaOPInfo"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</div>
</div>
<div
v-if=
"dialog.show"
>
...
...
@@ -1459,7 +1463,7 @@
FenFangBiaoXiaZai
:
false
,
//分房表下载
LookOPCommission
:
false
,
//查看OP提成
IsSanKeTicket
:
false
,
//是否有散客票权限
VisaEmployeeList
:
[],
VisaEmployeeList
:
[],
//查询数据列表
queryCommonData
:
{
//线路列表
...
...
@@ -1597,11 +1601,11 @@
ProductRecommend
:
""
},
VisaOPMsg
:
{
VisaShow
:
false
,
VisaShow
:
false
,
TCID
:
0
,
VisaId
:
""
,
VisaAssistIds
:
[],
VisaAssistId
:
""
,
VisaAssistId
:
""
,
},
flightStatus
:
[{
Id
:
0
,
...
...
@@ -2187,13 +2191,13 @@
)
},
getDiningDetailsList
()
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
Ids
.
push
(
item
.
TCID
)
}
});
if
(
Ids
&&
Ids
.
length
>
0
)
{
if
(
Ids
&&
Ids
.
length
>
0
)
{
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"dmcstatistics_get_GetDiningStatisticsList"
,
{
...
...
@@ -2217,13 +2221,13 @@
}
},
getPriceHotelResultStatisticsList
()
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
Ids
.
push
(
item
.
TCID
)
}
});
if
(
Ids
&&
Ids
.
length
>
0
)
{
if
(
Ids
&&
Ids
.
length
>
0
)
{
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"travel_get_GetPriceHotelResultStatisticsList"
,
{
...
...
@@ -2689,18 +2693,19 @@
//签证op设置
ckOPInfo
(
item
)
{
this
.
VisaOPMsg
.
VisaShow
=
true
;
this
.
VisaOPMsg
.
VisaId
=
item
.
VisaOPId
==
0
?
''
:
item
.
VisaOPId
;
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
this
.
VisaOPMsg
.
VisaId
=
item
.
VisaOPId
==
0
?
''
:
item
.
VisaOPId
;
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
// this.VisaOPMsg.VisaAssistId = item.VisaAssistantId;
this
.
VisaOPMsg
.
VisaAssistIds
=
(
item
.
VisaAssistantId
&&
item
.
VisaAssistantId
.
length
>
0
)?
item
.
VisaAssistantId
.
split
(
","
).
map
((
item
)
=>
Number
(
item
)):[];
this
.
VisaOPMsg
.
VisaAssistIds
=
(
item
.
VisaAssistantId
&&
item
.
VisaAssistantId
.
length
>
0
)
?
item
.
VisaAssistantId
.
split
(
","
).
map
((
item
)
=>
Number
(
item
))
:
[];
this
.
VisaOPMsg
.
TCID
=
item
.
TCID
;
this
.
getVisaEmployeeList
();
},
//签证op设置
SetVisaOPInfo
()
{
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
console
.
log
(
" this.VisaOPMsg"
,
this
.
VisaOPMsg
);
if
(
this
.
VisaOPMsg
.
VisaAssistIds
&&
this
.
VisaOPMsg
.
VisaAssistIds
.
length
>
0
)
{
if
(
this
.
VisaOPMsg
.
VisaAssistIds
&&
this
.
VisaOPMsg
.
VisaAssistIds
.
length
>
0
)
{
this
.
VisaOPMsg
.
VisaAssistId
=
this
.
VisaOPMsg
.
VisaAssistIds
.
join
(
','
)
}
this
.
apipost
(
...
...
@@ -2720,8 +2725,16 @@
},
//根据当前员工所在部门获取该部门及子部门员工信息
getVisaEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
BranchId
:
"-1"
,
DepartmentId
:
"232"
,
PostId
:
"-1"
,
IsLeave
:
"0"
};
this
.
apipost
(
"admin_get_
GetEmpByDepPostNameList"
,
{}
,
"admin_get_
EmployeeGetList"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
VisaEmployeeList
=
res
.
data
.
data
;
...
...
src/components/TravelManager/TravelList/TravelControlListSale.vue
View file @
8dd39b28
...
...
@@ -773,7 +773,7 @@
<span
class=
"TCL-redType"
>
{{item.VisaOPName}}
</span>
</p>
<
template
v-if=
"item.VisaAssistantList&&item.VisaAssistantList.length>0"
>
<p
>
<p>
<span>
签证助理OP
</span>
<template
v-for=
"(subItem,subIndex) in item.VisaAssistantList"
>
<span
:key=
"subIndex"
style=
"padding-right:3px;"
>
{{
subItem
}}
</span>
...
...
@@ -1048,22 +1048,26 @@
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SetSellingPoints"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</div>
<!--修改op信息-->
<div
class=
"combottomDiv OPremarkDiv
"
v-show=
"VisaOPMsg.VisaShow"
>
<!--修改op信息-->
<div
class=
"combottomDiv OPremarkDiv"
style=
"height:150px;
"
v-show=
"VisaOPMsg.VisaShow"
>
<div
class=
"combottomTitle"
>
签证OP设置
</div>
<el-form
label-width=
"100px"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"签证OP"
prop=
"Remark"
>
<el-select
filterable
style=
"width: 80%"
clearable
v-model=
"VisaOPMsg.VisaId"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
<el-select
filterable
style=
"width: 80%"
clearable
v-model=
"VisaOPMsg.VisaId"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"签证助手"
prop=
"Remark"
>
<el-select
multiple
filterable
style=
"width: 80%"
clearable
v-model=
"VisaOPMsg.VisaAssistIds"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
<el-select
multiple
filterable
style=
"width: 80%"
clearable
v-model=
"VisaOPMsg.VisaAssistIds"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"item in VisaEmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1073,7 +1077,7 @@
<button
class=
"hollowFixedBtn"
@
click=
"VisaOPMsg.VisaShow = false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"SetVisaOPInfo"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</div>
</div>
<el-dialog
:visible
.
sync=
"dialog.show"
width=
"1400px"
title=
"报价详情"
>
<div
v-if=
"dialog.show"
>
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
...
...
@@ -1122,13 +1126,13 @@
},
],
VisaOPMsg
:
{
VisaShow
:
false
,
VisaShow
:
false
,
TCID
:
0
,
VisaId
:
""
,
VisaAssistIds
:
[],
VisaAssistId
:
""
,
VisaAssistId
:
""
,
},
VisaEmployeeList
:[],
VisaEmployeeList
:
[],
//查询数据列表
queryCommonData
:
{
//线路列表
...
...
@@ -1368,8 +1372,16 @@
},
//根据当前员工所在部门获取该部门及子部门员工信息
getVisaEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
BranchId
:
"-1"
,
DepartmentId
:
"232"
,
PostId
:
"-1"
,
IsLeave
:
"0"
};
this
.
apipost
(
"admin_get_
GetEmpByDepPostNameList"
,
{}
,
"admin_get_
EmployeeGetList"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
VisaEmployeeList
=
res
.
data
.
data
;
...
...
@@ -1381,18 +1393,19 @@
//签证op设置
ckOPInfo
(
item
)
{
this
.
VisaOPMsg
.
VisaShow
=
true
;
this
.
VisaOPMsg
.
VisaId
=
item
.
VisaOPId
==
0
?
''
:
item
.
VisaOPId
;
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
this
.
VisaOPMsg
.
VisaId
=
item
.
VisaOPId
==
0
?
''
:
item
.
VisaOPId
;
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
// this.VisaOPMsg.VisaAssistId = item.VisaAssistantId;
this
.
VisaOPMsg
.
VisaAssistIds
=
(
item
.
VisaAssistantId
&&
item
.
VisaAssistantId
.
length
>
0
)?
item
.
VisaAssistantId
.
split
(
","
).
map
((
item
)
=>
Number
(
item
)):[];
this
.
VisaOPMsg
.
VisaAssistIds
=
(
item
.
VisaAssistantId
&&
item
.
VisaAssistantId
.
length
>
0
)
?
item
.
VisaAssistantId
.
split
(
","
).
map
((
item
)
=>
Number
(
item
))
:
[];
this
.
VisaOPMsg
.
TCID
=
item
.
TCID
;
this
.
getVisaEmployeeList
();
},
//签证op设置
SetVisaOPInfo
()
{
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
this
.
VisaOPMsg
.
VisaAssistId
=
''
;
console
.
log
(
" this.VisaOPMsg"
,
this
.
VisaOPMsg
);
if
(
this
.
VisaOPMsg
.
VisaAssistIds
&&
this
.
VisaOPMsg
.
VisaAssistIds
.
length
>
0
)
{
if
(
this
.
VisaOPMsg
.
VisaAssistIds
&&
this
.
VisaOPMsg
.
VisaAssistIds
.
length
>
0
)
{
this
.
VisaOPMsg
.
VisaAssistId
=
this
.
VisaOPMsg
.
VisaAssistIds
.
join
(
','
)
}
this
.
apipost
(
...
...
@@ -1656,13 +1669,13 @@
);
},
getPriceHotelResultStatisticsList
()
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
Ids
.
push
(
item
.
TCID
)
}
});
if
(
Ids
&&
Ids
.
length
>
0
)
{
if
(
Ids
&&
Ids
.
length
>
0
)
{
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"travel_get_GetPriceHotelResultStatisticsList"
,
{
...
...
@@ -1686,13 +1699,13 @@
}
},
getDiningDetailsList
()
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
let
Ids
=
[];
this
.
queryCommonData
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
((
item
.
LineID
==
14
||
item
.
LineID
==
90
||
item
.
LineID
==
168
||
item
.
LineID
==
118
))
{
Ids
.
push
(
item
.
TCID
)
}
});
if
(
Ids
&&
Ids
.
length
>
0
)
{
if
(
Ids
&&
Ids
.
length
>
0
)
{
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"dmcstatistics_get_GetDiningStatisticsList"
,
{
...
...
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