yq1 1 年之前
父節點
當前提交
72a6bd52cd

+ 1 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

59
 
59
 
60
                   </el-form-item>
60
                   </el-form-item>
61
 
61
 
62
-
63
-
64
-
65
-
66
                   <el-form-item label="过敏病史: " prop="name" label-position="right">
62
                   <el-form-item label="过敏病史: " prop="name" label-position="right">
67
                       <el-autocomplete
63
                       <el-autocomplete
68
                               style="width:100%;"
64
                               style="width:100%;"
4047
       display: flex;
4043
       display: flex;
4048
       flex-direction: column;
4044
       flex-direction: column;
4049
       position: relative;
4045
       position: relative;
4046
+      width: 30%;
4050
 
4047
 
4051
   .el-form-item {
4048
   .el-form-item {
4052
       width: 33%;
4049
       width: 33%;

+ 6 - 7
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue 查看文件

3
         <el-table v-if="activeType  == 1" :data="prescription.advices" border style="width: 99%;"
3
         <el-table v-if="activeType  == 1" :data="prescription.advices" border style="width: 99%;"
4
                   :row-style="{ color: '#303133' }"
4
                   :row-style="{ color: '#303133' }"
5
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
5
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
6
-            <el-table-column align="center" prop="day" width="70" label="序号">
6
+            <el-table-column align="center" prop="day" width="70" label="序号" fixed>
7
                 <template slot-scope="scope">
7
                 <template slot-scope="scope">
8
                     <div style="display:flex;align-items:center;">
8
                     <div style="display:flex;align-items:center;">
9
                         <el-input :disabled="prescription.is_medicine_status" v-model="scope.row.groupno" placeholder=""></el-input>
9
                         <el-input :disabled="prescription.is_medicine_status" v-model="scope.row.groupno" placeholder=""></el-input>
12
             </el-table-column>
12
             </el-table-column>
13
 
13
 
14
 
14
 
15
-            <el-table-column align="center" prop="drug_name" label="名称">
15
+            <el-table-column align="center" prop="drug_name" label="名称" fixed>
16
                 <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
16
                 <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
17
                 </template>
17
                 </template>
18
             </el-table-column>
18
             </el-table-column>
61
                 </template>
61
                 </template>
62
             </el-table-column>
62
             </el-table-column>
63
 
63
 
64
-
65
             <el-table-column align="center" prop="day" width="70" label="天数">
64
             <el-table-column align="center" prop="day" width="70" label="天数">
66
                 <template slot-scope="scope">
65
                 <template slot-scope="scope">
67
                     <div style="display:flex;align-items:center;">
66
                     <div style="display:flex;align-items:center;">
132
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
131
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
133
                 </template>
132
                 </template>
134
             </el-table-column>
133
             </el-table-column>
135
-            <el-table-column align="center" width="40" prop="name" label="操作">
134
+            <el-table-column align="center" width="40" prop="name" label="操作" fixed="right">
136
                 <template slot-scope="scope">
135
                 <template slot-scope="scope">
137
                     <i class="el-icon-delete" @click="deleteDrug(scope.$index, scope.row)"></i>
136
                     <i class="el-icon-delete" @click="deleteDrug(scope.$index, scope.row)"></i>
138
                 </template>
137
                 </template>
142
         <el-table v-if="activeType == 2" :data="prescription.project" border style="width: 99%;"
141
         <el-table v-if="activeType == 2" :data="prescription.project" border style="width: 99%;"
143
                   :row-style="{ color: '#303133' }"
142
                   :row-style="{ color: '#303133' }"
144
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
143
                   :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
145
-            <el-table-column align="center" type="index" width="40" label="序号"></el-table-column>
146
-            <el-table-column align="center" prop="project_name" label="名称">
144
+            <el-table-column align="center" type="index" width="40" label="序号" fixed></el-table-column>
145
+            <el-table-column align="center" prop="project_name" label="名称" fixed>
147
                 <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
146
                 <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
148
                 </template>
147
                 </template>
149
             </el-table-column>
148
             </el-table-column>
218
                     <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
217
                     <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
219
                 </template>
218
                 </template>
220
             </el-table-column>
219
             </el-table-column>
221
-            <el-table-column align="center" width="40" prop="name" label="操作">
220
+            <el-table-column align="center" width="40" prop="name" label="操作" fixed="right">
222
                 <template slot-scope="scope">
221
                 <template slot-scope="scope">
223
                     <i class="el-icon-delete" @click="deleteProject(scope.row,scope.$index)"></i>
222
                     <i class="el-icon-delete" @click="deleteProject(scope.row,scope.$index)"></i>
224
                 </template>
223
                 </template>

+ 26 - 16
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

120
             </el-button>
120
             </el-button>
121
             <el-button size="small" ref="button_three" @click="open_two()" type="primary">处方调用</el-button>
121
             <el-button size="small" ref="button_three" @click="open_two()" type="primary">处方调用</el-button>
122
             <el-button size="small" @click="open_three()" type="primary">保存模板</el-button>
122
             <el-button size="small" @click="open_three()" type="primary">保存模板</el-button>
123
-
124
-            <!-- <el-popover
125
-                                placement="bottom"
126
-                                width="300"
127
-                                trigger="click">
128
-                            <el-button size="small" ref="button_two" @click="open(2)">处方单</el-button>
129
-                            <el-button size="small" ref="button_six" @click="open(6)">治疗单</el-button>
130
-                            <el-button size="small" ref="button_six" @click="open(20)">检验单</el-button>
131
-                            <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印
132
-                            </el-button>
133
-
134
-                        </el-popover> -->
135
             <el-button size="small" @click="openPrint" type="primary">打印</el-button>
123
             <el-button size="small" @click="openPrint" type="primary">打印</el-button>
136
-
137
-            <!-- <el-button size="small" ref="button_four"  @click="open(5)" type="primary" :disabled='prescriptions && prescriptions[0].advices && prescriptions[0].project ? prescriptions[0].advices.length == 0 && prescriptions[0].project.length == 0 : false'>存模板</el-button> -->
138
           </div>
124
           </div>
139
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
125
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
140
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
126
             <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
148
             </el-button>
134
             </el-button>
149
           </div>
135
           </div>
150
         </div>
136
         </div>
137
+
138
+        <!-- <div> -->
139
+          <desk-prescription v-on:setData="setData" :diagnoses="diagnoses" :loading="isloading"
140
+                        :sick="sick" :record_date="record_date"
141
+                        :drugs="drugs"
142
+                        :allDrugs="allDrugs"
143
+                        :advices_template="advices_template"
144
+                        :additions="additions"
145
+                        :doctors="doctors"
146
+                        :department="department"
147
+                        v-on:change="changeOther"
148
+                        v-on:month="changeMonth"
149
+                        v-on:day="changeDay"
150
+
151
+                        :month_prescriptions="month_prescriptions"
152
+                        :org_id="org_id"
153
+                        ref="prescriptions" :prescriptions="prescriptions" :patientInfo="patientInfo"
154
+                        v-on:getSunziValue="getSunziValue"
155
+                        :hisPatientInfo="hisPatientInfo" :patient_diagnoses="patient_diagnoses"
156
+                        @event1="changetwo($event)" @editKeepLoad="editKeepLoad"
157
+                        v-if="titleType == '电子处方'" style="flex:1;"></desk-prescription>
158
+        <!-- </div> -->
159
+
151
         <!--<desk-prescription ref="prescriptions"   :prescriptions="prescriptions" :patientInfo="patientInfo" :hisPatientInfo="hisPatientInfo"-->
160
         <!--<desk-prescription ref="prescriptions"   :prescriptions="prescriptions" :patientInfo="patientInfo" :hisPatientInfo="hisPatientInfo"-->
152
         <!--v-if="titleType == '处方'" style="flex:1;"></desk-prescription>-->
161
         <!--v-if="titleType == '处方'" style="flex:1;"></desk-prescription>-->
153
-        <desk-prescription v-on:setData="setData" :diagnoses="diagnoses" :loading="isloading"
162
+
163
+        <!-- <desk-prescription v-on:setData="setData" :diagnoses="diagnoses" :loading="isloading"
154
                            :sick="sick" :record_date="record_date"
164
                            :sick="sick" :record_date="record_date"
155
                            :drugs="drugs"
165
                            :drugs="drugs"
156
                            :allDrugs="allDrugs"
166
                            :allDrugs="allDrugs"
168
                            v-on:getSunziValue="getSunziValue"
178
                            v-on:getSunziValue="getSunziValue"
169
                            :hisPatientInfo="hisPatientInfo" :patient_diagnoses="patient_diagnoses"
179
                            :hisPatientInfo="hisPatientInfo" :patient_diagnoses="patient_diagnoses"
170
                            @event1="changetwo($event)" @editKeepLoad="editKeepLoad"
180
                            @event1="changetwo($event)" @editKeepLoad="editKeepLoad"
171
-                           v-if="titleType == '电子处方'" style="flex:1;"></desk-prescription>
181
+                           v-if="titleType == '电子处方'" style="flex:1;"></desk-prescription> -->
172
 
182
 
173
 
183
 
174
         <desk-record :record_date="record_date" :case_history="case_history" :patientInfo="patientInfo"
184
         <desk-record :record_date="record_date" :case_history="case_history" :patientInfo="patientInfo"