Преглед на файлове

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

xiaoming_global преди 5 години
родител
ревизия
7737a91bd5

Файловите разлики са ограничени, защото са твърде много
+ 3555 - 1086
package-lock.json


+ 7 - 3
src/pages/home/login.vue Целия файл

@@ -37,9 +37,9 @@
37 37
           >
38 38
             登录
39 39
           </button>
40
-          <router-link to="/forgetPassword">
41
-            <div class="newForget">忘记密码</div>
42
-          </router-link>
40
+          <!-- <router-link to="/forgetPassword"> -->
41
+          <div class="newForget" @click="ok">忘记密码</div>
42
+          <!-- </router-link> -->
43 43
           <!-- </router-link> -->
44 44
           <!-- <div class="forget">
45 45
           <a href="">免密码登录</a>
@@ -55,6 +55,7 @@
55 55
 import { loginByPwd } from "@/api/login";
56 56
 import { hex_md5 } from "@/utils/md5";
57 57
 import { getLoginInfoCache, cacheLoginInfo } from "@/utils/admin_info_cache";
58
+import { Toast } from "vant";
58 59
 
59 60
 export default {
60 61
   name: "Home",
@@ -115,6 +116,9 @@ export default {
115 116
     },
116 117
     to: function() {
117 118
       this.$router.push({ path: "/forgetPassword" });
119
+    },
120
+    ok() {
121
+      Toast.success("程序员还在开发中");
118 122
     }
119 123
   }
120 124
 };

+ 1 - 0
src/pages/main/PatientBox.vue Целия файл

