Pārlūkot izejas kodu

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

lighter 5 mēneši atpakaļ
vecāks
revīzija
c3a48aa84c

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

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