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
90ab3d22
Commit
90ab3d22
authored
Apr 09, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
ca3c2ec7
3e3504cb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1838 additions
and
557 deletions
+1838
-557
HotelQueryList.vue
src/components/Hotel/HotelQueryList.vue
+64
-6
TravelticketManager.1.vue
...components/TravelManager/Ticket/TravelticketManager.1.vue
+1209
-0
BusInfo.vue
src/components/busManagement/BusInfo.vue
+47
-158
busStatistics.vue
src/components/busManagement/busStatistics.vue
+496
-374
confirmationOrderDownLoad.vue
src/components/confirmationOrderDownLoad.vue
+3
-3
systemLogs.vue
src/components/systemLogs.vue
+10
-4
config.js
src/router/config.js
+9
-12
No files found.
src/components/Hotel/Ho
useType
List.vue
→
src/components/Hotel/Ho
telQuery
List.vue
View file @
90ab3d22
...
@@ -22,7 +22,15 @@
...
@@ -22,7 +22,15 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
class=
"ownScrollbarStyle"
>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
class=
"HotelQueryList"
>
<div
class=
"hotelProductManage2_tableBox"
>
<span
style=
"color:#000000;background-color: #ff3737;padding:2px 4px;border-radius:5px"
>
红日
</span>
<span
style=
"color:#000000;background-color: #ff99cc;padding:2px 4px;border-radius:5px"
>
旺季
</span>
<span
style=
"color:#000000;background-color: #bcd6ee;padding:2px 4px;border-radius:5px"
>
平季
</span>
<span
style=
"color:#000000;background-color: #DDDDDD;padding:2px 4px;border-radius:5px"
>
淡季
</span>
<span
style=
"color:#000000;background-color: #02F78E;padding:2px 4px;border-radius:5px"
>
特别价
</span>
</div>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"HouseTypeList"
v-if=
"isShow"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"HouseTypeList"
v-if=
"isShow"
>
<tr>
<tr>
<th
width=
"300"
>
酒店名称
</th>
<th
width=
"300"
>
酒店名称
</th>
...
@@ -43,13 +51,20 @@
...
@@ -43,13 +51,20 @@
<div
style=
"min-width:300px; text-align:left;padding-left:5px;"
>
{{
item
.
HotelName
}}
</div>
<div
style=
"min-width:300px; text-align:left;padding-left:5px;"
>
{{
item
.
HotelName
}}
</div>
</td>
</td>
<td>
<td>
<div
class=
"Hotel_kong"
style=
"min-width:60px;"
>
空房
</div>
<div
class=
"Hotel_kong"
>
价格
</div>
<div
class=
"Hotel_kong"
style=
"min-width:60px;"
>
总/用/剩
</div>
<div
class=
"Hotel_kong"
>
超定
</div>
<div
class=
"Hotel_kong"
>
超定
</div>
</td>
</td>
<td
v-for=
"subItem in item.subList"
>
<td
v-for=
"subItem in item.subList"
>
<div
class=
"Hotel_kong Com_hoteldiv"
:class=
"
{'noKucun':subItem.Status==0}">
{{
subItem
.
RemainingInventory
}}
</div>
<div
class=
"Hotel_kong Com_hoteldiv"
:class=
"
{'noKucun':subItem.Status==0,'classHong':subItem.InventoryType==1,
'classWang':subItem.InventoryType==2,'classPing':subItem.InventoryType==3,'classDan':subItem.InventoryType==4,'classTe':subItem.InventoryType==5}">
{{
subItem
.
CostPrice
}}
</div>
<div
class=
"Hotel_kong Com_hoteldiv"
>
{{
subItem
.
Inventory
}}
/
{{
subItem
.
UseInventory
}}
/
{{
subItem
.
RemainingInventory
}}
</div>
<div
class=
"Hotel_kong Com_hoteldiv"
>
<div
class=
"Hotel_kong Com_hoteldiv"
>
<span
v-if=
"subItem.UseInventory-subItem.Inventory>0"
style=
"color:red;"
>
{{
subItem
.
UseInventory
-
subItem
.
Inventory
}}
</span>
<span
v-if=
"subItem.UseInventory-subItem.Inventory>0"
style=
"color:red;"
>
{{
subItem
.
UseInventory
-
subItem
.
Inventory
}}
</span>
</div>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -84,6 +99,7 @@
...
@@ -84,6 +99,7 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
;
this
.
dataList
=
res
.
data
.
data
;
console
.
log
(
"this.datalist"
,
this
.
dataList
);
this
.
isShow
=
true
;
this
.
isShow
=
true
;
console
.
log
(
this
.
dataList
,
'dataList'
);
console
.
log
(
this
.
dataList
,
'dataList'
);
}
else
{
}
else
{
...
@@ -129,7 +145,30 @@
...
@@ -129,7 +145,30 @@
var
weekDay
=
[
"天"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
];
var
weekDay
=
[
"天"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
];
var
myDate
=
new
Date
(
Date
.
parse
(
dateStr
));
var
myDate
=
new
Date
(
Date
.
parse
(
dateStr
));
return
weekDay
[
myDate
.
getDay
()]
return
weekDay
[
myDate
.
getDay
()]
}
},
//获取颜色状态
// getClass(status) {
// var classStr = "";
// switch (status) {
// case 1:
// classStr = "classHong";
// break;
// case 2:
// classStr = "classWang";
// break;
// case 3:
// classStr = "classPing";
// break;
// case 4:
// classStr = "classDan";
// break;
// case 5:
// classStr = "classTe";
// break;
// }
// return classStr;
// },
},
},
mounted
()
{
mounted
()
{
this
.
GetHotelList
();
this
.
GetHotelList
();
...
@@ -139,9 +178,25 @@
...
@@ -139,9 +178,25 @@
</
script
>
</
script
>
<
style
>
<
style
>
.classHong
{
background-color
:
rgb
(
255
,
55
,
55
);
}
.classWang
{
background-color
:
rgb
(
255
,
153
,
204
);
}
.classPing
{
background-color
:
rgb
(
188
,
214
,
238
);
}
.classDan
{
background-color
:
rgb
(
221
,
221
,
221
);
}
.classTe
{
background-color
:
rgb
(
2
,
247
,
142
);
}
.HouseTypeList
{
.HouseTypeList
{
background
:
#ccc
;
background
:
#ccc
;
width
:
100%
;
width
:
100%
;
margin-top
:
20px
;
}
}
.Com_hoteldiv
{
.Com_hoteldiv
{
min-width
:
40px
;
min-width
:
40px
;
...
@@ -174,4 +229,7 @@
...
@@ -174,4 +229,7 @@
.HouseTypeList
tr
td
{
.HouseTypeList
tr
td
{
font-size
:
12px
;
font-size
:
12px
;
}
}
.hotelProductManage2_tableBox
span
{
margin
:
0
10px
10px
0
;
}
</
style
>
</
style
>
src/components/TravelManager/Ticket/TravelticketManager.1.vue
0 → 100644
View file @
90ab3d22
This diff is collapsed.
Click to expand it.
src/components/busManagement/BusInfo.vue
View file @
90ab3d22
This diff is collapsed.
Click to expand it.
src/components/busManagement/busStatistics.vue
View file @
90ab3d22
This diff is collapsed.
Click to expand it.
src/components/confirmationOrderDownLoad.vue
View file @
90ab3d22
...
@@ -703,10 +703,10 @@
...
@@ -703,10 +703,10 @@
},
},
datatype
:
"jsonP"
,
datatype
:
"jsonP"
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
//console.log("上传成功",data);
},
},
error
:
function
()
{
error
:
function
()
{
//console.log("上传失败");
}
}
});
});
if
(
allNum
!==
document
.
querySelectorAll
(
cName
).
length
)
{
if
(
allNum
!==
document
.
querySelectorAll
(
cName
).
length
)
{
...
@@ -903,7 +903,7 @@
...
@@ -903,7 +903,7 @@
}
}
this
.
pdfLoading
=
false
this
.
pdfLoading
=
false
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
})
},
},
ToWord
:
function
(
title
,
isPc
)
{
ToWord
:
function
(
title
,
isPc
)
{
...
...
src/components/systemLogs.vue
View file @
90ab3d22
<
style
>
<
style
>
.sysLog_Content
{
.sysLog_Content
{
width
:
100%
;
border-left
:
2px
solid
#D2D2D2
;
border-left
:
2px
solid
#D2D2D2
;
margin
-left
:
2
0px
;
margin
:
40px
0
0
4
0px
;
}
}
.sysLog_List
{
.sysLog_List
{
position
:
relative
;
position
:
relative
;
...
@@ -16,11 +15,15 @@
...
@@ -16,11 +15,15 @@
border
:
2px
solid
#58D2A7
;
border
:
2px
solid
#58D2A7
;
border-radius
:
50%
;
border-radius
:
50%
;
margin-right
:
10px
;
margin-right
:
10px
;
position
:
relative
;
top
:
-4px
;
}
}
.sysFirDate
{
.sysFirDate
{
color
:
#38425D
;
color
:
#38425D
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
12px
;
font-size
:
12px
;
position
:
relative
;
top
:
-4px
;
}
}
.sysContent_main
{
.sysContent_main
{
width
:
894px
;
width
:
894px
;
...
@@ -44,10 +47,14 @@
...
@@ -44,10 +47,14 @@
background-color
:
#B1B1B1
;
background-color
:
#B1B1B1
;
border
:
2px
solid
#EFEFEF
;
border
:
2px
solid
#EFEFEF
;
margin-right
:
10px
;
margin-right
:
10px
;
position
:
relative
;
top
:
-3px
;
}
}
.sysFirDate_other
{
.sysFirDate_other
{
color
:
#38425D
;
color
:
#38425D
;
font-size
:
12px
;
font-size
:
12px
;
position
:
relative
;
top
:
-4px
;
}
}
</
style
>
</
style
>
...
@@ -57,7 +64,7 @@
...
@@ -57,7 +64,7 @@
<div
class=
"sysPosi_div"
>
<div
class=
"sysPosi_div"
>
<span
class=
"sysCircle"
v-if=
"index==0"
></span>
<span
class=
"sysCircle"
v-if=
"index==0"
></span>
<span
class=
"sysCircle_other"
v-else
></span>
<span
class=
"sysCircle_other"
v-else
></span>
<span
style=
"font-size:14px;margin-right:20px;"
>
{{
item
.
UpdateTitle
}}
</span>
<span
style=
"font-size:14px;margin-right:20px;
position:relative;top:-4px;
"
>
{{
item
.
UpdateTitle
}}
</span>
<span
class=
"sysFirDate"
v-if=
"index==0"
>
{{
item
.
UpdateTimeStr
}}
</span>
<span
class=
"sysFirDate"
v-if=
"index==0"
>
{{
item
.
UpdateTimeStr
}}
</span>
<span
class=
"sysFirDate_other"
v-else
>
{{
item
.
UpdateTimeStr
}}
</span>
<span
class=
"sysFirDate_other"
v-else
>
{{
item
.
UpdateTimeStr
}}
</span>
</div>
</div>
...
@@ -83,7 +90,6 @@
...
@@ -83,7 +90,6 @@
this
.
apipost
(
"sysrecord_get_GetPageList"
,
this
.
msg
,
res
=>
{
this
.
apipost
(
"sysrecord_get_GetPageList"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
console
.
log
(
this
.
dataList
,
'datalist'
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/router/config.js
View file @
90ab3d22
...
@@ -628,11 +628,11 @@ export default {
...
@@ -628,11 +628,11 @@ export default {
title
:
'酒店核算详情'
title
:
'酒店核算详情'
},
},
},{
},{
path
:
'/Ho
useTypeList'
,
//配房类型
path
:
'/Ho
telQueryList'
,
//酒店查询统计
name
:
'Ho
useType
List'
,
name
:
'Ho
telQuery
List'
,
component
:
resolve
=>
require
([
'@/components/Hotel/Ho
useType
List'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/Hotel/Ho
telQuery
List'
],
resolve
),
meta
:
{
meta
:
{
title
:
'
配房类型
'
title
:
'
酒店查询统计
'
},
},
},
},
{
{
...
@@ -2939,16 +2939,13 @@ export default {
...
@@ -2939,16 +2939,13 @@ export default {
title
:
'奖项列表'
title
:
'奖项列表'
}
}
},
},
{
path
:
'/systemLogs'
,
//版本更新记录
name
:
'systemLogs'
,
component
:
resolve
=>
require
([
'@/components/systemLogs'
],
resolve
),
meta
:{
title
:
'版本更新记录'
}
}
]
]
},
},
{
path
:
'/systemLogs'
,
//版本更新记录
name
:
'systemLogs'
,
component
:
resolve
=>
require
([
'@/components/systemLogs'
],
resolve
),
},
{
{
path
:
'/permissionmanage'
,
path
:
'/permissionmanage'
,
name
:
'PermissionManage'
,
name
:
'PermissionManage'
,
...
...
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