浏览代码

上传代码

xiaoming_global 5 年前
父节点
当前提交
e5bf36a329

+ 3 - 0
src/pages/main/dialog/AcceptsDialog.vue 查看文件

@@ -475,6 +475,9 @@ export default {
475 475
   .el-radio {
476 476
     margin-right: 14px;
477 477
     width: 2.2rem;
478
+    @media only screen and (min-width: 768px) {
479
+      margin-bottom: 0.34rem;
480
+    }
478 481
   }
479 482
   .el-radio__inner {
480 483
     width: 16px !important;

+ 1 - 2
src/pages/main/dialog/ComputerDialog.vue 查看文件

@@ -265,7 +265,6 @@ export default {
265 265
           return false;
266 266
         } else {
267 267
           Toast.success("修改成功");
268
-          this.$emit('did_add_monitor', monitor)
269 268
           this.$emit("did_start", response.data.data.dialysis_order);
270 269
           var record = this.record;
271 270
           for (const key in response.data.data.dialysis_order) {
@@ -312,7 +311,7 @@ export default {
312 311
         } else {
313 312
           Toast.success("上机成功");
314 313
           var monitor = response.data.data.monitor;
315
-          // this.$emit('did_add_monitor', monitor)
314
+          this.$emit('did_add_monitor', monitor)
316 315
           this.$emit("did_start", response.data.data.dialysis_order);
317 316
           var record = this.record;
318 317
           for (const key in response.data.data.dialysis_order) {

+ 61 - 37
src/pages/main/dialog/PrescriptionDialog.vue 查看文件

@@ -59,51 +59,71 @@
59 59
           </div>
60 60
         </div>
61 61
 
62
-        <div class="item" v-if="anticoagulant.shouji != -1&&isShow('首剂')">
63
-          <label class="name" for="sj">首剂({{anticoagulant.shouji_unit}})</label>
64
-          <div class="content">
65
-            <input type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
66
-                   :disabled="anticoagulant.shouji==1?false:true"/>
62
+          <div class="item" v-if="anticoagulant.shouji != -1&&isShow('首剂')">
63
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 0 ||dialysisPrescription.anticoagulant == -2">首剂(mg)</label>
64
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2">首剂(mg)</label>
65
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 3">首剂(iu)</label>
66
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">首剂(mg)</label>
67
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">首剂(mg)</label>
68
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">首剂(mg)</label>
69
+            <div class="content">
70
+              <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
71
+                     :disabled="anticoagulant.shouji==1?false:true"/>
72
+
73
+              <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_shouji"
74
+                     disabled="true"/>
75
+            </div>
67 76
           </div>
68
-        </div>
69
-        <div class="item" v-if="anticoagulant.weichi != -1&&isShow('维持')">
70
-          <label class="name" for="wz">维持({{anticoagulant.weichi_unit}})</label>
71
-          <div class="content">
72
-            <input type="tel" @focus="inputFocus" id="wz" class="inputBox"
73
-                   v-model="dialysisPrescription.anticoagulant_weichi"
74
-                   :disabled="anticoagulant.weichi==1?false:true">
77
+          <div class="item" v-if="anticoagulant.weichi != -1&&isShow('维持')">
78
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 0 ||dialysisPrescription.anticoagulant == -2">维持(mg/h)</label>
79
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2">维持(mg/h)</label>
80
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 3">维持(iu)</label>
81
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">维持(mg/h)</label>
82
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">维持(ml/h)</label>
83
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">维持(mg/h)</label>
84
+            <div class="content">
85
+              <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="wz" class="inputBox"
86
+                     v-model="dialysisPrescription.anticoagulant_weichi"
87
+                     :disabled="anticoagulant.weichi==1?false:true">
88
+
89
+              <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_weichi"
90
+                     disabled="true"/>
91
+            </div>
75 92
           </div>
76
-        </div>
77
-        <div class="item" v-if="anticoagulant.zongliang != -1 && isShow('总量')">
78
-          <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2">总量(mg)</label>
79
-          <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 3">总量(IU)</label>
80
-          <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">总量(mg)</label>
81
-          <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">总量(mg)</label>
82
-          <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">总量(mg)</label>
93
+          <div class="item" v-if="anticoagulant.zongliang != -1 && isShow('总量')">
94
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 0 ||dialysisPrescription.anticoagulant == -2">总量(mg)</label>
95
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 2">总量(mg)</label>
96
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 3">总量(iu)</label>
97
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">总量(mg)</label>
98
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">总量(mg)</label>
99
+            <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">总量(mg)</label>
83 100
 
84 101
 
85
-          <div class="content">
86
-            <input type="tel" @focus="inputFocus" id="zl" class="inputBox"
87
-                   v-model="dialysisPrescription.anticoagulant_zongliang"
88
-                   :disabled="anticoagulant.zongliang==1?false:true">
102
+            <div class="content">
103
+              <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="zl" class="inputBox"
104
+                     v-model="dialysisPrescription.anticoagulant_zongliang"
105
+                     :disabled="anticoagulant.zongliang==1?false:true">
106
+
107
+              <input v-if="dialysisPrescription.anticoagulant == 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.no_anticoagulant_zongliang"
108
+                     disabled="true"/>
109
+            </div>
89 110
           </div>
90
-        </div>
91 111
 
92
-        <div class="item" v-if="anticoagulant.gaimingcheng != -1 && isShow('钙名称')">
93
-          <label class="name" for="g">钙名称({{anticoagulant.gaimingcheng_unit}})</label>
94
-          <div class="content">
95
-            <input type="text" id="g" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
96
-                   :disabled="anticoagulant.gaimingcheng==1?false:true">
112
+          <div class="item" v-if="anticoagulant.gaimingcheng != -1 && isShow('钙名称')">
113
+            <label class="name" for="g">钙名称</label>
114
+            <div class="content">
115
+              <input type="text" id="g" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
116
+                     :disabled="anticoagulant.gaimingcheng==1?false:true">
117
+            </div>
97 118
           </div>
98
-        </div>
99 119
 
100
-        <div class="item" v-if="anticoagulant.gaijiliang != -1 && isShow('钙剂量')">
101
-          <label class="name" for="gjl">钙剂量</label>
102
-          <div class="content">
103
-            <input type="text" id="gjl" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
104
-                   :disabled="anticoagulant.gaimingcheng==1?false:true">
120
+          <div class="item" v-if="anticoagulant.gaijiliang != -1 && isShow('钙剂量')">
121
+            <label class="name" for="gjl">钙剂量({{anticoagulant.gaimingcheng_unit}})</label>
122
+            <div class="content">
123
+              <input type="text" id="gjl" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaijiliang"
124
+                     :disabled="anticoagulant.gaijiliang==1?false:true">
125
+            </div>
105 126
           </div>
106
-        </div>
107 127
         <!-- <div class="item">
108 128
           <label class="name" for="gtz">干体重(kg)</label>
109 129
           <div class="content">
@@ -1049,7 +1069,7 @@
1049 1069
       GetModeByModeId: function (val) {
1050 1070
         let treatment_mode_name = ''
1051 1071
         let treatment_mode = this.modeOption
1052
-        
1072
+
1053 1073
         for (let keys in treatment_mode) {
1054 1074
           if (treatment_mode[keys].id == val) {
1055 1075
             treatment_mode_name = treatment_mode[keys].name
@@ -1066,7 +1086,11 @@
1066 1086
               this.zhiShow = true
1067 1087
               this.totalShow = true
1068 1088
               this.huShow = true
1089
+<<<<<<< .mine
1069 1090
               console.log("aa")
1091
+=======
1092
+
1093
+>>>>>>> .theirs
1070 1094
             }
1071 1095
           }
1072 1096
         }

+ 27 - 10
src/pages/main/dialog/new_order/AddNewOrders.vue 查看文件

@@ -6,7 +6,7 @@
6 6
           <span class="iconfont">&#xe720;</span>返回
7 7
         </div>
8 8
         <h1 class="name">新增医嘱</h1>
9
-        <span class="success" @click="comfirmAction">完成</span>
9
+        <span class="success" @click="comfirmAction">保存</span>
10 10
       </div>
11 11
       <div class="yzNav" style="width:100%;">
12 12
         <span class="newSpan" @click="addOrderByTemplateAction">选择模板</span>
@@ -18,7 +18,12 @@
18 18
         <div style="overflow: hidden;">
19 19
           <div class="cell" style="margin-top: 0;">
20 20
             <label>医嘱类型</label>
21
-            <el-input class="typeInput" ref="advice_type" value="临时" disabled></el-input>
21
+            <el-input
22
+              class="typeInput"
23
+              ref="advice_type"
24
+              value="临时"
25
+              disabled
26
+            ></el-input>
22 27
           </div>
23 28
           <div class="cell" style="margin-top: 0;">
24 29
             <label>开始时间</label>
@@ -38,7 +43,11 @@
38 43
             <label>开嘱时间 {{ record_date_str }}</label>
39 44
           </div>
40 45
         </div>
41
-        <div id="newDialogContent" class="DialogContent choose" style="height: 6.2rem;">
46
+        <div
47
+          id="newDialogContent"
48
+          class="DialogContent choose"
49
+          style="height: 6.2rem;"
50
+        >
42 51
           <div class="newAddTable">
43 52
             <table class="table">
44 53
               <tr>
@@ -61,16 +70,20 @@
61 70
                 >
62 71
                   <td
63 72
                     style="text-align: left; padding-left: 5px; padding-right: 5px;"
64
-                  >{{ advice.title }}</td>
65
-                  <td v-if="advice.advice_desc">{{ advice.advice_desc }}{{ advice.drug_spec_unit }}</td>
73
+                  >
74
+                    {{ advice.title }}
75
+                  </td>
76
+                  <td v-if="advice.advice_desc">
77
+                    {{ advice.advice_desc }}{{ advice.drug_spec_unit }}
78
+                  </td>
66 79
                   <td v-if="advice.prescribing_number">
67 80
                     {{ advice.prescribing_number
68 81
                     }}{{ advice.prescribing_number_unit }}
69 82
                   </td>
70 83
                   <td v-else></td>
71
-                  <td
72
-                    v-if="advice.single_dose"
73
-                  >{{ advice.single_dose }} {{ advice.single_dose_unit }}</td>
84
+                  <td v-if="advice.single_dose">
85
+                    {{ advice.single_dose }} {{ advice.single_dose_unit }}
86
+                  </td>
74 87
                   <td v-else></td>
75 88
                   <td>{{ advice.delivery_way }}</td>
76 89
                   <td>{{ advice.execution_frequency }}</td>
@@ -87,8 +100,12 @@
87 100
                 >
88 101
                   <td
89 102
                     style="text-align: left; padding-right: 5px; padding-left: 25px;"
90
-                  >{{ subdrug.title }}</td>
91
-                  <td>{{ subdrug.advice_desc }} {{ subdrug.drug_spec_unit }}</td>
103
+                  >
104
+                    {{ subdrug.title }}
105
+                  </td>
106
+                  <td>
107
+                    {{ subdrug.advice_desc }} {{ subdrug.drug_spec_unit }}
108
+                  </td>
92 109
                   <td>
93 110
                     <span v-if="subdrug.prescribing_number">
94 111
                       {{ subdrug.prescribing_number

+ 16 - 8
src/pages/main/dialog/new_order/single_option_dialog.vue 查看文件

@@ -5,7 +5,7 @@
5 5
         <span class="iconfont">&#xe720;</span>返回
6 6
       </div>
7 7
       <h1 class="name">{{ title }}</h1>
8
-      <span class="success"></span>
8
+      <span class="success" style="width:36px;"></span>
9 9
     </div>
10 10
 
11 11
     <div class="optionsBox">
@@ -82,17 +82,21 @@ export default {
82 82
 .optionsBox {
83 83
   background: #fff;
84 84
   min-height: 5rem;
85
-  @media only screen and (max-width: 812px) {
86
-    min-height: 8rem !important;
85
+  @media only screen and (max-width: 767px) {
86
+    min-height: 13.8rem;
87 87
   }
88
+  // @media only screen and (max-width: 812px) {
89
+  //   min-height: 11.8rem;
90
+  // }
88 91
   ul {
89 92
     overflow-y: scroll;
90
-    max-height: 9rem;
93
+    max-height: 16rem;
91 94
     li {
92
-      height: 1rem;
93
-      line-height: 1rem;
95
+      height: 1.2rem;
96
+      line-height: 1.2rem;
94 97
       border-bottom: 1px #e5e5e5 solid;
95 98
       padding: 0 0.38rem;
99
+      font-size: 0.45rem;
96 100
     }
97 101
     .tick {
98 102
       position: relative;
@@ -117,10 +121,14 @@ export default {
117 121
   max-height: 6.8rem;
118 122
   min-height: 5rem;
119 123
   overflow-y: scroll;
120
-  @media only screen and (max-width: 812px) {
121
-    max-height: 8rem !important;
124
+  @media only screen and (max-width: 767px) {
125
+    max-height: 11.8rem !important;
122 126
     min-height: 8rem !important;
123 127
   }
128
+  // @media only screen and (max-width: 812px) {
129
+  //   max-height: 8rem !important;
130
+  //   min-height: 8rem !important;
131
+  // }
124 132
   ul {
125 133
     li {
126 134
       line-height: 1rem;

+ 1 - 1
src/pages/personal/ElectronicSignature.vue 查看文件

@@ -484,7 +484,7 @@ export default {
484 484
   //   height: 400px !important;
485 485
   // }
486 486
   @media only screen and (min-width: 768px) {
487
-    width: 1000px !important;
487
+    width: 768px !important;
488 488
     height: 400px !important;
489 489
   }
490 490
 }