病例
This commit is contained in:
@@ -400,7 +400,7 @@
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, getCurrentInstance, onMounted, nextTick, watch } from 'vue';
|
||||
import { getOrderList,getOrderDetail,cancelInquiry} from '@/api/order/list';
|
||||
import { getOrderList,getOrderDetail,cancelInquiry,inquiryCase} from '@/api/order/list';
|
||||
import { parseTime } from '@/utils/parseTime';
|
||||
import {formatDoctorTitle,formatOrderCancelReason} from "@/utils/format"
|
||||
|
||||
@@ -618,10 +618,17 @@ const handleQuery = async () => {
|
||||
const handleDetail = async (record) => {
|
||||
modalVisible.value = true;
|
||||
modalTitle.value = '问诊订单详情';
|
||||
Object.assign(patientData,{});
|
||||
const { code, data, message } = await getOrderDetail(record.order_inquiry_id);
|
||||
|
||||
if (code == 200) {
|
||||
Object.assign(modalForm, data);
|
||||
let result=data.order_evaluation;
|
||||
if(data.order_inquiry_case && data.order_inquiry_case.inquiry_case_id){
|
||||
const caseInfo= await inquiryCase(data.order_inquiry_case.inquiry_case_id);
|
||||
Object.assign(patientData,caseInfo.data);
|
||||
|
||||
}
|
||||
if(result){
|
||||
Object.assign(comment,{
|
||||
reply_progress:result.reply_progress/20,
|
||||
@@ -668,7 +675,7 @@ const openDcotor=()=>{
|
||||
}
|
||||
const openPatient=()=>{
|
||||
//patientData=modalForm.order_inquiry_case;
|
||||
Object.assign(patientData,modalForm.order_inquiry_case);
|
||||
|
||||
// console.log(patientData);
|
||||
patientVisible.value=true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user