See999 4 years ago
parent
commit
e5cb8a4334

+ 118 - 29
src/pages/main/dialog/MonitDialog.vue View File

@@ -10,34 +10,118 @@
10 10
         <div style="width:100%;background: #fff;">
11 11
           <div class="yzNav" style="width:80%">
12 12
             <span :class="{ forbid: is_has_create != true }" @click="openForm()">新增监测</span>
13
-            <span :class="{ forbid: is_has_modify != true && is_has_modify_other != true }" @click="openEidtForm()">修改监测</span>
14
-            <span :class="{ forbid: is_has_del != true && is_has_del_other != true }" @click="deleteForm()">删除监测</span>
13
+            <span
14
+              :class="{ forbid: is_has_modify != true && is_has_modify_other != true }"
15
+              @click="openEidtForm()"
16
+            >修改监测</span>
17
+            <span
18
+              :class="{ forbid: is_has_del != true && is_has_del_other != true }"
19
+              @click="deleteForm()"
20
+            >删除监测</span>
15 21
           </div>
16 22
         </div>
17 23
         <div class="DialogContent choose" id="dialogTop">
18 24
           <div style="width:100%;overflow:hildden;">
19
-            <table class="table" style>
25
+            <table class="table newMonitTable" style>
20 26
               <tr @click="selectRow(-1, null)">
21 27
                 <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
-                <th width="76px">静脉压/动脉压(mmHg)</th>
28
-                <th v-if="isShow('跨膜压')" width="70px">跨膜压(mmHg)</th>
29
-                <th v-if="isShow('超滤量') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12)" width="60px">超滤量(ml)</th>
30
-                <th v-if="isShow('超滤量') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12" width="60px">超滤量(L)</th>
31
-                <th v-if="isShow('钠浓度')" width="82px">钠浓度(mmol/L)</th>
32
-                <th v-if="isShow('透析液温度')" width="82px">透析液温度(℃)</th>
33
-                <th v-if="isShow('置换率') && (template_id ==6 || template_id == 10 || template_id == 11)" width="92px">置换率(ml/min)</th>
34
-                <th v-if="isShow('置换率') && template_id !=6 && template_id !=10 && template_id != 11" width="92px">置换率(L/h)</th>
35
-                <th v-if="isShow('置换量') && (template_id ==6 || template_id ==10 ||template_id ==11 )" width="50px">置换量(ml)</th>
36
-                <th v-if="isShow('置换量') && template_id !=6 && template_id !=10 && template_id !=11" width="50px">置换量(L)</th>
37
-                <th v-if="isShow('SpO₂')  && template_id !=6 && template_id !=10 && template_id !=11" width="50px">SpO₂(%)</th>
38
-                <th v-if="isShow('电导度')" width="50px">电导度(mS/cm)</th>
39
-                <th v-if="isShow('置换液流量')" width="50px">置换液流量(ml/h)</th>
40
-                <th v-if="isShow('肝素用量余量')" width="50px">肝素用量余量(ml)</th>
28
+                <th v-if="isShow('血压')" width="60px">
29
+                  血压
30
+                  <br />(mmHg)
31
+                </th>
32
+                <th v-if="isShow('脉搏')" width="50px">
33
+                  脉搏
34
+                  <br />(次/分)
35
+                </th>
36
+                <th v-if="isShow('体温')" width="40px">
37
+                  体温
38
+                  <br />(℃)
39
+                </th>
40
+                <th v-if="isShow('呼吸频率')" width="60px">
41
+                  呼吸频率
42
+                  <br />(次/分)
43
+                </th>
44
+                <th v-if="isShow('血流量')" width="60px">
45
+                  血流量
46
+                  <br />(ml/min)
47
+                </th>
48
+                <th width="76px">
49
+                  静脉压/动脉压
50
+                  <br />(mmHg)
51
+                </th>
52
+                <th v-if="isShow('跨膜压')" width="60px">
53
+                  跨膜压
54
+                  <br />(mmHg)
55
+                </th>
56
+                <th
57
+                  v-if="isShow('超滤量') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12)"
58
+                  width="50px"
59
+                >
60
+                  超滤量
61
+                  <br />(ml)
62
+                </th>
63
+                <th
64
+                  v-if="isShow('超滤量') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12"
65
+                  width="50px"
66
+                >
67
+                  超滤量
68
+                  <br />(L)
69
+                </th>
70
+                <th v-if="isShow('钠浓度')" width="60px">
71
+                  钠浓度
72
+                  <br />(mmol/L)
73
+                </th>
74
+                <th v-if="isShow('透析液温度')" width="60px">
75
+                  透析液温度
76
+                  <br />(℃)
77
+                </th>
78
+                <th
79
+                  v-if="isShow('置换率') && (template_id ==6 || template_id == 10 || template_id == 11)"
80
+                  width="50px"
81
+                >
82
+                  置换率
83
+                  <br />(ml/min)
84
+                </th>
85
+                <th
86
+                  v-if="isShow('置换率') && template_id !=6 && template_id !=10 && template_id != 11"
87
+                  width="50px"
88
+                >
89
+                  置换率
90
+                  <br />(L/h)
91
+                </th>
92
+                <th
93
+                  v-if="isShow('置换量') && (template_id ==6 || template_id ==10 ||template_id ==11 )"
94
+                  width="50px"
95
+                >
96
+                  置换量
97
+                  <br />(ml)
98
+                </th>
99
+                <th
100
+                  v-if="isShow('置换量') && template_id !=6 && template_id !=10 && template_id !=11"
101
+                  width="50px"
102
+                >
103
+                  置换量
104
+                  <br />(L)
105
+                </th>
106
+                <th
107
+                  v-if="isShow('SpO₂')  && template_id !=6 && template_id !=10 && template_id !=11"
108
+                  width="40px"
109
+                >
110
+                  SpO₂
111
+                  <br />(%)
112
+                </th>
113
+                <th v-if="isShow('电导度')" width="50px">
114
+                  电导度
115
+                  <br />(mS/cm)
116
+                </th>
117
+                <th v-if="isShow('置换液流量')" width="50px">
118
+                  置换液流量
119
+                  <br />(ml/h)
120
+                </th>
121
+                <th v-if="isShow('肝素用量余量')" width="60px">
122
+                  肝素用量余量
123
+                  <br />(ml)
124
+                </th>
41 125
                 <th v-if="isShow('病情变化')" width="92px">病情变化</th>
