Kaynağa Gözat

优化和修复

xiaochan 2 yıl önce
ebeveyn
işleme
c88792b8c4

+ 43 - 0
src/api/emr/emr-suggestion.js

@@ -0,0 +1,43 @@
+import request from "@/utils/request";
+
+let url = '/emrSuggestion/'
+
+export function getLinkQuality(code) {
+    return request({
+        url: url + 'getLinkQuality',
+        method: 'get',
+        params: {code}
+    })
+}
+
+export function getLinkSelect() {
+    return request({
+        url: url + 'getLinkSelect',
+        method: 'get',
+    })
+}
+
+export function revise(data) {
+    return request({
+        url: url + 'revise',
+        method: 'post',
+        data
+    })
+}
+
+export function addTo(data) {
+    return request({
+        url: url + 'addTo',
+        method: 'post',
+        data
+    })
+}
+
+export function deleteById(data) {
+    return request({
+        url: url + 'deleteById',
+        method: 'post',
+        data
+    })
+}
+

+ 8 - 0
src/api/zhu-yuan-yi-sheng/emr-control-rule.js

@@ -68,3 +68,11 @@ export function specifyAdmissionQualityControl(start,end) {
         params: {start, end}
     })
 }
+
+export function terminalPatients(data) {
+    return request({
+        url: url + '/terminalPatients',
+        method: 'post',
+        data
+    })
+}

+ 0 - 11
src/api/zhu-yuan-yi-sheng/emr-final-quality-control.js

@@ -1,11 +0,0 @@
-import request from "@/utils/request";
-
-let url = '/finalQuality'
-
-export function terminalPatients(data) {
-    return request({
-        url: url + '/terminalPatients',
-        method: 'post',
-        data
-    })
-}

+ 42 - 22
src/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/yz-edit/YzEditor.vue

@@ -63,6 +63,7 @@
                     <el-input-number v-model="yiZhuData.dose"
                                      :step="jiLiangValue"
                                      :controls="false"
+                                     :min="0"
                                      ref="doseRef"
                                      id="yz_dose"
                                      :precision="dosePrecision"
@@ -79,25 +80,32 @@
                 </div>
                 <div>
                     领量:
-                    <span v-if="currentPage === 'takeMedicine'">
-              <el-input-number
-                      style="width: 60px"
-                      v-model="yiZhuData.drugQuan"
-                      :min="1"
-                      :controls="false"/>
-            <span style="color: red">{{ yiZhuData.miniUnitName }}</span>
-          </span>
-                    <span v-else-if="yiZhuData.serial === '00'">
-            <el-input-number
-                    style="width: 60px"
-                    v-model="yiZhuData.drugQuan"
-                    :min="0"
-                    :controls="false"/>
-          </span>
-                    <span v-else>
-            {{ yiZhuData.drugQuan }}
-            {{ yiZhuData.miniUnitName }}
-          </span>
+                    <!--                    <el-input-number-->
+                    <!--                            style="width: 60px"-->
+                    <!--                            v-model="yiZhuData.drugQuan"-->
+                    <!--                            :min="1"-->
+                    <!--                            :controls="false"/>-->
+                    <!--                    <span style="color: red">{{ yiZhuData.miniUnitName }}</span>-->
+                    <!--       先暂时去掉这个限制             -->
+                    <template v-if="currentPage === 'takeMedicine'">
+                        <el-input-number
+                                style="width: 60px"
+                                v-model="yiZhuData.drugQuan"
+                                :min="1"
+                                :controls="false"/>
+                        <span style="color: red">{{ yiZhuData.miniUnitName }}</span>
+                    </template>
+                    <template v-else-if="yiZhuData.serial === '00'">
+                        <el-input-number
+                                style="width: 60px"
+                                v-model="yiZhuData.drugQuan"
+                                :min="0"
+                                :controls="false"/>
+                    </template>
+                    <template v-else>
+                        {{ yiZhuData.drugQuan }}
+                        {{ yiZhuData.miniUnitName }}
+                    </template>
                 </div>
             </div>
             <div class="yz_input__box">
