xiaoming_global vor 5 Jahren
Ursprung
Commit
aba32fefea
1 geänderte Dateien mit 19 neuen und 56 gelöschten Zeilen
  1. 19 56
      src/pages/main/dialog/new_order/AddNewOrders.vue

+ 19 - 56
src/pages/main/dialog/new_order/AddNewOrders.vue Datei anzeigen

9
         <span class="success" @click="comfirmAction">完成</span>
9
         <span class="success" @click="comfirmAction">完成</span>
10
       </div>
10
       </div>
11
       <div class="yzNav" style="width:100%;">
11
       <div class="yzNav" style="width:100%;">
12
-<<<<<<< .mine
13
-            <span @click="addOrderByTemplateAction">选择医嘱模板</span>
14
-            <span @click="addNewOrderAction">新增医嘱内容</span>
15
-            <span @click="modifyOrderAction">修改医嘱内容</span>
16
-            <span @click="deleteOrderAction">删除医嘱内容</span>
17
-=======
18
         <span class="newSpan" @click="addOrderByTemplateAction">选择模板</span>
12
         <span class="newSpan" @click="addOrderByTemplateAction">选择模板</span>
19
         <span class="newSpan" @click="addNewOrderAction">新增内容</span>
13
         <span class="newSpan" @click="addNewOrderAction">新增内容</span>
20
         <span class="newSpan" @click="modifyOrderAction">修改内容</span>
14
         <span class="newSpan" @click="modifyOrderAction">修改内容</span>
21
         <span class="newSpan" @click="deleteOrderAction">删除内容</span>
15
         <span class="newSpan" @click="deleteOrderAction">删除内容</span>
22
->>>>>>> .theirs
23
       </div>
16
       </div>
24
-<<<<<<< .mine
25
-      <div class="DialogContent choose" style="height: 6.2rem;" >
26
-        <div class="content clearfix">
27
-          <div style="overflow: hidden;">
28
-            <div class="cell" style="margin-top: 0;">
29
-              <label>医嘱类型</label>
30
-              <el-input ref="advice_type" value="临时" disabled></el-input>
31
-            </div>
32
-            <div class="cell" style="margin-top: 0;">
33
-              <label>开始时间</label>
34
-              <el-input :value="start_time_str" readonly @focus="selectStartTimeAction"></el-input>
35
-            </div>
36
-=======
37
       <div class="content clearfix backgroundColor">
17
       <div class="content clearfix backgroundColor">
38
         <div style="overflow: hidden;">
18
         <div style="overflow: hidden;">
39
           <div class="cell" style="margin-top: 0;">
19
           <div class="cell" style="margin-top: 0;">
40
             <label>医嘱类型</label>
20
             <label>医嘱类型</label>
41
-            <el-input
42
-              class="typeInput"
43
-              ref="advice_type"
44
-              value="临时"
45
-              disabled
46
-            ></el-input>
47
-
48
->>>>>>> .theirs
21
+            <el-input class="typeInput" ref="advice_type" value="临时" disabled></el-input>
49
           </div>
22
           </div>
50
-<<<<<<< .mine
51
-          <div style="overflow: hidden;margin-top: 15px" >
52
-            <div class="cell" style="margin-top: 0;">
53
-              <label>开嘱医生: {{$store.getters.user.user.user_name}}</label>
54
-            </div>
55
-            <div class="cell" style="margin-top: 0;">
56
-              <label>开嘱时间 {{record_date_str}}</label>
57
-            </div>
58
-
59
-=======
60
           <div class="cell" style="margin-top: 0;">
23
           <div class="cell" style="margin-top: 0;">
61
             <label>开始时间</label>
24
             <label>开始时间</label>
62
             <el-input
25
             <el-input
65
               readonly
28
               readonly
66
               @focus="selectStartTimeAction"
29
               @focus="selectStartTimeAction"
67
             ></el-input>
30
             ></el-input>
68
->>>>>>> .theirs
69
           </div>
31
           </div>
70
           <table class="table">
32
           <table class="table">
71
             <tr>
33
             <tr>
86
                   style="text-align: left; padding-left: 5px; padding-right: 5px;"
48
                   style="text-align: left; padding-left: 5px; padding-right: 5px;"
87
                 >{{ advice.title }}</td>
49
                 >{{ advice.title }}</td>
88
                 <td v-if="advice.advice_desc">{{ advice.advice_desc }}{{advice.drug_spec_unit}}</td>
50
                 <td v-if="advice.advice_desc">{{ advice.advice_desc }}{{advice.drug_spec_unit}}</td>
