Prechádzať zdrojové kódy

优化病案首页的门诊诊断填报

lighter 2 rokov pred
rodič
commit
ca4fc3d760

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

@@ -164,13 +164,14 @@
             />
               病房:<input v-model="patient.dismissWard" readonly style="width: 80px" /> 住院天数:<input id="admissDays" v-model="patient.admissDays" style="width: 70px" />
             </div>
-            <div id="clinicDiag">
+            <div id="clinicDiag" style="display: flex;align-items: center">
               门(急)诊诊断:
-              <input v-model="patient.clinicDiagStr" readonly style="width: 350px" @click="showSearchData('clinicdiag')" />
+              <input v-model="patient.clinicDiagStr" readonly style="width: 280px" @click="showSearchData('clinicdiag')" />
               疾病编码:
               <input v-model="patient.clinicDiagCode" readonly style="width: 110px" @click="showSearchData('clinicdiag')" />
+              <div v-if="patient.validClinicDiag === 0" style="font-size: 10px;margin: 8px 0 0 8px;color: red">门诊诊断编码有误</div>
             </div>
-            <div id="diagTable" style="height: max-content; display: flex; width: 720px">
+            <div id="diagTable" style="height: max-content; display: flex; width: 720px; margin-top: 2px">
               <div style="width: 360px">
                 <table style="width: 100%; border: 1px solid black; border-collapse: collapse">
                   <tr>
@@ -735,7 +736,7 @@
           <el-table-column prop="opDate" label="录入日期"></el-table-column>
           <el-table-column label="操作">
             <template #default="scope">
-              <el-button type="danger" icon="Delete" @click="deleteYbDiag(scope.$index)">删除</el-button>
+              <el-button type="danger" icon="Delete" @click="deleteYbDiag(scope.deleteRow)">删除</el-button>
             </template>
           </el-table-column>
         </el-table>