42 126
                 <th v-if="isShow('处理')" width="92px">处理</th>
43 127
                 <th v-if="isShow('结果')" width="92px">结果</th>
@@ -50,7 +134,9 @@
50 134
                 :class="index==currentIndex?rowClass:''"
51 135
               >
52 136
                 <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, '{y}-{m}-{d} {h}:{i}')}}</td>
53
-                <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
137
+                <td
138
+                  v-if="isShow('血压')"
139
+                >{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
54 140
                 <td v-if="isShow('脉搏')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
55 141
                 <td v-if="isShow('体温')">{{item.temperature?item.temperature:''}}</td>
56 142
                 <td v-if="isShow('呼吸频率')">{{item.breathing_rate?item.breathing_rate:''}}</td>
@@ -70,7 +156,7 @@
70 156
                 <td
71 157
                   v-if="isShow('置换量')"
72 158
                 >{{item.displacement_quantity?item.displacement_quantity:''}}</td>
73
-                 <td
159
+                <td
74 160
                   v-if="isShow('SpO₂') && template_id != 6 && template_id != 10  && template_id != 11"
75 161
                 >{{item.blood_oxygen_saturation?item.blood_oxygen_saturation:''}}</td>
76 162
 
@@ -79,9 +165,7 @@
79 165
                   v-if="isShow('置换液流量')"
80 166
                 >{{item.displacement_flow_quantity?item.displacement_flow_quantity:''}}</td>
81 167
 
82
-                <td
83
-                  v-if="isShow('肝素用量余量')"
84
-                >{{item.heparin?item.heparin:''}}</td>
168
+                <td v-if="isShow('肝素用量余量')">{{item.heparin?item.heparin:''}}</td>
85 169
 
86 170
                 <td v-if="isShow('病情变化')">{{item.symptom}}</td>
87 171
                 <td v-if="isShow('处理')">{{item.dispose}}</td>
@@ -206,7 +290,9 @@
206 290
               >转换</button>
207 291
             </div>
208 292
             <div class="cell" v-if="isShow('超滤量')">
209
-              <label v-if="template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12">超滤量(ml)</label>
293
+              <label
294
+                v-if="template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12"
295
+              >超滤量(ml)</label>
210 296
               <label v-else>超滤量(L)</label>
211 297
               <input
212 298
                 type="number"
@@ -229,7 +315,7 @@
229 315
               />
230 316
             </div>
231 317
             <div class="cell" v-if="isShow('动脉压')">
232
-             <label>动脉压(mmHg)</label>
318
+              <label>动脉压(mmHg)</label>
233 319
               <input
234 320
                 type="number"
235 321
                 @focus="inputFocus"
@@ -1534,6 +1620,9 @@ export default {
1534 1620
       text-align: center;
1535 1621
     }
1536 1622
   }