@@ -323,6 +331,7 @@ const searchOrders = (val) => {
 const tiShiBiaoTi = ref([])
 // 填充数据
 const xuanZhongFeiYong = async (row, laiyuan = 1) => {
+    console.log(row)
     if (row.serial === '0000' && row.groupNo === '0000') {
         props.openGroupOrderTemplate(row.orderCode);
         return;
@@ -354,6 +363,7 @@ const xuanZhongFeiYong = async (row, laiyuan = 1) => {
         try {
             let queryKey = row.orderCode + '_' + row.serial + '_' + props.patientInfo.zkWard + '_' + queryParam.value.groupNo
             let res = await huoQuFeiYongXinXi(queryKey)
+            console.log(res)
             // 加载药品计量
             yaoPinJiLiangData.value = res.yaoPingJiLiang
             if (newData) {
@@ -364,8 +374,15 @@ const xuanZhongFeiYong = async (row, laiyuan = 1) => {
                 // 提示信息
                 tiShiBiaoTi.value = res.prompt
                 // 最小单位名称
-                yiZhuData.value.miniUnit = res.data.miniUnit
-                yiZhuData.value.miniUnitName = res.data.miniUnitName
+                if (row.serial === '01') {
+                    yiZhuData.value.miniUnit = res.data.miniUnit;
+                    yiZhuData.value.miniUnitName = res.data.miniUnitName;
+                } else {
+                    yiZhuData.value.miniUnit = res.data.packUnit;
+                    yiZhuData.value.miniUnitName = res.data.packUnitName;
+                }
+                yiZhuData.value.packSize = res.data.packSize
+                yiZhuData.value.packUnit = res.data.packUnit
                 yiZhuData.value.drugVolume = res.data.volum
                 yiZhuData.value.drugVolUnit = res.data.volUnit
                 // 加载 剂量单位
@@ -502,6 +519,7 @@ const pingLvRef = ref()
 
 /*计算领量*/
 const jiSuanLingLiang = async (val) => {
+    await nextTick()
     // 出院带药
     if (yiZhuData.value.selfBuy === '4') {
         return;
@@ -509,7 +527,9 @@ const jiSuanLingLiang = async (val) => {
     if (jiLiangValue.value <= 0) {
         return;
     }
-    yiZhuData.value.drugQuan = Math.ceil(Dig.division(val, jiLiangValue.value))
+
+    let drugQuanA = Math.ceil(Dig.division(val, jiLiangValue.value))
+    yiZhuData.value.drugQuan = drugQuanA;
 }
 /* 选择剂量 */
 const yaoPinJiLiangData = ref([])

+ 7 - 0
src/data/index.js

@@ -362,3 +362,10 @@ export const diagTypes = [
     {code: '2', name: '中医主病诊断'},
     {code: '3', name: '中医主证诊断'},
 ]
+
+
+export const scoringCriteriaList = [
+    {code: 1, name: '轻'},
+    {code: 2, name: '中'},
+    {code: 3, name: '重'},
+]

+ 5 - 15
src/router/modules/dashboard.js

@@ -553,6 +553,11 @@ const route = [
                 component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/final-quality-control/FinalQualityControl.vue')),
                 meta: {title: '终末质控'},
             },
+            {
+                path: 'emrSuggestion',
+                component: createNameComponent(() => import('@/views/emr-manage/EmrSuggestion.vue')),
+                meta: {title: '病历建议维护'},
+            }
         ]
     },
     {
@@ -612,21 +617,6 @@ const route = [
                 component: createNameComponent(() => import('@/views/hospitalization/case-front-sheet/JieShouHuiZhen.vue')),
                 meta: {title: '接收会诊'},
             },
-            {
-                path: 'emrControlRule',
-                component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr_control_rule/EmrControlRule.vue')),
-                meta: {title: '在院质控'},
-            },
-            {
-                path: 'finalQualityControl',
-                component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/final-quality-control/FinalQualityControl.vue')),
-                meta: {title: '终末质控'},
-            },
-            {
-                path: 'emrRelieveRule',
-                component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/EmrRelieveRule.vue')),
-                meta: {title: '解除病历限制'},
-            },
             {
                 path: 'patientInformationInquiry',
                 component: createNameComponent(() => import('@/views/hospitalization/zhu-yuan-yi-sheng/PatientInformationInquiry.vue')),

+ 173 - 0
src/views/emr-manage/EmrSuggestion.vue

@@ -0,0 +1,173 @@
+<template>
+    <page-layer>
+        <template #header>
+            <el-select v-model="select" @change="query">
+                <el-option v-for="item in selectList"
+                           :key="item.code"
+                           :label="item.name"
+                           :value="item.code"/>
+            </el-select>
+            <el-button @click="querySelectClick" type="primary">查询</el-button>
+        </template>
+
+        <template #main="{size}">
+            <xc-table :local-data="suggestionList"
+                      :final-height="size.height - 50"
+                      @row-click="rowClick"
+            >
+                <el-table-column prop="linkName" label="环节名称">
+                    <template #default="{row}">
+                        <el-input v-model="row.linkName" v-if="row.$edit" maxlength="20"/>
+                    </template>
+                </el-table-column>
+
+                <el-table-column prop="name" label="名称">
+                    <template #default="{row}">
+                        <el-input v-model="row.name" v-if="row.$edit" maxlength="100"/>
+                    </template>
+                </el-table-column>
+
+                <el-table-column prop="emrCode" label="病历编码">
+                    <template #default="{row}">
+                        <el-input v-model="row.emrCode" v-if="row.$edit" maxlength="100"/>
+                    </template>
+                </el-table-column>
+
+                <el-table-column prop="scoringCriteriaName" label="评分">
+                    <template #default="{row}">
+                        <el-select v-model="row.scoringCriteria"
+                                   v-if="row.$edit">
+                            <el-option v-for="item in scoringCriteriaList"
+                                       :key="item.code"
+                                       :label="item.name"
+                                       :value="item.code"/>
+                        </el-select>
+                        <span v-else>
+                            {{ getScoringCriteriaName(row.scoringCriteria) }}
+                        </span>
+                    </template>
+                </el-table-column>
+
+                <el-table-column>
+                    <template #header>
+                        <el-button text type="primary" @click="newClick">新增</el-button>
+                    </template>
+                    <template #default="{row,$index}">
+                        <el-button v-if="row.id" @click="reviseClick(row)" type="warning">修改</el-button>
+                        <el-button v-else @click="addToClick(row)" type="primary">添加</el-button>
+                        <el-button @click="delClick(row,$index)" type="danger">删除</el-button>
+                    </template>
+                </el-table-column>
+
+            </xc-table>
+        </template>
+
+    </page-layer>
+</template>
+
+<script setup name='EmrSuggestion'>
+import {addTo, deleteById, getLinkQuality, getLinkSelect, revise} from "@/api/emr/emr-suggestion";
+import PageLayer from "@/layout/PageLayer.vue";
+import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
+import {scoringCriteriaList} from "@/data";
+import {stringIsBlank} from "@/utils/blank-utils";
+import {BizException, ExceptionEnum} from "@/utils/BizException";
+
+const selectList = ref({})
+
+const select = ref('')
+const suggestionList = ref([])
+
+const query = () => {
+    getLinkQuality(select.value).then(res => {
+        suggestionList.value = res
+    })
+}
+
+let tempData = {
+    $edit: false
+}
+const rowClick = (val) => {
+    tempData.$edit = false
+    val.$edit = true
+    tempData = val
+}
+
+const reviseClick = (val) => {
+    verifyTheData(val)
+    revise(val)
+}
+
+const newClick = () => {
+    let temp = {
+        id: null,
+        name: '',
+        emrCode: select.value,
+        scoringCriteria: 1,
+        linkName: suggestionList.value[0].linkName
+    }
+    suggestionList.value.push(temp)
+    rowClick(temp)
+}
+
+const addToClick = (val) => {
+    verifyTheData(val)
+    addTo(val).then(() => {
+        query()
+    })
+}
+
+const delClick = (row, index) => {
+    if (row.id) {
+        deleteById(row).then(() => {
+            query()
+        })
+    } else {
+        suggestionList.value.splice(index, 1)
+    }
+
+}
+
+const verifyTheData = (val) => {
+    if (stringIsBlank(val.name)) {
+        BizException(ExceptionEnum.MESSAGE_ERROR, '名称,不能为空');
+    }
+    if (stringIsBlank(val.emrCode)) {
+        BizException(ExceptionEnum.MESSAGE_ERROR, '病历编码,不能为空');
+    }
+    if (stringIsBlank(val.linkName)) {
+        BizException(ExceptionEnum.MESSAGE_ERROR, '病历编码,不能为空');
+    }
+}
+
+
+function getScoringCriteriaName(val) {
+    if (val == null) return "";
+    switch (val) {
+        case 1:
+            return "轻";
+        case 2:
+            return "中";
+        case 3:
+            return "重";
+        default:
+            return "";
+    }
+}
+
+const querySelectClick = () => {
+    getLinkSelect().then(res => {
+        selectList.value = res
+    })
+}
+
+
+onMounted(() => {
+    querySelectClick()
+})
+
+</script>
+
+<style scoped lang="scss">
+
+</style>

+ 40 - 0
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/EmrMain.vue

@@ -844,6 +844,9 @@ const objectValuesCannotBeNull = (object) => {
 
 // 前端打印
 const frontEndPrinting = () => {
+    if (pageIsZoom()) {
+        return
+    }
     waitForLoadingToComplete()
     editor.execute("print", {
         value: {
@@ -1571,6 +1574,7 @@ const saveDocumentId = ref()
 const visibility = useDocumentVisibility()
 
 onMounted(async () => {
+    pageIsZoom()
     autoSave = store.state.app.emrAutosave;
     extractData = await getExtractDataElement(props.huanZheXinXi.inpatientNo, props.huanZheXinXi.admissTimes)
     await nextTick()
@@ -1592,6 +1596,7 @@ onMounted(async () => {
             }
         }
     })
+
     autoSaveFunc()
 
     emrMitt.on('editor', () => {
@@ -1757,6 +1762,41 @@ const 循环病程返回数据元 = (callback) => {
     }
 }
 
+const pageIsZoom = () => {
+    let rate = changeRatio();
+    if (rate !== 100) {
+        ElMessageBox.alert("当前页面不是100%显示,请按键盘ctrl+0恢复100%显示标准,以防页面显示错乱,以及续打对不准!", '提示', {
+            type: "warning"
+        }).then(() => {
+        }).catch(() => {
+        })
+        return true
+    }
+    return false
+}
+
+function changeRatio() {
+    let ratio = 0;
+    const screen = window.screen;
+    const ua = navigator.userAgent.toLowerCase();
+
+    if (window.devicePixelRatio !== undefined) {
+        ratio = window.devicePixelRatio;
+    } else if (~ua.indexOf('msie')) {
+        if (screen.deviceXDPI && screen.logicalXDPI) {
+            ratio = screen.deviceXDPI / screen.logicalXDPI;
+        }
+
+    } else if (window.outerWidth !== undefined && window.innerWidth !== undefined) {
+        ratio = window.outerWidth / window.innerWidth;
+    }
+
+    if (ratio) {
+        ratio = Math.round(ratio * 100);
+    }
+    return ratio;
+}
+
 
 defineExpose({
     closeBothSides,

+ 1 - 5
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrAudit.vue

@@ -94,6 +94,7 @@ import EmrAuditDialog
     from "@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/components/EmrAuditDialog.vue";
 import {BizException, ExceptionEnum} from "@/utils/BizException";
 import {uuid} from "@/utils/getUuid";
+import {scoringCriteriaList} from "@/data";
 
 const elTableRef = ref(null)
 
@@ -225,11 +226,6 @@ const addAudit = () => {
     elTableRef.value.toggleRowSelection(tempData);
 }
 
-let scoringCriteriaList = [
-    {code: 1, name: '轻'},
-    {code: 2, name: '中'},
-    {code: 3, name: '重'},
-]
 
 onMounted(() => {
     emrMitt.on('audit', queryAudit)

+ 20 - 4
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr_control_rule/RuleSift.vue

@@ -12,9 +12,17 @@
         <el-table-column prop="inpatientNo" label="住院号" width="120"/>
         <el-table-column prop="admissTimes" label="次数" width="40"/>
         <el-table-column prop="name" label="姓名" width="220"/>
-        <el-table-column prop="deptName" label="科室" width="220"/>
-        <el-table-column prop="tubeBedDoctorName" label="管床医生" width="220"/>
+        <el-table-column prop="gradingScale" label="病历评级"/>
+        <el-table-column prop="age" label="年龄"/>
+        <el-table-column prop="clinicDiagStr" label="门(急)诊诊断"/>
+        <el-table-column prop="admissDiag" label="入院诊断"/>
         <el-table-column prop="admissDate" label="入院时间" width="220"/>
+        <el-table-column prop="deptName" label="入院科室" width="220"/>
+        <el-table-column prop="zkListName" label="转科"/>
+        <el-table-column prop="typing" label="病历分型"/>
+        <el-table-column prop="deptDirectorName" label="主任医生"/>
+        <el-table-column prop="consultPhysicianName" label="主治医生"/>
+        <el-table-column prop="tubeBedDoctorName" label="管床医生" width="220"/>
         <el-table-column prop="mapMessage" label="详情" show-overflow-tooltip>
             <template #header>
                 <el-button @click="exportExcel">导出Excel</el-button>
@@ -45,9 +53,17 @@ const exportExcel = () => {
         inpatientNo: '住院号',
         admissTimes: '次数',
         name: '姓名',
-        deptName: '科室',
-        tubeBedDoctorName: '管床医生',
+        gradingScale: '病历评级',
+        age: "年龄",
+        clinicDiagStr: '门(急)诊诊断',
+        admissDiag: '入院诊断',
         admissDate: '入院时间',
+        deptName: '入院科室',
+        zkListName: '转科',
+        typing: '病历分型',
+        deptDirectorName: '主任医生',
+        consultPhysicianName: '主治医生',
+        tubeBedDoctorName: '管床医生',
         message: '详情',
     }
     Export(props.data, title, "质控数据")

+ 68 - 21
src/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/final-quality-control/FinalQualityControl.vue

@@ -35,18 +35,53 @@
                                     :expandDepth="3"/>
                     </template>
                 </el-table-column>
-                <el-table-column prop="inpatientNo" label="住院号" width="58"/>
+                <el-table-column prop="inpatientNo" label="住院号" width="120"/>
                 <el-table-column prop="admissTimes" label="次数" width="40"/>
-                <el-table-column prop="name" label="姓名" width="80"/>
-                <el-table-column prop="deptName" label="科室" width="120"/>
-                <el-table-column prop="tubeBedDoctorName" label="管床医生" width="80"/>
-                <el-table-column prop="admissDate" label="入院时间" width="130"/>
-                <el-table-column prop="disDate" label="出院时间" width="130"/>
-                <el-table-column prop="message" label="详情" show-overflow-tooltip min-width="220"/>
-                <el-table-column prop="gradingScale" label="等级" width="40"/>
-                <el-table-column prop="light" label="轻" width="30"/>
-                <el-table-column prop="middle" label="中" width="30"/>
-                <el-table-column prop="heavy" label="重" width="30"/>
+                <el-table-column prop="name" label="姓名" width="220"/>
+                <el-table-column prop="gradingScale" label="病历评级"/>
+                <el-table-column prop="age" label="年龄"/>
+                <el-table-column prop="clinicDiagStr" label="门(急)诊诊断"/>
+                <el-table-column prop="admissDiag" label="入院诊断"/>
+                <el-table-column prop="admissDate" label="入院时间" width="220"/>
+                <el-table-column prop="deptName" label="入院科室" width="220"/>
+                <el-table-column prop="zkListName" label="转科"/>
+                <el-table-column prop="disDate" label="出院时间"/>
+                <el-table-column prop="admissDay" label="住院天数"/>
+                <el-table-column prop="totalCharge" label="住院费用"/>
+                <el-table-column prop="disDeptName" label="出院科室"/>
+                <el-table-column prop="disDiag" label="出院主诊断"/>
+                <el-table-column prop="typing" label="病历分型"/>
+                <el-table-column prop="deptDirectorName" label="主任医生"/>
+                <el-table-column prop="consultPhysicianName" label="主治医生"/>
+                <el-table-column prop="tubeBedDoctorName" label="管床医生" width="220"/>
+                <el-table-column prop="deathName" label="是否死亡"/>
+                <el-table-column prop="fdcrb" label="法定传染病"/>
+                <el-table-column prop="ssbm" label="手术编码"/>
+                <el-table-column prop="ssmc" label="手术名称"/>
+                <el-table-column prop="operatorName" label="术者"/>
+                <el-table-column prop="level" label="手术级别"/>
+                <el-table-column prop="anaesthesiaName" label="麻醉方式"/>
+                <el-table-column prop="qjcs" label="抢救次数"/>
+
+                <el-table-column label="切口分类">
+                    <template #default="{row}">
+                        {{ qieKouName(row.cut, row.heal) }}
+                    </template>
+                </el-table-column>
+
+                <el-table-column prop="pathologicDiagStr" label="病理诊断"/>
+                <el-table-column prop="allergicMedicine" label="药物过敏"/>
+                <el-table-column prop="kss" label="抗生素使用">
+                    <template #default="{row}">
+                        {{ yesOrNo(row.kss) }}
+                    </template>
+                </el-table-column>
+                <el-table-column prop="xjpy" label="细菌培养送检">
+                    <template #default="{row}">
+                        {{ yesOrNo(row.xjpy) }}
+                    </template>
+                </el-table-column>
+
             </xc-table>
         </template>
 
@@ -58,12 +93,13 @@ import PageLayer from "@/layout/PageLayer.vue";
 import {ref} from "vue";
 import {getDept} from "@/api/public-api";
 import SelectStaffCode from "@/components/SelectStaffCode.vue";
-import {terminalPatients} from "@/api/zhu-yuan-yi-sheng/emr-final-quality-control";
 import {getDateRangeFormatDate} from "@/utils/date";
 import XcTable from "@/components/xiao-chan/xc-table/XcTable.vue";
 import {getWindowSize} from "@/utils/window-size";
 import {isDev} from "@/utils/public";
 import {ExcelName} from "@/utils/ExportExcel";
+import {terminalPatients} from "@/api/zhu-yuan-yi-sheng/emr-control-rule";
+import {qieKouName} from "@/components/si-sheet-upload/jieSuanDanXiuGai";
 
 const queryParam = ref({
     date: '',
@@ -77,14 +113,10 @@ const deptList = ref([])
 const data = ref([])
 
 const queryClick = () => {
-    if (isDev) {
-        queryParam.value.startDate = '2023-05-11 00:00:00';
-        queryParam.value.endDate = '2023-05-11 23:59:59'
-    } else {
-        let {startTime, endTime} = getDateRangeFormatDate(queryParam.value.date)
-        queryParam.value.startDate = startTime
-        queryParam.value.endDate = endTime
-    }
+
+    let {startTime, endTime} = getDateRangeFormatDate(queryParam.value.date)
+    queryParam.value.startDate = startTime
+    queryParam.value.endDate = endTime
 
     terminalPatients(queryParam.value).then((res) => {
         console.log(res)
@@ -110,10 +142,25 @@ const excelClick = () => {
     ExcelName(data.value, title)
 }
 
+
+const yesOrNo = (val) => {
+    if (val == 1) {
+        return "是";
+    }
+    if (val == 2) {
+        return "否";
+    }
+    return "";
+};
+
 onMounted(() => {
+    if (isDev) {
+        queryParam.value.date = ['2023-05-10', '2023-05-10']
+        console.log(queryParam.value.date)
+    }
     getDept().then((res) => {
         deptList.value = res
-    })
+    });
 })
 </script>
 

+ 0 - 3
src/views/hospitalization/zhu-yuan-yi-sheng/jian-cha-jian-yan-shen-qing/EditInspection.vue

@@ -161,9 +161,6 @@ const fillData = () => {
             item.diagCode = tData.diagCode
             item.diagText = tData.diagText
 
-            item.inspectStuff = tData.inspectStuff
-            item.inspectStuffName = tData.inspectStuffName
-
             item.reqComment = tData.reqComment
         }
     })

+ 7 - 1
src/views/hospitalization/zhu-yuan-yi-sheng/public-js/zhu-yuan-yi-sheng.js

@@ -19,7 +19,6 @@ export const cuoWuXinXi = ref('')
 // 头部大小
 export const yzHeaderSize = ref(0)
 
-
 // 给药方式
 export const geiYaoFangShiData = ref([])
 // 频率
@@ -140,6 +139,11 @@ export const yiZhuData = ref({
     zkDeptCode: '',
     statusFlag: '1',
     groupNo: '00',
+    // 包装规格
+    packSizeName: '',
+    packUnit: '',
+    // 执行用量
+    drugOcc: ''
 });
 
 
@@ -189,6 +193,7 @@ export const yiZhuDataInit = () => {
         zkDeptCode: '',
         statusFlag: '1',
         groupNo: '00',
+        packSize: 0,
     }
 }
 // 保存医嘱数据
@@ -367,6 +372,7 @@ export const drugManual = ref({
 
 export let tableHeader = [
     {label: '编码', prop: 'orderCode'},
+    {label: '包装', prop: 'serial'},
     {label: '名称', prop: 'orderName', width: 220},
     {label: '规格', prop: 'drugSpecification'},
     {label: '描述', prop: 'discription'},