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
ce604fd0
Commit
ce604fd0
authored
Feb 11, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
f605b972
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
HotelInfo.vue
src/components/assetsman/HotelInfo.vue
+9
-6
Nav.vue
src/components/global/Nav.vue
+2
-2
index.vue
src/components/global/index.vue
+4
-1
No files found.
src/components/assetsman/HotelInfo.vue
View file @
ce604fd0
...
...
@@ -156,16 +156,19 @@
</el-select>
</el-form-item>
<el-form-item
label=
"早到入住时间"
>
<el-date-picker
class=
"w300"
v-model=
"addMsg.CheckInTime"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
>
</el-date-picker>
<el-time-select
class=
'w300'
v-model=
'addMsg.CheckInTime'
:picker-options=
"
{start: '08:00',step: '00:05',end: '22:00'}">
</el-time-select>
</el-form-item>
<el-form-item
label=
"退房时间"
>
<el-date-picker
class=
"w300"
v-model=
"addMsg.CheckOutTime"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
>
</el-date-picker>
<el-time-select
class=
'w300'
v-model=
'addMsg.CheckOutTime'
:picker-options=
"
{start: '08:00',step: '00:05',end: '22:00'}">
</el-time-select>
</el-form-item>
<el-form-item
label=
"酒店前台服务时间至"
>
<el-date-picker
class=
"w300"
v-model=
"addMsg.ServiceTime"
type=
"date"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
>
</el-date-picker>
<el-time-select
class=
'w300'
v-model=
'addMsg.ServiceTime'
:picker-options=
"
{start: '08:00',step: '00:05',end: '22:00'}">
</el-time-select>
</el-form-item>
</div>
</el-form>
...
...
src/components/global/Nav.vue
View file @
ce604fd0
...
...
@@ -50,7 +50,7 @@
trigger=
"click"
>
<ul>
<li
style=
"cursor: pointer;"
>
<span
class=
"f14"
><span
style=
"color:#BEBEBE"
>
Hello
</span>
,{{zcuserInfo.
em
Name}}
</span>
<span
class=
"f14"
><span
style=
"color:#BEBEBE"
>
Hello
</span>
,{{zcuserInfo.Name}}
</span>
</li>
<li
@
click=
"showUpdateBoard()"
style=
"cursor: pointer;margin-top:12px"
>
<i
style=
"color:#FFA475"
class=
"iconfont icon-tuichudenglu"
></i>
...
...
@@ -62,7 +62,7 @@
</li>
</ul>
<span
slot=
"reference"
style=
"display: inline-flex;align-items: center;cursor: pointer;"
>
<img
v-if=
"zcuserInfo.
Icon && zcuserInfo.Icon!='' "
:src=
"zcuserInfo.Icon
"
:onerror=
"defaultHeadImg"
style=
"width:44px;height:44px;margin-left:45px;border-radius:50%"
alt=
""
>
<img
v-if=
"zcuserInfo.
HeadImg && zcuserInfo.HeadImg!='' "
:src=
"zcuserInfo.HeadImg
"
:onerror=
"defaultHeadImg"
style=
"width:44px;height:44px;margin-left:45px;border-radius:50%"
alt=
""
>
<img
v-else
src=
"../../assets/img/defaultperson.png"
style=
"width:44px;height:44px;margin-left:45px;border-radius:50%"
alt=
""
>
</span>
</el-popover>
...
...
src/components/global/index.vue
View file @
ce604fd0
...
...
@@ -92,8 +92,10 @@ export default {
message
:
'新しいパスワードを入力してください'
,
trigger
:
"change"
}]
},
defaultHeadImg
:
'this.src="'
+
require
(
"../../assets/img/defaultperson.png"
)
+
'"'
,
}
}
},
created
(){
this
.
minHeight
=
document
.
body
.
clientHeight
;
...
...
@@ -106,6 +108,7 @@ export default {
if
(
this
.
$route
.
name
===
'index'
)
{
this
.
$router
.
push
({
path
:
'Home'
})
}
this
.
imgMsg
.
HeadImg
=
zcuserInfo
.
HeadImg
;
},
methods
:{
showBoard
(){
...
...
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