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

save

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