1623
+  .newMonitTable {
1624
+    width: 1670px;
1625
+  }
1537 1626
 }
1538 1627
 
1539 1628
 .row-class-active > td {

+ 38 - 40
src/pages/main/dialysis/RecordTable.vue View File

@@ -1,23 +1,22 @@
1 1
 <template>
2 2
   <div>
3
-    <van-list
4
-      width="100%"
5
-      v-model="loading"
6
-      :finished="finished"
7
-      @load="onLoad"
8
-    >
3
+    <van-list width="100%" v-model="loading" :finished="finished" @load="onLoad">
9 4
       <div class="choice">
10 5
         <ul>
11 6
           <li>
12 7
             透析时间:
13 8
             <div @click="openStartPicker" class>
14 9
               {{ parseTime(startTime.getTime() / 1000, "{y}-{m}-{d}") }}
15
-              <span class="iconfont">&#xe74a;</span>
10
+              <span
11
+                class="iconfont"
12
+              >&#xe74a;</span>
16 13
             </div>
17 14
             <span class="line"></span>
18 15
             <div @click="openEndPicker" class>
19 16
               {{ parseTime(endTime.getTime() / 1000, "{y}-{m}-{d}") }}
20
-              <span class="iconfont">&#xe74a;</span>
17
+              <span
18
+                class="iconfont"
19
+              >&#xe74a;</span>
21 20
             </div>
22 21
           </li>
23 22
 
@@ -42,20 +41,15 @@
42 41
                   :key="item.id"
43 42
                   @click="itemClick(item.id)"
44 43
                   :class="mode_id == item.id ? 'tick' : ''"
45
-                >
46
-                  {{ item.name }}
47
-                </li>
44
+                >{{ item.name }}</li>
48 45
               </ul>
49 46
             </div>
50 47
           </el-popover>
51 48
         </ul>
52 49
       </div>
53 50
       <div class="blueBorder"></div>
54
-      <div
55
-        style="width:100%;overflow:hildden;overflow-x:auto;"
56
-        class="RecordTable"
57
-      >
58
-        <table class="table" style>
51
+      <div style="width:100%;overflow:hildden;overflow-x:auto;" class="RecordTable">
52
+        <table class="table newRecordTable" style>
59 53
           <tr>
60 54
             <th width="124px">透析日期</th>
61 55
             <th width="72px">班次</th>
@@ -84,49 +78,49 @@
84 78
             <td>{{ modeName(item.prescription.mode_id) }}</td>
85 79
             <td>
86 80
               {{
87
-                item.prescription.dialysis_duration
88
-                  ? item.prescription.dialysis_duration
89
-                  : ""
81
+              item.prescription.dialysis_duration
82
+              ? item.prescription.dialysis_duration
83
+              : ""
90 84
               }}
91 85
             </td>
92 86
             <td>
93 87
               {{
94
-                item.prescription.dry_weight ? item.prescription.dry_weight : ""
88
+              item.prescription.dry_weight ? item.prescription.dry_weight : ""
95 89
               }}
96 90
             </td>
97 91
             <td>
98 92
               {{
99
-                item.predialysis_evaluation.weight_before
100
-                  ? item.predialysis_evaluation.weight_before
101
-                  : ""
93
+              item.predialysis_evaluation.weight_before
94
+              ? item.predialysis_evaluation.weight_before
95
+              : ""
102 96
               }}
103 97
             </td>
104 98
             <td>
105 99
               {{
106
-                item.assessment_after_dislysis.weight_after
107
-                  ? item.assessment_after_dislysis.weight_after
108
-                  : ""
100
+              item.assessment_after_dislysis.weight_after
101
+              ? item.assessment_after_dislysis.weight_after
102
+              : ""
109 103
               }}
110 104
             </td>
111 105
             <td>
112 106
               {{
113
-                item.predialysis_evaluation.systolic_blood_pressure
114
-                  ? item.predialysis_evaluation.systolic_blood_pressure
115
-                  : ""
107
+              item.predialysis_evaluation.systolic_blood_pressure
108
+              ? item.predialysis_evaluation.systolic_blood_pressure
109
+              : ""
116 110
               }}
117 111
             </td>
118 112
             <td>
119 113
               {{
120
-                item.assessment_after_dislysis.systolic_blood_pressure
121
-                  ? item.assessment_after_dislysis.systolic_blood_pressure
122
-                  : ""
114
+              item.assessment_after_dislysis.systolic_blood_pressure
115
+              ? item.assessment_after_dislysis.systolic_blood_pressure
116
+              : ""
123 117
               }}
124 118
             </td>
125 119
             <td>
126 120
               {{
127
-                item.predialysis_evaluation.ultrafiltration_amount
128
-                  ? item.predialysis_evaluation.ultrafiltration_amount
129
-                  : ""
121
+              item.predialysis_evaluation.ultrafiltration_amount
122
+              ? item.predialysis_evaluation.ultrafiltration_amount
123
+              : ""
130 124
               }}
131 125
             </td>
132 126
             <td>{{ setAnticoagulantsConfit(item.prescription) }}</td>
@@ -136,11 +130,7 @@
136 130
         </table>
137 131
 
138 132
         <div class="NoData" v-show="tableDate.length == 0">
139
-          <img
140
-            style="margin-top: 50px; margin-bottom: 50px"
141
-            src="@/assets/login/data.jpg"
142
-            alt
143
-          />
133
+          <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
144 134
         </div>
145 135
       </div>
146 136
       <!-- <el-table :data="tableDate" border style="width: 100%">
@@ -568,6 +558,14 @@ export default {
568 558
   max-height: 400px;
569 559
   overflow-y: scroll;
570 560
 }
561
+.newRecordTable {
562
+  @media only screen and (max-width: 414px) {
563
+    width: 1200px;
564
+  }
565
+  @media only screen and (min-width: 415px) and (max-width: 767px) {
566
+    width: 1600px;
567
+  }
568
+}
571 569
 </style>
572 570
 <style lang="scss">
573 571
 .el-table td {

+ 4 - 19
src/pages/main/dialysis/SchedulTable.vue View File

@@ -1,11 +1,6 @@
1 1
 <template>
2 2
   <div>
3
-    <van-list
4
-      width="100%"
5
-      v-model="loading"
6
-      :finished="finished"
7
-      @load="onLoad"
8
-    >
3
+    <van-list width="100%" v-model="loading" :finished="finished" @load="onLoad">
9 4
       <div class="blueBorder"></div>
10 5
       <div class="schedulTable">
11 6
         <div class="tableTit">
@@ -20,18 +15,12 @@
20 15
               ]"
21 16
               :key="index"
22 17
               :value="item.value"
23
-            >
24
-              {{ item }}
25
-            </li>
18
+            >{{ item }}</li>
26 19
           </ul>
27 20
         </div>
28 21
         <div class="tableDate">
29 22
           <ul>
30
-            <li
31
-              v-for="(item, index) in tableDate"
32
-              :key="index"
33
-              :value="item.value"
34
-            >
23
+            <li v-for="(item, index) in tableDate" :key="index" :value="item.value">
35 24
               <span>{{ parseTime(item.schedule_date, "{y}-{m}-{d}") }}</span>
36 25
               <span>{{ scheduleType(item.schedule_type) }}</span>
37 26
               <span>{{ item.zone.name }}</span>
@@ -44,11 +33,7 @@
44 33
     </van-list>
45 34
     <!--<div class="NoData" v-show="tableDate.length == 0"><img src="@/assets/login/data.jpg" alt=""></div>-->
46 35
     <div class="NoData" v-show="tableDate.length == 0">
47
-      <img
48
-        style="margin-top: 50px; margin-bottom: 50px"
49
-        src="@/assets/login/data.jpg"
50
-        alt
51
-      />
36
+      <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
52 37
     </div>
53 38
   </div>
54 39
 </template>

+ 115 - 67
src/pages/main/today/dialysisMonitoring.vue View File

@@ -8,43 +8,107 @@
8 8
     <div class="dm" style="width:100%;overflow:hildden;overflow-x:auto;">
9 9
       <table class="table dialsisTable" style>
10 10
         <tr>
11
-          <th v-if="isShow('监测时间')" width="80px">时间</th>
12
-          <th v-if="isShow('体温')" width="80px">体温(℃)</th>
13
-          <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
14
-          <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
15
-          <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
16
-          <th width="76px">静脉压/动脉压(mmHg)</th>
17
-          <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
18
-          <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmHg)</th>
19
-          <th v-if="isShow('超滤量') && (template_id == 6 ||template_id == 10 || template_id == 11 )" width="76px">
20
-            超滤量(ml)
11
+          <th v-if="isShow('监测时间')" width="60px">时间</th>
12
+          <th v-if="isShow('体温')" width="40px">
13
+            体温
14
+            <br />(℃)
21 15
           </th>
