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
90dba923
Commit
90dba923
authored
Sep 24, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增酒店统计
parent
fa833875
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
511 additions
and
11 deletions
+511
-11
roomStatic.vue
src/components/Hotel/roomStatic.vue
+493
-0
roomSure.vue
src/components/Hotel/roomSure.vue
+10
-11
config.js
src/router/config.js
+8
-0
No files found.
src/components/Hotel/roomStatic.vue
0 → 100644
View file @
90dba923
This diff is collapsed.
Click to expand it.
src/components/Hotel/roomSure.vue
View file @
90dba923
...
...
@@ -109,7 +109,11 @@
<el-table-column
:label=
"$t('leader.leader_Guide')"
prop=
"GuideName"
width=
"150"
>
<
template
#
default=
"{row}"
>
<span
v-if=
"row.isFirst"
>
{{
row
.
parent
.
GuideName
}}
(
{{
row
.
parent
.
GuideSpareTel
}}
)
</span>
<span
v-if=
"row.isFirst"
>
{{
row
.
parent
.
GuideName
}}
<template
v-if=
"row.parent.GuideSpareTel&&row.parent.GuideSpareTel!=''"
>
(
{{
row
.
parent
.
GuideSpareTel
}}
)
</
template
>
</span>
</template>
</el-table-column>
...
...
@@ -284,7 +288,7 @@
// 需要合并的列(根据上面 el-table-column 的顺序):0..8 以及最后一列动作 (共 10 列)
// 我们只按列属性判断,合并那些基于父级显示的列
const
mergeCols
=
[
'DMCNum'
,
'TCNUM'
,
'OutBranchName'
,
'LeaderName'
,
'GuideName'
,
'LtName'
,
'seat'
,
'UseTime'
,
'NewHotelName'
,
'actions'
,
'StartDate'
'NewHotelName'
,
'actions'
,
'StartDate'
];
if
(
row
.
isFirst
&&
mergeCols
.
includes
(
column
.
property
))
{
return
[
span
,
1
];
...
...
@@ -458,14 +462,10 @@
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
myDate
.
getDate
();
if
(
this
.
$route
.
query
.
hotelId
)
{
this
.
msg
.
HotelId
=
this
.
$route
.
query
.
hotelId
;
}
if
(
this
.
$route
.
query
.
dateStr
)
{
this
.
msg
.
DateStr
=
this
.
$route
.
query
.
dateStr
;
}
if
(
this
.
$route
.
query
.
hotelId
||
this
.
$route
.
query
.
dateStr
)
{
this
.
msg
.
StartDate
=
""
;
if
(
this
.
$route
.
query
.
dateStr
&&
this
.
$route
.
query
.
dateStr
!=
''
)
{
this
.
msg
.
StartDate
=
this
.
$route
.
query
.
dateStr
;
this
.
msg
.
EndDate
=
this
.
$route
.
query
.
dateStr
}
else
{
this
.
msg
.
StartDate
=
nowDate
;
}
...
...
@@ -473,7 +473,6 @@
this
.
msg
.
LineId
=
14
;
this
.
getLineTeamList
();
}
//this.GetHotelList();
this
.
getList
();
},
}
...
...
src/router/config.js
View file @
90dba923
...
...
@@ -1476,6 +1476,14 @@ export default {
meta
:
{
title
:
'房型确认'
},
},
{
path
:
'/roomStatic'
,
//订房统计
name
:
'roomStatic'
,
component
:
resolve
=>
require
([
'@/components/Hotel/roomStatic'
],
resolve
),
meta
:
{
title
:
'订房统计'
},
},
{
path
:
'/roomSure'
,
//订房确认
...
...
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