Commit ce604fd0 authored by zhengke's avatar zhengke

修改

parent f605b972
...@@ -156,16 +156,19 @@ ...@@ -156,16 +156,19 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="早到入住时间"> <el-form-item label="早到入住时间">
<el-date-picker class="w300" v-model="addMsg.CheckInTime" type="date" value-format="yyyy-MM-dd" placeholder="选择日期"> <el-time-select class='w300' v-model='addMsg.CheckInTime'
</el-date-picker> :picker-options="{start: '08:00',step: '00:05',end: '22:00'}">
</el-time-select>
</el-form-item> </el-form-item>
<el-form-item label="退房时间"> <el-form-item label="退房时间">
<el-date-picker class="w300" v-model="addMsg.CheckOutTime" type="date" value-format="yyyy-MM-dd" placeholder="选择日期"> <el-time-select class='w300' v-model='addMsg.CheckOutTime'
</el-date-picker> :picker-options="{start: '08:00',step: '00:05',end: '22:00'}">
</el-time-select>
</el-form-item> </el-form-item>
<el-form-item label="酒店前台服务时间至"> <el-form-item label="酒店前台服务时间至">
<el-date-picker class="w300" v-model="addMsg.ServiceTime" type="date" value-format="yyyy-MM-dd" placeholder="选择日期"> <el-time-select class='w300' v-model='addMsg.ServiceTime'
</el-date-picker> :picker-options="{start: '08:00',step: '00:05',end: '22:00'}">
</el-time-select>
</el-form-item> </el-form-item>
</div> </div>
</el-form> </el-form>
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
trigger="click"> trigger="click">
<ul> <ul>
<li style="cursor: pointer;"> <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>
<li @click="showUpdateBoard()" style="cursor: pointer;margin-top:12px"> <li @click="showUpdateBoard()" style="cursor: pointer;margin-top:12px">
<i style="color:#FFA475" class="iconfont icon-tuichudenglu"></i> <i style="color:#FFA475" class="iconfont icon-tuichudenglu"></i>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</li> </li>
</ul> </ul>
<span slot="reference" style="display: inline-flex;align-items: center;cursor: pointer;"> <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=""> <img v-else src="../../assets/img/defaultperson.png" style="width:44px;height:44px;margin-left:45px;border-radius:50%" alt="">
</span> </span>
</el-popover> </el-popover>
......
...@@ -92,7 +92,9 @@ export default { ...@@ -92,7 +92,9 @@ export default {
message: '新しいパスワードを入力してください', message: '新しいパスワードを入力してください',
trigger: "change" trigger: "change"
}] }]
} },
defaultHeadImg:
'this.src="' + require("../../assets/img/defaultperson.png") + '"',
} }
}, },
created(){ created(){
...@@ -106,6 +108,7 @@ export default { ...@@ -106,6 +108,7 @@ export default {
if (this.$route.name === 'index') { if (this.$route.name === 'index') {
this.$router.push({path: 'Home'}) this.$router.push({path: 'Home'})
} }
this.imgMsg.HeadImg = zcuserInfo.HeadImg;
}, },
methods:{ methods:{
showBoard(){ 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