Browse Source

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

csx 5 years ago
parent
commit
fa254c6cfc

+ 2 - 2
src/pages/main/DetailsPage.vue View File

234
   position: fixed;
234
   position: fixed;
235
   right: 0.6rem;
235
   right: 0.6rem;
236
   bottom: 2.25rem;
236
   bottom: 2.25rem;
237
-  font-size: 0.4rem;
237
+  font-size: 0.34rem;
238
   text-align: center;
238
   text-align: center;
239
   @media only screen and (max-width: 767px) {
239
   @media only screen and (max-width: 767px) {
240
     display: none;
240
     display: none;
250
     // }
250
     // }
251
     @media only screen and (min-width: 768px) {
251
     @media only screen and (min-width: 768px) {
252
       width: 50px;
252
       width: 50px;
253
-      margin: 14px auto 0;
253
+      margin: 17px auto 0;
254
     }
254
     }
255
   }
255
   }
256
 }
256
 }

+ 1 - 1
src/pages/main/PatientBox.vue View File

451
 }
451
 }
452
 .yztx {
452
 .yztx {
453
   margin: 0 5px;
453
   margin: 0 5px;
454
-  padding: 5px 10px;
454
+  padding: 4px 10px;
455
   background-color: #f56c6c;
455
   background-color: #f56c6c;
456
   color: #fff;
456
   color: #fff;
457
   border-radius: 15px;
457
   border-radius: 15px;

+ 1 - 1
src/pages/main/add_urgent_schedule.vue View File

594
         font-size: 0.4rem;
594
         font-size: 0.4rem;
595
         line-height: 40px;
595
         line-height: 40px;
596
         text-align: center;
596
         text-align: center;
597
-        color: red;
597
+        color: #f56c6c;
598
         @media only screen and (max-width: 812px) {
598
         @media only screen and (max-width: 812px) {
599
           margin-left: -10px !important;
599
           margin-left: -10px !important;
600
         }
600
         }

+ 23 - 5
src/pages/main/dialog/MonitDialog.vue View File

74
         <div class="DialogTit">
74
         <div class="DialogTit">
75
           <div class="back" @click="formPanel=false;listPanel=true;"><span class="iconfont">&#xe720; </span>返回</div>
75
           <div class="back" @click="formPanel=false;listPanel=true;"><span class="iconfont">&#xe720; </span>返回</div>
76
           <h1 class="name">{{formTitle}}</h1>
76
           <h1 class="name">{{formTitle}}</h1>
77
-          <span class="success" v-if="form.id>0" @click="submitEditAction()">完成</span>
77
+          <span class="success" v-if="form.id>0" @click="submitEditAction()">保存</span>
78
           <span class="success" v-else @click="submitAction()">保存</span>
78
           <span class="success" v-else @click="submitAction()">保存</span>
79
 
79
 
80
         </div>
80
         </div>
118
             <div class="cell">
118
             <div class="cell">
119
               <label>静脉压(mmHg)</label>
119
               <label>静脉压(mmHg)</label>
120
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.venous_pressure" style="width:60%">
120
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.venous_pressure" style="width:60%">
121
-               <button style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(1)" >转换</button>
121
+               <button class="typeButton" style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(1)" >转换</button>
122
             </div>
122
             </div>
123
             <div class="cell" v-if="isShow('跨膜压')">
123
             <div class="cell" v-if="isShow('跨膜压')">
124
               <label>跨膜压(mmHg)</label>
124
               <label>跨膜压(mmHg)</label>
125
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.transmembrane_pressure" style="width:60%">
125
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.transmembrane_pressure" style="width:60%">
126
-              <button style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(2)" >转换</button>
126
+              <button class="typeButton" style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(2)" >转换</button>
127
             </div>
127
             </div>
128
             <div class="cell" v-if="isShow('超滤量')">
128
             <div class="cell" v-if="isShow('超滤量')">
129
               <label v-if="template_id == 6">超滤量(ml)</label>
129
               <label v-if="template_id == 6">超滤量(ml)</label>
141
             <div class="cell">
141
             <div class="cell">
142
               <label>动脉压(mmHg)</label>
142
               <label>动脉压(mmHg)</label>
143
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.arterial_pressure" style="width:60%">
143
               <input type="number" @focus="inputFocus" onclick="this.select();" class="inputBox" v-model="form.arterial_pressure" style="width:60%">
144
-              <button style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(3)" >转换</button>
144
+              <button class="typeButton" style="width:30%;padding: 0.18rem 0; color: #fff; background: #409eff;border-radius:5px" @click="venousPressureChange(3)" >转换</button>
145
             </div>
145
             </div>
146
             <div class="cell" v-if="isShow('透析液温度')">
146
             <div class="cell" v-if="isShow('透析液温度')">
147
               <label>透析液温度(℃)</label>
147
               <label>透析液温度(℃)</label>
209
 
209
 
210
             <div class="cell width">
210
             <div class="cell width">
211
               <label>监测人:</label>
211
               <label>监测人:</label>
212
-              <span>{{doctor}}</span>
212
+              <span class="doctor">{{doctor}}</span>
213
             </div>
213
             </div>
214
 
214
 
215
           </div>
215
           </div>
1082
         height: 0.55rem;
1082
         height: 0.55rem;
1083
         line-height: 0.55rem;
1083
         line-height: 0.55rem;
1084
         color: $pgh-color;
1084
         color: $pgh-color;
1085
+        font-size: 0.45rem;
1086
+        margin-bottom: 0.2rem;
1085
       }
1087
       }
1086
       select {
1088
       select {
1087
         width: 100%;
1089
         width: 100%;
1097
         padding: 0.18rem 0;
1099
         padding: 0.18rem 0;
1098
         padding-left: 5px;
1100
         padding-left: 5px;
1099
         width: 100%;
1101
         width: 100%;
1102
+        @media only screen and (min-width: 768px) {
1103
+          height: 60px;
1104
+          line-height: 60px;
1105
+          font-size: 0.45rem;
1106
+        }
1107
+      }
1108
+      .typeButton{
1109
+        @media only screen and (min-width: 768px) {
1110
+          height: 60px;
1111
+          line-height: 60px;
1112
+          font-size: 0.45rem;
1113
+          padding: 0 !important;
1114
+        }
1100
       }
1115
       }
1101
       .input_focus {
1116
       .input_focus {
1102
         margin-bottom: 2rem;
1117
         margin-bottom: 2rem;
1135
 .row-class-active > td {
1150
 .row-class-active > td {
1136
   background: #badcff !important;
1151
   background: #badcff !important;
1137
 }
1152
 }
1153
+.doctor{
1154
+  font-size: 0.45rem;
1155
+}
1138
 </style>
1156
 </style>
1139
 <style lang="scss">
1157
 <style lang="scss">
1140
 .el-table td {
1158
 .el-table td {

+ 11 - 7
src/pages/main/dialog/OrdersDialog.vue View File

10
         <span
10
         <span
11
           @click="openNewAdvice"
11
           @click="openNewAdvice"
12
           :class="{ forbid: this.$store.getters.user.user.user_type == 3 }"
12
           :class="{ forbid: this.$store.getters.user.user.user_type == 3 }"
13
-        >新增医嘱</span>
13
+        >新增</span>
14
         <span
14
         <span
15
           v-if="isShowExce"
15
           v-if="isShowExce"
16
           @click="execAdvice"
16
           @click="execAdvice"
17
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0)||(this.$store.getters.user.user.user_type == 2 && !isPremission) }"
17
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0)||(this.$store.getters.user.user.user_type == 2 && !isPremission) }"
18
-        >执行医嘱</span>
18
+        >执行</span>
19
         <span
19
         <span
20
           v-if="isShowMofifyExce"
20
           v-if="isShowMofifyExce"
21
           @click="modifyExecAdvice"
21
           @click="modifyExecAdvice"
22
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0) }"
22
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0) }"
23
-        >修改执行医嘱</span>
23
+        >修改</span>
24
         <span
24
         <span
25
           v-if="template_id != 6"
25
           v-if="template_id != 6"
26
           @click="checkAdvice"
