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
4887a39e
Commit
4887a39e
authored
May 25, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
15292b39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
13 deletions
+42
-13
GnHotelManagement.vue
src/components/Hotel/GnHotelManagement.vue
+42
-13
No files found.
src/components/Hotel/GnHotelManagement.vue
View file @
4887a39e
...
...
@@ -245,8 +245,8 @@
<em>
{{
$t
(
'hotel.hotel_status'
)
}}
</em>
<el-select
v-model=
"msg.HotelStatus"
class=
"w210"
:placeholder=
"$t('pub.unlimitedSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"-1"
></el-option>
<el-option
:key=
"1"
label=
"上架"
:value=
"1"
></el-option>
<el-option
:key=
"2"
label=
"下架"
:value=
"2"
></el-option>
<el-option
:key=
"1"
label=
"上架"
:value=
"1"
></el-option>
<el-option
:key=
"2"
label=
"下架"
:value=
"2"
></el-option>
</el-select>
</span>
</li>
...
...
@@ -301,19 +301,14 @@
</el-table-column>
<el-table-column
prop=
"StarName"
label=
"星级"
width=
"100px"
>
</el-table-column>
<!-- <el-table-column prop="OpenPlatformList" label="开放平台">
<template slot-scope="scope">
<el-tag v-for="(item,index) in scope.row.OpenPlatformList" size="small" style="margin-right:5px;" :key="index">{{item.Name}}</el-tag>
</template>
</el-table-column> -->
<el-table-column
prop=
"TagList"
label=
"标签"
>
<
template
slot-scope=
"scope"
>
<el-tag
v-for=
"(item,index) in scope.row.TagList"
size=
"small"
style=
"margin-right:5px;"
:key=
"index"
>
{{
item
}}
</el-tag>
</
template
>
</el-table-column>
<!-- <el-table-column prop="Tel" label="电话">
</el-table-column> -->
<el-table-column
prop=
"Address"
label=
"地址"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
ProvinceName
}}
...
...
@@ -331,6 +326,41 @@
<span
v-if=
"scope.row.HotelStatus==2"
style=
"color:red;"
>
下架
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"RoomList"
label=
"房型报价"
>
<
template
slot-scope=
"scope"
>
<el-popover
placement=
"right"
width=
"400"
trigger=
"click"
>
<table>
<thead>
<tr>
<th
style=
"width:40%"
>
房型名称
</th>
<th
style=
"width:20%"
>
报价条数
</th>
<th
style=
"width:40%"
>
日期
</th>
</tr>
</thead>
<tbody>
<tr
v-for=
"(subItem,subIndex) in scope.row.RoomList"
>
<td>
{{
subItem
.
Name
}}
</td>
<td>
{{
subItem
.
Days
}}
</td>
<td>
{{
subItem
.
LDate
}}
-
{{
subItem
.
HDate
}}
</td>
</tr>
</tbody>
</table>
<el-button
slot=
"reference"
>
详情
</el-button>
</el-popover>
</
template
>
</el-table-column>
<el-table-column
prop=
"UpdateName"
label=
"操作人"
>
</el-table-column>
<el-table-column
prop=
"UpdateTimeStr"
label=
"操作时间"
>
...
...
@@ -449,10 +479,8 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
selectResource
();
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
...
...
@@ -530,6 +558,7 @@
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
console
.
log
(
"res"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
...
...
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