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
d4994d92
Commit
d4994d92
authored
Mar 25, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
酒店统计新增链接
parent
2ff3d7b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
27 deletions
+23
-27
roomReservations.vue
src/components/Hotel/roomReservations.vue
+23
-27
No files found.
src/components/Hotel/roomReservations.vue
View file @
d4994d92
...
@@ -178,7 +178,6 @@
...
@@ -178,7 +178,6 @@
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
></el-pagination>
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
></el-pagination>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -193,14 +192,17 @@
...
@@ -193,14 +192,17 @@
LineId
:
14
,
LineId
:
14
,
LineteamId
:
"-1"
,
LineteamId
:
"-1"
,
StartDate
:
''
,
StartDate
:
''
,
EndDate
:
''
EndDate
:
''
,
//酒店编号
HotelId
:
0
,
//日期
DateStr
:
""
},
},
LineList
:
[],
LineList
:
[],
LineTeamList
:
[],
LineTeamList
:
[],
thLengthTitle
:
[],
thLengthTitle
:
[],
list
:
[],
list
:
[],
colspanTotal
:
0
,
colspanTotal
:
0
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -276,7 +278,6 @@
...
@@ -276,7 +278,6 @@
this
.
apipost
(
'dmcstatistics_post_GetUniteCombinationNumService'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'dmcstatistics_post_GetUniteCombinationNumService'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
this
.
loading
=
false
console
.
log
(
res
.
data
.
data
.
pageData
.
data
)
this
.
total
=
res
.
data
.
data
.
count
this
.
total
=
res
.
data
.
data
.
count
this
.
list
=
res
.
data
.
data
.
pageData
.
data
this
.
list
=
res
.
data
.
data
.
pageData
.
data
this
.
thLengthArr
=
[]
this
.
thLengthArr
=
[]
...
@@ -297,34 +298,15 @@
...
@@ -297,34 +298,15 @@
})
})
}
}
item
.
CommonReport
.
HotelList
=
item
.
CommonReport
.
HotelList
.
concat
(
_chaArr
)
item
.
CommonReport
.
HotelList
=
item
.
CommonReport
.
HotelList
.
concat
(
_chaArr
)
}
else
{
}
}
})
})
})
})
// this.list.forEach(item=>{
// item.CommonReport['valueLength']=item.CommonReport.HotelList.length
// if(item.CommonReport.HotelList.length
<
res
.
data
.
data
.
pageData
.
columnsCount
){
// let _cha=res.data.data.pageData.columnsCount-item.CommonReport.HotelList.length
// let _chaArr=new Array()
// for (let i=0;i
<
_cha
;
i
++
)
{
// _chaArr.push({'HotelName':''})
// }
// item.CommonReport.HotelList=item.CommonReport.HotelList.concat(_chaArr)
// console.log(item.CommonReport)
// }else{
//
// }
// })
}
else
{
}
else
{
this
.
loading
=
false
this
.
loading
=
false
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
},
err
=>
{})
},
err
=>
{})
},
},
},
beforeCreate
()
{
},
},
mounted
()
{
mounted
()
{
let
myDate
=
new
Date
();
let
myDate
=
new
Date
();
...
@@ -334,13 +316,27 @@
...
@@ -334,13 +316,27 @@
parseInt
(
myDate
.
getMonth
()
+
1
)
+
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
"-"
+
myDate
.
getDate
();
myDate
.
getDate
();
this
.
msg
.
StartDate
=
nowDate
;
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
=
""
;
}
else
{
this
.
msg
.
StartDate
=
nowDate
;
}
this
.
getList
()
this
.
getList
()
// this.getLineList()
this
.
getLineTeamList
()
this
.
getLineTeamList
()
},
},
}
}
</
script
>
</
script
>
<
style
>
<
style
>
...
...
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