Przeglądaj źródła

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 lat temu
rodzic
commit
7487106cdb

+ 3 - 1
src/lang/zh.js Wyświetl plik

@@ -371,7 +371,9 @@ export default {
371 371
     template_plan: '个性化方案',
372 372
     admitting_diagnosis: '入院诊断',
373 373
     discharge_diagnosis: '出院诊断',
374
+    diagnosis_admission: '入院时病情',
374 375
     treatment: '诊疗经过',
375
-    illness_discharge: '出院时病情'
376
+    illness_discharge: '出院时病情',
377
+    discharge_advice: '出院医嘱'
376 378
   }
377 379
 }

+ 1 - 0
src/xt_pages/data/template.vue Wyświetl plik

@@ -50,6 +50,7 @@ export default {
50 50
         { label: this.$t("data_config.template_plan"), key: "template_plan" },
51 51
         { label: this.$t("data_config.admitting_diagnosis"), key: "admitting_diagnosis" },
52 52
         { label: this.$t("data_config.discharge_diagnosis"), key:"discharge_diagnosis"},
53
+        { label: this.$t("data_config.diagnosis_admission"), key:"diagnosis_admission"},
53 54
         { label: this.$t("data_config.treatment"), key:"treatment"},
54 55
         { label: this.$t("data_config.illness_discharge"), key:"illness_discharge"},
55 56
       ],

+ 10 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_twentyFive.vue Wyświetl plik

@@ -305,6 +305,14 @@
305 305
                         </tr>
306 306
                         </tbody>
307 307
                         </table>
308
+                        <table class="table-box">
309
+                          <tbody>
310
+                            <tr>
311
+                              <td width="100">特殊处理情况:</td>
312
+                              <td style="text-align:left;">{{ record.assessment_before_dislysis.special_treatment ? record.assessment_before_dislysis.special_treatment : '' }}</td>
313
+                            </tr>
314
+                          </tbody>
315
+                        </table>
308 316
                     </td>
309 317
                     </tr>
310 318
                     </tbody>
@@ -1079,9 +1087,9 @@ export default {
1079 1087
             var dlegh = 0
1080 1088
             if (
1081 1089
               this.records[recordIndex].monitor_records &&
1082
-              this.records[recordIndex].monitor_records.length < 8
1090
+              this.records[recordIndex].monitor_records.length < 7
1083 1091
             ) {
1084
-              dlegh = 8 - this.records[recordIndex].monitor_records.length
1092
+              dlegh = 7 - this.records[recordIndex].monitor_records.length
1085 1093
             } else {
1086 1094
               dlegh = 0
1087 1095
             }

+ 49 - 54
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue Wyświetl plik

@@ -171,33 +171,6 @@
171 171
                   </tr>
172 172
                 </tbody>
173 173
               </table>
174
-              <table class="table-box">
175
-                <tbody>
176
-                  <tr>
177
-                    <!-- <td width="190"></td> -->
178
-                    <td width='100'>穿刺针型号:</td>
179
-                    <td>
180
-                      <div class="under-line" style="text-align:left;">{{ predialysis.puncture_needle ? predialysis.puncture_needle : '/' }}</div>
181
-                      <!-- <div>
182
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : false" showValue="16G"></label-box>
183
-                        &nbsp;
184
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-静脉') > -1 ? true : false" showValue="17G"></label-box>
185
-                        &nbsp;
186
-                      </div> -->
187
-                    </td>
188
-                    <!-- <td width='80'>钝针穿刺:</td>
189
-                    <td width="140">
190
-                      <div>
191
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-动脉') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-动脉') > -1 ? true : false" showValue="动脉"></label-box>
192
-                        &nbsp;
193
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-静脉') > -1 ? true : false" showValue="静脉"></label-box>
194
-                        &nbsp;)
195
-                      </div>
196
-                    </td> -->
197
-                    <td></td>
198
-                  </tr>
199
-                </tbody>
200
-              </table>
201 174
               <table class="table-box">
202 175
                 <tbody>
203 176
                   <tr>
@@ -246,6 +219,33 @@
246 219
                   </tr>
247 220
                 </tbody>
248 221
               </table>
