followMsgDetails.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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. <span v-if="patientInfo">
  174. {{ patientInfo }}
  175. </span>
  176. <span v-else>
  177. 患者信息
  178. </span>
  179. </div>
  180. <el-descriptions :column="3" border >
  181. <el-descriptions-item label="患者姓名" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).patientName}}</span></el-descriptions-item>
  182. <el-descriptions-item label="患者年龄" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).age}}</span></el-descriptions-item>
  183. <el-descriptions-item label="患者性别" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).sex==1?'男':'女'}}</span></el-descriptions-item>
  184. <el-descriptions-item label="身份证号" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).idCard}}</span></el-descriptions-item>
  185. <el-descriptions-item label="体重" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).weight}}</span></el-descriptions-item>
  186. <el-descriptions-item label="身高" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).height}}</span></el-descriptions-item>
  187. <el-descriptions-item label="学习周期" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).study}}</span></el-descriptions-item>
  188. <el-descriptions-item label="正在服药" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).drugs}}</span></el-descriptions-item>
  189. <el-descriptions-item label="用药情况" ><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).medication}}</span></el-descriptions-item>
  190. <el-descriptions-item label="主诉" span="3"><span v-if="reportItem.patientJson!=null">{{JSON.parse(reportItem.patientJson).title}}</span></el-descriptions-item>
  191. <el-descriptions-item label="面部照片" span="3" v-if="reportItem.patientJson!=null">
  192. <div v-if="(JSON.parse(reportItem.patientJson)).faceImages">
  193. <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"
  194. style="width: 100px"
  195. :src="img"
  196. :preview-src-list="[img]">
  197. </el-image>
  198. </div>
  199. </el-descriptions-item>
  200. <el-descriptions-item label="舌苔照片" span="3" v-if="reportItem.patientJson!=null">
  201. <div v-if="(JSON.parse(reportItem.patientJson)).tongueImages">
  202. <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"
  203. style="width: 100px"
  204. :src="img"
  205. :preview-src-list="[img]">
  206. </el-image>
  207. </div>
  208. </el-descriptions-item>
  209. <el-descriptions-item label="检测报告或患病证书" span="3" v-if="reportItem.patientJson!=null">
  210. <div v-if="(JSON.parse(reportItem.patientJson)).tongueImages">
  211. <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"
  212. style="width: 100px"
  213. :src="img"
  214. :preview-src-list="[img]">
  215. </el-image>
  216. </div>
  217. </el-descriptions-item>
  218. </el-descriptions>
  219. <div v-if="reportItem.conditioningPlanJson!=null">
  220. <div class="desct"> 调理方案</div>
  221. <el-descriptions title="" :column="1" border >
  222. <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>
  223. </el-descriptions>
  224. </div>
  225. <span slot="footer" class="dialog-footer">
  226. <el-button @click="reportDialogVisible = false">取 消</el-button>
  227. <el-button type="primary" @click="reportDialogVisible = false">确 定</el-button>
  228. </span>
  229. </el-dialog>
  230. <el-dialog title="用药报告" :visible.sync="drugReportDialogVisible" width="80%" :before-close="handleCloseR" append-to-body >
  231. <div class="desct">
  232. 用药报告
  233. </div>
  234. <el-descriptions title="" :column="3" border>
  235. <el-descriptions-item label="订单编号"><span v-if="drugReportItem!=null">{{drugReportItem.orderCode}}</span></el-descriptions-item>
  236. <el-descriptions-item label="病人名称"><span v-if="drugReportItem!=null">{{drugReportItem.patientName}}</span></el-descriptions-item>
  237. <el-descriptions-item label="医生名称"><span v-if="drugReportItem!=null">{{drugReportItem.doctorNane}}</span></el-descriptions-item>
  238. <el-descriptions-item label="状态"><span v-if="drugReportItem!=null"> <dict-tag :options="statusDrugReportOptions" :value="drugReportItem.status"/></span></el-descriptions-item>
  239. <el-descriptions-item label="咨询总结"><span v-if="drugReportItem!=null">{{drugReportItem.reportSummary}}</span></el-descriptions-item>
  240. <el-descriptions-item label="生活建议"span="3"><span v-if="drugReportItem!=null">{{drugReportItem.reportAdvice}}</span></el-descriptions-item>
  241. <el-descriptions-item label="备注"span="3"><span v-if="drugReportItem!=null">{{drugReportItem.remark}}</span></el-descriptions-item>
  242. <el-descriptions-item label="评分"span="3"><span v-if="drugReportItem!=null"><span v-html="drugReportItem.pingStar"></span></span></el-descriptions-item>
  243. <el-descriptions-item label="评价" span="3"><span v-if="drugReportItem!=null"> <span v-html="drugReportItem.pingContent"></span></span></el-descriptions-item>
  244. <el-descriptions-item label="评价时间" span="3"><span v-if="drugReportItem!=null"> <span v-html="drugReportItem.pingTime"></span></span></el-descriptions-item>
  245. <el-descriptions-item label="创建时间" span="3"><span v-if="drugReportItem!=null"> <span v-html="drugReportItem.createTime"></span></span></el-descriptions-item>
  246. </el-descriptions>
  247. <span slot="footer" class="dialog-footer">
  248. <el-button @click="drugReportDialogVisible = false">取 消</el-button>
  249. <el-button type="primary" @click="drugReportDialogVisible = false">确 定</el-button>
  250. </span>
  251. </el-dialog>
  252. </div>
  253. </template>
  254. <script>
  255. import { getDrugReport} from "@/api/store/drugReport";
  256. import { getPatientMobile,getInquiryOrderReportByOrderId} from "@/api/store/inquiryOrderReport";
  257. import {msgList,getMsgFollow} from "@/api/store/storeOrder";
  258. import prescribeDetails from '../../store/components/prescribeDetails.vue';
  259. import {getPrescribe,getDrugInfo} from "@/api/store/prescribe";
  260. export default {
  261. components:{prescribeDetails},
  262. name: "FollowMsgList",
  263. data() {
  264. return {
  265. patientInfo: process.env.VUE_APP_PATIENT_INFO,
  266. usageJson:{},
  267. prescribeItem:{},
  268. statusDrugReportOptions:[],
  269. reportItem:{},
  270. drugReportItem:{},
  271. followList:[],
  272. inquirySubTypeOptions:[],
  273. statusOptions:[],
  274. prod:[],
  275. followDialogVisible:false,
  276. reportDialogVisible:false,
  277. drugReportDialogVisible:false,
  278. prescribeDialog:{
  279. open:false,
  280. title:"处方单"
  281. },
  282. msgForm:{
  283. pageNum: 1,
  284. pageSize: 10,
  285. userId:null,
  286. followDoctorId:null,
  287. },
  288. total:0,
  289. msg:[],
  290. doctorName:null,
  291. patientName:null,
  292. orOptions:[],
  293. form: {
  294. }
  295. }
  296. },
  297. created() {
  298. this.getDicts("sys_company_or").then(response => {
  299. this.orOptions = response.data;
  300. });
  301. this.getDicts("sys_inquiry_sub_type").then(response => {
  302. this.inquirySubTypeOptions = response.data;
  303. });
  304. this.getDicts("sys_inquiry_order_report_status").then(response => {
  305. this.statusOptions = response.data;
  306. });
  307. this.getDicts("sys_drug_report_status").then(response => {
  308. this.statusDrugReportOptions = response.data;
  309. });
  310. },
  311. methods: {
  312. getPrescribe(orderId){
  313. if(orderId==null){
  314. return this.$message("未读取到随访")
  315. }
  316. this.prescribeDialog.open=true;
  317. getPrescribe(orderId).then(response => {
  318. this.prescribeItem = response.data;
  319. this.usageJson=JSON.parse(this.prescribeItem.usageJson)
  320. });
  321. getDrugInfo(orderId).then(response => {
  322. this.prod = response.data;
  323. });
  324. },
  325. getDetails(userId,followDoctorId,doctorName,patientName) {
  326. this.msgForm.userId=userId;
  327. this.msgForm.followDoctorId=followDoctorId;
  328. this.doctorName = doctorName;
  329. this.patientName = patientName;
  330. this.msgList();
  331. },
  332. msgList(){
  333. console.log("Ssss")
  334. msgList(this.msgForm).then(response => {
  335. console.log(response)
  336. this.msg = response.rows;
  337. this.total = response.total;
  338. });
  339. },
  340. handleClose(){
  341. this.prescribeDialog.open = false
  342. },
  343. handleCloseSF(){
  344. this.followDialogVisible=false;
  345. },
  346. handleCloseR(){
  347. this.reportDialogVisible=false;
  348. },
  349. handleCloseDR(){
  350. this.drugReportDialogVisible=false;
  351. },
  352. follow(row){
  353. if(row==null){
  354. return this.$message("未读取到随访")
  355. }
  356. getMsgFollow(row).then(response => {
  357. if(response.data.formJson!=null&&response.data.formJson!=''&&response.data.writeStatus==1){
  358. this.followList=JSON.parse(response.data.formJson );
  359. this.followDialogVisible=true;
  360. }else{
  361. return this.$message("随访单未填写")
  362. }
  363. });
  364. },
  365. report(row){
  366. if(row==null){
  367. return this.$message("未读取到报告")
  368. }
  369. if(row=="医生提交问诊报告"){
  370. return this.$message("未读取到报告")
  371. }
  372. getInquiryOrderReportByOrderId(row).then(response => {
  373. if(response.data!=null){
  374. this.reportItem = response.data;
  375. }
  376. });
  377. this.reportDialogVisible=true;
  378. },
  379. drugReport(row){
  380. if(row==null){
  381. return this.$message("未读取到报告")
  382. }
  383. getDrugReport(row).then(response => {
  384. this.drugReportItem = response.data;
  385. });
  386. this.drugReportDialogVisible=true;
  387. },
  388. }
  389. }
  390. </script>
  391. <style>
  392. .contentx{
  393. height: 100%;
  394. background-color: #fff;
  395. padding: 0px 20px 20px;
  396. margin: 20px;
  397. }
  398. .el-descriptions-item__label.is-bordered-label{
  399. font-weight: normal;
  400. }
  401. .el-descriptions-item__content {
  402. max-width: 150px;
  403. min-width: 100px;
  404. }
  405. .desct{
  406. padding-top: 20px;
  407. padding-bottom: 20px;
  408. color: #524b4a;
  409. font-weight: bold;
  410. }
  411. </style>
  412. <style scoped>
  413. .chat-records {
  414. overflow-y: auto;
  415. }
  416. .timestamp {
  417. font-size: 12px;
  418. color: #A9A9A9;
  419. }
  420. .chat-record {
  421. margin: 10px;
  422. flex-direction: column;
  423. align-items: flex-start;
  424. }
  425. .sent {
  426. background-color: #fbfdff;
  427. color: #000839;
  428. }
  429. .right{
  430. float: right;
  431. }
  432. .received {
  433. background-color: #fbfdff;
  434. color: #000000;
  435. }
  436. .el-descriptions-item__content {
  437. max-width: 150px;
  438. min-width: 100px;
  439. }
  440. </style>
  441. <style scoped>
  442. .order-content{
  443. margin: 10px;
  444. }
  445. .operate-container {
  446. background: #F2F6FC;
  447. height: 60px;
  448. margin: -20px -20px 0;
  449. line-height: 60px;
  450. }
  451. .operate-button-container {
  452. float: right;
  453. margin-right: 20px
  454. }
  455. </style>