26
           @click="checkAdvice"
27
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0) || (this.$store.getters.user.user.user_type == 2 && !isPremission) }"
27
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0) || (this.$store.getters.user.user.user_type == 2 && !isPremission) }"
28
-        >医嘱核对</span>
28
+        >核对</span>
29
         <span
29
         <span
30
+        id="fontSize"
30
           @click="openNewChild"
31
           @click="openNewChild"
31
           :class="{ forbid: current_advice == null || current_advice.parent_id > 0 ||  currentAdvices.length != 1 || this.$store.getters.user.user.user_type == 3 }"
32
           :class="{ forbid: current_advice == null || current_advice.parent_id > 0 ||  currentAdvices.length != 1 || this.$store.getters.user.user.user_type == 3 }"
32
         >添加子药</span>
33
         >添加子药</span>
34
           v-if="currentSubAdvices.length <= 0"
35
           v-if="currentSubAdvices.length <= 0"
35
           @click="modifyAdviceAction"
36
           @click="modifyAdviceAction"
36
           :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1 }"
37
           :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1 }"
37
-        >修改医嘱</span>
38
+        >修改</span>
38
         <span
39
         <span
39
           v-if="currentSubAdvices.length <= 0"
40
           v-if="currentSubAdvices.length <= 0"
40
           @click="deleteAdviceAction"
41
           @click="deleteAdviceAction"
41
           :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0  }"
42
           :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0  }"
42
-        >删除医嘱</span>
43
+        >删除</span>
43
 
44
 
44
         <span v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
45
         <span v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
45
         <span v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
46
         <span v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
1498
   display: flex;
1499
   display: flex;
1499
   flex-wrap: wrap;
1500
   flex-wrap: wrap;
1500
   span {
1501
   span {
1501
-    width: 18%;
1502
+    width: 15%;
1502
     @media only screen and (max-width: 415px) {
1503
     @media only screen and (max-width: 415px) {
1503
       padding: 0;
1504
       padding: 0;
1504
     }
1505
     }
1507
     // }
1508
     // }
1508
   }
1509
   }
1509
 }
1510
 }
1511
+#fontSize{
1512
+  font-size: 0.34rem;
1513
+}
1510
 </style>
1514
 </style>

+ 184 - 224
src/pages/main/dialog/PrescriptionDialog.vue View File

4
     <div v-if="isShowDialog" class="Dialog">
4
     <div v-if="isShowDialog" class="Dialog">
5
       <div class="DialogTit">
5
       <div class="DialogTit">
6
         <span @click="close()" class="iconfont">&#xe6e9;</span>
6
         <span @click="close()" class="iconfont">&#xe6e9;</span>
7
-        <h1 class="name">透析处方</h1>
8
-        <button @click="showmsgtip">{{patient.name}} [透析号 {{patient.dialysis_no}} ]</button>
9
-        <span @click="commitInfo" class="success" v-if="isPermission()">完成</span>
7
+        <h1 class="name newName">透析处方</h1>
8
+        <button class="newButton" @click="showmsgtip">{{patient.name}}</button>
9
+        <span @click="commitInfo" class="success" v-if="isPermission()">保存</span>
10
         <span @click="commitInfo" class="success" v-if="!isPermission()"></span>
10
         <span @click="commitInfo" class="success" v-if="!isPermission()"></span>
11
 
11
 
12
       </div>
12
       </div>
13
 
13
 
14
-      <div class="DialogContent" id="dialogTop">
14
+      <div class="DialogContent newDialogContent" id="dialogTop">
15
+        <div>
15
         <div @click="showSubMenu('mode')" class="item" ref="mode" v-if="isShow('透析模式')">
16
         <div @click="showSubMenu('mode')" class="item" ref="mode" v-if="isShow('透析模式')">
16
           <label class="name" for="txms">透析模式</label>
17
           <label class="name" for="txms">透析模式</label>
17
           <div class="content">
18
           <div class="content">
35
         </div>
36
         </div>
36
 
37
 
37
         <div class="item" v-if="isShow('目标超滤量')">
38
         <div class="item" v-if="isShow('目标超滤量')">
38
-          <!--<label class="name" for="mbcll" v-if="this.$store.getters.user.template_info.template_id == 6">目标超滤量(ml)</label>-->
39
           <label class="name" for="mbcll">目标超滤量(L)</label>
39
           <label class="name" for="mbcll">目标超滤量(L)</label>
40
           <div class="content">
40
           <div class="content">
41
             <input type="tel" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
41
             <input type="tel" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
60
         </div>
60
         </div>
61
 
61
 
62
         <div class="item" v-if="anticoagulant.shouji != -1&&isShow('首剂')">
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>
63
+          <label class="name" for="sj">首剂({{anticoagulant.shouji_unit}})</label>
69
           <div class="content">
64
           <div class="content">
70
-            <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
65
+            <input type="tel" @focus="inputFocus" id="sj" v-model="dialysisPrescription.anticoagulant_shouji"
71
                    :disabled="anticoagulant.shouji==1?false:true"/>
66
                    :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
           </div>
76
         </div>
68
         </div>
77
         <div class="item" v-if="anticoagulant.weichi != -1&&isShow('维持')">
69
         <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>
70
+          <label class="name" for="wz">维持({{anticoagulant.weichi_unit}})</label>
84
           <div class="content">
71
           <div class="content">
85
-            <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="wz" class="inputBox"
72
+            <input type="tel" @focus="inputFocus" id="wz" class="inputBox"
86
                    v-model="dialysisPrescription.anticoagulant_weichi"
73
                    v-model="dialysisPrescription.anticoagulant_weichi"
87
                    :disabled="anticoagulant.weichi==1?false:true">
74
                    :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
           </div>
92
         </div>
76
         </div>
93
         <div class="item" v-if="anticoagulant.zongliang != -1 && isShow('总量')">
77
         <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>
78
           <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>
79
+          <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>
80
           <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>
81
           <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>
82
           <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">总量(mg)</label>
100
 
83
 
101
 
84
 
102
           <div class="content">
85
           <div class="content">
103
-            <input v-if="dialysisPrescription.anticoagulant != 1" type="tel" @focus="inputFocus" id="zl" class="inputBox"
86
+            <input type="tel" @focus="inputFocus" id="zl" class="inputBox"
104
                    v-model="dialysisPrescription.anticoagulant_zongliang"
87
                    v-model="dialysisPrescription.anticoagulant_zongliang"
105
                    :disabled="anticoagulant.zongliang==1?false:true">
88
                    :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
           </div>
110
         </div>
90
         </div>
111
 
91
 
112
         <div class="item" v-if="anticoagulant.gaimingcheng != -1 && isShow('钙名称')">
92
         <div class="item" v-if="anticoagulant.gaimingcheng != -1 && isShow('钙名称')">
113
-          <label class="name" for="g">钙名称</label>
93
+          <label class="name" for="g">钙名称({{anticoagulant.gaimingcheng_unit}})</label>
114
           <div class="content">
94
           <div class="content">
115
             <input type="text" id="g" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
95
             <input type="text" id="g" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
116
                    :disabled="anticoagulant.gaimingcheng==1?false:true">
96
                    :disabled="anticoagulant.gaimingcheng==1?false:true">
118
         </div>
98
         </div>
119
 
99
 
120
         <div class="item" v-if="anticoagulant.gaijiliang != -1 && isShow('钙剂量')">
100
         <div class="item" v-if="anticoagulant.gaijiliang != -1 && isShow('钙剂量')">
121
-          <label class="name" for="gjl">钙剂量({{anticoagulant.gaimingcheng_unit}})</label>
101
+          <label class="name" for="gjl">钙剂量</label>
122
           <div class="content">
102
           <div class="content">
123
-            <input type="text" id="gjl" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaijiliang"
124
-                   :disabled="anticoagulant.gaijiliang==1?false:true">
103
+            <input type="text" id="gjl" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
104
+                   :disabled="anticoagulant.gaimingcheng==1?false:true">
125
           </div>
105
           </div>
126
         </div>
106
         </div>
127
         <!-- <div class="item">
