Commit ce604fd0 authored by zhengke's avatar zhengke

修改

parent f605b972
......@@ -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>
......
......@@ -50,7 +50,7 @@
trigger="click">
<ul>
<li style="cursor: pointer;">
<span class="f14"><span style="color:#BEBEBE">Hello</span>,{{zcuserInfo.emName}}</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>
......
......@@ -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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment