Bläddra i källkod

病案首页手术类别转义

‘chenzhilei’ 3 månader sedan
förälder
incheckning
a08953573d

+ 5 - 4
src/components/inpatient/frontsheet-printpage/TailPage.vue

@@ -21,6 +21,7 @@
             <th rowspan="2">手术及操作编码</th>
             <th rowspan="2" style="width: 70px">手术及操作日期</th>
             <th rowspan="2" style="width: 10px">手术级别</th>
+            <th rowspan="2" style="width: 10px">手术类别</th>
             <th rowspan="2">手术及操作名称</th>
             <th colspan="3">手术及操作医师</th>
             <th rowspan="2" style="width: 30px">切口愈合等级</th>
@@ -41,12 +42,12 @@
             </td>
             <td style="text-align-last: center; width: 30px">
               {{
-                filterNameInDic(
-                  patient.surgeryList[n - 1].level,
-                  "getOperateScale"
-                )
+                  patient.surgeryList[n - 1].level
               }}
             </td>
+            <td style="padding: 3px">
+              {{ patient.surgeryList[n - 1].classType }}
+            </td>
             <td style="padding: 3px">
               {{ patient.surgeryList[n - 1].name }}
             </td>

+ 2 - 1
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -3269,7 +3269,8 @@ const saveVerifyFillBlank = (data) => {
 
 const saveVerifyValidate = () => {
   if (patient.value.livePlace) {
-    if(patient.value.livePlace.includes("省") && (patient.value.livePlace.includes("市") || patient.value.livePlace.includes("县"))){
+    if(patient.value.livePlace.includes("省") && (patient.value.livePlace.includes("市") || patient.value.livePlace.includes("县"))
+  || patient.value.livePlace.includes("北京市")|| patient.value.livePlace.includes("上海市")|| patient.value.livePlace.includes("重庆市")|| patient.value.livePlace.includes("天津市")){
       return true
     } else {
       xcMessage.error("患者现住址请完整填写行政地区!");