107
         <!-- <div class="item">
132
         </div> -->
112
         </div> -->
133
 
113
 
134
         <div class="line"></div>
114
         <div class="line"></div>
135
-        <div class="item" v-if="isShow('置换量')" v-show="zhiShow">
115
+        <div class="item" v-if="isShow('置换量')">
136
           <label class="name" for="zhy">置换量(L)</label>
116
           <label class="name" for="zhy">置换量(L)</label>
137
           <div class="content">
117
           <div class="content">
138
             <input type="tel" @focus="inputFocus" id="zhy" v-model="dialysisPrescription.replacement_total"/>
118
             <input type="tel" @focus="inputFocus" id="zhy" v-model="dialysisPrescription.replacement_total"/>
196
             <input type="tel" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
176
             <input type="tel" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
197
           </div>
177
           </div>
198
         </div>
178
         </div>
199
-        <!-- <div @click="showSubMenu('dialyzer_perfusion_apparatus')" class="item" ref="dialyzer_perfusion_apparatus" v-if="isShow('透析器/灌流器') && template_id == 6">
200
-          <label class="name" for="dt1">透析器/灌流器</label>
201
-          <div class="content">
202
-            <span class="text" id="dt">{{dialysisPrescription.dialyzer_perfusion_apparatus}}</span>
203
-            <span class="iconfont">&#xe6f9;</span>
204
-          </div>
205
-        </div> -->
206
-
207
-        <div class="item" v-if="isShow('透析器/灌流器') ">
179
+        <div class="item" v-if="isShow('透析器/灌流器')">
208
           <label class="name" for="dtl">透析器/灌流器</label>
180
           <label class="name" for="dtl">透析器/灌流器</label>
209
           <div class="content">
181
           <div class="content">
210
 
182
 
243
           </div>
215
           </div>
244
         </div>
216
         </div>
245
 
217
 
246
-        <div @click="showSubMenu('displace_liqui_part')" class="item" ref="displace_liqui_part" v-if="isShow('置换液')" v-show="huShow">
247
-          <label class="name" for="knj" v-if="this.$store.getters.user.template_info.template_id == 6">置换方式</label>
248
-          <label class="name" for="knj" v-if="this.$store.getters.user.template_info.template_id != 6">置换液</label>
218
+        <div @click="showSubMenu('displace_liqui_part')" class="item" ref="displace_liqui_part" v-if="isShow('置换液')">
219
+          <label class="name" for="knj">置换液</label>
249
           <div class="content">
220
           <div class="content">
250
             <span class="text" id="knjaa">{{getDisplaceLiquiPart(dialysisPrescription.displace_liqui_part)}}</span>
221
             <span class="text" id="knjaa">{{getDisplaceLiquiPart(dialysisPrescription.displace_liqui_part)}}</span>
251
             <span class="iconfont">&#xe6f9;</span>
222
             <span class="iconfont">&#xe6f9;</span>
252
           </div>
223
           </div>
253
         </div>
224
         </div>
254
 
225
 
255
-        <div class="item" v-if="isShow('置换液总量')" v-show="totalShow">
226
+        <div class="item" v-if="isShow('置换液总量')">
256
           <label class="name" for="knj">置换液总量(L)</label>
227
           <label class="name" for="knj">置换液总量(L)</label>
257
           <div class="content">
228
           <div class="content">
258
             <input @focus="inputFocus" id="dt" v-model="dialysisPrescription.displace_liqui_value"/>
229
             <input @focus="inputFocus" id="dt" v-model="dialysisPrescription.displace_liqui_value"/>
309
           <textarea class="textarea" id="bz" placeholder="请输入内容" v-model="dialysisPrescription.remark"
280
           <textarea class="textarea" id="bz" placeholder="请输入内容" v-model="dialysisPrescription.remark"
310
                     @focus="lastInputFocus" @blur="lastInputBlur"></textarea>
281
                     @focus="lastInputFocus" @blur="lastInputBlur"></textarea>
311
         </div>
282
         </div>
312
-
283
+        </div>
313
         <!--<div class="footer">-->
284
         <!--<div class="footer">-->
314
         <!--处方医生:刘小军 医生-->
285
         <!--处方医生:刘小军 医生-->
315
         <!--</div>-->
286
         <!--</div>-->
341
     <long-advice-sub-menu :visibility="advice_visibility" v-on:menu-cancle-three="menuCancleThree"
312
     <long-advice-sub-menu :visibility="advice_visibility" v-on:menu-cancle-three="menuCancleThree"
342
                           v-on:menu-comfirm-three="menuComfirmThree" :propsForm="advicePropForm"></long-advice-sub-menu>
313
                           v-on:menu-comfirm-three="menuComfirmThree" :propsForm="advicePropForm"></long-advice-sub-menu>
343
 
314
 
344
-    <msg-tip style="width:500px;" :visibility="msgtip_visibility" :predialysis="predialysis"
315
+    <msg-tip  :visibility="msgtip_visibility" :predialysis="predialysis"
345
              :last_predialysis="last_predialysis"
316
              :last_predialysis="last_predialysis"
346
              :record="record"
317
              :record="record"
347
              :last_record="last_record"
318
              :last_record="last_record"
348
              :patient_prop="patient"
319
              :patient_prop="patient"
349
-             :dry_weight="dry_weight"
350
              :prescription_prop="prescription_prop"
320
              :prescription_prop="prescription_prop"
351
              v-on:menu-msg-tip="menuMsgTip"></msg-tip>
321
              v-on:menu-msg-tip="menuMsgTip"></msg-tip>
352
 
322
 
357
   import CheckBoxSubMenu from './subMenu/checkBoxSubMenu'
327
   import CheckBoxSubMenu from './subMenu/checkBoxSubMenu'
358
   import MultipleSubMenu from './subMenu/multipleSubMenu'
328
   import MultipleSubMenu from './subMenu/multipleSubMenu'
359
   import {commitDialysisPrescription, CreateGroupAdvice, GetSolution, postSign, postSolution} from '@/api/dialysis'
329
   import {commitDialysisPrescription, CreateGroupAdvice, GetSolution, postSign, postSolution} from '@/api/dialysis'
360
-  import { calculateAnticoagulantZL} from '@/utils/tools'
361
 
330
 
362
   import {Toast} from 'vant'
331
   import {Toast} from 'vant'
363
   import {getDataConfig} from '@/utils/data'
332
   import {getDataConfig} from '@/utils/data'
453
         msgtip_visibility: false,
422
         msgtip_visibility: false,
454
         time: '03:00',
423
         time: '03:00',
455
         timeValue: '',
424
         timeValue: '',
456
-        tempTimeValue:'',
457
         isShowSign: false,
425
         isShowSign: false,
458
         anticoagulantsConfit: {},
426
         anticoagulantsConfit: {},
459
         dialysateFormulationOptions: [],
427
         dialysateFormulationOptions: [],
466
           result: [],
434
           result: [],
467
           operators: [],
435
           operators: [],
468
 
436
 
469
-        },
470
-        is_show: false,
437
+      },
438
+      is_show: false,
471
 
439
 
472
         perfusion_apparatus: {},
440
         perfusion_apparatus: {},
473
         replacementWays: [],
441
         replacementWays: [],
619
         }
587
         }
620
         this.timeValue = this.dialysisPrescription.dialysis_duration_hour + '小时' + this.dialysisPrescription.dialysis_duration_minute + '分钟'
588
         this.timeValue = this.dialysisPrescription.dialysis_duration_hour + '小时' + this.dialysisPrescription.dialysis_duration_minute + '分钟'
621
 
589
 
622
-        this.dialysisPrescription.dialysis_duration = parseFloat(this.dialysisPrescription.dialysis_duration_hour) + parseFloat((this.dialysisPrescription.dialysis_duration_minute / 60).toFixed(2))
590
+        this.dialysisPrescription.dialysis_duration = this.dialysisPrescription.dialysis_duration_hour + '.' + (this.dialysisPrescription.dialysis_duration_minute)
623
 
591
 
624
       },
592
       },
