Browse Source

医嘱护理单优化

lihong 2 years ago
parent
commit
d896e53193

+ 3 - 2
src/components/medical-advice/PatientBaseList.vue

@@ -86,7 +86,7 @@ const queryPatientInfoClick=()=>{
   if(inOutStatus.value && !stringNotBlank(queryPatNo.value)){
    return  ElMessage.error('住院号不能为空')
   }
-  queryPatientInfo(currentWard.value,queryPatNo.value,inOutStatusFlag).then((res) => {
+  queryPatientInfo(queryPatNo.value,currentWard.value,inOutStatusFlag).then((res) => {
     overviews.value = res
   })
 }
@@ -114,7 +114,8 @@ const handleClickOverview = (row) => {
       let val = {patientInfo:res.patientInfo,
         yzDataList:res.yzDataList,
         queryRange:queryData.queryRange,
-        statusFlag:queryData.statusFlag
+        statusFlag:queryData.statusFlag,
+        inOutStatusFlag:inOutStatusFlag,
       }
       emit('selectPatientInfo',val)
     })

+ 102 - 0
src/components/medical-advice/nursing-manage/FirstHuLiDan.vue

@@ -757,10 +757,112 @@ const saveHuLiDan=(val)=>{
         if(val != 1){
             //保存
             emit('refreshHuLidan')
+        }else {
+            clearFormData()
         }
     })
 }
 
