Browse Source

对需要搜索的input添加只读属性

lighter 5 months ago
parent
commit
c3a48aa84c
1 changed files with 16 additions and 1 deletions
  1. 16 1
      src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

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

@@ -271,6 +271,7 @@
             <input
             <input
               id="birthPlaceName"
               id="birthPlaceName"
               v-model="patient.birthPlaceName"
               v-model="patient.birthPlaceName"
+              readonly
               style="width: 230px"
               style="width: 230px"
               @click="showSearchData('birth')"
               @click="showSearchData('birth')"
             />
             />
@@ -278,6 +279,7 @@
             <input
             <input
               id="nativePlaceName"
               id="nativePlaceName"
               v-model="patient.nativePlaceName"
               v-model="patient.nativePlaceName"
+              readonly
               style="width: 170px"
               style="width: 170px"
               @click="showSearchData('native')"
               @click="showSearchData('native')"
             />
             />
@@ -820,6 +822,7 @@
             <input
             <input
               id="hurtReasonName"
               id="hurtReasonName"
               v-model="patient.hurtReasonName"
               v-model="patient.hurtReasonName"
+              readonly
               style="width: 360px"
               style="width: 360px"
               @click="showSearchData('hurt')"
               @click="showSearchData('hurt')"
             />
             />
@@ -842,6 +845,7 @@
             <input
             <input
               id="pathologicDiagStr"
               id="pathologicDiagStr"
               v-model="patient.pathologicDiagStr"
               v-model="patient.pathologicDiagStr"
+              readonly
               style="width: 300px"
               style="width: 300px"
               @click="showSearchData('pathologic')"
               @click="showSearchData('pathologic')"
             />
             />
@@ -965,6 +969,7 @@
             科室主任:
             科室主任:
             <input
             <input
               id="deptLeaderName"
               id="deptLeaderName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.deptLeaderName"
               v-model="patient.deptLeaderName"
               @click="showSearchData('deptleader')"
               @click="showSearchData('deptleader')"
@@ -972,6 +977,7 @@
             主任(副主任)医师:
             主任(副主任)医师:
             <input
             <input
               id="leaderDoctorName"
               id="leaderDoctorName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.leaderDoctorName"
               v-model="patient.leaderDoctorName"
               @click="showSearchData('leaderdoctor')"
               @click="showSearchData('leaderdoctor')"
@@ -979,6 +985,7 @@
             主治医师:
             主治医师:
             <input
             <input
               id="mainDoctorName"
               id="mainDoctorName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.mainDoctorName"
               v-model="patient.mainDoctorName"
               @click="showSearchData('maindoctor')"
               @click="showSearchData('maindoctor')"
@@ -986,6 +993,7 @@
             住院医师:
             住院医师:
             <input
             <input
               id="admissDoctorName"
               id="admissDoctorName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.admissDoctorName"
               v-model="patient.admissDoctorName"
               @click="showSearchData('admissdoctor')"
               @click="showSearchData('admissdoctor')"
@@ -995,6 +1003,7 @@
             责任护士:
             责任护士:
             <input
             <input
               id="dutyNurseName"
               id="dutyNurseName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.dutyNurseName"
               v-model="patient.dutyNurseName"
               @click="showSearchData('dutynurse')"
               @click="showSearchData('dutynurse')"
@@ -1002,6 +1011,7 @@
             进修医师:
             进修医师:
             <input
             <input
               id="studyDoctorName"
               id="studyDoctorName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.studyDoctorName"
               v-model="patient.studyDoctorName"
               @click="showSearchData('studydoctor')"
               @click="showSearchData('studydoctor')"
@@ -1009,6 +1019,7 @@
             实习医师:
             实习医师:
             <input
             <input
               id="internshipDoctorName"
               id="internshipDoctorName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.internshipDoctorName"
               v-model="patient.internshipDoctorName"
               @click="showSearchData('internshipdoctor')"
               @click="showSearchData('internshipdoctor')"
@@ -1016,6 +1027,7 @@
             编码员:
             编码员:
             <input
             <input
               id="coderName"
               id="coderName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.coderName"
               v-model="patient.coderName"
               @click="showSearchData('coder')"
               @click="showSearchData('coder')"
@@ -1038,6 +1050,7 @@
             质控医师:
             质控医师:
             <input
             <input
               id="qualityControlDoctorName"
               id="qualityControlDoctorName"
+              readonly
               style="width: 70px"
               style="width: 70px"
               v-model="patient.qualityControlDoctorName"
               v-model="patient.qualityControlDoctorName"
               @click="showSearchData('qualitycontroldoctor')"
               @click="showSearchData('qualitycontroldoctor')"
@@ -1045,6 +1058,7 @@
             质控护士:
             质控护士:
             <input
             <input
               style="width: 70px"
               style="width: 70px"
+              readonly
               v-model="patient.qualityControlNurseName"
               v-model="patient.qualityControlNurseName"
               @click="showSearchData('qualitycontrolnurse')"
               @click="showSearchData('qualitycontrolnurse')"
             />
             />
@@ -2124,9 +2138,10 @@
     <el-tag style="margin-left: 8px">险种类型:{{ patient.insutype }}</el-tag>
     <el-tag style="margin-left: 8px">险种类型:{{ patient.insutype }}</el-tag>
     <div style="height: 5px"></div>
     <div style="height: 5px"></div>
     <el-input
     <el-input
+      v-model="ybDiag.name"
       placeholder="在此搜索诊断"
       placeholder="在此搜索诊断"
+      readonly
       style="width: 160px"
       style="width: 160px"
-      v-model="ybDiag.name"
       @click="showSearchData('ybDiag')"
       @click="showSearchData('ybDiag')"
     ></el-input>
     ></el-input>
     <el-input
     <el-input