625
       inputFocus: function (event) {
593
       inputFocus: function (event) {
689
             this.propForm.selectId = this.dialysisPrescription.perfusion_apparatus
657
             this.propForm.selectId = this.dialysisPrescription.perfusion_apparatus
690
             this.propForm.click_ref = 'perfusion_apparatus'
658
             this.propForm.click_ref = 'perfusion_apparatus'
691
 
659
 
692
-            break
693
-          case 'replacement_way':
694
-            this.propForm.type = 4
695
-            this.isShowDialog = false
696
-            this.propForm.title = '置换方式'
697
-            this.visibility = true
698
-            this.propForm.list = []
699
-            this.propForm.optionList = this.replacementWays
700
-            this.propForm.isMultiple = 1
701
-            this.propForm.selectId = this.dialysisPrescription.replacement_way
702
-            this.propForm.click_ref = 'replacement_way'
660
+          break
661
+        case 'replacement_way':
662
+          this.propForm.type = 4
663
+          this.isShowDialog = false
664
+          this.propForm.title = '置换方式'
665
+          this.visibility = true
666
+          this.propForm.list = []
667
+          this.propForm.optionList = this.replacementWays
668
+          this.propForm.isMultiple = 1
669
+          this.propForm.selectId = this.dialysisPrescription.replacement_way
670
+          this.propForm.click_ref = 'replacement_way'
703
 
671
 
704
             break
672
             break
705
 
673
 
706
-          case 'anticoagulant':
707
-            this.propForm.type = 5
708
-            this.isShowDialog = false
709
-            this.propForm.title = '抗疑剂'
710
-            this.visibility = true
711
-            this.propForm.list = []
712
-            this.propForm.optionList = this.anticoagulantsConfit
713
-            this.propForm.isMultiple = 1
714
-            this.propForm.selectId = this.dialysisPrescription.anticoagulant
715
-            this.propForm.click_ref = 'anticoagulant'
716
-            break
717
-          case 'dialysate_formulation':
718
-            this.propForm.type = 6
719
-            this.isShowDialog = false
720
-            this.propForm.title = '透析液配方'
721
-            this.visibility = true
722
-            this.propForm.list = []
723
-            this.propForm.optionList = this.dialysateFormulationOptions
724
-            this.propForm.isMultiple = 1
725
-            this.propForm.selectId = this.dialysisPrescription.dialysate_formulation
726
-            this.propForm.click_ref = 'dialysate_formulation'
727
-            break
728
-          case 'body_fluid':
729
-            this.propForm.type = 7
730
-            this.isShowDialog = false
731
-            this.propForm.title = '体液过多症状'
732
-            this.visibility = true
733
-            this.propForm.list = []
734
-            this.propForm.optionList = this.bodyFluidOptions
735
-            this.propForm.isMultiple = 1
736
-            this.propForm.selectId = this.dialysisPrescription.body_fluid
737
-            this.propForm.click_ref = 'body_fluid'
738
-            break
739
-          case 'special_medicine':
740
-            this.propForm.type = 8
741
-            this.isShowDialog = false
742
-            this.propForm.title = '透析前使用特殊药物'
743
-            this.visibility = true
744
-            this.propForm.list = []
745
-            this.propForm.optionList = this.specialMedicineOptions
746
-            this.propForm.isMultiple = 1
747
-            this.propForm.selectId = this.dialysisPrescription.special_medicine
748
-            this.propForm.click_ref = 'special_medicine'
749
-            break
750
-          case 'displace_liqui_part':
751
-            this.propForm.type = 9
752
-            this.isShowDialog = false
753
-            this.propForm.title = '置换液'
754
-            this.visibility = true
755
-            this.propForm.list = []
756
-            this.propForm.optionList = this.displaceLiquiPartOptions
757
-            this.propForm.isMultiple = 1
758
-            this.propForm.selectId = this.dialysisPrescription.displace_liqui_part
759
-            this.propForm.click_ref = 'displace_liqui_part'
760
-            break
761
-          case 'blood_access':
762
-            this.propForm.type = 10
763
-            this.isShowDialog = false
764
-            this.propForm.title = '血管通路'
765
-            this.visibility = true
766
-            this.propForm.list = []
767
-            this.propForm.optionList = this.bloodAccessOptions
768
-            this.propForm.isMultiple = 1
769
-            this.propForm.selectId = this.dialysisPrescription.blood_access
770
-            this.propForm.click_ref = 'blood_access'
771
-            break
772
-          case 'dialyzer_perfusion_apparatus':
773
-            // this.propForm.type = 11
774
-            // this.isShowDialog = false
775
-            // this.propForm.title = '透析器/灌流器'
776
-            // this.visibility = true
777
-            // this.propForm.list = []
778
-            // this.propForm.optionList = this.bloodAccessOptions
779
-            // this.propForm.isMultiple = 1
780
-            // this.propForm.selectId = this.dialysisPrescription.dialyzer_perfusion_apparatus
781
-            // this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
782
-            // break
783
-
784
-            this.propForm.result = []
785
-            this.isHasOther = 2
786
-            this.propForm.type = 11
787
-            this.isShowDialog = false
788
-            this.propForm.title = '透析器/灌流器'
789
-            this.visibility = true
790
-            this.propForm.list = []
791
-            this.propForm.list = getDataConfig('hemodialysis', 'dialyzer_perfusion_apparatus')
792
-            this.propForm.optionList = []
793
-            this.propForm.isMultiple = 2
794
-            // this.propForm.result = typeof(this.formValue.hemorrhage) == "string"? this.formValue.hemorrhage.split(","):[]
795
-            if (this.dialysisPrescription.dialyzer_perfusion_apparatus != undefined || this.dialysisPrescription.dialyzer_perfusion_apparatus != null) {
796
-              if (this.dialysisPrescription.dialyzer_perfusion_apparatus.length > 0) {
797
-                this.propForm.result = this.dialysisPrescription.dialyzer_perfusion_apparatus.split(',')
798
-              } else {
799
-                this.propForm.result = []
800
-              }
674
+        case 'anticoagulant':
675
+          this.propForm.type = 5
676
+          this.isShowDialog = false
677
+          this.propForm.title = '抗疑剂'
678
+          this.visibility = true
679
+          this.propForm.list = []
680
+          this.propForm.optionList = this.anticoagulantsConfit
681
+          this.propForm.isMultiple = 1
682
+          this.propForm.selectId = this.dialysisPrescription.anticoagulant
683
+          this.propForm.click_ref = 'anticoagulant'
684
+          break
685
+        case 'dialysate_formulation':
686
+          this.propForm.type = 6
687
+          this.isShowDialog = false
688
+          this.propForm.title = '透析液配方'
689
+          this.visibility = true
690
+          this.propForm.list = []
691
+          this.propForm.optionList = this.dialysateFormulationOptions
692
+          this.propForm.isMultiple = 1
693
+          this.propForm.selectId = this.dialysisPrescription.dialysate_formulation
694
+          this.propForm.click_ref = 'dialysate_formulation'
695
+          break
696
+        case 'body_fluid':
697
+          this.propForm.type = 7
698
+          this.isShowDialog = false
699
+          this.propForm.title = '体液过多症状'
700
+          this.visibility = true
701
+          this.propForm.list = []
702
+          this.propForm.optionList = this.bodyFluidOptions
703
+          this.propForm.isMultiple = 1
704
+          this.propForm.selectId = this.dialysisPrescription.body_fluid
705
+          this.propForm.click_ref = 'body_fluid'
706
+          break
707
+        case 'special_medicine':
708
+          this.propForm.type = 8
709
+          this.isShowDialog = false
710
+          this.propForm.title = '透析前使用特殊药物'
711
+          this.visibility = true
712
+          this.propForm.list = []
713
+          this.propForm.optionList = this.specialMedicineOptions
714
+          this.propForm.isMultiple = 1
715
+          this.propForm.selectId = this.dialysisPrescription.special_medicine
716
+          this.propForm.click_ref = 'special_medicine'
717
+          break
718
+        case 'displace_liqui_part':
719
+          this.propForm.type = 9
720
+          this.isShowDialog = false
721
+          this.propForm.title = '置换液'
722
+          this.visibility = true
723
+          this.propForm.list = []
724
+          this.propForm.optionList = this.displaceLiquiPartOptions
725
+          this.propForm.isMultiple = 1
726
+          this.propForm.selectId = this.dialysisPrescription.displace_liqui_part
727
+          this.propForm.click_ref = 'displace_liqui_part'
728
+          break
729
+        case 'blood_access':
730
+          this.propForm.type = 10
731
+          this.isShowDialog = false
732
+          this.propForm.title = '血管通路'
733
+          this.visibility = true
734
+          this.propForm.list = []
735
+          this.propForm.optionList = this.bloodAccessOptions
736
+          this.propForm.isMultiple = 1
737
+          this.propForm.selectId = this.dialysisPrescription.blood_access
738
+          this.propForm.click_ref = 'blood_access'
739
+          break
740
+        case 'dialyzer_perfusion_apparatus':
741
+          // this.propForm.type = 11
742
+          // this.isShowDialog = false
743
+          // this.propForm.title = '透析器/灌流器'
744
+          // this.visibility = true
745
+          // this.propForm.list = []
746
+          // this.propForm.optionList = this.bloodAccessOptions
747
+          // this.propForm.isMultiple = 1
748
+          // this.propForm.selectId = this.dialysisPrescription.dialyzer_perfusion_apparatus
749
+          // this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
750
+          // break
751
+
752
+          this.propForm.result = []
753
+          this.isHasOther = 2
754
+          this.propForm.type = 11
755
+          this.isShowDialog = false
756
+          this.propForm.title = '透析器/灌流器'
757
+          this.visibility = true
758
+          this.propForm.list = []
759
+          this.propForm.list = getDataConfig('hemodialysis', 'dialyzer_perfusion_apparatus')
760
+          this.propForm.optionList = []
761
+          this.propForm.isMultiple = 2
762
+          // this.propForm.result = typeof(this.formValue.hemorrhage) == "string"? this.formValue.hemorrhage.split(","):[]
763
+          if (this.dialysisPrescription.dialyzer_perfusion_apparatus != undefined || this.dialysisPrescription.dialyzer_perfusion_apparatus != null) {
764
+            if (this.dialysisPrescription.dialyzer_perfusion_apparatus.length > 0) {
765
+              this.propForm.result = this.dialysisPrescription.dialyzer_perfusion_apparatus.split(',')
801
             } else {
766
             } else {
802
               this.propForm.result = []
767
               this.propForm.result = []
803
             }
768
             }
804
-            this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
805
-            break
806
-        }
807
-      },
808
-      menuCancle: function () {
809
-        this.visibility = false
810
-        this.isShowDialog = true
811
-        this.$nextTick(() => {
812
-          if (this.$refs[this.propForm.click_ref] != undefined && this.$refs[this.propForm.click_ref] != null) {
813
-            this.$refs[this.propForm.click_ref].scrollIntoView()
769
+          } else {
770
+            this.propForm.result = []
814
           }
771
           }
815
-        })
816
-      },
817
-      menuCancleThree: function () {
818
-        this.advice_visibility = false
819
-        this.isShowDialog = true
820
-      },
821
-      menuMsgTip: function () {
822
-        this.msgtip_visibility = false
823
-        this.isShowDialog = true
824
-      },
772
+          this.propForm.click_ref = 'dialyzer_perfusion_apparatus'
773
+          break
774
+      }
775
+    },
776
+    menuCancle: function () {
777
+      this.visibility = false
778
+      this.isShowDialog = true
779
+      this.$nextTick(() => {
780
+        if (this.$refs[this.propForm.click_ref] != undefined && this.$refs[this.propForm.click_ref] != null) {
781
+          this.$refs[this.propForm.click_ref].scrollIntoView()
782
+        }
783
+      })
784
+    },
785
+    menuCancleThree: function () {
786
+      this.advice_visibility = false
787
+      this.isShowDialog = true
788
+    },
789
+    menuMsgTip: function () {
790
+      this.msgtip_visibility = false
791
+      this.isShowDialog = true
792
+    },
825
 
