提交 091caf97 编写于 作者: 张磊's avatar 张磊

save

上级 c616a3b5
......@@ -687,6 +687,7 @@ export default {
.text-right {
margin-left: 5px;
text-align: left;
white-space: nowrap;
.text-name{
font-size: 18px;
color: #063948;
......
......@@ -58,20 +58,18 @@ export default {
pageSize: 6,
returnStatus: 1
};
this.$store.commit('updateSoketQuest', p)
this.$router.push({path:'/workbench'})
//
// this.POST('/diagnose/socket/condition/update', p).then(res=>{
// if(res.code == '000000'){
//
// }else{
// this.$message({
// message: res.message,
// type: "warning",
// duration:1000
// });
// }
// })
this.POST('/diagnose/socket/condition/update', p).then(res=>{
if(res.code == '000000'){
this.$store.commit('updateSoketQuest', p)
this.$router.push({path:'/workbench'})
}else{
this.$message({
message: res.message,
type: "warning",
duration:1000
});
}
})
}
}
};
......
......@@ -10,7 +10,7 @@
<i :class='diagnoseTypeIcon'></i>
{{diagnoseType}}
</div>
<div class="time"> <i class="appointment"></i> {{appointBeginTime}}</div>
<div class="time"> <i class="appointment"></i> {{appointBeginTime}} {{appointEndTime}}</div>
</div>
<div class="right">
<div class="right-status" :class="{grey: 'returnStatus ==', org: ''}">
......@@ -48,21 +48,21 @@
<span class="info-name">
{{item.userName}}
</span>
<span>诊医生</span>
<span>诊医生</span>
</div>
<div>
<span class="info-phone">
{{item.userMobile}}
</span>
<span class="info-call-time" v-if="item.doctorCallTime">
{{item.doctorCallTime}}小时前呼叫
<span class="info-call-time" v-if="item.userCallKfStatus">
{{item.userCallKfStatus}}小时前呼叫
</span>
</div>
</div>
</div>
</div>
<div class="line mt20">
<div class="line-btn" @click="openChat"><span>进入诊室</span> </div>
<div class="line-btn" @click="openChat">进入诊室 </div>
<div class="line-btn" @click="openAdvice">诊断建议 <div class="line-btn-tap">未写</div></div>
</div>
</div>
......@@ -130,14 +130,11 @@ export default {
}
},
appointBeginTime() {
if(this.item.appointBeginTime) {
let starttime = String(this.item.appointBeginTime).slice(0,10)
let endtime = `${String(this.item.appointBeginTime).slice(11,16)}-${String(this.item.appointEndTime).slice(11,16)}`
return starttime +' '+ endtime
}else{
return ''
}
return new Date(this.item.appointBeginTime).format("yyyy-MM-dd hh:mm");
},
appointEndTime () {
return new Date(this.item.appointEndTime).format("hh:mm");
}
},
methods: {
openChat () {
......@@ -296,6 +293,9 @@ export default {
border: 1px solid rgba(68, 146, 132, 0.31);
text-align: center;
line-height: 37px;
color: #0D9078;
font-size: 14px;
font-weight: bold;
.line-btn-tap{
position: absolute;
top: -10px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册