+
+const clearFormData=()=>{
+    formData.value= {
+        inpatientNo:props.nursingRecordData.inpatientNo,
+            admissTimes:props.nursingRecordData.admissTimes,
+        toStringRecDate:getFormatDatetime(new Date(),'YYYY-MM-DD'),
+        recTime:'',
+        faceColour:'',
+        patientState:'',
+        temperature1:'',
+        temperature1Type:'x',
+        breath:'',
+        skinColour:'',
+        skinStatus:'',
+        intakeBreastMilk:null,
+        intakeMilk:null,
+        intakeWater:null,
+        urineQuan:null,
+        shit:null,
+        heart:null,
+        bodyWeight:null,
+        pulse1:null,
+        breathe1:null,
+        pressure1Am:null,
+        pressure1Pm:null,
+        map:null,
+        spo2:null,
+        cvp:null,
+        etcho2:null,
+        gcs:null,
+        rass:null,
+        othJc:null,
+        mind:'',
+        position:'',
+        pupilr:'',
+        pupil:'',
+        pupilbj:'',
+        rpupil:'',
+        lpupil:'',
+        outputDblood:null,
+        outputOther:null,
+        fheartSoundStr:'',
+        fheartSound:'',
+        fetalBreak:'',
+        uterineOpen:'',
+        uterineStatus:'',
+        outBlood:'',
+        redHurt:'',
+        col1Name:'',
+        col1Am:null,
+        col2Name:'',
+        col2Am:null,
+        urineColor:'',
+        shitShape:'',
+        skin:'',
+        tubesName:'',
+        tubesStatus:'',
+        anusAir:'',
+        suckleFun:'',
+        uterineHigh:'',
+        uterineMove:'',
+        otherInfo:'',
+        glu:null,
+        cpot:null,
+        shitUnit:'',
+        shitOther:'',
+        shitQuan:'',
+        urineQuanAm:'',
+        ward:props.nursingRecordData.ward,
+
+        boxTemp:'',
+        boxHumi:'',
+        decubitus:'',
+        isEyes:null,
+        isMouthpiece:null,
+        bellybuttonFlag:null,
+        buttocksFlag:null,
+        showerFlag:null,
+        spongeBathFlag:null,
+        infoCry:'',
+        infoSuck:'',
+        infoSleep:'',
+        infoActivity:'',
+        acraStatus:'',
+        isSputum:null,
+        isAtomization:null,
+        isBreath:null,
+        isMouthpiece:null,
+        isHuiyin:null,
+        isBed:null,
+        isAV:null,
+        intakeFlag:null,
+        outtakeFlag:null,
+        inputOutSum:null,
+
+
+        gmItems:[]
+    }
+}
+
 //跳转电子病历
 const queryDianZiBinLi=()=>{
     window.open(getEmrUrl(formData.value.inpatientNo,formData.value.admissTimes,emrStateEnum.在院只读),'_blank')

+ 5 - 5
src/views/medical-advice/advice-management/CqYzPrint.vue

@@ -8,26 +8,26 @@
                 <PatientInfo :patientInfo="patientInfo"></PatientInfo>
             </el-header>
             <div>
-                <el-row :gutter="24">
-                    <el-col :span="5">
+                <el-row>
+                    <el-col :span="8">
                         <el-button icon="Search" type="primary"  @click="queryInfo">查询</el-button>
                         <el-button icon="Printer" type="success" @click="daYingClick">打印预览</el-button>
                         <el-button icon="Printer" type="success" @click="printClick">打印</el-button>
                     </el-col>
-                    <el-col :span="6">
+                    <el-col :span="8">
                         <el-radio-group @change="initPageNumList" v-model="yzOrderParam.printType">
                             <el-radio :label="1">打印新增</el-radio>
                             <el-radio :label="2">打印单页</el-radio>
                             <el-radio :label="3">打印某页后</el-radio>
                         </el-radio-group>
                     </el-col>
-                    <el-col :span="3">
+                    <el-col :span="4">
                         医嘱页号:
                         <el-select  v-model="yzOrderParam.pageNum" placeholder="请选择" style="width: 60px">
                             <el-option v-for="item in pageNumList" :key="item.code" :label="item.name" :value="item.code"></el-option>
                         </el-select>
                     </el-col>
-                    <el-col :span="3">
+                    <el-col :span="4">
                         <el-button  type="primary" @click="clearPrintPageClick">清空打印页号</el-button>
                     </el-col>
                 </el-row>

+ 5 - 5
src/views/medical-advice/advice-management/LsYzPrint.vue

@@ -8,26 +8,26 @@
                 <PatientInfo :patientInfo="patientInfo"></PatientInfo>
             </el-header>
             <div>
-                <el-row :gutter="24">
-                    <el-col :span="5">
+                <el-row>
+                    <el-col :span="8">
                         <el-button icon="Search" type="primary"  @click="queryInfo">查询</el-button>
                         <el-button icon="Printer" type="success" @click="daYingClick">打印预览</el-button>
                         <el-button icon="Printer" type="success" @click="printClick">打印</el-button>
                     </el-col>
-                    <el-col :span="6">
+                    <el-col :span="8">
                         <el-radio-group @change="initPageNumList" v-model="yzOrderParam.printType">
                             <el-radio :label="1">打印新增</el-radio>
                             <el-radio :label="2">打印单页</el-radio>
                             <el-radio :label="3">打印某页后</el-radio>
                         </el-radio-group>
                     </el-col>
-                    <el-col :span="3">
+                    <el-col :span="4">
                         医嘱页号:
                         <el-select  v-model="yzOrderParam.pageNum" placeholder="请选择" style="width: 60px">
                             <el-option v-for="item in pageNumList" :key="item.code" :label="item.name" :value="item.code"></el-option>
                         </el-select>
                     </el-col>
-                    <el-col :span="3">
+                    <el-col :span="4">
                         <el-button  type="primary" @click="clearPrintPageClick">清空打印页号</el-button>
                     </el-col>
                 </el-row>

+ 3 - 1
src/views/medical-advice/advice-management/QueryYz.vue

@@ -98,7 +98,8 @@ const queryParam = ref({
     patNo:'',
     times:null,
     queryRange:'0',
-    statusFlag:'3'
+    statusFlag:'3',
+    inOutStatusFlag:'',
 })
 const queryRangeList=ref([{
     code:'0',
@@ -150,6 +151,7 @@ const selectPatientInfo=(val)=>{
     queryParam.value.times = val.patientInfo.admissTimes
     queryParam.value.queryRange = val.queryRange
     queryParam.value.statusFlag = val.statusFlag
+    queryParam.value.inOutStatusFlag = val.inOutStatusFlag
 }
 
 

+ 4 - 2
src/views/medical-advice/nursing-manage/PsInfo.vue

@@ -42,8 +42,8 @@
                 <el-button type="success" @click="savePsInfo">保存</el-button>
             </el-header>
             <el-main>
-                <div style="width: 100%;height: 60%">
-                <el-table :data="psInfo"  highlight-current-row stripe border show-overflow-tooltip style="width: 100%;height: 100%">
+                <div style="width: 100%;">
+                <el-table :data="psInfo"  highlight-current-row stripe border show-overflow-tooltip :height="getWindowSize.h/1.2-140">
                     <el-table-column label="排序" type="index" width="40" />
                     <el-table-column prop="bedNo" label="床号" width="40" />
                     <el-table-column prop="inpatientNo" label="住院号"/>
@@ -85,6 +85,8 @@ import { getFormatDatetime } from "@/utils/date";
 import {onMounted,computed} from "vue";
 import {stringNotBlank} from "@/utils/blank-utils";
 import {ElMessage, ElMessageBox} from 'element-plus'
+import {getWindowSize} from "@/utils/window-size";
+
 
 const props = defineProps({
     patintList: {