793
 
826
       menuComfirmThree: function (targetAdvices) {
794
       menuComfirmThree: function (targetAdvices) {
827
 
795
 
1024
                 }
992
                 }
1025
               }
993
               }
1026
 
994
 
995
+              console.log(this.dialysisPrescription.dialysis_duration_hour)
996
+              console.log(this.dialysisPrescription.dialysis_duration_minute)
997
+              console.log(this.dialysisPrescription.dialysis_duration_hour == '')
998
+              console.log(this.dialysisPrescription.dialysis_duration_minute == 0)
1027
 
999
 
1028
 
1000
 
1029
 
1001
 
1967
 
1939
 
1968
       }
1940
       }
1969
 
1941
 
1970
-
1971
-
1972
-
1973
-
1974
       if (this.dialysisPrescription.dialysis_duration_hour.length == 0 || this.dialysisPrescription.dialysis_duration_minute.length == 0) {
1942
       if (this.dialysisPrescription.dialysis_duration_hour.length == 0 || this.dialysisPrescription.dialysis_duration_minute.length == 0) {
1975
         this.timeValue = ''
1943
         this.timeValue = ''
1976
         this.time = '03:00'
1944
         this.time = '03:00'
2019
       this.dialysisPrescription.ultrafiltration = this.getFloat(this.dialysisPrescription.ultrafiltration)
1987
       this.dialysisPrescription.ultrafiltration = this.getFloat(this.dialysisPrescription.ultrafiltration)
2020
       this.dialysisPrescription.target_ultrafiltration = this.getFloat(this.dialysisPrescription.target_ultrafiltration)
1988
       this.dialysisPrescription.target_ultrafiltration = this.getFloat(this.dialysisPrescription.target_ultrafiltration)
2021
 
1989
 
2022
-      if(this.dialysisPrescription.anticoagulant_shouji == ''){
2023
-        this.dialysisPrescription.anticoagulant_shouji = '0'
2024
-      }
2025
-
2026
-      if(this.dialysisPrescription.anticoagulant_weichi == ''){
2027
-        this.dialysisPrescription.anticoagulant_weichi = '0'
2028
-      }
2029
-
2030
-      if(this.dialysisPrescription.anticoagulant_zongliang == ''){
2031
-        this.dialysisPrescription.anticoagulant_weichi = '0'
2032
-      }
2033
-
2034
-
2035
     },
1990
     },
2036
 
1991
 
2037
     components: {
1992
     components: {
2042
       CheckBoxSubMenu
1997
       CheckBoxSubMenu
2043
     },
1998
     },
2044
     watch: {
1999
     watch: {
2045
-      "dialysisPrescription.dialysis_duration":function(){
2046
-        console.log(this.dialysisPrescription.dialysis_duration)
2047
-        this.dialysisPrescription.anticoagulant_zongliang=calculateAnticoagulantZL(1,
2048
-          this.dialysisPrescription.anticoagulant_shouji,
2049
-          this.dialysisPrescription.dialysis_duration,
2050
-          this.dialysisPrescription.anticoagulant_weichi
2051
-        );
2052
-        if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2053
-          this.dialysisPrescription.anticoagulant_zongliang = ''
2000
+      'dialysisPrescription.anticoagulant_shouji': function (val) {
2001
+        if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_weichi == '') {
2002
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(0)
2003
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_weichi != '') {
2004
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
2005
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_shouji == '') {
2006
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(0)
2007
+        } else if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_shouji != '') {
2008
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(this.dialysisPrescription.anticoagulant_shouji)
2054
         }
2009
         }
2055
-      },
2056
-      "dialysisPrescription.anticoagulant_shouji":function(){
2057
-        this.dialysisPrescription.anticoagulant_zongliang=calculateAnticoagulantZL(1,
2058
-          this.dialysisPrescription.anticoagulant_shouji,
2059
-          this.dialysisPrescription.dialysis_duration,
2060
-          this.dialysisPrescription.anticoagulant_weichi
2061
-        );
2062
         if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2010
         if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2063
           this.dialysisPrescription.anticoagulant_zongliang = ''
2011
           this.dialysisPrescription.anticoagulant_zongliang = ''
2064
         }
