Browse Source

病案首页手术横线

‘chenzhilei’ 2 months ago
parent
commit
9faf5e26ac

+ 10 - 4
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -1145,6 +1145,7 @@
                     style="border: none !important; width: 30px"
                     v-model="patient.surgeryList[n - 1].classType"
                 >
+                  <option value="-">&nbsp;&nbsp;-&nbsp;&nbsp;</option>
                   <option value="1">&nbsp;&nbsp;1&nbsp;&nbsp;</option>
                   <option value="2">&nbsp;&nbsp;2&nbsp;&nbsp;</option>
                 </select>
@@ -1202,7 +1203,6 @@
                   <input
                     style="border: none !important; width: 40px"
                     v-model="patient.surgeryList[n - 1].assistantOneName"
-                    readonly
                     @click="showSearchSurgerior('assistantone', n)"
                   />
                   <div
@@ -2528,7 +2528,7 @@ const fetchSheetInfo = row => {
         break;
       }
     }
-    console.log("patient.value.disdiagList",patient.value.disdiagList)
+    
     //初始化手术横线
     for (let i = 0; i < patient.value.surgeryList.length; i++) {
       if(patient.value.surgeryList[i].name == '-' || patient.value.surgeryList[i].name == null){
@@ -2536,8 +2536,14 @@ const fetchSheetInfo = row => {
         break;
       } else {
         if(patient.value.surgeryList[i].assistantTwoName == '-' || patient.value.surgeryList[i].assistantTwoName == "" || patient.value.surgeryList[i].assistantTwoName == null){
-        patient.value.surgeryList[i].assistantTwoName = '-'
-      }
+          patient.value.surgeryList[i].assistantTwoName = '-'
+        }
+        if(patient.value.surgeryList[i].assistantOneName == '-' || patient.value.surgeryList[i].assistantOneName == "" || patient.value.surgeryList[i].assistantOneName == null){
+          patient.value.surgeryList[i].assistantOneName = '-'
+        }
+        if(patient.value.surgeryList[i].anaesthesiaorName == '-' || patient.value.surgeryList[i].anaesthesiaorName == "" || patient.value.surgeryList[i].anaesthesiaorName == null){
+          patient.value.surgeryList[i].anaesthesiaorName = '-'
+        }
       }
     }
     //初始化重症监护室横线

+ 2 - 0
src/views/hospitalization/case-front-sheet/common.js

@@ -28,12 +28,14 @@ export const noCertReasons = [
   { code: '4', name: '意识障碍' },
 ]
 export const cuts = [
+  { code: '-', name: '' },
   { code: '0', name: '0级切口' },
   { code: '1', name: 'Ⅰ级切口' },
   { code: '2', name: 'Ⅱ级切口' },
   { code: '3', name: 'Ⅲ级切口' }
 ]
 export const heals = [
+  { code: '-', name: '' },
   { code: '1', name: '甲' },
   { code: '2', name: '乙' },
   { code: '3', name: '丙' },