@@ -296,6 +296,7 @@ export default {
296 296
   width: 47%;
297 297
   margin: 0 3% 0.5rem 0;
298 298
   float: left;
299
+  border-radius: 5px;
299 300
   @media only screen and (max-width: 415px) {
300 301
     width: 96% !important;
301 302
   }

+ 17 - 4
src/pages/main/dialog/AcceptsDialog.vue Целия файл

@@ -7,7 +7,11 @@
7 7
         <span class="success" @click="commitInfo">保存</span>
8 8
       </div>
9 9
       <div class="DialogContent choose">
10
-        <el-form :model="receiveTreatmentAsses" label-width="130px">
10
+        <el-form
11
+          class="acceptsForm"
12
+          :model="receiveTreatmentAsses"
13
+          label-width="130px"
14
+        >
11 15
           <el-form-item label="入室方式: " v-if="isShow('入室方式')">
12 16
             <el-radio v-model="receiveTreatmentAsses.way" label="1"
13 17
               >步行</el-radio
@@ -467,16 +471,25 @@ export default {
467 471
 }
468 472
 </style>
469 473
 <style lang="scss">
470
-.el-radio {
471
-  margin-right: 26px;
472
-  width: 2.4rem;
474
+.acceptsForm {
475
+  .el-radio {
476
+    margin-right: 20px;
477
+    width: 2.4rem;
478
+  }
473 479
 }
480
+
474 481
 .el-radio__inner {
475 482
   width: 20px;
476 483
   height: 20px;
484
+  @media only screen and (min-width: 768px) {
485
+    width: 26px;
486
+    height: 26px;
487
+    margin-bottom: 4px;
488
+  }
477 489
 }
478 490
 .illnessInput {
479 491
   .el-input__inner {
492
+    font-size: 0.45rem;
480 493
     @media only screen and (min-width: 768px) {
481 494
       height: 60px;
482 495
       line-height: 60px;

+ 1 - 0
src/pages/main/dialog/ComputerDialog.vue Целия файл

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

+ 41 - 22
src/pages/main/dialog/DoubleDialog.vue Целия файл

@@ -9,9 +9,9 @@
9 9
       <div style="height: 8rem" class="DialogContent choose">
10 10
         <el-form
11 11
           :inline="true"
12
-          class="demo-form-inline"
12
+          class="demo-form-inline doubleForm"
13 13
           :model="doubleReview"
14
-          label-width="140px"
14
+          label-width="3.4rem"
15 15
         >
16 16
           <el-form-item label="透析物品核查 : ">
17 17
             <el-radio v-model="doubleReview.dialysis_item_check" label="1"
@@ -21,15 +21,18 @@
21 21
               >错误</el-radio
22 22
             >
23 23
           </el-form-item>
24
-          <el-form-item label="差错描述 : " label-width="140px">
25
-            <el-input v-model="doubleReview.dialysis_item_desc"></el-input>
24
+          <el-form-item label="差错描述 : " label-width="3.4rem">
25
+            <el-input
26
+              class="doubleInput"
27
+              v-model="doubleReview.dialysis_item_desc"
28
+            ></el-input>
26 29
           </el-form-item>
27 30
         </el-form>
28 31
         <el-form
29 32
           :inline="true"
30
-          class="demo-form-inline"
33
+          class="demo-form-inline doubleForm"
31 34
           :model="doubleReview"
32
-          label-width="140px"
35
+          label-width="3.4rem"
33 36
         >
34 37
           <el-form-item label="透析参数核查 : ">
35 38
             <el-radio v-model="doubleReview.dialysis_parameter_check" label="1"
@@ -39,15 +42,18 @@
39 42
               >错误</el-radio
40 43
             >
41 44
           </el-form-item>
42
-          <el-form-item label="差错描述 : " label-width="140px">
43
-            <el-input v-model="doubleReview.dialysis_parameter_desc"></el-input>
45
+          <el-form-item label="差错描述 : " label-width="3.4rem">
46
+            <el-input
47
+              class="doubleInput"
48
+              v-model="doubleReview.dialysis_parameter_desc"
49
+            ></el-input>
44 50
           </el-form-item>
45 51
         </el-form>
46 52
         <el-form
47 53
           :inline="true"
48
-          class="demo-form-inline"
54
+          class="demo-form-inline doubleForm"
49 55
           :model="doubleReview"
50
-          label-width="140px"
56
+          label-width="3.4rem"
51 57
         >
52 58
           <el-form-item label="血管通路核查 : ">
53 59
             <!--<el-radio-group v-model="form.appetite">-->
@@ -65,15 +71,18 @@
65 71
               >错误</el-radio
66 72
             >
67 73
           </el-form-item>
68
-          <el-form-item label="差错描述 : " label-width="140px">
69
-            <el-input v-model="doubleReview.vascular_access_desc"></el-input>
74
+          <el-form-item label="差错描述 : " label-width="3.4rem">
75
+            <el-input
76
+              class="doubleInput"
77
+              v-model="doubleReview.vascular_access_desc"
78
+            ></el-input>
70 79
           </el-form-item>
71 80
         </el-form>
72 81
         <el-form
73 82
           :inline="true"
74
-          class="demo-form-inline"
83
+          class="demo-form-inline doubleForm"
75 84
           :model="doubleReview"
76
-          label-width="140px"
85
+          label-width="3.4rem"
77 86
         >
78 87
           <el-form-item label="管道连接核查 : ">
79 88
             <!--<el-radio-group v-model="form.condition">-->
@@ -85,8 +94,9 @@
85 94
             >
86 95
             <!--</el-radio-group>-->
87 96
           </el-form-item>
88
-          <el-form-item label="差错描述 : " label-width="140px">
97
+          <el-form-item label="差错描述 : " label-width="3.4rem">
89 98
             <el-input
99
+              class="doubleInput"
90 100
               v-model="doubleReview.pipeline_connection_desc"
91 101
             ></el-input>
92 102
           </el-form-item>
@@ -97,7 +107,7 @@
97 107
           <div class="content">
98 108
             <span
99 109
               class="text"
100
-              style="width: 160px"
110
+              style="width: 3.4rem"
101 111
               @click="selectCheckTimeAction"
102 112
               >{{ check_time_str }}</span
103 113
             >
@@ -107,9 +117,9 @@
107 117
 
108 118
         <el-form
109 119
           :inline="true"
110
-          class="demo-form-inline"
120
+          class="demo-form-inline doubleForm"
111 121
           :model="doubleReview"
112
-          label-width="160px"
122
+          label-width="3.4rem"
113 123
         >
114 124
           <p style="margin: 10px 0 10px 13px;" v-if="doubleReview.creater != 0">
115 125
             {{ getFirstCheckDesc() }}
@@ -542,12 +552,16 @@ export default {
542 552
 }
543 553
 </style>
544 554
 <style lang="scss">
545
-.el-radio__inner {
546
-  @media only screen and (min-width: 768px) {
547
-    width: 20px;
548
-    height: 20px;
555
+.doubleForm {
556
+  .el-radio__inner {
557
+    @media only screen and (min-width: 768px) {
558
+      width: 26px;
559
+      height: 26px;
560
+      margin-bottom: 4px;
561
+    }
549 562
   }
550 563
 }
564
+
551 565
 .el-radio__input {
552 566
   @media only screen and (min-width: 768px) {
553 567
     margin-top: -6px;
@@ -558,4 +572,9 @@ export default {
558 572
     font-size: 0.45rem;
559 573
   }
560 574
 }
575
+.doubleInput {
576
+  .el-input__inner {
577
+    font-size: 0.45rem;
578
+  }
579
+}
561 580
 </style>

+ 11 - 15
src/pages/main/dialog/MonitDialog.vue Целия файл

@@ -18,17 +18,17 @@
18 18
           <div style="width:100%;overflow:hildden;">
19 19
             <table class="table" style="">
20 20
               <tr @click="selectRow(-1, null)">
21
-                <th v-if="isShow('监测时间')" width="124px">时间</th>
22
-                <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
23
-                <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
24
-                <th v-if="isShow('体温')" width="80px">体温(℃)</th>
25
-                <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
26
-                <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
21
+                <th v-if="isShow('监测时间')" width="60px">时间</th>
22
+                <th v-if="isShow('血压')" width="60px">血压(mmHg)</th>
23
+                <th v-if="isShow('脉搏')" width="50px">脉搏(次/分)</th>
24
+                <th v-if="isShow('体温')" width="50px">体温(℃)</th>
25
+                <th v-if="isShow('呼吸频率')" width="80px">呼吸频率(次/分)</th>
26
+                <th v-if="isShow('血流量')" width="70px">血流量(ml/min)</th>
27 27
                 <th width="76px">静脉压/动脉压(mmHg)</th>
28
-                <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmHg)</th>
29
-                <th v-if="isShow('超滤量') && template_id ==6" width="76px">超滤量(ml)</th>
30
-                <th v-if="isShow('超滤量') && template_id !=6" width="76px">超滤量(L)</th>
31
-                <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
28
+                <th v-if="isShow('跨膜压')" width="70px">跨膜压(mmHg)</th>
29
+                <th v-if="isShow('超滤量') && template_id ==6" width="60px">超滤量(ml)</th>
30
+                <th v-if="isShow('超滤量') && template_id !=6" width="60px">超滤量(L)</th>
31
+                <th v-if="isShow('钠浓度')" width="82px">钠浓度(mmol/L)</th>
32 32
                 <th v-if="isShow('透析液温度')" width="82px">透析液温度(℃)</th>
33 33
                 <th v-if="isShow('置换率') && template_id ==6" width="92px">置换率(ml/min)</th>
34 34
                 <th v-if="isShow('置换率') && template_id !=6" width="92px">置换率(L/h)</th>
@@ -559,11 +559,7 @@ export default {
559 559
       this.$emit('close')
560 560
     },
561 561
     setRecords (records) {
562
-      if (records == null) {
563
-        records = []
564
-      }
565
-      this.tableDate.splice(0, this.tableDate.length)
566
-      this.tableDate.push(...records)
562
+        this.monitorRecords = records
567 563
     },
568 564
     parseTime (time, layout) {
569 565
       return parseTime(time, layout)

+ 26 - 11
src/pages/main/dialog/OrdersDialog.vue Целия файл

@@ -1,8 +1,8 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="Dialog" v-show="index==0" style="width: 11.8rem;">
4
-      <div class="DialogTit" @click="$emit('orderDialog')">
5
-        <span class="iconfont">&#xe6e9;</span>
4
+      <div class="DialogTit">
5
+        <span class="iconfont" @click="$emit('orderDialog')">&#xe6e9;</span>
6 6
         <h1 class="name">临时医嘱</h1>
7 7
         <span class="success">&nbsp;</span>
8 8
       </div>
@@ -20,7 +20,7 @@
20 20
           v-if="isShowMofifyExce"
21 21
           @click="modifyExecAdvice"
22 22
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0) }"
23
-        >修改</span>
23
+        >执行</span>
24 24
         <span
25 25
           v-if="template_id != 6"
26 26
           @click="checkAdvice"
@@ -34,28 +34,28 @@
34 34
         <span
35 35
           v-if="currentSubAdvices.length <= 0"
36 36
           @click="modifyAdviceAction"
37
-          :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1 }"
37
+          :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
38 38
         >修改</span>
39 39
         <span
40 40
           v-if="currentSubAdvices.length <= 0"
41 41
           @click="deleteAdviceAction"
42
-          :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0  }"
42
+          :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
43 43
         >删除</span>
44 44
 
45
-        <span v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
-        <span v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
45
+        <span :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
+        <span :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
47 47
       </div>
48 48
       <div class="DialogContent choose" id="dialogTop" style="height:6.5rem;">
49
-       
49
+
50 50
         <div class="content clearfix">
51 51
           <div class="orderTable">
52 52
 
53 53
             <table class="table">
54 54
               <tr @click="cancelAdviceSelect">
55 55
                 <th width="8%">开嘱医生</th>
56
-                <th width="16%">开始时间</th>
57
-                <th width="44%">医嘱内容</th>
58
-                <th width="16%">执行时间</th>
56
+                <th width="12%">开始时间</th>
57
+                <th width="52%">医嘱内容</th>
58
+                <th width="12%">执行时间</th>
59 59
                 <th width="8%">执行护士</th>
60 60
                 <th v-if="template_id != 6" width="8%">核对人员</th>
61 61
               </tr>
@@ -781,6 +781,9 @@
781 781
         }
782 782
         return year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':00'
783 783
       }, deleteSubAdviceAction: function () {
784
+        if (this.$store.getters.user.user.user_type == 3&& !this.isPremission){
785
+          return
786
+        }
784 787
         if (this.currentSubAdvices.length <= 0) {
785 788
           return
786 789
         }
@@ -820,6 +823,9 @@
820 823
 
821 824
       },
822 825
       deleteAdviceAction: function () {
826
+        if (this.$store.getters.user.user.user_type == 3&& !this.isPremission){
827
+          return
828
+        }
823 829
         if (this.current_select_object == 1) {
824 830
           if (this.currentAdvices.length <= 0) {
825 831
             return
@@ -1184,6 +1190,9 @@
1184 1190
         this.current_advice_index = -1
1185 1191
         this.current_advice = null
1186 1192
       }, modifySubdviceAction: function () {
1193
+        if (this.$store.getters.user.user.user_type == 3&& !this.isPremission){
1194
+          return
1195
+        }
1187 1196
         if (this.currentSubAdvices.length <= 0) {
1188 1197
           return
1189 1198
         }
@@ -1210,6 +1219,9 @@
1210 1219
 
1211 1220
       },
1212 1221
       modifyAdviceAction: function () {
1222
+        if (this.$store.getters.user.user.user_type == 3 && !this.isPremission){
1223
+          return
1224
+        }
1213 1225
         if (this.current_group_index < 0) {
1214 1226
           return
1215 1227
         }
@@ -1386,6 +1398,9 @@
1386 1398
 }
1387 1399
 .table {
1388 1400
   width: 1200px;
1401
+  @media only screen and (max-width: 767px) {
1402
+      width: 800px;
1403
+    }
1389 1404
   tr {
1390 1405
     th {
1391 1406
       background: $main-color;

+ 186 - 225
src/pages/main/dialog/PrescriptionDialog.vue Целия файл

@@ -4,14 +4,15 @@
4 4
     <div v-if="isShowDialog" class="Dialog">
5 5
       <div class="DialogTit">
6 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 10
         <span @click="commitInfo" class="success" v-if="!isPermission()"></span>
11 11
 
12 12
       </div>
13 13
 
14
-      <div class="DialogContent" id="dialogTop">
14
+      <div class="DialogContent newDialogContent" id="dialogTop">
15
+        <div>
15 16
         <div @click="showSubMenu('mode')" class="item" ref="mode" v-if="isShow('透析模式')">
16 17
           <label class="name" for="txms">透析模式</label>
17 18
           <div class="content">
@@ -35,7 +36,6 @@
35 36
         </div>
36 37
 
37 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 39
           <label class="name" for="mbcll">目标超滤量(L)</label>
40 40
           <div class="content">
41 41
             <input type="tel" @focus="inputFocus" id="mbcll" v-model="dialysisPrescription.target_ultrafiltration"/>
@@ -60,57 +60,37 @@
60 60
         </div>
61 61
 
62 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 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 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 67
           </div>
76 68
         </div>
77 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 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 73
                    v-model="dialysisPrescription.anticoagulant_weichi"
87 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 75
           </div>
92 76
         </div>
93 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 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 80
           <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 4">总量(mg)</label>
98 81
           <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 5">总量(mg)</label>
99 82
           <label class="name" for="zl" v-if="dialysisPrescription.anticoagulant == 1">总量(mg)</label>
100 83
 
101 84
 
102 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 87
                    v-model="dialysisPrescription.anticoagulant_zongliang"
105 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 89
           </div>
110 90
         </div>
111 91
 
112 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 94
           <div class="content">
115 95
             <input type="text" id="g" class="inputBox" v-model="dialysisPrescription.anticoagulant_gaimingcheng"
116 96
                    :disabled="anticoagulant.gaimingcheng==1?false:true">
@@ -118,10 +98,10 @@
118 98
         </div>
119 99
 
120 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 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 105
           </div>
126 106
         </div>
127 107
         <!-- <div class="item">
@@ -132,7 +112,7 @@
132 112
         </div> -->
133 113
 
134 114
         <div class="line"></div>
135
-        <div class="item" v-if="isShow('置换量')" v-show="zhiShow">
115
+        <div class="item" v-if="isShow('置换量')">
136 116
           <label class="name" for="zhy">置换量(L)</label>
137 117
           <div class="content">
138 118
             <input type="tel" @focus="inputFocus" id="zhy" v-model="dialysisPrescription.replacement_total"/>
@@ -196,15 +176,7 @@
196 176
             <input type="tel" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
197 177
           </div>
198 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 180
           <label class="name" for="dtl">透析器/灌流器</label>
209 181
           <div class="content">
210 182
 
@@ -243,16 +215,15 @@
243 215
           </div>
244 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 220
           <div class="content">
250 221
             <span class="text" id="knjaa">{{getDisplaceLiquiPart(dialysisPrescription.displace_liqui_part)}}</span>
251 222
             <span class="iconfont">&#xe6f9;</span>
252 223
           </div>
253 224
         </div>
254 225
 
255
-        <div class="item" v-if="isShow('置换液总量')" v-show="totalShow">
226
+        <div class="item" v-if="isShow('置换液总量')">
256 227
           <label class="name" for="knj">置换液总量(L)</label>
257 228
           <div class="content">
258 229
             <input @focus="inputFocus" id="dt" v-model="dialysisPrescription.displace_liqui_value"/>
@@ -309,14 +280,14 @@
309 280
           <textarea class="textarea" id="bz" placeholder="请输入内容" v-model="dialysisPrescription.remark"
310 281
                     @focus="lastInputFocus" @blur="lastInputBlur"></textarea>
311 282
         </div>
312
-
283
+        </div>
313 284
         <!--<div class="footer">-->
314 285
         <!--处方医生:刘小军 医生-->
315 286
         <!--</div>-->
316 287
         <div class="PrescSubmit">
317 288
           <button style="display: none" class="tj" @click="sign()">医生签名</button>
318 289
           <button class="tjcq" @click="commitSolutionInfo" v-if="isPermission()">保存并设为长期处方</button>
319
-          <button class="tj" @click="commitInfo" v-if="isPermission()">保存</button>
290
+          <button class="tj" style="display:none;" @click="commitInfo" v-if="isPermission()">保存</button>
320 291
         </div>
321 292
       </div>
322 293
     </div>
@@ -341,12 +312,11 @@
341 312
     <long-advice-sub-menu :visibility="advice_visibility" v-on:menu-cancle-three="menuCancleThree"
342 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 316
              :last_predialysis="last_predialysis"
346 317
              :record="record"
347 318
              :last_record="last_record"
348 319
              :patient_prop="patient"
349
-             :dry_weight="dry_weight"
350 320
              :prescription_prop="prescription_prop"
351 321
              v-on:menu-msg-tip="menuMsgTip"></msg-tip>
352 322
 
@@ -357,7 +327,6 @@
357 327
   import CheckBoxSubMenu from './subMenu/checkBoxSubMenu'
358 328
   import MultipleSubMenu from './subMenu/multipleSubMenu'
359 329
   import {commitDialysisPrescription, CreateGroupAdvice, GetSolution, postSign, postSolution} from '@/api/dialysis'
360
-  import { calculateAnticoagulantZL} from '@/utils/tools'
361 330
 
362 331
   import {Toast} from 'vant'
363 332
   import {getDataConfig} from '@/utils/data'
@@ -453,7 +422,6 @@
453 422
         msgtip_visibility: false,
454 423
         time: '03:00',
455 424
         timeValue: '',
456
-        tempTimeValue:'',
457 425
         isShowSign: false,
458 426
         anticoagulantsConfit: {},
459 427
         dialysateFormulationOptions: [],
@@ -466,8 +434,8 @@
466 434
           result: [],
467 435
           operators: [],
468 436
 
469
-        },
470
-        is_show: false,
437
+      },
438
+      is_show: false,
471 439
 
472 440
         perfusion_apparatus: {},
473 441
         replacementWays: [],
@@ -619,7 +587,7 @@
619 587
         }
620 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 593
       inputFocus: function (event) {
@@ -689,139 +657,139 @@
689 657
             this.propForm.selectId = this.dialysisPrescription.perfusion_apparatus
690 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 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 766
             } else {
802 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 794
       menuComfirmThree: function (targetAdvices) {
827 795
 
@@ -1024,6 +992,10 @@
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
 
@@ -1969,10 +1941,6 @@
1969 1941
 
1970 1942
       }
1971 1943
 
1972
-
1973
-
1974
-
1975
-
1976 1944
       if (this.dialysisPrescription.dialysis_duration_hour.length == 0 || this.dialysisPrescription.dialysis_duration_minute.length == 0) {
1977 1945
         this.timeValue = ''
1978 1946
         this.time = '03:00'
@@ -2021,19 +1989,6 @@
2021 1989
       this.dialysisPrescription.ultrafiltration = this.getFloat(this.dialysisPrescription.ultrafiltration)
2022 1990
       this.dialysisPrescription.target_ultrafiltration = this.getFloat(this.dialysisPrescription.target_ultrafiltration)
2023 1991
 
2024
-      if(this.dialysisPrescription.anticoagulant_shouji == ''){
2025
-        this.dialysisPrescription.anticoagulant_shouji = '0'
2026
-      }
2027
-
2028
-      if(this.dialysisPrescription.anticoagulant_weichi == ''){
2029
-        this.dialysisPrescription.anticoagulant_weichi = '0'
2030
-      }
2031
-
2032
-      if(this.dialysisPrescription.anticoagulant_zongliang == ''){
2033
-        this.dialysisPrescription.anticoagulant_weichi = '0'
2034
-      }
2035
-
2036
-
2037 1992
     },
2038 1993
 
2039 1994
     components: {
@@ -2044,37 +1999,40 @@
2044 1999
       CheckBoxSubMenu
2045 2000
     },
2046 2001
     watch: {
2047
-      "dialysisPrescription.dialysis_duration":function(){
2048
-        console.log(this.dialysisPrescription.dialysis_duration)
2049
-        this.dialysisPrescription.anticoagulant_zongliang=calculateAnticoagulantZL(1,
2050
-          this.dialysisPrescription.anticoagulant_shouji,
2051
-          this.dialysisPrescription.dialysis_duration,
2052
-          this.dialysisPrescription.anticoagulant_weichi
2053
-        );
2054
-        if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2055
-          this.dialysisPrescription.anticoagulant_zongliang = ''
2002
+      'dialysisPrescription.anticoagulant_shouji': function (val) {
2003
+        if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_weichi == '') {
2004
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(0)
2005
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_weichi != '') {
2006
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
2007
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_shouji == '') {
2008
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(0)
2009
+        } else if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_shouji != '') {
2010
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(this.dialysisPrescription.anticoagulant_shouji)
2056 2011
         }
2057
-      },
2058
-      "dialysisPrescription.anticoagulant_shouji":function(){
2059
-        this.dialysisPrescription.anticoagulant_zongliang=calculateAnticoagulantZL(1,
2060
-          this.dialysisPrescription.anticoagulant_shouji,
2061
-          this.dialysisPrescription.dialysis_duration,
2062
-          this.dialysisPrescription.anticoagulant_weichi
2063
-        );
2064 2012
         if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2065 2013
           this.dialysisPrescription.anticoagulant_zongliang = ''
2066 2014
         }
2067
-      },
2068
-      "dialysisPrescription.anticoagulant_weichi":function(){
2069
-        this.dialysisPrescription.anticoagulant_zongliang=calculateAnticoagulantZL(1,
2070
-          this.dialysisPrescription.anticoagulant_shouji,
2071
-          this.dialysisPrescription.dialysis_duration,
2072
-          this.dialysisPrescription.anticoagulant_weichi
2073
-        );
2015
+
2016
+
2017
+      }, 'dialysisPrescription.anticoagulant_weichi': function (val) {
2018
+        console.log(this.dialysisPrescription.anticoagulant_shouji)
2019
+        console.log(this.dialysisPrescription.anticoagulant_weichi)
2020
+        if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_weichi == '') {
2021
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(0)
2022
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_weichi != '') {
2023
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(this.dialysisPrescription.anticoagulant_weichi)
2024
+        } else if (this.dialysisPrescription.anticoagulant_shouji != '' && this.dialysisPrescription.anticoagulant_shouji == '') {
2025
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) + parseInt(0)
2026
+        } else if (this.dialysisPrescription.anticoagulant_shouji == '' && this.dialysisPrescription.anticoagulant_shouji != '') {
2027
+          this.dialysisPrescription.anticoagulant_zongliang = parseInt(0) + parseInt(this.dialysisPrescription.anticoagulant_shouji)
2028
+        }
2029
+
2074 2030
         if(isNaN(this.dialysisPrescription.anticoagulant_zongliang)){
2075 2031
           this.dialysisPrescription.anticoagulant_zongliang = ''
2032
+
2076 2033
         }
2077 2034
       },
2035
+
2078 2036
       isShowDialog (val) {
2079 2037
         if (val) {
2080 2038
           this.advice_visibility = false
@@ -2083,6 +2041,8 @@
2083 2041
     }
2084 2042
   }
2085 2043
 </script>
2044
+
2045
+
2086 2046
 <style style="stylesheet/scss" lang="scss" scoped>
2087 2047
   .DialogContent {
2088 2048
   // padding-bottom:2rem !important;
@@ -2099,11 +2059,12 @@
2099 2059
   }
2100 2060
   }
2101 2061
   .newButton{
2062
+    
2102 2063
     background: #258ffc;
2103 2064
     padding: 0 0.2rem;
2104 2065
     height: 0.85rem;
2105 2066
     line-height: 0.85rem;
2106
-    border-radius:5px;
2067
+    border-radius:5px; 
2107 2068
     color: #fff;
2108 2069
     margin-right: -3.5rem;
2109 2070
   }

+ 1 - 1
src/pages/main/dialog/new_order/AddNewOrders.vue Целия файл

@@ -602,7 +602,7 @@ export default {
602 602
   }
603 603
 }
