Browse Source

病案首页手术不允许输入

‘chenzhilei’ 2 months ago
parent
commit
e0e0e6e6f4

+ 1 - 1
src/components/inpatient/frontsheet-printpage/HeadPage.vue

@@ -43,7 +43,7 @@
           <span style="display: inline-block">
             医疗付费方式:
             <span style="display: inline-block; width: 180px">{{
-              filterNameInDic(patient.payMethod, "getPayMethod")
+              patient.payMethod
             }}</span>
           </span>
           <span

+ 20 - 0
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -1177,17 +1177,32 @@
                 </div>
               </td>
               <td>
+                <div style="position: relative">
                 <input
                   style="border: none !important; width: 40px"
                   v-model="patient.surgeryList[n - 1].operatorName"
+                  readonly
                   @click="showSearchSurgerior('operator', n)"
                 />
+                <div
+                    v-if="patient.surgeryList[n - 1].operatorName"
+                    style="position: absolute; top: -20px; right: 0"
+                  >
+                    <el-button
+                      type="danger"
+                      circle
+                      icon="Delete"
+                      @click="deleteOperatorName(n - 1)"
+                    ></el-button>
+                  </div>
+                  </div>
               </td>
               <td style="width: 50px">
                 <div style="position: relative">
                   <input
                     style="border: none !important; width: 40px"
                     v-model="patient.surgeryList[n - 1].assistantOneName"
+                    readonly
                     @click="showSearchSurgerior('assistantone', n)"
                   />
                   <div
@@ -3145,6 +3160,11 @@ const deleteSurgery = index => {
   }
 };
 
+const deleteOperatorName = index => {
+  patient.value.surgeryList[index].operator = "";
+  patient.value.surgeryList[index].operatorName = "";
+};
+
 const deleteAssistantOne = index => {
   patient.value.surgeryList[index].assistantOne = "";
   patient.value.surgeryList[index].assistantOneName = "";