Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HotelProject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
HotelProject
Commits
b9cbfb1a
Commit
b9cbfb1a
authored
Mar 04, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余文件
parent
1c645591
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
1446 deletions
+5
-1446
assetsList.vue
src/components/assetsman/assetsList.vue
+0
-1108
Autologin.vue
src/components/global/Autologin.vue
+0
-49
CheckDetails.vue
src/components/global/CheckDetails.vue
+0
-275
index.js
src/plugins/index.js
+2
-2
config.js
src/router/config.js
+3
-12
No files found.
src/components/assetsman/assetsList.vue
deleted
100644 → 0
View file @
1c645591
This diff is collapsed.
Click to expand it.
src/components/global/Autologin.vue
deleted
100644 → 0
View file @
1c645591
<
template
>
<div
class=
"Autologin"
>
<div
class=
"gifContent"
>
<img
src=
"../../assets/img/load.gif"
alt=
""
>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'login'
,
data
()
{
return
{
}
},
created
()
{
let
href
=
window
.
location
.
href
;
let
param
=
href
.
split
(
'?'
)[
1
].
split
(
"&"
);
if
(
param
)
{
let
obj
=
{};
obj
.
token
=
param
[
0
].
split
(
'='
)[
1
];
obj
.
SecretKey
=
param
[
1
].
split
(
'='
)[
1
];
localStorage
.
scmAccount
=
JSON
.
stringify
(
obj
);
this
.
getUserInfo
();
}
},
mounted
()
{},
methods
:
{
getUserInfo
()
{
},
},
}
</
script
>
<
style
>
.Autologin
.gifContent
{
width
:
100%
;
height
:
100%
;
position
:
fixed
;
top
:
0
;
left
:
0
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
</
style
>
src/components/global/CheckDetails.vue
deleted
100644 → 0
View file @
1c645591
<
template
>
<div
class=
"CheckDetails basefix"
>
<div
class=
"left"
>
<el-carousel
v-if=
"datainfo.ImageList.length>0"
height=
"500px"
>
<el-carousel-item
style=
"display:flex;align-items:center"
v-for=
"(item,index) in datainfo.ImageList"
:key=
"index"
>
<img
style=
"width:100%;"
:src=
"item"
alt=
""
>
</el-carousel-item>
</el-carousel>
<img
v-else
style=
"width:100%;height:500px;border: 1px solid #ccc;"
src=
"../../assets/img/noimg.png"
alt=
""
>
</div>
<div
class=
"right overflowY"
style=
"height:500px"
>
<div
class=
"baseTitle"
>
使用信息
</div>
<div
class=
"desItem"
>
<p>
使用人
</p>
<p>
<span
v-if=
"datainfo.EmName && datainfo.EmName!=''"
>
{{
datainfo
.
EmName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
领取时间
</p>
<p>
<span
v-if=
"datainfo.GetTime && datainfo.GetTime!=''"
>
{{
datainfo
.
GetTime
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"baseTitle"
>
基本信息
</div>
<div
class=
"baseDiv"
>
<div
class=
"desItem"
>
<p>
资产名称
</p>
<p>
<span
v-if=
"datainfo.Name && datainfo.Name!=''"
>
{{
datainfo
.
Name
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
资产分类
</p>
<p>
<span
v-if=
"datainfo.CategoryName && datainfo.CategoryName!=''"
>
{{
datainfo
.
CategoryName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
品牌
</p>
<p>
<span
v-if=
"datainfo.BrandName && datainfo.BrandName!=''"
>
{{
datainfo
.
BrandName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
型号
</p>
<p>
<span
v-if=
"datainfo.PropertyModel && datainfo.PropertyModel!=''"
>
{{
datainfo
.
PropertyModel
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
单位
</p>
<p>
<span
v-if=
"datainfo.Units && datainfo.Units!=''"
>
{{
datainfo
.
Units
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
序列号
</p>
<p>
<span
v-if=
"datainfo.SerialNumber && datainfo.SerialNumber!=''"
>
{{
datainfo
.
SerialNumber
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
购置日期
</p>
<p>
<span
v-if=
"datainfo.BuyDate && datainfo.BuyDate!=''"
>
{{
datainfo
.
BuyDate
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
购置方式
</p>
<p>
<span
v-if=
"datainfo.BuyTypeName && datainfo.BuyTypeName!=''"
>
{{
datainfo
.
BuyTypeName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
金额
</p>
<p>
<span
v-if=
"datainfo.Money && datainfo.Money!=''"
>
{{
datainfo
.
Money
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
使用类型
</p>
<p>
<span
v-if=
"datainfo.UseStatusName && datainfo.UseStatusName!=''"
>
{{
datainfo
.
UseStatusName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
公司
</p>
<p>
<span
v-if=
"datainfo.BranchName && datainfo.BranchName!=''"
>
{{
datainfo
.
BranchName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
备注
</p>
<p>
<span
v-if=
"datainfo.Remark && datainfo.Remark!=''"
>
{{
datainfo
.
Remark
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
<div
class=
"desItem"
>
<p>
供应商
</p>
<p>
<span
v-if=
"datainfo.SupplierName && datainfo.SupplierName!=''"
>
{{
datainfo
.
SupplierName
}}
</span>
<span
v-else
>
无
</span>
</p>
</div>
</div>
<div
class=
"baseTitle"
>
操作记录
</div>
<table
style=
"min-width:100%"
v-loading=
"detailLoad"
class=
"myTable miniTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
类型
</th>
<th>
内容
</th>
<th>
签名图片
</th>
<th>
操作人/时间
</th>
</thead>
<tbody>
<tr
v-for=
"(item, index) in OperationList"
:key=
"index"
>
<td>
{{
item
.
TypeName
}}
</td>
<td>
{{
item
.
Content
}}
</td>
<td>
<img
v-if=
"item.SignImage && item.SignImage != ''"
style=
"height: 45px;width: 55px;"
:src=
"item.SignImage"
alt=
""
/>
<span
class=
"c99"
v-else
>
-
</span>
</td>
<td>
<p>
{{
item
.
CreateBy
}}
</p>
<p>
{{
item
.
CreateDate
}}
</p>
</td>
</tr>
<tr
v-show=
"OperationList.length == 0"
>
<td
colspan=
"4"
align=
"center"
>
暂无数据
</td>
</tr>
</tbody>
</table>
<el-pagination
@
current-change=
"currentChange"
background
:page-size=
"msg.pageSize"
layout=
"prev, pager, next"
:total=
"total"
>
</el-pagination>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
''
,
data
(){
return
{
msg
:
{
pageIndex
:
1
,
pageSize
:
5
,
PropertyId
:
""
},
OperationList
:[],
total
:
0
,
datainfo
:{
ImageList
:[],
},
PropertyId
:
''
,
detailLoad
:
false
,
}
},
created
(){
},
mounted
(){
},
methods
:{
InitData
(
id
){
this
.
PropertyId
=
id
;
this
.
msg
.
PropertyId
=
id
;
this
.
getOperation
();
this
.
getDataInfo
();
},
currentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getOperation
();
},
getOperation
()
{
this
.
detailLoad
=
true
;
this
.
apiJavaPost
(
"/api/property/GetPropertyLogPageList"
,
this
.
msg
,
res
=>
{
this
.
detailLoad
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
OperationList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
getDataInfo
(){
this
.
apiJavaPost
(
"/api/property/GetPropertyInfo"
,
{
Id
:
this
.
PropertyId
},
res
=>
{
this
.
OperationLoad
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
datainfo
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
},
}
</
script
>
<
style
>
.CheckDetails
.baseDiv
.desItem
:nth-child
(
3n
)
{
margin-right
:
0
;
}
.CheckDetails
.desItem
p
:first-child
{
margin-bottom
:
4px
;
}
.CheckDetails
.desItem
{
display
:
inline-block
;
background
:
#fff
;
box-sizing
:
border-box
;
border-radius
:
10px
;
width
:
200px
;
margin
:
10px
10px
10px
0
;
padding
:
6px
10px
;
}
.CheckDetails
.baseTitle
{
padding
:
5px
0
;
border-bottom
:
1px
dashed
#ccc
;
margin-bottom
:
10px
;
font-family
:
"PingFangR"
;
}
.CheckDetails
>
div
{
float
:
left
;
font-size
:
12px
;
}
.CheckDetails
.left
{
width
:
440px
;
box-sizing
:
border-box
;
padding
:
25px
;
}
.CheckDetails
.right
{
width
:
660px
;
padding
:
0
10px
0
15px
;
box-sizing
:
border-box
;
}
</
style
>
src/plugins/index.js
View file @
b9cbfb1a
...
...
@@ -15,8 +15,8 @@ export default {
let
locationName
=
window
.
location
.
hostname
;
if
(
this
.
isOnline
())
{
if
(
window
.
location
.
host
.
indexOf
(
'testzcyx.oytour.com'
)
!=
-
1
)
{
//
domainUrl = "http://127.0.0.1"
domainUrl
=
"http://testapi.oytour.com"
domainUrl
=
"http://127.0.0.1"
//
domainUrl = "http://testapi.oytour.com"
}
else
if
(
window
.
location
.
host
.
indexOf
(
'oytour.com'
)
!=
-
1
)
domainUrl
=
"http://reborn.oytour.com"
}
...
...
src/router/config.js
View file @
b9cbfb1a
import
Home
from
'../components/Home'
import
Login
from
'../components/global/Login'
import
Autologin
from
'../components/global/Autologin'
import
index
from
'../components/global/index'
export
default
{
...
...
@@ -17,11 +16,7 @@ export default {
name
:
'Login'
,
component
:
Login
},
{
path
:
'/Autologin'
,
name
:
'Autologin'
,
component
:
Autologin
},
{
path
:
'/index'
,
...
...
@@ -36,11 +31,7 @@ export default {
name
:
'Home'
,
component
:
Home
},
{
path
:
'/assetsList'
,
name
:
'assetsList'
,
component
:
resolve
=>
require
([
'@/components/assetsman/assetsList'
],
resolve
),
},
//酒店新增
{
path
:
'/HotelInfo'
,
...
...
@@ -59,7 +50,7 @@ export default {
name
:
'RoomList'
,
component
:
resolve
=>
require
([
'@/components/assetsman/RoomList'
],
resolve
),
},
//报价
单
//报价
{
path
:
'/Quotation'
,
name
:
'Quotation'
,
...
...
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