2012
         }
2065
-      },
2066
-      "dialysisPrescription.anticoagulant_weichi":function(){
2067
-        this.dialysisPrescription.anticoagulant_zongliang=calculateAnticoagulantZL(1,
2068
-          this.dialysisPrescription.anticoagulant_shouji,
2069
-          this.dialysisPrescription.dialysis_duration,
2070
-          this.dialysisPrescription.anticoagulant_weichi
2071
-        );
2013
+
2014
+
2015
+      }, 'dialysisPrescription.anticoagulant_weichi': function (val) {
2016
+        console.log(this.dialysisPrescription.anticoagulant_shouji)
2017
+        console.log(this.dialysisPrescription.anticoagulant_weichi)
2018
+        if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_weichi == '') {
2019
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(0)
2020
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_weichi != '') {
2021
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
2022
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_shouji == '') {
2023
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(0)
2024
+        } else if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_shouji != '') {
2025
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(this.dialysisPrescription.anticoagulant_shouji)
2026
+        }
2027
+
2072
         if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2028
         if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2073
           this.dialysisPrescription.anticoagulant_zongliang = ''
2029
           this.dialysisPrescription.anticoagulant_zongliang = ''
2030
+
2074
         }
2031
         }
2075
       },
2032
       },
2033
+
2076
       isShowDialog (val) {
2034
       isShowDialog (val) {
2077
         if (val) {
2035
         if (val) {
2078
           this.advice_visibility = false
2036
           this.advice_visibility = false
2081
     }
2039
     }
2082
   }
2040
   }
2083
 </script>
2041
 </script>
2042
+
2043
+
2084
 <style style="stylesheet/scss" lang="scss" scoped>
2044
 <style style="stylesheet/scss" lang="scss" scoped>
2085
   .DialogContent {
2045
   .DialogContent {
2086
   // padding-bottom:2rem !important;
2046
   // padding-bottom:2rem !important;
2101
     padding: 0 0.2rem;
2061
     padding: 0 0.2rem;
2102
     height: 0.85rem;
2062
     height: 0.85rem;
2103
     line-height: 0.85rem;
2063
     line-height: 0.85rem;
2104
-    border-radius:5px;
2064
+    border-radius:5px; 
2105
     color: #fff;
2065
     color: #fff;
2106
     margin-right: -3.5rem;
2066
     margin-right: -3.5rem;
2107
   }
2067
   }

+ 108 - 121
src/pages/main/dialog/new_order/AddNewOrders.vue View File

6
           <span class="iconfont">&#xe720;</span>返回
6
           <span class="iconfont">&#xe720;</span>返回
7
         </div>
7
         </div>
8
         <h1 class="name">新增医嘱</h1>
8
         <h1 class="name">新增医嘱</h1>
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
-        <span @click="addOrderByTemplateAction">选择医嘱模板</span>
13
-        <span @click="addNewOrderAction">新增医嘱内容</span>
14
-        <span @click="modifyOrderAction">修改医嘱内容</span>
15
-        <span @click="deleteOrderAction">删除医嘱内容</span>
12
+        <span class="newSpan" @click="addOrderByTemplateAction">选择模板</span>
13
+        <span class="newSpan" @click="addNewOrderAction">新增内容</span>
14
+        <span class="newSpan" @click="modifyOrderAction">修改内容</span>
15
+        <span class="newSpan" @click="deleteOrderAction">删除内容</span>
16
       </div>
16
       </div>
17
       <div class="content clearfix backgroundColor">
17
       <div class="content clearfix backgroundColor">
18
         <div style="overflow: hidden;">
18
         <div style="overflow: hidden;">
19
           <div class="cell" style="margin-top: 0;">
19
           <div class="cell" style="margin-top: 0;">
20
             <label>医嘱类型</label>
20
             <label>医嘱类型</label>
21
-            <el-input 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
           </div>
27
           </div>
23
           <div class="cell" style="margin-top: 0;">
28
           <div class="cell" style="margin-top: 0;">
24
             <label>开始时间</label>
29
             <label>开始时间</label>
25
             <el-input
30
             <el-input
31
+              class="typeInput"
26
               :value="start_time_str"
32
               :value="start_time_str"
27
               readonly
33
               readonly
28
               @focus="selectStartTimeAction"
34
               @focus="selectStartTimeAction"
37
             <label>开嘱时间 {{ record_date_str }}</label>
43
             <label>开嘱时间 {{ record_date_str }}</label>
38
           </div>
44
           </div>
39
         </div>
45
         </div>
40
-
41
-        <!-- <el-table :data="advices" border style="width: 100%" :row-class-name="tableRowClassName" @row-click="clickAdviceAction">
42
-            <el-table-column fixed prop="date" label="医嘱内容" width="150">
43
-              <template slot-scope="scope">
44
-                   {{ scope.row.title }}
45
-              </template>
46
-            </el-table-column>
47
-            <el-table-column prop="name" label="药品规格" width="120">
48
-              <template slot-scope="scope">
49
-              {{ scope.row.prescribing_number }}{{ scope.row.prescribing_number_unit }}
50
-              </template>
51
-            </el-table-column>
52
-            <el-table-column prop="province" label="开药数量" width="120">
53
-              <template slot-scope="scope">
54
-              {{ scope.row.prescribing_number }}{{ scope.row.prescribing_number_unit }}
55
-              </template>
56
-            </el-table-column>
57
-            <el-table-column prop="city" label="单次用量" width="120">
58
-              <template slot-scope="scope">
59
-
60
-              </template>
61
-            </el-table-column>
62
-            <el-table-column prop="address" label="给药途径" width="300">
63
-               <template slot-scope="scope">
64
-                   {{ scope.row.delivery_way }}
65
-               </template>
66
-            </el-table-column>
67
-            <el-table-column prop="zip" label="执行频率" width="120">
68
-              <template slot-scope="scope">
69
-                  {{ scope.row.execution_frequency }}
70
-              </template>
71
-            </el-table-column>
72
-          </el-table>-->
73
-      </div>
74
-      <div
75
-        id="newDialogContent"
76
-        class="DialogContent choose"
77
-        style="height: 6.2rem;"
78
-      >
79
-        <div class="newAddTable">
80
-          <table class="table">
81
-            <tr>
82
-              <th width="26%">医嘱内容</th>
83
-              <th width="20%">药品规格</th>
84
-              <th width="12%">开药数量</th>
85
-              <th width="12%">单次用量</th>
86
-              <th width="15%">给药途径</th>
87
-              <th width="15%">执行频率</th>
88
-            </tr>
89
-            <template v-for="(advice, advice_index) in advices">
90
-              <tr
91
-                :key="advice_index"
92
-                @click="clickAdviceAction(advice_index)"
93
-                :class="{
94
-                  'row-class-active':
95
-                    advice_index == selecting_advice_index &&
96
-                    selecting_subdrug_index < 0
97
-                }"
98
-              >
99
-                <td
100
-                  style="text-align: left; padding-left: 5px; padding-right: 5px;"
101
-                >
102
-                  {{ advice.title }}
103
-                </td>
104
-
105
-                <td v-if="advice.advice_desc">
106
-                  {{ advice.advice_desc }}{{ advice.drug_spec_unit }}
107
-                </td>
108
-
109
-                <td v-if="advice.prescribing_number">
110
-                  {{ advice.prescribing_number
111
-                  }}{{ advice.prescribing_number_unit }}
112
-                </td>
113
-                <td v-else></td>
114
-                <td v-if="advice.single_dose">
115
-                  {{ advice.single_dose }} {{ advice.single_dose_unit }}
116
-                </td>
117
-                <td v-else></td>
118
-
119
-                <td>{{ advice.delivery_way }}</td>
120
-
121
-                <td>{{ advice.execution_frequency }}</td>
46
+        <div
47
+          id="newDialogContent"
48
+          class="DialogContent choose"
49
+          style="height: 6.2rem;"
50
+        >
51
+          <div class="newAddTable">
52
+            <table class="table">
53
+              <tr>
54
+                <th width="30%">医嘱内容</th>
55
+                <th width="20%">药品规格</th>
56
+                <th width="10%">开药数量</th>
57
+                <th width="10%">单次用量</th>
58
+                <th width="15%">给药途径</th>
59
+                <th width="15%">执行频率</th>
122
               </tr>
