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
908f9452
Commit
908f9452
authored
May 21, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
76f3125e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
36 deletions
+23
-36
GnHotelInfo.vue
src/components/Hotel/GnHotelInfo.vue
+23
-36
No files found.
src/components/Hotel/GnHotelInfo.vue
View file @
908f9452
...
...
@@ -56,18 +56,19 @@
<div>
<div
style=
"float:left;width:600px;"
>
<el-form-item
:label=
"$t('ground.jiudianmingzi')"
>
<el-input
type=
"text"
v-model=
"addMsg.HotelRealName"
maxlength=
"100"
class=
"w300"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.HotelRealName"
maxlength=
"100"
class=
"w300"
placeholder=
"请填写酒店名称:xx酒店"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_openplatform')"
>
<el-select
v-model=
"chooseObj.openplatString"
class=
'multiple_input w300'
multiple
:placeholder=
"$t('pub.pleaseSel')
"
>
placeholder=
"请选择开放平台
"
>
<el-option
v-for=
"item in dropdownObj.openplatformList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_starlevel')"
>
<el-select
class=
"w300"
:placeholder=
"$t('pub.unlimitedSel')"
v-model=
"addMsg.Star
"
>
<el-select
class=
"w300"
v-model=
"addMsg.Star"
placeholder=
"请选择酒店星级
"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"item in dropdownObj.starslevel"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
...
...
@@ -75,8 +76,8 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_province')"
>
<el-select
:placeholder=
"$t('ground.qingxuanzesheng')"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2)"
>
<el-select
placeholder=
"请选择所属省份"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in dropdownObj.ProvinceList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
...
...
@@ -84,8 +85,7 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_city')"
>
<el-select
:placeholder=
"$t('ground.qingxuanzeshi')"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.City"
>
<el-select
placeholder=
"请选择所属城市"
filterable
class=
'multiple_input w300'
v-model=
"addMsg.City"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in dropdownObj.CityList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
...
...
@@ -93,7 +93,7 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('hotel.hotel_detailinfo')"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"addMsg.Address"
size=
"small"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"addMsg.Address"
size=
"small"
placeholder=
"请填写详细地址"
>
<el-button
slot=
"append"
@
click=
"getMapShow"
>
地图
</el-button>
</el-input>
</el-form-item>
...
...
@@ -111,7 +111,7 @@
</div>
</div>
<el-form-item
label=
"地址说明"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"addMsg.AddressDes"
size=
"small"
>
<el-input
type=
"text"
class=
"w300"
v-model=
"addMsg.AddressDes"
size=
"small"
placeholder=
"请填写详细地址"
>
</el-input>
</el-form-item>
<el-form-item
label=
"标签"
>
...
...
@@ -128,23 +128,6 @@
<div
class=
"Gnhotel_Right"
>
<span
class=
"resource-lititle"
>
{{
$t
(
'hotel.hotel_imgintroduce'
)
}}
</span>
<div
class=
"resource-list"
>
<!--
<div
class=
"resource-imglist clearfix"
>
<div
class=
"re-img"
v-for=
"(item,index) in HotelImageArray"
:key=
"item.subCode"
>
<img
:src=
"item.ShowPath"
/>
<div
class=
"imgzhe"
>
<div
class=
"re-delte"
><i
@
click
.
stop=
"showImg(item.ShowPath)"
class=
"iconfont icon-img_cz"
></i>
</div>
<div
class=
"re-delte"
@
click=
"delImg(index)"
><i
class=
"iconfont icon-xingzhuang"
></i></div>
<div
class=
"re-delte"
@
click
.
stop=
"ExchangeImg(index,0)"
v-if=
"index!=0&&item.ShowPath"
>
<i
class=
"iconfont icon-zuoyi"
></i>
</div>
<div
class=
"re-delte"
@
click
.
stop=
"ExchangeImg(index,1)"
v-if=
"index!=HotelImageArray.length-1&&item.ShowPath"
>
<i
class=
"iconfont icon-youyi"
></i>
</div>
</div>
</div>
</div>
-->
<div
class=
"add-img"
>
<el-button
type=
"primary"
@
click=
"isShowHotelImg=true"
icon=
"el-icon-plus"
circle
></el-button>
</div>
...
...
@@ -166,10 +149,10 @@
</
template
>
<
template
v-if=
"activeName==2"
>
<el-form-item
label=
"开业时间"
>
<el-input
placeholder=
"
开业时间
"
class=
"w300"
v-model=
"addMsg.HotelInfo.OpenTime"
></el-input>
<el-input
placeholder=
"
2018年开业
"
class=
"w300"
v-model=
"addMsg.HotelInfo.OpenTime"
></el-input>
</el-form-item>
<el-form-item
label=
"装修时间"
>
<el-input
placeholder=
"
装修时间
"
class=
"w300"
v-model=
"addMsg.HotelInfo.DecorationTime"
></el-input>
<el-input
placeholder=
"
2017年装修
"
class=
"w300"
v-model=
"addMsg.HotelInfo.DecorationTime"
></el-input>
</el-form-item>
<el-form-item
label=
"房间数量"
>
<el-input
placeholder=
"房间数量"
class=
"w300"
v-model=
"addMsg.RoomNumber"
></el-input>
...
...
@@ -178,7 +161,8 @@
<el-input
placeholder=
"联系方式"
class=
"w300"
v-model=
"addMsg.Tel"
></el-input>
</el-form-item>
<el-form-item
label=
"酒店介绍"
>
<el-input
type=
"textarea"
class=
"w300"
v-model=
"addMsg.HotelInfo.Into"
:rows=
"9"
></el-input>
<el-input
type=
"textarea"
class=
"w300"
v-model=
"addMsg.HotelInfo.Into"
:rows=
"9"
placeholder=
"请填写酒店的介绍信息"
>
</el-input>
</el-form-item>
</
template
>
<
template
v-if=
"activeName==3"
>
...
...
@@ -225,12 +209,15 @@
<el-button
type=
"primary"
@
click=
"addTraffic()"
style=
"float:right;margin:-53px 165px 50px 0"
icon=
"el-icon-plus"
circle
></el-button>
<div
style=
"margin-top:60px;"
>
<div
v-for=
"(item,index) in addMsg.TrafficInfo"
:key=
"index"
style=
"position:relative;margin-bottom:20px;"
>
<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
v-for=
"(item,index) in addMsg.TrafficInfo"
:key=
"index"
style=
"position:relative;margin-bottom:20px;"
>
<el-form-item
label=
"地点名称"
>
<el-input
type=
"text"
v-model=
"item.TTitle"
class=
"w400"
placeholder=
"比如:牛王庙地铁站"
>
</el-input>
</el-form-item>
<el-form-item
label=
"地点介绍"
>
<el-input
type=
"text"
v-model=
"item.TSubTitle"
class=
"w400"
placeholder=
"比如:距离春熙路步行街2公里"
></el-input>
</el-form-item>
<el-button
type=
"danger"
class=
"delTrafic"
@
click=
"delTraffic(index)"
icon=
"el-icon-delete"
circle
>
</el-button>
</div>
...
...
@@ -253,7 +240,7 @@
<div
class=
"btn-list"
>
<span
class=
"common-lefttit"
></span>
<button
class=
"save-Btn"
@
click=
"submitForm('addMsg')"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"cancel-Btn"
@
click=
"goUrl('HotelManagement')"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"cancel-Btn"
@
click=
"goUrl('
Gn
HotelManagement')"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
<viewer
:images=
"images"
:options=
'imageOptions'
@
inited=
"inited"
class=
"viewer"
ref=
"viewer"
>
<img
v-for=
"src in images"
:src=
"src"
:key=
"src"
>
...
...
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