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
928579b7
Commit
928579b7
authored
May 18, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
52ec3bfc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
40 deletions
+23
-40
GnHotelInfo.vue
src/components/Hotel/GnHotelInfo.vue
+23
-40
No files found.
src/components/Hotel/GnHotelInfo.vue
View file @
928579b7
...
...
@@ -61,7 +61,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_detailinfo')"
prop=
"Address"
>
<el-form-item
:label=
"$t('hotel.hotel_detailinfo')"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"addMsg.addAddress"
size=
"small"
>
<el-button
slot=
"append"
@
click=
"getMapShow"
>
地图
</el-button>
</el-input>
...
...
@@ -128,7 +128,7 @@
</div>
</
template
>
<
template
v-if=
"activeName==2"
>
<div
class=
"jz_HotelName"
>
九寨沟星宇国际大酒店
</div>
<div
class=
"jz_HotelName"
>
{{
addMsg
.
HotelRealName
}}
</div>
<el-row
style=
"display:flex;justify-content:space-between;"
>
<el-col
:span=
"12"
>
<el-input
placeholder=
"开业时间"
></el-input>
...
...
@@ -149,7 +149,8 @@
</
template
>
<
template
v-if=
"activeName==3"
>
<el-form-item
label=
"设施服务"
>
<el-select
multiple
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
v-model=
"serviceCked"
>
<el-select
multiple
:placeholder=
"$t('pub.pleaseSel')"
filterable
class=
'multiple_input w300'
v-model=
"serviceCked"
>
<el-option
v-for=
"subitem in serviceList"
:key=
"subitem.ID"
:label=
"subitem.Name"
:value=
"subitem.ID"
>
</el-option>
</el-select>
...
...
@@ -158,7 +159,8 @@
<
template
v-if=
"activeName==4"
>
<button
class=
"save-Btn"
style=
"float:right;"
@
click=
"addTraffic()"
>
新增交通
</button>
<div
v-for=
"(item,index) in addMsg.TrafficInfo"
:key=
"index"
>
<el-input
type=
"text"
v-model=
"item.TTitle"
class=
"w400"
style=
"margin-bottom:10px;"
placeholder=
"大标题"
></el-input>
<el-input
type=
"text"
v-model=
"item.TTitle"
class=
"w400"
style=
"margin-bottom:10px;"
placeholder=
"大标题"
>
</el-input>
<el-input
type=
"text"
v-model=
"item.TSubTitle"
class=
"w400"
placeholder=
"小标题"
></el-input>
</div>
</
template
>
...
...
@@ -229,8 +231,7 @@
dinerList
:
""
,
//下拉框默认值
SelectDefaultValue
:
0
,
//国家列表
CountryList
:
[],
//省份列表
ProvinceList
:
[],
//城市列表
...
...
@@ -253,7 +254,7 @@
Star
:
""
,
URL
:
""
,
Fax
:
""
,
QCountry
:
""
,
QCountry
:
"
2
"
,
QProvince
:
""
,
QCity
:
""
,
District
:
0
,
...
...
@@ -297,7 +298,7 @@
DriverGuideIsRebate
:
0
,
ProductType
:
1
,
//国内酒店
Tags
:
''
,
//标签
TrafficInfo
:[],
//交通数据
TrafficInfo
:
[],
//交通数据
},
TagsList
:
[],
DiscountList
:
{
...
...
@@ -333,7 +334,7 @@
isShowMap
:
false
,
inputVisible
:
false
,
inputValue
:
''
,
serviceCked
:[],
serviceCked
:
[],
};
},
components
:
{
...
...
@@ -342,10 +343,10 @@
},
methods
:
{
//新增交通
addTraffic
(){
addTraffic
()
{
let
obj
=
{
TTitle
:
''
,
//大标题
TSubTitle
:
''
//子标题
TTitle
:
''
,
//大标题
TSubTitle
:
''
//子标题
}
this
.
addMsg
.
TrafficInfo
.
push
(
obj
);
},
...
...
@@ -376,7 +377,6 @@
getMapShow
()
{
this
.
isShowMap
=
true
;
},
deleteAir
(
i
)
{
this
.
addMsg
.
DiscountList
.
splice
(
i
,
1
);
},
...
...
@@ -506,9 +506,9 @@
this
.
apipost
(
"hotel_post_GetHotelConfigService"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
tempData
=
res
.
data
.
data
;
this
.
serviceList
=
[];
tempData
.
forEach
(
x
=>
{
x
.
SubList
.
forEach
(
y
=>
{
this
.
serviceList
=
[];
tempData
.
forEach
(
x
=>
{
x
.
SubList
.
forEach
(
y
=>
{
this
.
serviceList
.
push
(
y
);
})
})
...
...
@@ -667,10 +667,6 @@
this
.
addimg
=
false
;
},
headCall
(
msg
)
{
// this.addMsg.QCountry = msg.country;
// this.addMsg.QProvince = msg.province;
// this.addMsg.QCity = msg.city;
// this.addMsg.Address = msg.address;
this
.
addMsg
.
Lng
=
msg
.
lng
;
this
.
addMsg
.
Lat
=
msg
.
lat
;
},
...
...
@@ -718,16 +714,6 @@
null
);
},
//获取国家
GetCounrty
()
{
this
.
apipost
(
"dict_post_Destination_GetCountry"
,
{},
res
=>
{
this
.
CountryList
=
res
.
data
.
data
;
},
err
=>
{}
);
},
//获取省份和城市
GetSubAreaList
(
ID
,
type
,
isClear
)
{
let
msg
=
{
...
...
@@ -748,7 +734,6 @@
"dict_post_Destination_GetChildList"
,
msg
,
res
=>
{
console
.
log
(
res
,
'数据'
);
if
(
type
==
1
)
{
this
.
ProvinceList
=
res
.
data
.
data
;
}
else
if
(
type
==
2
)
{
...
...
@@ -809,8 +794,6 @@
this
.
$set
(
this
.
HotelImageArray
,
index
,
downItem
);
}
},
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
()
...
...
@@ -824,12 +807,12 @@
this
.
GetHotelPirceTypeList
();
this
.
qMsg
=
this
.
$route
.
query
.
qMsg
;
this
.
hotelID
=
this
.
$route
.
query
.
id
;
this
.
GetCounrty
();
this
.
inithotelService
();
//初始化酒店服务
this
.
inithotelPolicy
();
//初始化酒店政策
this
.
init
();
//初始化星级和开放平台
this
.
getSuplier
();
//初始化供应商
this
.
GetSubAreaList
(
this
.
addMsg
.
Country
,
1
,
1
);
if
(
this
.
hotelID
>
0
)
{
this
.
initHotelData
();
}
...
...
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