60
               </tr>
123
-              <tr
124
-                v-for="(subdrug, subdrug_index) in advice.subdrugs"
125
-                :key="advice_index + '_' + subdrug_index"
126
-                @click="clickSubdrugAction(advice_index, subdrug_index)"
127
-                :class="{
128
-                  'row-class-active':
129
-                    advice_index == selecting_advice_index &&
130
-                    subdrug_index == selecting_subdrug_index
131
-                }"
132
-              >
133
-                <td
134
-                  style="text-align: left; padding-right: 5px; padding-left: 25px;"
61
+              <template v-for="(advice, advice_index) in advices">
62
+                <tr
63
+                  :key="advice_index"
64
+                  @click="clickAdviceAction(advice_index)"
65
+                  :class="{
66
+                    'row-class-active':
67
+                      advice_index == selecting_advice_index &&
68
+                      selecting_subdrug_index < 0
69
+                  }"
135
                 >
70
                 >
136
-                  {{ subdrug.title }}
137
-                </td>
138
-                <td>{{ subdrug.advice_desc }} {{ subdrug.drug_spec_unit }}</td>
139
-                <td>
140
-                  <span v-if="subdrug.prescribing_number"
141
-                    >{{ subdrug.prescribing_number
142
-                    }}{{ subdrug.prescribing_number_unit }}</span
71
+                  <td
72
+                    style="text-align: left; padding-left: 5px; padding-right: 5px;"
143
                   >
73
                   >
144
-                </td>
145
-                <td>
146
-                  <span v-if="subdrug.single_dose"
147
-                    >{{ subdrug.single_dose }}
148
-                    {{ subdrug.single_dose_unit }}</span
74
+                    {{ advice.title }}
75
+                  </td>
76
+                  <td v-if="advice.advice_desc">
77
+                    {{ advice.advice_desc }}{{ advice.drug_spec_unit }}
78
+                  </td>
79
+                  <td v-if="advice.prescribing_number">
80
+                    {{ advice.prescribing_number
81
+                    }}{{ advice.prescribing_number_unit }}
82
+                  </td>
83
+                  <td v-else></td>
84
+                  <td v-if="advice.single_dose">
85
+                    {{ advice.single_dose }} {{ advice.single_dose_unit }}
86
+                  </td>
87
+                  <td v-else></td>
88
+                  <td>{{ advice.delivery_way }}</td>
89
+                  <td>{{ advice.execution_frequency }}</td>
90
+                </tr>
91
+                <tr
92
+                  v-for="(subdrug, subdrug_index) in advice.subdrugs"
93
+                  :key="advice_index + '_' + subdrug_index"
94
+                  @click="clickSubdrugAction(advice_index, subdrug_index)"
95
+                  :class="{
96
+                    'row-class-active':
97
+                      advice_index == selecting_advice_index &&
98
+                      subdrug_index == selecting_subdrug_index
99
+                  }"
100
+                >
101
+                  <td
102
+                    style="text-align: left; padding-right: 5px; padding-left: 25px;"
149
                   >
103
                   >
150
-                </td>
151
-
152
-                <td></td>
153
-                <td></td>
154
-              </tr>
155
-            </template>
156
-          </table>
104
+                    {{ subdrug.title }}
105
+                  </td>
106
+                  <td>
107
+                    {{ subdrug.advice_desc }} {{ subdrug.drug_spec_unit }}
108
+                  </td>
109
+                  <td>
110
+                    <span v-if="subdrug.prescribing_number"
111
+                      >{{ subdrug.prescribing_number
112
+                      }}{{ subdrug.prescribing_number_unit }}</span
113
+                    >
114
+                  </td>
115
+                  <td>
116
+                    <span v-if="subdrug.single_dose"
117
+                      >{{ subdrug.single_dose }}
118
+                      {{ subdrug.single_dose_unit }}</span
119
+                    >
120
+                  </td>
121
+                  <!--<td v-if="subdrug.single_dose">{{ subdrug.single_dose }} {{ subdrug.single_dose_unit }}</td>-->
122
+                  <td></td>
123
+                  <td></td>
124
+                </tr>
125
+              </template>
126
+            </table>
127
+          </div>
157
         </div>
128
         </div>
158
       </div>
129
       </div>
159
     </div>
130
     </div>
409
 
380
 
410
     didSelectStartTime: function(time) {
381
     didSelectStartTime: function(time) {
411
       this.start_time_str = parseTime(time, "{y}-{m}-{d} {h}:{i}") + ":00";
382
       this.start_time_str = parseTime(time, "{y}-{m}-{d} {h}:{i}") + ":00";
383
+      console.log(".");
412
     },
384
     },