604 604
 .newSpan {
605
-  padding: 0 0.4rem;
605
+  padding: 0 0.3rem;
606 606
 }
607 607
 </style>
608 608
 <style lang="scss">

+ 5 - 18
src/pages/main/dialog/subMenu/MsgTip.vue Целия файл

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

+ 2 - 3
src/pages/main/dialog/subMenu/multipleSubMenu.vue Целия файл

@@ -214,8 +214,7 @@
214 214
       :show="is_show"
215 215
       v-on:menu-cancle="menuCancle"
216 216
       v-on:menu-comfirm="menuComfirm"
217
-      v-on:menu-empty="menuEmpty"
218
-      :propsForm="propForm"
217
+       :propsForm="propForm"
219 218
     ></new-check-box-sub-menu>
220 219
   </div>
221 220
 </template>
@@ -609,7 +608,7 @@ export default {
609 608
 
610 609
 <style style="stylesheet/scss" scoped>
611 610
 .DialogContent {
612
-  // padding-bottom:2rem !important;
611
+  /* padding-bottom:2rem !important; */
613 612
 
614 613
   .textarea {
615 614
     width: 100%;

+ 3 - 12
src/pages/main/today/TodayTab.vue Целия файл

@@ -182,7 +182,7 @@
182 182
     </van-popup>
183 183
 
184 184
     <van-popup
185
-      title="双人对"
185
+      title="双人对"
186 186
       v-model="menuList[5].showPopup"
187 187
       :overlay="true"
188 188
       :close-on-click-overlay="false"
@@ -427,7 +427,7 @@ import {parseTime} from '@/utils'
427 427
           steps[1].value = 1
428 428
         }
429 429
 
430
-        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.evaluator > 0) {
430
+        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.creater > 0) {
431 431
           steps[2].value = 1
432 432
         }
433 433
 
@@ -496,19 +496,10 @@ import {parseTime} from '@/utils'
496 496
 
497 497
     didAddMonitor (monitor) {
498 498
       this.monitor_records.push(monitor)
499
-
500 499
       this.monitor_records.sort((a, b) => b.operate_time - a.operate_time)
501
-
502
-      // for (let index = 0; index < this.monitor_records.length; index++) {
503
-      //   const record = this.monitor_records[index];
504
-      //   if (record.operate_time <= monitor.operate_time) {
505
-      //     this.monitor_records.splice(index, 0, monitor)
506
-      //     break
507
-      //   }
508
-      // }
509 500
       this.monitor_records.reverse()
501
+      this.$refs.monit_dialog.setRecords(this.monitor_records)
510 502
       this.last_monitor_record = monitor
511
-      // this.$refs.plane_dialog.set_last_monitor_record(monitor)
512 503
     },
513 504
 
514 505
     didEditMonitor (monitor) {

+ 1 - 1
src/pages/main/today/detailsInfo.vue Целия файл

@@ -91,7 +91,7 @@ export default {
91 91
         { title: "透前评估" },
92 92
         { title: "临时医嘱" },
93 93
         { title: "透析上机" },
94
-        { title: "双人对" },
94
+        { title: "双人对" },
95 95
         { title: "透析监测" },
96 96
         { title: "透析下机" },
97 97
         { title: "透后评估" },

+ 13 - 9
src/pages/personal/index.vue Целия файл

@@ -72,7 +72,7 @@
72 72
         <img class="bannerOne" src="../../assets/my/myBanner.png" alt />
73 73
         <div class="avatar">
74 74
           <img src="../../assets/my/avatar.png" alt />
75
-          <p>{{user_name}}</p>
75
+          <p>{{ user_name }}</p>
76 76
         </div>
77 77
       </div>
78 78
       <div class="list">
@@ -85,15 +85,15 @@
85 85
             <span class="iconfont jiantou">&#xe6f9;</span>
86 86
           </div>
87 87
         </router-link>
88
-        <router-link to="/ChangePassword">
89
-          <div class="name">
90
-            <div class="left">
91
-              <img src="../../assets/my/modification.png" alt />
92
-              <span>修改密码</span>
93
-            </div>
94
-            <span class="iconfont jiantou">&#xe6f9;</span>
88
+        <!-- <router-link to="/ChangePassword"> -->
89
+        <div class="name" @click="okk">
90
+          <div class="left">
91
+            <img src="../../assets/my/modification.png" alt />
92
+            <span>修改密码</span>
95 93
           </div>
96
-        </router-link>
94
+          <span class="iconfont jiantou">&#xe6f9;</span>
95
+        </div>
96
+        <!-- </router-link> -->
97 97
         <div class="name" @click="logout">
98 98
           <div class="left">
99 99
             <img src="../../assets/my/exit.png" alt />
@@ -111,6 +111,7 @@
111 111
 import SideBar from "@/pages/layout/SideBar";
112 112
 import EditPersonal from "./EditPersonal";
113 113
 import { GetMyInfo } from "@/api/admin_user";
114
+import { Toast } from "vant";
114 115
 
115 116
 export default {
116 117
   name: "PersonalIndex",
@@ -150,6 +151,9 @@ export default {
150 151
     logout: function() {
151 152
       // TODO 请求退出登录接口
152 153
       this.$router.push("/");
154
+    },
155
+    okk() {
156
+      Toast.success("程序员还在开发中");
153 157
     }
154 158
   }
155 159
 };

+ 1 - 1
src/pages/waitingRoom/components/details.vue Целия файл

@@ -80,7 +80,7 @@
80 80
         ></dialysis-computer>
81 81
         <double-check
82 82
           ref="double_check"
83
-          title="双人对 "
83
+          title="双人对 "
84 84
           :record="double_check"
85 85
         ></double-check>
86 86
         <dialysis-monitoring

+ 1 - 1
src/pages/waitingRoom/components/dialog/doubleCheck.vue Целия файл

@@ -113,7 +113,7 @@ export default {
113 113
         pipeline_connection_desc: "",
114 114
         collator: ""
115 115
       },
116
-      title: "双人对 ",
116
+      title: "双人对 ",
117 117
       patient: {
118 118
         id: 0
119 119
       },

+ 1 - 1
src/styles/style.scss Целия файл

@@ -542,7 +542,7 @@ body {
542 542
       button {
543 543
         padding: 0 0.32rem;
544 544
         border: $main-color;
545
-        font-size: 0.36rem;
545
+        font-size: 0.45rem;
546 546
         text-align: center;
547 547
         height: 1rem;
548 548
         line-height: 0.7rem;