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
9ecdb166
Commit
9ecdb166
authored
May 17, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
130d6742
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
277 additions
and
177 deletions
+277
-177
GnHotelManagement.vue
src/components/Hotel/GnHotelManagement.vue
+24
-36
HotelConfig.vue
src/components/Hotel/HotelConfig.vue
+253
-141
No files found.
src/components/Hotel/GnHotelManagement.vue
View file @
9ecdb166
...
@@ -232,10 +232,7 @@
...
@@ -232,10 +232,7 @@
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'system.quety_area'
)
}}
</em>
<em>
{{
$t
(
'system.quety_area'
)
}}
</em>
<el-select
v-model=
"msg.QCountry"
clearable
class=
"w150"
filterable
@
change=
"getProvinceList(msg.QCountry,1)"
:placeholder=
"$t('hotel.hotel_country')"
>
<el-option
v-for=
"item in countryList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
<el-select
v-model=
"msg.QProvince"
class=
"w150"
filterable
@
change=
"getProvinceList(msg.QProvince,2)"
<el-select
v-model=
"msg.QProvince"
class=
"w150"
filterable
@
change=
"getProvinceList(msg.QProvince,2)"
:placeholder=
"$t('hotel.hotel_province')"
>
:placeholder=
"$t('hotel.hotel_province')"
>
<el-option
v-for=
"item in provinceList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in provinceList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
...
@@ -266,7 +263,7 @@
...
@@ -266,7 +263,7 @@
<el-option
v-for=
"item in HotelTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in HotelTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'Operation.Op_price'
)
}}
</em>
<em>
{{
$t
(
'Operation.Op_price'
)
}}
</em>
...
@@ -277,7 +274,7 @@
...
@@ -277,7 +274,7 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<li>
<span><em>
{{
$t
(
'visa.v_czuser'
)
}}
</em></span>
<span><em>
{{
$t
(
'visa.v_czuser'
)
}}
</em></span>
<el-select
class=
"w150"
v-model=
"msg.UpdateBy"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
"w150"
v-model=
"msg.UpdateBy"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"0"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"0"
>
...
@@ -348,10 +345,11 @@
...
@@ -348,10 +345,11 @@
<div
class=
"btnList"
>
<div
class=
"btnList"
>
<button
@
click=
"goSubInfo('GnHotelInfo',item.ID)"
class=
"hotelBtnMan"
>
{{
$t
(
'pub.updateMsg'
)
}}
</button>
<button
@
click=
"goSubInfo('GnHotelInfo',item.ID)"
class=
"hotelBtnMan"
>
{{
$t
(
'pub.updateMsg'
)
}}
</button>
<button
@
click=
"CopyHotel(item.ID)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id==QjGroupId()"
>
复制
</button>
<button
@
click=
"CopyHotel(item.ID)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id==QjGroupId()"
>
复制
</button>
<button
@
click=
"goproduct('HotelProductManage',item)"
class=
"hotelBtnMan"
v-if=
"userInfo.RB_Group_id!=QjGroupId()"
>
房型
</button>
<button
@
click=
"goproduct('HotelProductManage',item)"
class=
"hotelBtnMan"
<br/>
v-if=
"userInfo.RB_Group_id!=QjGroupId()"
>
房型
</button>
<button
v-if=
"IsHotelPriceStock==1"
style=
"width:80px;margin-top:10px;"
@
click=
"goUrl('HotelProductManage2',item)"
<br
/>
class=
"hotelBtnMan"
>
{{
$t
(
'ground.baojiayukucun'
)
}}
</button>
<button
v-if=
"IsHotelPriceStock==1"
style=
"width:80px;margin-top:10px;"
@
click=
"goUrl('HotelProductManage2',item)"
class=
"hotelBtnMan"
>
{{
$t
(
'ground.baojiayukucun'
)
}}
</button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -363,7 +361,7 @@
...
@@ -363,7 +361,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
userInfo
:
{},
//登录用户信息
userInfo
:
{},
//登录用户信息
IsHotelPriceStock
:
0
,
//1-有获取酒店库存与报价添加修改权限
IsHotelPriceStock
:
0
,
//1-有获取酒店库存与报价添加修改权限
countryList
:
""
,
countryList
:
""
,
provinceList
:
""
,
provinceList
:
""
,
...
@@ -390,7 +388,7 @@
...
@@ -390,7 +388,7 @@
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
14
,
pageSize
:
14
,
Name
:
""
,
Name
:
""
,
QCountry
:
""
,
QCountry
:
"
2
"
,
QProvince
:
""
,
QProvince
:
""
,
QCity
:
""
,
QCity
:
""
,
Status
:
"0"
,
Status
:
"0"
,
...
@@ -401,7 +399,7 @@
...
@@ -401,7 +399,7 @@
currentPage
:
1
,
currentPage
:
1
,
ID
:
0
,
ID
:
0
,
UpdateBy
:
0
,
//操作人
UpdateBy
:
0
,
//操作人
ProductType
:
2
,
//国内酒店
ProductType
:
1
,
}
}
};
};
},
},
...
@@ -486,16 +484,6 @@
...
@@ -486,16 +484,6 @@
);
);
}
}
},
},
//获取国家
getCountryList
()
{
this
.
apipost
(
"dict_post_Destination_GetCountry"
,
{},
res
=>
{
this
.
countryList
=
res
.
data
.
data
;
},
err
=>
{}
);
},
selectResource
()
{
selectResource
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
if
(
this
.
msg
.
Status
==
""
)
{
if
(
this
.
msg
.
Status
==
""
)
{
...
@@ -537,8 +525,8 @@
...
@@ -537,8 +525,8 @@
path
:
path
,
path
:
path
,
query
:
{
query
:
{
id
:
item
.
ID
,
id
:
item
.
ID
,
Country
:
item
.
Country
,
Country
:
item
.
Country
,
IsSelfBook
:
item
.
IsSelfBook
,
IsSelfBook
:
item
.
IsSelfBook
,
blank
:
'y'
,
blank
:
'y'
,
tab
:
'房型列表'
tab
:
'房型列表'
}
}
...
@@ -610,10 +598,10 @@
...
@@ -610,10 +598,10 @@
},
},
},
},
mounted
()
{
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
getEmployeeList
();
this
.
getEmployeeList
();
this
.
GetHotelPirceStockAuth
();
this
.
GetHotelPirceStockAuth
();
this
.
get
CountryList
(
);
this
.
get
ProvinceList
(
this
.
msg
.
QCountry
,
1
);
this
.
GetHotelTypeList
();
this
.
GetHotelTypeList
();
this
.
GetHotelPirceTypeList
();
this
.
GetHotelPirceTypeList
();
},
},
...
@@ -623,18 +611,18 @@
...
@@ -623,18 +611,18 @@
this
.
msg
=
this
.
$store
.
state
.
pageCondition
;
this
.
msg
=
this
.
$store
.
state
.
pageCondition
;
}
}
}
}
if
(
this
.
$route
.
query
.
StatisticsSTime
)
{
if
(
this
.
$route
.
query
.
StatisticsSTime
)
{
this
.
msg
.
StatisticsSTime
=
this
.
$route
.
query
.
StatisticsSTime
this
.
msg
.
StatisticsSTime
=
this
.
$route
.
query
.
StatisticsSTime
}
}
if
(
this
.
$route
.
query
.
StatisticsETime
)
{
if
(
this
.
$route
.
query
.
StatisticsETime
)
{
this
.
msg
.
StatisticsETime
=
this
.
$route
.
query
.
StatisticsETime
this
.
msg
.
StatisticsETime
=
this
.
$route
.
query
.
StatisticsETime
}
}
if
(
this
.
$route
.
query
.
type
)
{
if
(
this
.
$route
.
query
.
type
)
{
if
(
this
.
$route
.
query
.
type
==
1
)
{
if
(
this
.
$route
.
query
.
type
==
1
)
{
this
.
msg
.
CreateBy
=
this
.
$route
.
query
.
EmployeeId
;
this
.
msg
.
CreateBy
=
this
.
$route
.
query
.
EmployeeId
;
}
}
if
(
this
.
$route
.
query
.
type
==
2
)
{
if
(
this
.
$route
.
query
.
type
==
2
)
{
this
.
msg
.
UpdateBy
=
this
.
$route
.
query
.
EmployeeId
;
this
.
msg
.
UpdateBy
=
this
.
$route
.
query
.
EmployeeId
;
}
}
}
}
var
id
=
this
.
$route
.
query
.
ID
;
var
id
=
this
.
$route
.
query
.
ID
;
...
...
src/components/Hotel/HotelConfig.vue
View file @
9ecdb166
This diff is collapsed.
Click to expand it.
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