| | |
| | | <van-row class="lable"> |
| | | <van-col span="18"> |
| | | <span class="labletext">医嘱名称:</span> |
| | | <span>{{order.orderNameInfo.itemName}}</span> |
| | | <span>{{order.drugName}}</span> |
| | | </van-col> |
| | | <van-col span="6" style="text-align: right;color: #769aff;font-weight: 400;">长期医嘱</van-col> |
| | | </van-row> |
| | |
| | | <van-col span="24"> |
| | | <span class="labletext">医嘱内容:</span> |
| | | <span> |
| | | {{order.orderNameInfo.itemName}} |
| | | {{order.orderNameInfo.drugSpec}} |
| | | {{order.orderUsage}} |
| | | {{order.orderFromInfo.dictText}} |
| | | {{order.orderFreqInfo.dictText}} |
| | | 规格:{{order.drugSpec}} |
| | | 用量:{{order.orderUsage}} {{order.drugUnit}} |
| | | {{order.drugFrom}} |
| | | {{order.orderFreq}} |
| | | </span> |
| | | </van-col> |
| | | </van-row> |
| | | <van-row class="lable"> |
| | | <van-col span="12"> |
| | | <span class="labletext">开嘱医生:</span> |
| | | <span>{{order.orderDoctorInfo.userName}}</span> |
| | | <span>{{order.orderDoctor}}</span> |
| | | </van-col> |
| | | <van-col span="12"> |
| | | <span class="labletext">开嘱时间:</span> |
| | | <span>{{order.createTime.split(' ')[0]}}</span> |
| | | <span>{{order.orderTime}}</span> |
| | | </van-col> |
| | | </van-row> |
| | | </van-row> |
| | |
| | | <script lang="ts" setup> |
| | | import {ref,watch,onMounted} from 'vue' |
| | | import {ajaxPost} from '@/utils/axios' |
| | | import { Toast } from 'vant' |
| | | import { userInfoStore } from '@/stores/userInfo' |
| | | import {useRouter} from 'vue-router' |
| | | const userInfo = userInfoStore() |
| | | const router=useRouter() |
| | | const inputValue=ref('') |
| | | const pageData=ref([]) |
| | | const fanhui=()=>{ |
| | | router.go(-1) |
| | | } |
| | | const chaxu=(orderName:string)=>{ |
| | | ajaxPost('/patient/drug/order/listDrugOrdersByPatient',`orderName=${orderName}`).then((re:any)=>{ |
| | | const chaxu=()=>{ |
| | | |
| | | const pams={ |
| | | orderName:inputValue.value, |
| | | orderIsUse:2, |
| | | patientCode:userInfo.patient.patientInfo.code |
| | | } |
| | | const toast1= Toast.loading({ |
| | | message: '加载中...', |
| | | forbidClick: true, |
| | | }) |
| | | ajaxPost('/patient/drug/order/vs/patient/list3',pams).then((re:any)=>{ |
| | | console.log(re) |
| | | pageData.value=re |
| | | }).finally(()=>{ |
| | | toast1.clear() |
| | | }) |
| | | } |
| | | onMounted(()=>{ |
| | | chaxu(inputValue.value) |
| | | watch(inputValue,()=>{ |
| | | chaxu() |
| | | }) |
| | | watch(()=>inputValue.value,()=>{ |
| | | chaxu(inputValue.value) |
| | | onMounted(()=>{ |
| | | chaxu() |
| | | }) |
| | | </script> |
| | | <style lang="scss"> |