Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HotelProject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
HotelProject
Commits
1b35278f
Commit
1b35278f
authored
Feb 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
5ee7f8bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
HotelInfo.vue
src/components/assetsman/HotelInfo.vue
+11
-13
No files found.
src/components/assetsman/HotelInfo.vue
View file @
1b35278f
...
...
@@ -116,14 +116,14 @@
<el-input
type=
"text"
v-model=
"addMsg.SHotelName"
maxlength=
"100"
class=
"w300"
></el-input>
</el-form-item>
<el-form-item
label=
"国家"
>
<el-select
size=
"small"
v-model=
"addMsg.SCountryId"
placeholder=
"国家"
<el-select
size=
"small"
v-model=
"addMsg.SCountryId"
class=
"w300"
placeholder=
"国家"
@
change=
"getProvinceList(addMsg.SCountryId,1,1)"
filterable
>
<el-option
label=
"すべて"
:value=
'0'
></el-option>
<el-option
v-for=
"item in countryList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"省"
>
<el-select
size=
"small"
v-model=
"addMsg.SProvinceId"
placeholder=
"省"
<el-select
size=
"small"
v-model=
"addMsg.SProvinceId"
class=
"w300"
placeholder=
"省"
@
change=
"getProvinceList(addMsg.SProvinceId,2,1)"
filterable
>
<el-option
label=
"すべて"
:value=
'0'
></el-option>
<el-option
v-for=
"item in provinceList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
...
...
@@ -166,7 +166,8 @@
<div
class=
"HotelRight"
style=
"float:left;width:510px;margin-top:30px;"
>
<el-form-item
label=
"活動施設サービス"
>
<el-select
multiple
placeholder=
"選んでください"
class=
'multiple_input w300'
v-model=
"activeServiceArray"
>
<el-option
v-for=
"item in ActivityFacilities"
:key=
"item.HConfigId"
:label=
"item.HName"
:value=
"item.HName"
>
<el-option
v-for=
"item in ActivityFacilities"
:key=
"item.HConfigId"
:label=
"item.HName"
:value=
"item.HName"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -221,8 +222,9 @@
</div>
</div>
<div
class=
"btn-list"
style=
"margin-left:60px;"
><span
class=
"common-lefttit"
></span><button
style=
"margin-right:20px;"
class=
"chaxunSpan"
:class=
"
{'disClick':!isSubmit}" @click="submitForm('addMsg')">保存
</button><button
class=
"chaxunSpan"
@
click=
"goUrl('HotelManagement')"
>
キャンセル
</button></div>
style=
"margin-right:20px;"
class=
"chaxunSpan"
:class=
"
{'disClick':!isSubmit}"
@click="submitForm('addMsg')">保存
</button><button
class=
"chaxunSpan"
@
click=
"goUrl('HotelManagement')"
>
キャンセル
</button></div>
</div>
</
template
>
<
script
>
...
...
@@ -317,7 +319,6 @@
}
});
},
//保存数据
saveData
()
{
this
.
addMsg
.
PublicFacilities
=
this
.
publicServiceArray
.
toString
();
...
...
@@ -394,7 +395,6 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
this
.
addMsg
.
SID
=
tempData
.
SID
;
this
.
addMsg
.
SHotelName
=
tempData
.
SHotelName
;
this
.
addMsg
.
SHotelAddress
=
tempData
.
SHotelAddress
;
...
...
@@ -456,8 +456,6 @@
if
(
this
.
addMsg
.
SPayType
!=
""
)
{
var
arr5
=
this
.
addMsg
.
SPayType
.
split
(
","
);
if
(
arr5
&&
arr5
.
length
>
0
)
{
arr5
.
forEach
(
x
=>
{
this
.
payTypeChooseArray
.
push
(
x
);
});
...
...
@@ -479,18 +477,17 @@
}
},
null
);
},
init
()
{
//初始化星级
GetStarList
()
{
this
.
apipost
(
"hotel_post_GetStar"
,
{},
response
=>
{
//初始化星级
if
(
response
.
data
.
resultCode
==
1
)
{
this
.
starslevel
=
response
.
data
.
data
;
}
},
null
);
},
//根据省份获取城市
getProvinceList
(
ID
,
type
,
isClear
)
{
//根据省份获取城市
let
msg
=
{
Id
:
ID
};
...
...
@@ -551,6 +548,7 @@
this
.
hotelID
=
this
.
$route
.
query
.
SID
;
this
.
getCountryList
();
this
.
getConfig
();
this
.
GetStarList
();
if
(
this
.
hotelID
>
0
)
{
this
.
getData
();
}
...
...
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