22
-          <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10 &&template_id != 11 " width="76px">
23
-            超滤量(L)
16
+          <th v-if="isShow('血压')" width="60px">
17
+            血压
18
+            <br />(mmHg)
19
+          </th>
20
+          <th v-if="isShow('脉搏')" width="50px">
21
+            脉搏
22
+            <br />(次/分)
23
+          </th>
24
+          <th v-if="isShow('呼吸频率')" width="70px">
25
+            呼吸频率
26
+            <br />(次/分)
27
+          </th>
28
+          <th width="76px">
29
+            静脉压/动脉压
30
+            <br />(mmHg)
31
+          </th>
32
+          <th v-if="isShow('血流量')" width="60px">
33
+            血流量
34
+            <br />(ml/min)
35
+          </th>
36
+          <th v-if="isShow('跨膜压')" width="60px">
37
+            跨膜压
38
+            <br />(mmHg)
39
+          </th>
40
+          <th
41
+            v-if="isShow('超滤量') && (template_id == 6 ||template_id == 10 || template_id == 11 )"
42
+            width="60px"
43
+          >
44
+            超滤量
45
+            <br />(ml)
46
+          </th>
47
+          <th
48
+            v-if="isShow('超滤量') && template_id != 6 && template_id != 10 &&template_id != 11 "
49
+            width="60px"
50
+          >
51
+            超滤量
52
+            <br />(L)
53
+          </th>
54
+          <th v-if="isShow('钠浓度')" width="60px">
55
+            钠浓度
56
+            <br />(mmol/L)
57
+          </th>
58
+          <th v-if="isShow('透析液温度')" width="70px">
59
+            透析液温度
60
+            <br />(℃)
61
+          </th>
62
+          <th
63
+            v-if="isShow('置换率')&& (template_id == 6 ||template_id == 10 || template_id == 11)"
64
+            width="60px"
65
+          >
66
+            置换率
67
+            <br />(ml/min)
68
+          </th>
69
+          <th
70
+            v-if="isShow('置换率')&& template_id != 6 && template_id != 10 && template_id != 11"
71
+            width="60px"
72
+          >
73
+            置换率
74
+            <br />(L/h)
75
+          </th>
76
+          <th
77
+            v-if="isShow('置换量')&& (template_id == 6 || template_id == 10 || template_id == 11)"
78
+            width="50px"
79
+          >
80
+            置换量
81
+            <br />(ml)
82
+          </th>
83
+          <th
84
+            v-if="isShow('置换量')&& template_id != 6 && template_id != 10 && template_id != 11"
85
+            width="50px"
86
+          >
87
+            置换量
88
+            <br />(L)
24 89
           </th>
