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
a75c9f8b
Commit
a75c9f8b
authored
May 20, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d4623756
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
19 deletions
+17
-19
HotelProductManage.vue
src/components/Hotel/HotelProductManage.vue
+17
-19
No files found.
src/components/Hotel/HotelProductManage.vue
View file @
a75c9f8b
...
@@ -301,7 +301,7 @@
...
@@ -301,7 +301,7 @@
<td>
<td>
{{
item
.
IsCancelStr
}}
{{
item
.
IsCancelStr
}}
<template
v-if=
"item.IsCancel"
>
<template
v-if=
"item.IsCancel"
>
<br
/>
{{
item
.
CancelTime
}}
前
<br
/>
{{
item
.
CancelTime
}}
前
</
template
>
</
template
>
</td>
</td>
<td
class=
"DaysInfo"
>
<td
class=
"DaysInfo"
>
...
@@ -447,25 +447,23 @@
...
@@ -447,25 +447,23 @@
},
},
//删除房型图片
//删除房型图片
delHotelImg
(
item
,
index
)
{
delHotelImg
(
item
,
index
)
{
if
(
item
.
ID
>
0
)
{
var
that
=
this
let
msg
=
{
that
.
Confirm
(
"删除图片将不能恢复?"
,
function
()
{
Id
:
item
.
ID
,
if
(
item
.
ID
>
0
)
{
PicId
:
item
.
Pic
let
msg
=
{
}
Id
:
item
.
ID
,
this
.
$confirm
(
'是否删除?'
,
'提示'
,
{
PicId
:
item
.
Pic
confirmButtonText
:
'确定'
,
}
cancelButtonText
:
'取消'
,
that
.
apipost
(
"hotel_post_RemoveHotelImage"
,
msg
,
res
=>
{
type
:
'warning'
console
.
log
(
res
)
}).
then
(()
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
apipost
(
"hotel_post_RemoveHotelImage"
,
msg
,
res
=>
{
that
.
addMsg
.
RoomImage
.
splice
(
index
,
1
);
}
});
});
}).
catch
(()
=>
{
}
else
{
that
.
addMsg
.
RoomImage
.
splice
(
index
,
1
);
});
}
}
else
{
});
this
.
addMsg
.
RoomImage
.
splice
(
index
,
1
);
}
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
...
...
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