提交 89fc6f30 编写于 作者: 张磊's avatar 张磊

Merge branch 'feat/zl' into 'develop'

Feat/zl

See merge request !50
...@@ -389,12 +389,17 @@ ...@@ -389,12 +389,17 @@
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
} }
/deep/.el-textarea{ ::v-deep.el-textarea{
width: 75%;
.el-textarea__inner{ .el-textarea__inner{
border: none; border: none;
} }
} }
::v-deep.c-bottom-input{
//border: 4px solid #0d9078 !important;
::v-deep textarea{
border: none!important ;
}
}
} }
&.no-content { &.no-content {
display: flex; display: flex;
...@@ -444,3 +449,6 @@ ...@@ -444,3 +449,6 @@
} }
} }
} }
.shrink64{
height: 64px;
}
<template> <template>
<div class="chat-wrap" v-show="showChat"> <div class="chat-wrap" :class="toggleChatSize ? 'shrink64' : ''" v-show="showChat">
<section class="component-content" id="screenSet"> <section class="component-content" id="screenSet">
<article <article
class="center" class="center"
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<span class="edit-img" @click="closeChat"> <span class="edit-img" @click="closeChat">
<img src="../../assets/image/IM/im_close2.png" alt /> <img src="../../assets/image/IM/im_close2.png" alt />
</span> </span>
<span class="edit-img"> <span class="edit-img" @click="toggleChatModal">
<img src="../../assets/image/IM/im_small.png" alt /> <img src="../../assets/image/IM/im_small.png" alt />
</span> </span>
</div> </div>
...@@ -267,7 +267,8 @@ export default { ...@@ -267,7 +267,8 @@ export default {
tid: '', tid: '',
teamMemberList: [], teamMemberList: [],
doctorName: '', doctorName: '',
doctorImg: '' doctorImg: '',
toggleChatSize: false
}; };
}, },
computed: { computed: {
...@@ -926,6 +927,7 @@ export default { ...@@ -926,6 +927,7 @@ export default {
}) })
.catch((err) => {}); .catch((err) => {});
}, },
out() { out() {
const {diagnoseLogId} = this.currentChat; const {diagnoseLogId} = this.currentChat;
let url = `/diagnose/admin/diagnose/endCall/${diagnoseLogId}`; let url = `/diagnose/admin/diagnose/endCall/${diagnoseLogId}`;
...@@ -955,6 +957,10 @@ export default { ...@@ -955,6 +957,10 @@ export default {
}); });
}, },
toggleChatModal () {
this.toggleChatSize = !this.toggleChatSize;
}
}, },
beforeDestroy() { beforeDestroy() {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="top-left"> <div class="top-left">
<div class="time-message "> <div class="time-message ">
<p class="msg-img"> <p class="msg-img">
<img :src="im_text" alt /> <img :src=" diagnoseType == 1 ? im_text : im_video" alt />
</p> </p>
<span>{{ diagnoseType }}</span> <span>{{ diagnoseType }}</span>
</div> </div>
...@@ -116,8 +116,9 @@ export default { ...@@ -116,8 +116,9 @@ export default {
}; };
}, },
created() { created() {
this.tid = this.$route.query.tid || "3854284100"; const {imTeamId, diagnoseLogId} = this.currentChat;
this.diagnoseLogId = this.$route.query.diagnoseLogId || "38"; this.tid = imTeamId|| "3854284100";
this.diagnoseLogId = diagnoseLogId || "38";
// openLoading(this); // openLoading(this);
this.init(); this.init();
}, },
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</div> </div>
</div> </div>
<div class="inquiryroom"> <div class="inquiryroom">
<div class="goroom"><span v-if="nomor" @click="openChat">进入诊室</span><span v-else>正在呼叫医助,进入诊室</span> </div> <div class="goroom" @click="openChat"><span v-if="nomor">进入诊室</span><span v-else>正在呼叫医助,进入诊室</span> </div>
<div class="suggest" @click="openAdvice">诊断建议 <div class="writesuggest" v-if="inquiry.write">未写</div></div> <div class="suggest" @click="openAdvice">诊断建议 <div class="writesuggest" v-if="inquiry.write">未写</div></div>
</div> </div>
</el-card> </el-card>
...@@ -331,10 +331,12 @@ export default { ...@@ -331,10 +331,12 @@ export default {
} }
} }
.inquiryroom{ .inquiryroom{
user-select: none;
height: 45px; height: 45px;
display: flex; //display: flex;
font-size: 14px; font-size: 14px;
.goroom{ .goroom{
display: inline-block;
cursor:pointer; cursor:pointer;
width: 238px; width: 238px;
height: 37px; height: 37px;
...@@ -349,6 +351,7 @@ export default { ...@@ -349,6 +351,7 @@ export default {
} }
} }
.suggest{ .suggest{
display: inline-block;
cursor:pointer; cursor:pointer;
width: 238px; width: 238px;
color: #449284; color: #449284;
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<el-radio-button label="5">已取消({{currentCalList}})</el-radio-button> <el-radio-button label="5">已取消({{currentCalList}})</el-radio-button>
</el-radio-group> </el-radio-group>
<div class="forbox"> <div class="forbox">
<div class="for" v-for="(item, index) in list" :key="'for'+index"> <div class="for" v-for="(item, index) in currentDiagList" :key="'for'+index">
<inquiryList-component :item="item"></inquiryList-component> <inquiryList-component :item="item"></inquiryList-component>
</div> </div>
</div> </div>
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
<script> <script>
import { mapState } from "vuex"; import { mapState } from "vuex";
import InquiryListComponent from '../../../components/common/inquirylist.vue'; import InquiryListComponent from '../../../components/common/inquirylist.vue';
import store from "../../../store";
export default { export default {
components: { components: {
InquiryListComponent InquiryListComponent
...@@ -121,6 +122,13 @@ export default { ...@@ -121,6 +122,13 @@ export default {
this.searchParam.returnStatus = val this.searchParam.returnStatus = val
this.searchParam.pageNo = 1 this.searchParam.pageNo = 1
this.search() this.search()
// 测试代码
const l = this.currentDiagList;
console.log('--l----', l)
l.push(...this.list);
console.log('--l', l)
this.$store.commit('updateCurrentDiagList', l);
}, },
changeDatetime(val) { changeDatetime(val) {
this.searchParam.dateTime = val.toLocaleDateString().split('/').join('-') this.searchParam.dateTime = val.toLocaleDateString().split('/').join('-')
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册