25
-          <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
26
-          <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
27
-          <th v-if="isShow('置换率')&& (template_id == 6 ||template_id == 10 || template_id == 11)" width="92px">置换率(ml/min)</th>
28
-          <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10 && template_id != 11" width="92px">置换率(L/h)</th>
29
-          <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10 || template_id == 11)" width="50px">置换量(ml)</th>
30
-          <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10 && template_id != 11" width="50px">置换量(L)</th>
31 90
 
32
-          <th v-if="isShow('电导度')" width="92px">电导度(mS/cm)</th>
33
-          <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
91
+          <th v-if="isShow('电导度')" width="60px">
92
+            电导度
93
+            <br />(mS/cm)
94
+          </th>
95
+          <th v-if="isShow('置换液流量')" width="70px">
96
+            置换液流量
97
+            <br />(ml/h)
98
+          </th>
34 99
 
35
-          <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
100
+          <th v-if="isShow('肝素用量余量')" width="70px">
101
+            肝素用量余量
102
+            <br />(ml)
103
+          </th>
36 104
 
37 105
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
38 106
           <th v-if="isShow('处理')" width="92px">处理</th>
39 107
           <th v-if="isShow('结果')" width="92px">结果</th>
40 108
         </tr>
41 109
         <tr v-for="(item, index) in tableDate" :key="index" :value="item.value">