222
+              <table class="table-box">
223
+                <tbody>
224
+                  <tr>
225
+                    <!-- <td width="190"></td> -->
226
+                    <td width='100'>穿刺针型号:</td>
227
+                    <td>
228
+                      <div class="under-line" style="text-align:left;">{{ predialysis.puncture_needle ? predialysis.puncture_needle : '/' }}</div>
229
+                      <!-- <div>
230
+                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : false" showValue="16G"></label-box>
231
+                        &nbsp;
232
+                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-静脉') > -1 ? true : false" showValue="17G"></label-box>
233
+                        &nbsp;
234
+                      </div> -->
235
+                    </td>
236
+                    <!-- <td width='80'>钝针穿刺:</td>
237
+                    <td width="140">
238
+                      <div>
239
+                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-动脉') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-动脉') > -1 ? true : false" showValue="动脉"></label-box>
240
+                        &nbsp;
241
+                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-静脉') > -1 ? true : false" showValue="静脉"></label-box>
242
+                        &nbsp;)
243
+                      </div>
244
+                    </td> -->
245
+                    <td></td>
246
+                  </tr>
247
+                </tbody>
248
+              </table>
249 249
               <table class="table-box">
250 250
                 <tbody>
251 251
                   <tr>
@@ -424,7 +424,7 @@
424 424
                     </td>
425 425
                     <td width="35">kg</td>
426 426
                     <td width="50">水肿:</td>
427
-                    <td width='160'>
427
+                    <td width='200'>
428 428
                         <div>
429 429
                             <label-box :isChecked="predialysis.edema.indexOf('无') > -1" showValue="无"></label-box>
430 430
                             <label-box :isChecked="predialysis.edema.indexOf('+') > -1" showValue="+"></label-box>
@@ -459,7 +459,7 @@
459 459
                             &nbsp;{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : ' ' }}
460 460
                         </div>
461 461
                     </td>
462
-                    <td width="10">ml</td>
462
+                    <td width="10">L</td>
463 463
                     <!-- <td width="50">吸氧:</td>
464 464
                     <td width='80'>
465 465
                         <div>
@@ -618,14 +618,12 @@
618 618
             <td width="60">动脉压<br />mmHg</td>
619 619
             <td width="60">静脉压<br />mmHg</td>
620 620
             <td width="60">跨膜压<br />mmHg</td>
621
-            <td width="60">超滤量<br />L</td>
621
+            <td width="60">超滤量<br />ml</td>
622 622
             <td width="60">钠浓度<br/>mmol/L</td>
623 623
             <td width="60">电导度<br/>ms/cm</td>
624 624
             <td width="40">液温<br/>℃</td>
625
-            <td width="40">ktv</td>
626 625
             <td width="40">血糖<br/>mmol/L</td>
627
-            <td width="">特殊处理</td>
628
-            <td width='60'>执行护士</td>
626
+            <td>执行护士</td>
629 627
           </tr>
630 628
 
631 629
           <tr v-for="monitor in monitors" :key="monitor.id">
@@ -670,15 +668,9 @@
670 668
             <td>
671 669
               &nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}
672 670
             </td>
673
-            <td>
674
-              &nbsp;{{ monitor.ktv ? monitor.ktv : "" }}
675
-            </td>
676 671
             <td>
677 672
               &nbsp;{{ monitor.blood_sugar ? monitor.blood_sugar : "" }}
678 673
             </td>
679
-            <td>
680
-              &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
681
-            </td>
682 674
             <td>
683 675
                 <span>
684 676
                     <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{ getAdminUser(monitor.monitoring_nurse) }}</span>
@@ -719,7 +711,7 @@
719 711
                         &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
720 712
                       </div>
721 713
                     </td>
722
-                    <td width="20">L</td>
714
+                    <td width="20">ml</td>
723 715
                     <td width="20"></td>
724 716
                     <td width="50">血流量</td>
725 717
                     <td width='140'>
@@ -729,14 +721,12 @@
729 721
                             <label-box :isChecked="getBloodFlow(afterdialysis.blood_flow) == '差'" showValue="差"></label-box>
730 722
                         </div>
731 723
                     </td>
732
-                    <!-- <td width="50">水肿</td>
724
+                    <td width="50">kt/v:</td>
733 725
                     <td width='120'>
734
-                        <div>
735
-                            <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="+"></label-box>
736
-                            <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="++"></label-box>
737
-                            <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="+++"></label-box>
726
+                        <div class="under-line">
727
+                          &nbsp;
738 728
                         </div>
