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
22dc2c8a
Commit
22dc2c8a
authored
Aug 19, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6c9a4c8f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1016 additions
and
7 deletions
+1016
-7
HotelInfoDetails.vue
src/components/Hotel/HotelInfoDetails.vue
+962
-0
HotelManagement.vue
src/components/Hotel/HotelManagement.vue
+46
-7
config.js
src/router/config.js
+8
-0
No files found.
src/components/Hotel/HotelInfoDetails.vue
0 → 100644
View file @
22dc2c8a
This diff is collapsed.
Click to expand it.
src/components/Hotel/HotelManagement.vue
View file @
22dc2c8a
...
...
@@ -374,9 +374,11 @@
L5: items.ID == 5,
}">
{{
items
.
Name
}}
</span>
</div>
<div
class=
"delScien"
@
click
.
stop=
"isdelete(item.ID)"
>
<template
v-if=
"msg.IsRecommend==0"
>
<div
class=
"delScien"
@
click
.
stop=
"isdelete(item.ID)"
>
<i
class=
"iconfont icon-xingzhuang"
></i>
</div>
</div></
template
>
<div
class=
"starSu"
>
<div
class=
"star"
v-if=
"item.Star < 8"
>
<i
v-for=
"(items, index) in item.starArr"
class=
"iconfont icon-star1"
:key=
"index"
></i>
...
...
@@ -434,27 +436,36 @@
</el-tooltip>
<div
class=
"btnList"
>
<
template
v-if=
"userInfo.RB_Group_id==2"
>
<template
v-if=
"msg.IsRecommend==0"
>
<button
@
click=
"goSubInfo('HotelInfo', item.ID)"
class=
"hotelBtnMan"
>
{{
$t
(
"pub.updateMsg"
)
}}
</button>
</
template
>
<button
@
click=
"goSubInfo('HotelInfoDetails', item.ID)"
class=
"hotelBtnMan"
>
详情
</button>
<
template
v-if=
"msg.IsRecommend==0"
>
<button
@
click=
"CopyHotel(item.ID)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id == QjGroupId()"
>
{{
$t
(
'objFill.copy'
)
}}
</button>
</button>
</
template
>
<
template
v-if=
"msg.IsRecommend==0"
>
<button
@
click=
"goproduct('HotelProductManage', item)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id != QjGroupId()"
>
{{
$t
(
'hotel.hotel_roomType'
)
}}
</button>
</
template
>
<br
/>
<button
v-if=
"
IsHotelPriceStock==1||userInfo.RB_Group_id!=2
"
style=
"width: 80px; margin-top: 10px"
<button
v-if=
"
(IsHotelPriceStock==1||userInfo.RB_Group_id!=2)&&msg.IsRecommend==0
"
style=
"width: 80px; margin-top: 10px"
@
click=
"goUrl('HotelProductManage2', item)"
class=
"hotelBtnMan"
>
{{ $t("ground.baojiayukucun") }}
</button>
<button
v-if=
"IsHotelPriceStock==1"
style=
"width: 80px; margin-top: 10px"
@
click=
"downloadFile(item)"
<button
v-if=
"IsHotelPriceStock==1
&&msg.IsRecommend==0
"
style=
"width: 80px; margin-top: 10px"
@
click=
"downloadFile(item)"
class=
"hotelBtnMan"
>
{{$t('objFill.shangchuanbj')}}
</button>
<template
v-if=
"item.MaxFileDate&&item.MaxFileDate!=''"
>
<
template
v-if=
"item.MaxFileDate&&item.MaxFileDate!=''
&&msg.IsRecommend==0
"
>
<span
style=
"color:red"
>
{{
$t
(
'objFill.zuijinscsij'
)
}}
:
{{
item
.
MaxFileDate
}}
</span>
</
template
>
</template>
...
...
@@ -556,6 +567,8 @@
],
defaultImg
:
'this.src="'
+
require
(
"../../assets/img/bg_z1@2x.png"
)
+
'"'
,
loading
:
true
,
IsHotelPriceStock
:
0
,
//1-有获取餐厅与报价添加修改权限
IsEditDmcSource
:
0
,
//是否有新增修改权限
msg
:
{
pageIndex
:
1
,
pageSize
:
14
,
...
...
@@ -575,6 +588,7 @@
QFileStartDate
:
""
,
//报价上传开始日期
QFileEndDate
:
""
,
//报价上传结束日期
IsUpFile
:
0
,
//是否上传报价(1-已上传,2-未上传)
IsRecommend
:
0
,
},
isDisableCountry
:
false
,
//是否禁用国家查询
};
...
...
@@ -876,6 +890,31 @@
},
(
err
)
=>
{}
);
},
//获取酒店修改与报价添加修改权限
GetHotelPirceStockAuth
()
{
let
isStock
=
"IsHotelPriceStock"
;
let
editDmcSource
=
"F_EditDmcSource"
;
this
.
apipost
(
'userauth_get_CheckUserAuthNewService'
,
''
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
if
(
tempData
&&
tempData
.
length
>
0
)
{
if
(
tempData
.
includes
(
isStock
))
{
this
.
IsHotelPriceStock
=
1
;
}
if
(
tempData
.
includes
(
editDmcSource
))
{
//查看列表权限
this
.
IsEditDmcSource
=
1
;
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
}
}
else
{
this
.
msg
.
IsRecommend
=
1
;
}
this
.
selectResource
();
});
},
},
mounted
()
{
...
...
@@ -886,7 +925,7 @@
this
.
isDisableCountry
=
true
;
this
.
getProvinceList
(
this
.
msg
.
QCountry
,
1
);
}
this
.
selectResource
();
this
.
GetHotelPirceStockAuth
();
},
created
()
{
if
(
this
.
$route
.
query
.
hasOwnProperty
(
"cache"
))
{
...
...
src/router/config.js
View file @
22dc2c8a
...
...
@@ -812,6 +812,14 @@ export default {
title
:
'添加修改酒店信息'
},
},
{
path
:
'/HotelInfoDetails'
,
//添加修改酒店信息
name
:
'HotelInfoDetails'
,
component
:
resolve
=>
require
([
'@/components/Hotel/HotelInfoDetails'
],
resolve
),
meta
:
{
title
:
'添加修改酒店信息'
},
},
{
path
:
'/GnHotelInfo'
,
//添加修改国内酒店信息
name
:
'GnHotelInfo'
,
...
...
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