提交 49278886 编写于 作者: fusheng.liu's avatar fusheng.liu

save

上级 43ec45ea
<template>
<div class="diagnoseAdvice">
<div class="header"> <span class="headernum"> 问诊单1233 诊断建议</span> <el-button>退出</el-button></div>
<!-- <el-form-item label="音频" >
<upload-music :isDisable="editorType== 2" :musicList="formData.illnessAudioUrls" ref="musicComponent"></upload-music>
</el-form-item> -->
<div class="center">
<span>诊断建议</span> <el-input rows="10" type="textarea" v-model="formData.advice" placeholder="请输入内容"></el-input>
</div>
<el-form>
<el-form-item label="系统录音/录像">
<el-form-item >
<el-link href="" target="_blank"> .mp4</el-link>
</el-form-item>
</el-form-item>
</el-form>
<div class="footer">
<el-button type="primary" style="height:35px">提交保存</el-button>
</div>
</div>
</template>
<script>
import uploadMusic from '@/components/editor/upload-music'
export default {
components: { uploadMusic},
data() {
return{
formData:{
diagnoseAdvice:'',
advice:"",
vodList:[{url:'upload-music'},{url:'upload-music'},{url:'upload-music'}]
}
}
}
}
</script>
<style lang="scss" scoped>
.diagnoseAdvice{
position: absolute;
top: 20px;
right: 20px;
z-index: 1000;
width: 500px;
height: 600px;
background: #ffffff;
box-shadow: 10px 10px 50px 0px #d9d9d9;
overflow: hidden;
border-radius: 18px;
.header{
height: 60px;
border-bottom: 1px rgb(231, 228, 228) solid;
display: flex;
justify-content: space-between;
padding-left: 15px;
margin-bottom: 30px;
.headernum{
font-weight: 700;
line-height: 60px;
}
.el-button{
width: 85px;
height: 25px;
margin-top: 17px;
margin-right: 17px;
line-height: 0;
border-color: #9fba81;
color: #9fba81;
>span{
font-weight: 700;
}
}
}
.center{
display: flex;
margin-right: 28px;
margin-bottom: 30px;
height: 210px;
>span{
display: inline-block;
margin-top: 5px;
width: 110px;
}
.el-textarea{
height: 110px;
.el-textarea__inner{
height: 110px;
}
}
}
.footer{
position: absolute;
width: 500px;
height: 50px;
bottom: 0;
text-align: center;
margin-top: 5px;
display: flex;
align-items:center;
justify-content:center;
box-shadow: 0px 0px 5px #888888;
}
}
</style>
\ No newline at end of file
...@@ -43,17 +43,21 @@ ...@@ -43,17 +43,21 @@
</div> </div>
<div class="inquiryroom"> <div class="inquiryroom">
<div class="goroom"><span v-if="nomor">进入诊室</span><span v-else>正在呼叫医助,进入诊室</span> </div> <div class="goroom"><span v-if="nomor">进入诊室</span><span v-else>正在呼叫医助,进入诊室</span> </div>
<div class="suggest">诊断建议 <div class="writesuggest" v-if="inquiry.write">未写</div></div> <div class="suggest" @click="showAdvice()">诊断建议 <div class="writesuggest" v-if="inquiry.write">未写</div></div>
</div> </div>
</el-card> </el-card>
</el-col> </el-col>
</el-row> </el-row>
<diagnoseAdvice v-if="showAdvices"></diagnoseAdvice>
</div> </div>
</template> </template>
<script> <script>
import DiagnoseAdvice from '@/components/common/diagnoseAdvice.vue'
export default { export default {
components:{
DiagnoseAdvice
},
data() { data() {
return { return {
inquiry:{ inquiry:{
...@@ -69,7 +73,8 @@ export default { ...@@ -69,7 +73,8 @@ export default {
calldoctor:true, calldoctor:true,
timer:null, timer:null,
flag:true, flag:true,
nomor:true nomor:true,
showAdvices:false
}; };
}, },
props:{ props:{
...@@ -79,9 +84,6 @@ export default { ...@@ -79,9 +84,6 @@ export default {
} }
}, },
created() { created() {
// vm = this;
let now = new Date().getTime()
let callnow = new Date(this.item.appointBeginTime.slice(0,16)).getTime()
}, },
computed:{ computed:{
diagnoseType() { diagnoseType() {
...@@ -142,6 +144,9 @@ export default { ...@@ -142,6 +144,9 @@ export default {
} }
}, },
showAdvice() {
this.showAdvices = true
}
} }
} }
</script> </script>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册