739
-                    </td> -->
729
+                    </td>
740 730
                     <td></td>
741 731
                   </tr>
742 732
                 </tbody>
@@ -967,14 +957,19 @@
967 957
         <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index" >
968 958
           <td style="height:40px;line-height:40px">{{ getTime(advice.start_time, "{h}:{i}") }}</td>
969 959
           <td class="parent" style="text-align:left;padding-left:10px;">
970
-            <span v-if="advice.parent_id > 0">---></span>
971
-            <span>{{ advice.advice_name }}</span>
972
-            <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
973
-            <span v-if="advice.prescribing_number"> &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
974
-            <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
975
-            <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
976
-            <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
977
-            <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
960
+            <div style="display:flex;height:100%;">
961
+              <span style="width:70%;display:inline-block;">
962
+                <span v-if="advice.parent_id > 0">---></span>
963
+                <span>{{ advice.advice_name }}</span>
964
+                <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
965
+                <span v-if="advice.prescribing_number"> &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
966
+                <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
967
+                
968
+                <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
969
+                <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
970
+              </span>
971
+              <span v-if="advice.parent_id == 0" style="display: flex;align-items: baseline;"><span v-if="advice.delivery_way != ''" style="transform:rotate(30deg);border-left:1px solid #000;display:inline-block;height:100%;"></span>{{ advice.delivery_way }}</span>
972
+            </div>
978 973
           </td>
979 974
           <td>
980 975
             <span v-if="setAdminUserES(advice.advice_doctor) == ''">

+ 11 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFive.vue Wyświetl plik

@@ -388,6 +388,14 @@
388 388
                 </tr>
389 389
                 </tbody>
390 390
               </table>
391
+              <table class="table-box">
392
+                <tbody>
393
+                  <tr>
394
+                    <td width="100">特殊处理情况:</td>
395
+                    <td style="text-align:left;">{{ predialysis.special_treatment ? predialysis.special_treatment : '' }}</td>
396
+                  </tr>
397
+                </tbody>
398
+              </table>
391 399
             </td>
392 400
           </tr>
393 401
           </tbody>
@@ -607,7 +615,7 @@
607 615
                   <td width="10">)</td>
608 616
                   <td width="10">mmol/L</td>
609 617
                   <td width="90">透析器型号:</td>
610
-                  <td width="100">
618
+                  <td width="180">
611 619
                     <div class="under-line">
612 620
                       &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
613 621
                     </div>