42
-          <td v-if="isShow('监测时间')">
43
-            {{ parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}") }}
44
-          </td>
45
-          <td v-if="isShow('体温')">
46
-            {{ item.temperature ? item.temperature : "" }}
47
-          </td>
110
+          <td v-if="isShow('监测时间')">{{ parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}") }}</td>
111
+          <td v-if="isShow('体温')">{{ item.temperature ? item.temperature : "" }}</td>
48 112
           <td v-if="isShow('血压')">
49 113
             {{
50 114
             item.systolic_blood_pressure ? item.systolic_blood_pressure : ""
@@ -52,47 +116,35 @@
52 116
             item.diastolic_blood_pressure ? item.diastolic_blood_pressure : ""
53 117
             }}
54 118
           </td>
55
-          <td v-if="isShow('脉搏')">
56
-            {{ item.pulse_frequency ? item.pulse_frequency : "" }}
57
-          </td>
119
+          <td v-if="isShow('脉搏')">{{ item.pulse_frequency ? item.pulse_frequency : "" }}</td>
58 120
 
59
-          <td v-if="isShow('呼吸频率')">
60
-            {{ item.breathing_rate ? item.breathing_rate : "" }}
61
-          </td>
121
+          <td v-if="isShow('呼吸频率')">{{ item.breathing_rate ? item.breathing_rate : "" }}</td>
62 122
           <td>
63 123
             {{ item.venous_pressure ? item.venous_pressure : "" }}/{{
64
-              item.arterial_pressure ? item.arterial_pressure : ""
124
+            item.arterial_pressure ? item.arterial_pressure : ""
65 125
             }}
66 126
           </td>
67
-          <td v-if="isShow('血流量')">
68
-            {{ item.blood_flow_volume ? item.blood_flow_volume : "" }}
69
-          </td>
70
-          <td v-if="isShow('跨膜压')">
71
-            {{ item.transmembrane_pressure ? item.transmembrane_pressure : "" }}
72
-          </td>
73
-          <td v-if="isShow('超滤量')">
74
-            {{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}
75
-          </td>
76
-          <td v-if="isShow('钠浓度')">
77
-            {{ item.sodium_concentration ? item.sodium_concentration : "" }}
78
-          </td>
79
-          <td v-if="isShow('透析液温度')">
80
-            {{ item.dialysate_temperature ? item.dialysate_temperature : "" }}
81
-          </td>
82
-          <td v-if="isShow('置换率')">
83
-            {{ item.replacement_rate ? item.replacement_rate : "" }}
84
-          </td>
85
-          <td v-if="isShow('置换量')">
86
-            {{ item.displacement_quantity ? item.displacement_quantity : "" }}
87
-          </td>
88
-          <th v-if="isShow('电导度')">
89
-            {{ item.conductivity ? item.conductivity : "" }}
90
-          </th>
127
+          <td v-if="isShow('血流量')">{{ item.blood_flow_volume ? item.blood_flow_volume : "" }}</td>
128
+          <td
129
+            v-if="isShow('跨膜压')"
130
+          >{{ item.transmembrane_pressure ? item.transmembrane_pressure : "" }}</td>
131
+          <td
132
+            v-if="isShow('超滤量')"
133
+          >{{ item.ultrafiltration_volume ? item.ultrafiltration_volume : "" }}</td>
134
+          <td v-if="isShow('钠浓度')">{{ item.sodium_concentration ? item.sodium_concentration : "" }}</td>
135
+          <td
136
+            v-if="isShow('透析液温度')"
137
+          >{{ item.dialysate_temperature ? item.dialysate_temperature : "" }}</td>
138
+          <td v-if="isShow('置换率')">{{ item.replacement_rate ? item.replacement_rate : "" }}</td>
139
+          <td
140
+            v-if="isShow('置换量')"
141
+          >{{ item.displacement_quantity ? item.displacement_quantity : "" }}</td>
142
+          <th v-if="isShow('电导度')">{{ item.conductivity ? item.conductivity : "" }}</th>
91 143
           <th v-if="isShow('置换液流量')">
92 144
             {{
93
-              item.displacement_flow_quantity
94
-                ? item.displacement_flow_quantity
95
-                : ""
145
+            item.displacement_flow_quantity
146
+            ? item.displacement_flow_quantity
147
+            : ""
96 148
             }}
97 149
           </th>
98 150
           <th v-if="isShow('肝素用量余量')">
@@ -109,11 +161,7 @@
109 161
       </table>
110 162
 
111 163
       <div class="NoData" v-show="tableDate.length == 0">
112
-        <img
113
-          style="margin-top: 50px; margin-bottom: 50px"
114
-          src="@/assets/login/data.jpg"
115
-          alt
116
-        />
164
+        <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
117 165
       </div>
118 166
     </div>
119 167
     <!-- <el-table :data="tableDate" border style="width: 100%" ref="form">
@@ -285,7 +333,7 @@ export default {
285 333
 
286 334
 <style rel="stylesheet/scss" lang="scss" scoped>
287 335
 .dialsisTable {
288
-  width: 2400px;
336
+  width: 1600px;
289 337
 }
290 338
 .dm {
291 339
   /* 针对缺省样式 (必须的) */

+ 30 - 27
src/pages/main/today/statOrder.vue View File

@@ -9,8 +9,8 @@
9 9
     <div class="newDiv">
10 10
       <table class="table">
11 11
         <tr>
12
-          <th width="8%">开嘱医生</th>
13
-          <th width="8%">开始时间</th>
12
+          <th width="5%">开嘱医生</th>
13
+          <th width="6%">开始时间</th>
14 14
           <th width="20%">医嘱内容</th>
15 15
           <th width="8%">执行时间</th>
16 16
           <th width="8%">执行护士</th>
@@ -21,15 +21,16 @@
21 21
           <tr v-for="(advice, i) in group.advices" :key="advice.id">
22 22
             <td v-if="i == 0" :rowspan="group.advices.length">
23 23
               {{
24
-                doctor_map[advice.advice_doctor] != undefined
25
-                  ? doctor_map[advice.advice_doctor].name
26
-                  : ""
24
+              doctor_map[advice.advice_doctor] != undefined
25
+              ? doctor_map[advice.advice_doctor].name
26
+              : ""
27 27
               }}
28 28
             </td>
29 29
 
30
-            <td v-if="i == 0" :rowspan="group.advices.length">
31
-              {{ parseTime(advice.start_time, "{m}-{d} {h}:{i}") }}
32
-            </td>
30
+            <td
31
+              v-if="i == 0"
32
+              :rowspan="group.advices.length"
33
+            >{{ parseTime(advice.start_time, "{m}-{d} {h}:{i}") }}</td>
33 34
 
34 35
             <td
35 36
               :class="
@@ -39,9 +40,15 @@
39 40
               <span>{{ advice.advice_name }}</span>
40 41
 
41 42
               <span v-if="advice.advice_desc">({{ advice.advice_desc }}{{advice.drug_spec_unit}})</span>
42
-              <span v-if="advice.prescribing_number">&nbsp;&nbsp;{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
43
-              <span v-if="advice.single_dose && template_id == 6" >{{advice.single_dose}}{{advice.single_dose_unit}}</span>
44
-              <span v-if="advice.single_dose && template_id != 6" >单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
43
+              <span
44
+                v-if="advice.prescribing_number"
45
+              >&nbsp;&nbsp;{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
46
+              <span
47
+                v-if="advice.single_dose && template_id == 6"
48
+              >{{advice.single_dose}}{{advice.single_dose_unit}}</span>
49
+              <span
50
+                v-if="advice.single_dose && template_id != 6"
51
+              >单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
45 52
               <span v-if="advice.parent_id == 0">{{advice.delivery_way}}</span>
46 53
               <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>
47 54
               <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{advice.remark}})</span>
@@ -51,21 +58,21 @@
51 58
 
52 59
             <td>
53 60
               {{
54
-                advice.execution_staff != 0
55
-                  ? doctor_map[advice.execution_staff] != undefined
56
-                    ? doctor_map[advice.execution_staff].name
57
-                    : ""
58
-                  : ""
61
+              advice.execution_staff != 0
62
+              ? doctor_map[advice.execution_staff] != undefined
63
+              ? doctor_map[advice.execution_staff].name
64
+              : ""
65
+              : ""
59 66
               }}
60 67
             </td>
61 68
 
62 69
             <td v-if="template_id != 6">
63 70
               {{
64
-                advice.checker != 0
65
-                  ? doctor_map[advice.checker] != undefined
66
-                    ? doctor_map[advice.checker].name
67
-                    : ""
68
-                  : ""
71
+              advice.checker != 0
72
+              ? doctor_map[advice.checker] != undefined
73
+              ? doctor_map[advice.checker].name
74
+              : ""
75
+              : ""
69 76
               }}
70 77
             </td>
71 78
           </tr>
@@ -73,11 +80,7 @@
73 80
       </table>
74 81
 
75 82
       <div class="NoData" v-show="advice_groups.length == 0">
76
-        <img
77
-          style="margin-top: 50px; margin-bottom: 50px"
78
-          src="@/assets/login/data.jpg"
79
-          alt
80
-        />
83
+        <img style="margin-top: 50px; margin-bottom: 50px" src="@/assets/login/data.jpg" alt />
81 84
       </div>
82 85
     </div>
83 86
   </div>
@@ -191,7 +194,7 @@ export default {
191 194
 
192 195
 <style rel="stylesheet/scss" lang="scss" scoped>
193 196
 .table {
194
-  width: 1000px;
197
+  width: 800px;
195 198
   overflow: hidden;
196 199
   font-size: 0.45rem;
197 200
   text-align: center;