89
-                <td v-if="advice.prescribing_number">{{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td>
51
+                <td
52
+                  v-if="advice.prescribing_number"
53
+                >{{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</td>
90
                 <td v-else></td>
54
                 <td v-else></td>
91
                 <td v-if="advice.single_dose">{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
55
                 <td v-if="advice.single_dose">{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
92
                 <td v-else></td>
56
                 <td v-else></td>
103
                   style="text-align: left; padding-right: 5px; padding-left: 25px;"
67
                   style="text-align: left; padding-right: 5px; padding-left: 25px;"
104
                 >{{ subdrug.title }}</td>
68
                 >{{ subdrug.title }}</td>
105
                 <td>{{ subdrug.advice_desc }} {{subdrug.drug_spec_unit}}</td>
69
                 <td>{{ subdrug.advice_desc }} {{subdrug.drug_spec_unit}}</td>
106
-                <td><span v-if="subdrug.prescribing_number">{{ subdrug.prescribing_number }}{{ subdrug.prescribing_number_unit }}</span></td>
107
-                <td><span v-if="subdrug.single_dose">{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</span></td>
70
+                <td>
71
+                  <span
72
+                    v-if="subdrug.prescribing_number"
73
+                  >{{ subdrug.prescribing_number }}{{ subdrug.prescribing_number_unit }}</span>
74
+                </td>
75
+                <td>
76
+                  <span
77
+                    v-if="subdrug.single_dose"
78
+                  >{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</span>
79
+                </td>
108
                 <!--<td v-if="subdrug.single_dose">{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</td>-->
80
                 <!--<td v-if="subdrug.single_dose">{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</td>-->
109
                 <td></td>
81
                 <td></td>
110
                 <td></td>
82
                 <td></td>
187
     },
159
     },
188
     drug_spec_unit_options: {
160
     drug_spec_unit_options: {
189
       type: Array,
161
       type: Array,
190
-      default: function () {
162
+      default: function() {
191
         return [];
163
         return [];
192
       }
164
       }
193
     },
165
     },
317
           prescribing_number_unit: advice.prescribing_number_unit,
289
           prescribing_number_unit: advice.prescribing_number_unit,
318
           delivery_way: advice.delivery_way,
290
           delivery_way: advice.delivery_way,
319
           execution_frequency: advice.execution_frequency,
291
           execution_frequency: advice.execution_frequency,
320
-          remark : advice.remark,
292
+          remark: advice.remark,
321
           subdrugs: []
293
           subdrugs: []
322
         };
294
         };
323
         for (let s_i = 0; s_i < advice.subdrugs.length; s_i++) {
295
         for (let s_i = 0; s_i < advice.subdrugs.length; s_i++) {
369
     },
341
     },
370
     didSelectTemplateAdvice: function(resp_advices) {
342
     didSelectTemplateAdvice: function(resp_advices) {
371
       this.show_dialog_key = 0;
343
       this.show_dialog_key = 0;
372
-      var advices = []
344
+      var advices = [];
373
       for (let index = 0; index < resp_advices.length; index++) {
345
       for (let index = 0; index < resp_advices.length; index++) {
374
         const adv = resp_advices[index];
346
         const adv = resp_advices[index];
375
         if (adv.parent_id == 0) {
347
         if (adv.parent_id == 0) {
386
             prescribing_number: adv.prescribing_number,
358
             prescribing_number: adv.prescribing_number,
387
             prescribing_number_unit: adv.prescribing_number_unit,
359
             prescribing_number_unit: adv.prescribing_number_unit,
388
             subdrugs: []
360
             subdrugs: []
389
-          })
361
+          });
390
         }
362
         }
391
       }
363
       }
392
       for (let r_a_i = 0; r_a_i < resp_advices.length; r_a_i++) {
364
       for (let r_a_i = 0; r_a_i < resp_advices.length; r_a_i++) {
499
           advice.prescribing_number = order.prescribing_number;
471
           advice.prescribing_number = order.prescribing_number;
500
           advice.prescribing_number_unit = order.prescribing_number_unit;
472
           advice.prescribing_number_unit = order.prescribing_number_unit;
501
           advice.remark = order.remark;
473
           advice.remark = order.remark;
502
-
503
         } else {
474
         } else {
504
           var subdrug = advice.subdrugs[this.selecting_subdrug_index];
475
           var subdrug = advice.subdrugs[this.selecting_subdrug_index];
505
           subdrug.title = order.title;
476
           subdrug.title = order.title;
520
 <style style="stylesheet/scss" lang="scss" scoped>
491
 <style style="stylesheet/scss" lang="scss" scoped>
521
 .table {
492
 .table {
522
   width: 100%;
493
   width: 100%;
523
-<<<<<<< .mine
524
-
525
-
526
-
527
-
528
-
529
-=======
530
   // overflow: auto;
494
   // overflow: auto;
531
 }
495
 }
532
 .table {
496
 .table {
533
   width: 1200px;
497
   width: 1200px;
534
   overflow-x: scroll;
498
   overflow-x: scroll;
535
->>>>>>> .theirs
536
   // margin-top: 0rem;
499
   // margin-top: 0rem;
537
   @media only screen and (max-width: 767px) {
500
   @media only screen and (max-width: 767px) {
538
     width: 1000px;
501
     width: 1000px;
593
   }
556
   }
594
 
557
 
595
   .row-class-active > td {
558
   .row-class-active > td {
596
-    background: #badcff!important;
559
+    background: #badcff !important;
597
   }
560
   }
598
 }
561
 }
599
 .newSpan {
562
 .newSpan {