@@ -1566,8 +1574,8 @@ export default {
1566 1574
             if (this.org_template_info.org_id == 9535) {
1567 1575
               this.isShowZero = true
1568 1576
             }
1569
-            if (this.monitors.length < 8) {
1570
-              var nl = 8 - this.monitors.length
1577
+            if (this.monitors.length < 7) {
1578
+              var nl = 7 - this.monitors.length
1571 1579
               for (let index = 0; index < nl; index++) {
1572 1580
                 this.monitors.push([])
1573 1581
               }

+ 107 - 19
src/xt_pages/user/hospitalSummary.vue Wyświetl plik

@@ -236,34 +236,120 @@
236 236
               <label class="title"><span class="name">超声</span> : </label>
237 237
               <el-input v-model="form.ultrasound" style="width:200px"></el-input>
238 238
 
239
-              <label class="title"><span class="name">pathology</span> : </label>
239
+              <label class="title"><span class="name">病理</span> : </label>
240 240
               <el-input v-model="form.pathology" style="width:200px"></el-input>
241 241
             </div>
242 242
             
243 243
             <div class="cell clearfix" style="margin-top:10px">
244
-              <label class="title"><span class="name">日常病程</span> : </label>
244
+              <label class="title"><span class="name">入院诊断</span> : </label>
245 245
                 <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
246 246
                   <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
247 247
                             :value="option.content"></el-option>
248 248
                 </el-select>
249
+                
250
+                 <div class="textarea_panel">
251
+                    <keep-alive>
252
+                      <editor ref="editor"
253
+                              id="editors"
254
+                              style="width: 800px"
255
+                              v-bind:r_content="form.admitting_diagnosis">
256
+                      </editor>
257
+                    </keep-alive>
258
+                </div>
259
+            </div>
260
+
261
+            <div class="cell clearfix" style="margin-top:10px">
262
+              <label class="title"><span class="name">出院诊断</span> : </label>
263
+                <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
264
+                  <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
265
+                            :value="option.content"></el-option>
266
+                </el-select>
267
+
268
+               <div class="textarea_panel">
269
+                    <keep-alive>
270
+                      <editor ref="editorOne"
271
+                              id="editorsOne"
272
+                              style="width: 800px"
273
+                              v-bind:r_content="form.discharge_diagnosis">
274
+                      </editor>
275
+                    </keep-alive>
276
+                </div>
277
+
278
+            </div>
279
+
280
+             <div class="cell clearfix" style="margin-top:10px">
281
+              <label class="title"><span class="name">入院时诊断</span> : </label>
282
+                <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
283
+                  <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
284
+                            :value="option.content"></el-option>
285
+                </el-select>
286
+
287
+                <div class="textarea_panel">
288
+                    <keep-alive>
289
+                      <editor ref="editorTwo"
290
+                              id="editorsTwo"
291
+                              style="width: 800px"
292
+                              v-bind:r_content="form.treatment">
293
+                      </editor>
294
+                    </keep-alive>
295
+                </div>
296
+            </div>
297
+
298
+            <div class="cell clearfix" style="margin-top:10px">
299
+              <label class="title"><span class="name">诊断经过</span> : </label>
300
+                <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
301
+                  <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
302
+                            :value="option.content"></el-option>
303
+                </el-select>
304
+
305
+               <div class="textarea_panel">
306
+                    <keep-alive>
307
+                      <editor ref="editorFour"
308
+                              id="editorsFour"
309
+                              style="width: 800px"
310
+                              v-bind:r_content="form.treatment">
311
+                      </editor>
312
+                    </keep-alive>
313
+                </div>
314
+
315
+            </div>
316
+
317
+            <div class="cell clearfix" style="margin-top:10px">
318
+              <label class="title"><span class="name">出院时病情</span> : </label>
319
+                <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
320
+                  <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
321
+                            :value="option.content"></el-option>
322
+                </el-select>
323
+
324
+               <div class="textarea_panel">
325
+                    <keep-alive>
326
+                      <editor ref="editorFive"
327
+                              id="editorsFive"
328
+                              style="width: 800px"
329
+                              v-bind:r_content="form.new_content">
330
+                      </editor>
331
+                    </keep-alive>
332
+                </div>
249 333
             </div>
250
-            <!-- <div class="cell clearfix" style="margin-top: 10px">
251
-              <label class="title"><span class="name">病程标题</span> : </label>
252
-              <el-input v-model="title" style="width: 420px"></el-input>
253
-            </div> -->
254
-
255
-
256
-            <!-- <div class="textarea_panel">
257
-              <keep-alive>
258
-                <editor ref="editor"
259
-                        id="editors"
260
-                        style="width: 600px"
261
-                        v-bind:r_content="new_content"
262
-                        >
263
-                </editor>
264
-              </keep-alive>
265
-            </div> -->
266 334
 
335
+            <div class="cell clearfix" style="margin-top:10px">
336
+              <label class="title"><span class="name">出院医嘱</span> : </label>
337
+                <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
338
+                  <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
339
+                            :value="option.content"></el-option>
340
+                </el-select>
341
+
342
+                <div class="textarea_panel">
343
+                    <keep-alive>
344
+                      <editor ref="editorSix"
345
+                              id="editorsSix"
346
+                              style="width: 800px"
347
+                              v-bind:r_content="form.new_content">
348
+                      </editor>
349
+                    </keep-alive>
350
+                </div>
351
+            </div>
352
+         
267 353
             <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
268 354
               <el-button @click="show_dialog = false">取消</el-button>
269 355
               <el-button type="primary"
@@ -574,7 +660,9 @@
574 660
           xray:"",
575 661
           admitting_diagnosis_id:"",
576 662
           admitting_diagnosis:"",
577
-         connecticut:"",
663
+          discharge_diagnosis_id:"",
664
+          discharge_diagnosis:"",
665
+          connecticut:"",
578 666
           nuclear_magnetic_resonance:"",
579 667
           ultrasound:"",
580 668
           pathology:"",