followMsgDetails.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. <template>
  2. <div >
  3. <div class="chat-records">
  4. <el-card v-for="(lt, index) in msg" :key="index" class="chat-record" :class="{ 'received': lt.msgType == '1', 'sent': lt.msgType == '2' }">
  5. <div :class="{ 'right': lt.msgType == '2'}" style="margin-bottom: 20px;">
  6. <div class="timestamp" style="margin-bottom: 10px;">
  7. <span v-if="lt.msgType=='1'"> {{patientName}}</span>
  8. <span v-if="lt.msgType=='2'"> {{doctorName}}</span>
  9. {{ lt.createTime }}
  10. </div>
  11. <div class="message">
  12. <div v-if="lt.msgContentType == '1'" :class="{ 'right': lt.msgType == '2'}">{{lt.content}}</div>
  13. <div v-if="lt.msgContentType == '2'" :class="{ 'right': lt.msgType == '2'}">
  14. <audio ref="audioPlayer" controls>
  15. <source :src="lt.content" type="audio/mp3" />
  16. </audio>
  17. </div>
  18. <div v-if="lt.msgContentType == '4'" :class="{ 'right': lt.msgType == '2'}">
  19. <video :src="lt.content" controls style="max-width: 400px; max-height: 400px;"></video>
  20. </div>
  21. <span v-if="lt.msgContentType == '5'" :class="{ 'right': lt.msgType == '2'}"><el-link type="primary" :underline="false" @click="getPrescribe(JSON.parse(lt.content).prescribeId)">处方单</el-link></span>
  22. <span v-if="lt.msgContentType == '6'" :class="{ 'right': lt.msgType == '2'}"><el-link type="primary" :underline="false" @click="report(lt.content)">问诊报告</el-link></span>
  23. <span v-if="lt.msgContentType == '7'" :class="{ 'right': lt.msgType == '2'}"><el-link type="primary" :underline="false" @click="follow(lt.content)">随访</el-link></span>
  24. <span v-if="lt.msgContentType == '8'" :class="{ 'right': lt.msgType == '2'}"><el-link type="primary" :underline="false" @click="drugReport(lt.content)">用药报告</el-link></span>
  25. <span v-else-if="lt.msgContentType == '3'" :class="{ 'right': lt.msgType == '2'}">
  26. <el-image
  27. style="width: 100px"
  28. :src="lt.content"
  29. :preview-src-list="[lt.content]">
  30. </el-image>
  31. </span>
  32. </div>
  33. </div>
  34. </el-card>
  35. </div>
  36. <pagination
  37. v-show="total>0"
  38. :total="total"
  39. :page.sync="msgForm.pageNum"
  40. :limit.sync="msgForm.pageSize"
  41. @pagination="msgList"
  42. />
  43. <el-dialog
  44. title="随访单"
  45. :visible.sync="followDialogVisible"
  46. width="80%"
  47. :before-close="handleCloseSF" append-to-body >
  48. <div style="margin-left: 40px;" v-if="followList!=null">
  49. <div :class="'questionnaire_'+index" v-for="(ite, index) in followList" :key="index" >
  50. <div class="flex-1">
  51. <span :class="ite.require ? 'require' : 'noRequire'">{{index+1}}.{{ite.question}}</span>
  52. <div>
  53. <div v-if="'1' == ite.type">
  54. <el-row v-for="(answerItem,i) in ite.options" :key="i">
  55. <el-col :span="23" :offset="1"> <el-radio disabled v-model="ite.answers" :label="ite.options[i]"></el-radio></el-col>
  56. </el-row>
  57. </div>
  58. <div v-if="'2' == ite.type">
  59. <el-row v-for="(answerItem,i) in ite.options" :key="i">
  60. <el-col :span="23" :offset="1">
  61. <el-checkbox-group v-model="ite.answers">
  62. <el-checkbox :label="ite.options[i]" disabled></el-checkbox>
  63. </el-checkbox-group>
  64. </el-col>
  65. </el-row>
  66. </div>
  67. <div v-if="'3' == ite.type">
  68. <el-row>
  69. <el-col :span="23" :offset="1"><el-input v-model="ite.answers" :disabled="true" type="textarea"></el-input></el-col>
  70. </el-row>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <span slot="footer" class="dialog-footer">
  77. <el-button @click="followDialogVisible = false">取 消</el-button>
  78. <el-button type="primary" @click="followDialogVisible = false">确 定</el-button>
  79. </span>
  80. </el-dialog>
  81. <el-dialog title="处方单" :visible.sync="prescribeDialog.open" width="80%" :before-close="handleClose" append-to-body >
  82. <div class="desct">
  83. 基本信息
  84. </div>
  85. <el-descriptions :column="3" border >
  86. <el-descriptions-item label="处方单编号" >
  87. <span v-if="prescribeItem!=null">
  88. {{prescribeItem.prescribeCode}}
  89. </span>
  90. </el-descriptions-item>
  91. <el-descriptions-item label="病情描述" > <span v-if="prescribeItem!=null">{{prescribeItem.patientDescs}}</span></el-descriptions-item>
  92. <el-descriptions-item label="诊断" > <span v-if="prescribeItem!=null">{{prescribeItem.diagnose}}</span></el-descriptions-item>
  93. <el-descriptions-item label="既往史" ><span v-if="prescribeItem!=null">{{prescribeItem.historyIllness}}</span></el-descriptions-item>
  94. <el-descriptions-item label="患者年龄" > <span v-if="prescribeItem!=null">{{prescribeItem.patientAge}}</span></el-descriptions-item>
  95. <el-descriptions-item label="患者姓名" > <span v-if="prescribeItem!=null">{{prescribeItem.patientName}}</span> </el-descriptions-item>
  96. <el-descriptions-item label="是否有过敏史" > <dict-tag :options="orOptions" :value="prescribeItem.historyAllergic"/></el-descriptions-item>
  97. <el-descriptions-item label="过敏史" ><span v-if="prescribeItem!=null">{{prescribeItem.weight}}</span></el-descriptions-item>
  98. <el-descriptions-item label="肝功能是否异常" ><span v-if="prescribeItem!=null">{{prescribeItem.liverUnusual}}</span> </el-descriptions-item>
  99. <el-descriptions-item label="肾功能是否异常" > <span v-if="prescribeItem!=null">{{prescribeItem.renalUnusual}}</span> </el-descriptions-item>
  100. <el-descriptions-item label="是否是备孕/怀孕/哺乳期" > <dict-tag :options="orOptions" :value="prescribeItem.isLactation"/> </el-descriptions-item>
  101. <el-descriptions-item label="患者电话" > <span v-if="prescribeItem!=null">{{prescribeItem.patientTel}}</span> </el-descriptions-item>
  102. <el-descriptions-item label="药师名称" > <span v-if="prescribeItem!=null">{{prescribeItem.doctorDrugName}}</span> </el-descriptions-item>
  103. <el-descriptions-item label="医生名称" > <span v-if="prescribeItem!=null">{{prescribeItem.doctorName}}</span> </el-descriptions-item>
  104. <el-descriptions-item label="审核时间" > <span v-if="prescribeItem!=null">{{prescribeItem.auditTime}}</span></el-descriptions-item>
  105. <el-descriptions-item label="创建时间" > <span v-if="prescribeItem!=null">{{prescribeItem.createTime}}</span> </el-descriptions-item>
  106. </el-descriptions>
  107. <div class="desct">
  108. 服用方法
  109. </div>
  110. <el-descriptions :column="3" border >
  111. <el-descriptions-item label="剂数" ><span v-if="prescribeItem!=null">{{usageJson.counts }}</span></el-descriptions-item>
  112. <el-descriptions-item label="用药频率" ><span v-if="prescribeItem!=null">{{usageJson.usageFrequencyUnit }}</span></el-descriptions-item>
  113. <el-descriptions-item label="单次用药" ><span v-if="prescribeItem!=null">{{usageJson.usagePerUseCount }}</span></el-descriptions-item>
  114. <el-descriptions-item label="用药方法" ><span v-if="prescribeItem!=null">{{usageJson.usageMethod }}</span></el-descriptions-item>
  115. <el-descriptions-item label="备注" ><span v-if="prescribeItem!=null">{{usageJson.remark }}</span></el-descriptions-item>
  116. </el-descriptions>
  117. <div class="desct">
  118. 商品信息
  119. </div>
  120. <el-table border v-if="prod!=null" :data="prod" size="small" style="width: 100%;margin-top: 20px" >
  121. <el-table-column label="商品图片" width="150" align="center">
  122. <template slot-scope="scope">
  123. <img :src="scope.row.drugImgUrl" style="height: 50px">
  124. </template>
  125. </el-table-column>
  126. <el-table-column prop="drugName" label="药品名称" width="120" align="center"></el-table-column>
  127. <el-table-column prop="drugSpec" label="药品规格" width="120" align="center"></el-table-column>
  128. <el-table-column prop="drugPrice" label="药品单价" width="120" align="center"></el-table-column>
  129. <el-table-column prop="drugNum" label="药品数量" width="120" align="center"></el-table-column>
  130. <el-table-column prop="drugUnit" label="药品单位" width="120" align="center"></el-table-column>
  131. <el-table-column prop="usageMethod" label="使用方法" width="120" align="center"></el-table-column>
  132. <el-table-column prop="usageFrequency_unit" label="药品频次" width="120" align="center"></el-table-column>
  133. <el-table-column prop="usageFrequencyUnit" label="每次用药数量" width="120" align="center"></el-table-column>
  134. <el-table-column label="小计" align="center" width="120" fixed="right">
  135. <template slot-scope="scope" >
  136. ¥{{(scope.row.drugNum*scope.row.drugPrice).toFixed(2)}}
  137. </template>
  138. </el-table-column>
  139. </el-table>
  140. <div style="height: 30px;">
  141. <div style="float: right;margin: 20px" v-if="prescribeItem.prescribeType==2">
  142. 剂数:<span class="color-danger">{{JSON.parse(prescribeItem.usageJson).counts}}</span>
  143. </div>
  144. </div>
  145. <span slot="footer" class="dialog-footer">
  146. <el-button @click="prescribeDialog.open = false">取 消</el-button>
  147. <el-button type="primary" @click="prescribeDialog.open = false">确 定</el-button>
  148. </span>
  149. </el-dialog>
  150. <el-dialog title="问诊报告" :visible.sync="reportDialogVisible" width="80%" :before-close="handleCloseR" append-to-body >
  151. <div class="desct">
  152. 基本信息
  153. </div>
  154. <el-descriptions :column="3" border >
  155. <el-descriptions-item label="报告编号"><span v-if="reportItem!=null">{{reportItem.reportSn}}</span></el-descriptions-item>
  156. <el-descriptions-item label="状态"><span v-if="reportItem!=null"><dict-tag :options="statusOptions" :value="reportItem.status"/></span></el-descriptions-item>
  157. <el-descriptions-item label="会员昵称"><span v-if="reportItem!=null">{{reportItem.nickName}}</span></el-descriptions-item>
  158. <el-descriptions-item label="会员电话"><span v-if="reportItem!=null">{{reportItem.phone}}</span></el-descriptions-item>
  159. <el-descriptions-item label="医生名称"><span v-if="reportItem!=null">{{reportItem.doctorName}}</span></el-descriptions-item>
  160. <el-descriptions-item label="问诊子类型" ><dict-tag :options="inquirySubTypeOptions" :value="reportItem.inquirySubType"/></el-descriptions-item>
  161. <el-descriptions-item label="优惠劵发送人"><span v-if="reportItem!=null">{{reportItem.sendName}}</span></el-descriptions-item>
  162. <el-descriptions-item label="主诉"><span v-if="reportItem!=null">{{reportItem.patientDescs}}</span></el-descriptions-item>
  163. <el-descriptions-item label="疾病历"><span v-if="reportItem!=null">{{reportItem.illnessLogs}}</span></el-descriptions-item>
  164. <el-descriptions-item label="用药史"><span v-if="reportItem!=null">{{reportItem.drugLogs}}</span></el-descriptions-item>
  165. <el-descriptions-item label="诊断结果"><span v-if="reportItem!=null">{{reportItem.inquiryResult}}</span></el-descriptions-item>
  166. <el-descriptions-item label="备注"><span v-if="reportItem!=null">{{reportItem.remark}}</span></el-descriptions-item>
  167. <el-descriptions-item label="医生签名"><span v-if="reportItem.signUrl!=null"><img :src="reportItem.signUrl" style="max-width: 100px;"></span></el-descriptions-item>
  168. <el-descriptions-item label="提交时间"><span v-if="reportItem!=null">{{reportItem.createTime}}</span></el-descriptions-item>
  169. <el-descriptions-item label="更新时间"><span v-if="reportItem!=null">{{reportItem.updateTime}}</span></el-descriptions-item>
  170. <el-descriptions-item label="问诊备注"><span v-if="reportItem!=null">{{reportItem.companyUserRemark}}</span></el-descriptions-item>
  171. </el-descriptions>
  172. <div class="desct">
  173. ${process.env.VUE_APP_VIDEO_LINE_1}
  174. </div>
  175. <el-descriptions :column="3" border >
  176. <el-descriptions-item label="患者姓名" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).patientName}}</span></el-descriptions-item>
  177. <el-descriptions-item label="患者年龄" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).age}}</span></el-descriptions-item>
  178. <el-descriptions-item label="患者性别" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).sex==1?'男':'女'}}</span></el-descriptions-item>
  179. <el-descriptions-item label="身份证号" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).idCard}}</span></el-descriptions-item>
  180. <el-descriptions-item label="体重" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).weight}}</span></el-descriptions-item>
  181. <el-descriptions-item label="身高" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).height}}</span></el-descriptions-item>
  182. <el-descriptions-item label="学习周期" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).study}}</span></el-descriptions-item>
  183. <el-descriptions-item label="正在服药" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).drugs}}</span></el-descriptions-item>
  184. <el-descriptions-item label="用药情况" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).medication}}</span></el-descriptions-item>
  185. <el-descriptions-item label="主诉" span="3"><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).title}}</span></el-descriptions-item>
  186. <el-descriptions-item label="面部照片" span="3" v-if="reportItem.patientJson!=null">
  187. <div v-if="(JSON.parse(reportItem.patientJson)).faceImages">
  188. <el-image v-if="JSON.parse(reportItem.patientJson).faceImages!=null&&JSON.parse(reportItem.patientJson).faceImages!=''" v-for="img in (JSON.parse(reportItem.patientJson).faceImages).split(',')" :key="img.id"
  189. style="width: 100px"
  190. :src="img"
  191. :preview-src-list="[img]">
  192. </el-image>
  193. </div>
  194. </el-descriptions-item>
  195. <el-descriptions-item label="舌苔照片" span="3" v-if="reportItem.patientJson!=null">
  196. <div v-if="(JSON.parse(reportItem.patientJson)).tongueImages">
  197. <el-image v-if="JSON.parse(reportItem.patientJson).tongueImages!=null&&JSON.parse(reportItem.patientJson).tongueImages!=''" v-for="img in (JSON.parse(reportItem.patientJson).tongueImages).split(',')" :key="img.id"
  198. style="width: 100px"
  199. :src="img"
  200. :preview-src-list="[img]">
  201. </el-image>
  202. </div>
  203. </el-descriptions-item>
  204. <el-descriptions-item label="检测报告或患病证书" span="3" v-if="reportItem.patientJson!=null">
  205. <div v-if="(JSON.parse(reportItem.patientJson)).tongueImages">
  206. <el-image v-if="JSON.parse(reportItem.patientJson).reportImages!=null && JSON.parse(reportItem.patientJson).reportImages!=''" v-for="img in (JSON.parse(reportItem.patientJson).reportImages).split(',')" :key="img.id"
  207. style="width: 100px"
  208. :src="img"
  209. :preview-src-list="[img]">
  210. </el-image>
  211. </div>
  212. </el-descriptions-item>
  213. </el-descriptions>
  214. <div v-if="reportItem.conditioningPlanJson!=null">
  215. <div class="desct"> 调理方案</div>
  216. <el-descriptions title="" :column="1" border >
  217. <el-descriptions-item :label="form.name" v-for=" form in JSON.parse(reportItem.conditioningPlanJson)" ><div style="white-space: pre-wrap;">{{form.value}}</div></el-descriptions-item>
  218. </el-descriptions>
  219. </div>
  220. <span slot="footer" class="dialog-footer">
  221. <el-button @click="reportDialogVisible = false">取 消</el-button>
  222. <el-button type="primary" @click="reportDialogVisible = false">确 定</el-button>
  223. </span>
  224. </el-dialog>
  225. <el-dialog title="用药报告" :visible.sync="drugReportDialogVisible" width="80%" :before-close="handleCloseR" append-to-body >
  226. <div class="desct">
  227. 用药报告
  228. </div>
  229. <el-descriptions title="" :column="3" border>
  230. <el-descriptions-item label="订单编号"><span v-if="drugReportItem!=null">{{drugReportItem.orderCode}}</span></el-descriptions-item>
  231. <el-descriptions-item label="病人名称"><span v-if="drugReportItem!=null">{{drugReportItem.patientName}}</span></el-descriptions-item>
  232. <el-descriptions-item label="医生名称"><span v-if="drugReportItem!=null">{{drugReportItem.doctorNane}}</span></el-descriptions-item>
  233. <el-descriptions-item label="状态"><span v-if="drugReportItem!=null"> <dict-tag :options="statusDrugReportOptions" :value="drugReportItem.status"/></span></el-descriptions-item>
  234. <el-descriptions-item label="咨询总结"><span v-if="drugReportItem!=null">{{drugReportItem.reportSummary}}</span></el-descriptions-item>
  235. <el-descriptions-item label="生活建议"span="3"><span v-if="drugReportItem!=null">{{drugReportItem.reportAdvice}}</span></el-descriptions-item>
  236. <el-descriptions-item label="备注"span="3"><span v-if="drugReportItem!=null">{{drugReportItem.remark}}</span></el-descriptions-item>
  237. <el-descriptions-item label="评分"span="3"><span v-if="drugReportItem!=null"><span v-html="drugReportItem.pingStar"></span></span></el-descriptions-item>
  238. <el-descriptions-item label="评价" span="3"><span v-if="drugReportItem!=null"> <span v-html="drugReportItem.pingContent"></span></span></el-descriptions-item>
  239. <el-descriptions-item label="评价时间" span="3"><span v-if="drugReportItem!=null"> <span v-html="drugReportItem.pingTime"></span></span></el-descriptions-item>
  240. <el-descriptions-item label="创建时间" span="3"><span v-if="drugReportItem!=null"> <span v-html="drugReportItem.createTime"></span></span></el-descriptions-item>
  241. </el-descriptions>
  242. <span slot="footer" class="dialog-footer">
  243. <el-button @click="drugReportDialogVisible = false">取 消</el-button>
  244. <el-button type="primary" @click="drugReportDialogVisible = false">确 定</el-button>
  245. </span>
  246. </el-dialog>
  247. </div>
  248. </template>
  249. <script>
  250. import { getDrugReport} from "@/api/his/drugReport";
  251. import { getPatientMobile,getInquiryOrderReportByOrderId} from "@/api/his/inquiryOrderReport";
  252. import {msgList,getMsgFollow} from "@/api/his/storeOrder";
  253. import prescribeDetails from '../../components/his/prescribeDetails.vue';
  254. import {getPrescribe,getDrugInfo} from "@/api/his/prescribe";
  255. export default {
  256. components:{prescribeDetails},
  257. name: "FollowMsgList",
  258. data() {
  259. return {
  260. usageJson:{},
  261. prescribeItem:{},
  262. statusDrugReportOptions:[],
  263. reportItem:{},
  264. drugReportItem:{},
  265. followList:[],
  266. inquirySubTypeOptions:[],
  267. statusOptions:[],
  268. prod:[],
  269. followDialogVisible:false,
  270. reportDialogVisible:false,
  271. drugReportDialogVisible:false,
  272. prescribeDialog:{
  273. open:false,
  274. title:"处方单"
  275. },
  276. msgForm:{
  277. pageNum: 1,
  278. pageSize: 10,
  279. userId:null,
  280. followDoctorId:null,
  281. },
  282. total:0,
  283. msg:[],
  284. doctorName:null,
  285. patientName:null,
  286. orOptions:[],
  287. form: {
  288. }
  289. }
  290. },
  291. created() {
  292. this.getDicts("sys_company_or").then(response => {
  293. this.orOptions = response.data;
  294. });
  295. this.getDicts("sys_inquiry_sub_type").then(response => {
  296. this.inquirySubTypeOptions = response.data;
  297. });
  298. this.getDicts("sys_inquiry_order_report_status").then(response => {
  299. this.statusOptions = response.data;
  300. });
  301. this.getDicts("sys_drug_report_status").then(response => {
  302. this.statusDrugReportOptions = response.data;
  303. });
  304. },
  305. methods: {
  306. getPrescribe(orderId){
  307. if(orderId==null){
  308. return this.$message("未读取到随访")
  309. }
  310. this.prescribeDialog.open=true;
  311. getPrescribe(orderId).then(response => {
  312. this.prescribeItem = response.data;
  313. this.usageJson=JSON.parse(this.prescribeItem.usageJson)
  314. });
  315. getDrugInfo(orderId).then(response => {
  316. this.prod = response.data;
  317. });
  318. },
  319. getDetails(userId,followDoctorId,doctorName,patientName) {
  320. this.msgForm.userId=userId;
  321. this.msgForm.followDoctorId=followDoctorId;
  322. this.doctorName = doctorName;
  323. this.patientName = patientName;
  324. this.msgList();
  325. },
  326. msgList(){
  327. this.msg=[];
  328. msgList(this.msgForm).then(response => {
  329. this.msg = response.rows;
  330. this.total = response.total;
  331. });
  332. },
  333. handleClose(){
  334. this.prescribeDialog.open = false
  335. },
  336. handleCloseSF(){
  337. this.followDialogVisible=false;
  338. },
  339. handleCloseR(){
  340. this.reportDialogVisible=false;
  341. },
  342. handleCloseDR(){
  343. this.drugReportDialogVisible=false;
  344. },
  345. follow(row){
  346. if(row==null){
  347. return this.$message("未读取到随访")
  348. }
  349. getMsgFollow(row).then(response => {
  350. if(response.data.formJson!=null&&response.data.formJson!=''&&response.data.writeStatus==1){
  351. this.followList=JSON.parse(response.data.formJson );
  352. this.followDialogVisible=true;
  353. }else{
  354. return this.$message("随访单未填写")
  355. }
  356. });
  357. },
  358. report(row){
  359. if(row==null){
  360. return this.$message("未读取到报告")
  361. }
  362. if(row=="医生提交问诊报告"){
  363. return this.$message("未读取到报告")
  364. }
  365. getInquiryOrderReportByOrderId(row).then(response => {
  366. if(response.data!=null){
  367. this.reportItem = response.data;
  368. }
  369. });
  370. this.reportDialogVisible=true;
  371. },
  372. drugReport(row){
  373. if(row==null){
  374. return this.$message("未读取到报告")
  375. }
  376. getDrugReport(row).then(response => {
  377. this.drugReportItem = response.data;
  378. });
  379. this.drugReportDialogVisible=true;
  380. },
  381. }
  382. }
  383. </script>
  384. <style>
  385. .contentx{
  386. height: 100%;
  387. background-color: #fff;
  388. padding: 0px 20px 20px;
  389. margin: 20px;
  390. }
  391. .el-descriptions-item__label.is-bordered-label{
  392. font-weight: normal;
  393. }
  394. .el-descriptions-item__content {
  395. max-width: 150px;
  396. min-width: 100px;
  397. }
  398. .desct{
  399. padding-top: 20px;
  400. padding-bottom: 20px;
  401. color: #524b4a;
  402. font-weight: bold;
  403. }
  404. </style>
  405. <style scoped>
  406. .chat-records {
  407. overflow-y: auto;
  408. }
  409. .timestamp {
  410. font-size: 12px;
  411. color: #A9A9A9;
  412. }
  413. .chat-record {
  414. margin: 10px;
  415. flex-direction: column;
  416. align-items: flex-start;
  417. }
  418. .sent {
  419. background-color: #fbfdff;
  420. color: #000839;
  421. }
  422. .right{
  423. float: right;
  424. }
  425. .received {
  426. background-color: #fbfdff;
  427. color: #000000;
  428. }
  429. .el-descriptions-item__content {
  430. max-width: 150px;
  431. min-width: 100px;
  432. }
  433. </style>
  434. <style scoped>
  435. .order-content{
  436. margin: 10px;
  437. }
  438. .operate-container {
  439. background: #F2F6FC;
  440. height: 60px;
  441. margin: -20px -20px 0;
  442. line-height: 60px;
  443. }
  444. .operate-button-container {
  445. float: right;
  446. margin-right: 20px
  447. }
  448. </style>