413
     didSelectTemplateAdvice: function(resp_advices) {
385
     didSelectTemplateAdvice: function(resp_advices) {
414
       this.show_dialog_key = 0;
386
       this.show_dialog_key = 0;
562
 <style style="stylesheet/scss" lang="scss" scoped>
534
 <style style="stylesheet/scss" lang="scss" scoped>
563
 #newDialogContent {
535
 #newDialogContent {
564
   @media only screen and (max-width: 415px) {
536
   @media only screen and (max-width: 415px) {
565
-    height: 10.8rem !important;
537
+    height: 8.8rem !important;
566
   }
538
   }
567
   @media only screen and (min-width: 768px) {
539
   @media only screen and (min-width: 768px) {
568
     height: 7.8rem !important;
540
     height: 7.8rem !important;
576
   // overflow: auto;
548
   // overflow: auto;
577
 }
549
 }
578
 .table {
550
 .table {
579
-  width: 768px;
551
+  width: 1200px;
580
   overflow-x: scroll;
552
   overflow-x: scroll;
581
   // margin-top: 0rem;
553
   // margin-top: 0rem;
554
+  @media only screen and (max-width: 767px) {
555
+    width: 1000px;
556
+  }
582
   tr {
557
   tr {
583
     th {
558
     th {
584
       background: $main-color;
559
       background: $main-color;
602
       line-height: 0.6rem;
577
       line-height: 0.6rem;
603
       color: $pgh-color;
578
       color: $pgh-color;
604
       font-size: 0.45rem;
579
       font-size: 0.45rem;
580
+      margin-bottom: 0.2rem;
605
     }
581
     }
606
     select {
582
     select {
607
       width: 100%;
583
       width: 100%;
637
     background: #badcff !important;
613
     background: #badcff !important;
638
   }
614
   }
639
 }
615
 }
616
+.newSpan {
617
+  padding: 0 0.3rem;
618
+}
640
 </style>
619
 </style>
641
 <style lang="scss">
620
 <style lang="scss">
642
 .newAddTable {
621
 .newAddTable {
644
     padding: 0;
623
     padding: 0;
645
   }
624
   }
646
 }
625
 }
626
+.typeInput {
627
+  .el-input__inner {
628
+    @media only screen and (min-width: 768px) {
629
+      height: 60px;
630
+      line-height: 60px;
631
+    }
632
+  }
633
+}
647
 </style>
634
 </style>

+ 1 - 1
src/pages/main/dialog/new_order/select_advice_template_dialog.vue View File

259
   min-height: 5rem;
259
   min-height: 5rem;
260
   overflow-y: scroll;
260
   overflow-y: scroll;
261
   @media only screen and (max-width: 811px) {
261
   @media only screen and (max-width: 811px) {
262
-    max-height: 12.8rem !important;
262
+    max-height: 11.8rem !important;
263
   }
263
   }
264
   ul {
264
   ul {
265
     li {
265
     li {

+ 7 - 20
src/pages/main/dialog/subMenu/MsgTip.vue View File

28
       <div class="item">
28
       <div class="item">
29
         <label class="name" for="txms">干体重(kg)</label>
29
         <label class="name" for="txms">干体重(kg)</label>
30
         <div class="content">
30
         <div class="content">
31
-          <span class="text" id="txms">{{ dry }}</span>
31
+          <span class="text" id="txms">{{ last_predialysis.dry_weight }}</span>
32
         </div>
32
         </div>
33
       </div>
33
       </div>
34
       <div class="item">
34
       <div class="item">
73
 import { parseTime } from "@/utils";
73
 import { parseTime } from "@/utils";
74
 
74
 
75
 export default {
75
 export default {
76
-  name: "MsgTip",
76
+  name: "LongAdviceSubMenu",
77
   created() {
77
   created() {
78
     if (
78
     if (
79
-      this.predialysis &&
80
-      this.predialysis.weight_before > 0 &&
81
-      this.predialysis.weight_after_last_transparency > 0
79
+      predialysis.weight_before > 0 &&
80
+      predialysis.weight_after_last_transparency > 0
82
     ) {
81
     ) {
83
-      this.add_weight = parseFloat(
84
-        this.predialysis.weight_before -
85
-          this.predialysis.weight_after_last_transparency
82
+      add_weight = parseFloat(
83
+        predialysis.weight_before - predialysis.weight_after_last_transparency
86
       ).toFixed(2);
84
       ).toFixed(2);
87
     }
85
     }
88
-
89
-    console.log(this.dry_weight);
90
-    if (this.dry_weight != null) {
91
-      this.dry = this.dry_weight.dry_weight;
92
-    } else {
93
-      this.dry = this.last_predialysis.dry_weight;
94
-    }
95
   },
86
   },
96
   data() {
87
   data() {
97
     return {
88
     return {
98
       result: [],
89
       result: [],
99
       id: 0,
90
       id: 0,
100
       selectName: "",
91
       selectName: "",
101
-      add_weight: 0,
102
-      dry: 0
92
+      add_weight: 0
103
     };
93
     };
104
   },
94
   },
105
   props: {
95
   props: {
124
     },
114
     },
125
     prescription_prop: {
115
     prescription_prop: {
126
       type: Object
116
       type: Object
127
-    },
128
-    dry_weight: {
129
-      type: Object
130
     }
117
     }
131
   },
118
   },
132
   computed: {
119
   computed: {

+ 1 - 1
src/pages/main/dialog/subMenu/multipleSubMenu.vue View File

609
 
609
 
610
 <style style="stylesheet/scss" scoped>
610
 <style style="stylesheet/scss" scoped>
611
 .DialogContent {
611
 .DialogContent {
612
-  // padding-bottom:2rem !important;
612
+  /* padding-bottom:2rem !important; */
613
 
613
 
614
   .textarea {
614
   .textarea {
615
     width: 100%;
615
     width: 100%;

+ 38 - 5
src/pages/personal/ChangePassword.vue View File

8
         <span class="name">修改密码</span>
8
         <span class="name">修改密码</span>
9
         <div class="GoBack"></div>
9
         <div class="GoBack"></div>
10
       </h1>
10
       </h1>
11
-      <van-field v-model="username" clearable label="旧密码" placeholder="请输入旧密码" />
12
-      <van-field v-model="sms" center clearable label="验证码" placeholder="请输入短信验证码">
13
-        <van-button slot="button" size="small" type="primary">发送验证码</van-button>
11
+      <van-field
12
+        v-model="username"
13
+        clearable
14
+        label="旧密码"
15
+        placeholder="请输入旧密码"
16
+      />
17
+      <van-field
18
+        v-model="sms"
19
+        center
20
+        clearable
21
+        label="验证码"
22
+        placeholder="请输入短信验证码"
23
+      >
24
+        <van-button
25
+          class="changeButton"
26
+          slot="button"
27
+          size="small"
28
+          type="primary"
29
+          >发送验证码</van-button
30
+        >
14
       </van-field>
31
       </van-field>
15
-      <van-field v-model="password" type="password" label="新密码" placeholder="请输入新密码" />
32
+      <van-field
33
+        v-model="password"
34
+        type="password"
35
+        label="新密码"
36
+        placeholder="请输入新密码"
37
+      />
16
       <div class="finish">完成</div>
38
       <div class="finish">完成</div>
17
     </div>
39
     </div>
18
   </div>
40
   </div>
19
 </template>
41
 </template>
20
 
42
 
21
-<style rel="stylesheet/scss" lang="scss" >
43
+<style rel="stylesheet/scss" lang="scss">
22
 .container {
44
 .container {
23
   background: #f5f5f5;
45
   background: #f5f5f5;
24
   @include box-sizing;
46
   @include box-sizing;
56
       }
78
       }
57
       .name {
79
       .name {
58
         margin-right: 1.3rem;
80
         margin-right: 1.3rem;
81
+        font-size: 0.5rem;
59
       }
82
       }
60
     }
83
     }
61
     .van-cell {
84
     .van-cell {
93
     line-height: 1.4rem;
116
     line-height: 1.4rem;
94
     margin-top: 1rem;
117
     margin-top: 1rem;
95
   }
118
   }
119
+  .changeButton {
120
+    font-size: 0.4rem !important;
121
+    border-radius: 5px;
122
+    @media only screen and (min-width: 768px) {
123
+      height: 50px;
124
+      line-height: 50px;
125
+      border-radius: 5px;
126
+      padding: 0 16px;
127
+    }
128
+  }
96
 }
129
 }
97
 </style>
130
 </style>

+ 2 - 0
src/pages/personal/ElectronicSignature.vue View File

419
     }
419
     }
420
     .name {
420
     .name {
421
       margin-right: 1.3rem;
421
       margin-right: 1.3rem;
422
+      font-size: 0.5rem;
422
     }
423
     }
423
   }
424
   }
424
   .information {
425
   .information {
503
     @media only screen and (min-width: 768px) {
504
     @media only screen and (min-width: 768px) {
504
       padding: 22px 42px;
505
       padding: 22px 42px;
505
       font-size: 0.45rem;
506
       font-size: 0.45rem;
507
+      // height: 0;
506
     }
508
     }
507
   }
509
   }
508
 }
510
 }

+ 6 - 2
src/pages/personal/index.vue View File

72
         <img class="bannerOne" src="../../assets/my/myBanner.png" alt />
72
         <img class="bannerOne" src="../../assets/my/myBanner.png" alt />
73
         <div class="avatar">
73
         <div class="avatar">
74
           <img src="../../assets/my/avatar.png" alt />
74
           <img src="../../assets/my/avatar.png" alt />
75
-          <p>用户姓名</p>
75
+          <p>{{user_name}}</p>
76
         </div>
76
         </div>
77
       </div>
77
       </div>
78
       <div class="list">
78
       <div class="list">
122
     return {
122
     return {
123
       electronicsignature: "",
123
       electronicsignature: "",
124
       myinfo: {},
124
       myinfo: {},
125
-      avatar: "@/assets/product/test.jpg"
125
+      avatar: "@/assets/product/test.jpg",
126
+      user_name: ""
126
     };
127
     };
127
   },
128
   },
128
   created() {
129
   created() {
132
     GetMyInfo() {
133
     GetMyInfo() {
133
       GetMyInfo().then(response => {
134
       GetMyInfo().then(response => {
134
         if (response.data.state == 1) {
135
         if (response.data.state == 1) {
136
+          var roleInfo = response.data.data.roleInfo;
137
+          this.user_name = roleInfo.user_name;
138
+          console.log("hhhhhhhhhhhhh", response.data.data.roleInfo);
135
           this.electronicsignature =
139
           this.electronicsignature =
136
             response.data.data.electronic_signature === null
140
             response.data.data.electronic_signature === null
137
               ? ""
141
               ? ""

+ 1 - 1
src/styles/style.scss View File

228
     @include text-align;
228
     @include text-align;
229
     margin: 0.25rem 0;
229
     margin: 0.25rem 0;
230
     color: #34495e;
230
     color: #34495e;
231
-    font-size: 0.4rem;
231
+    font-size: 0.45rem;
232
     padding: 0 0.16rem;
232
     padding: 0 0.16rem;
233
   }
233
   }
234
   .forbid {
234
   .forbid {