Преглед изворни кода

Merge branch '20200710_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

XMLWAN пре 4 година
родитељ
комит
c98aa027ce

+ 1 - 2
config/dev.env.js Прегледај датотеку

@@ -7,8 +7,7 @@ module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9 9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  // BASE_API: '"http://localhost:9531"',
11
-  BASE_API:'"http://api.xt.test.sgjyun.com"',
10
+  BASE_API: '"http://api.xt.test.sgjyun.com"',
12 11
   SSO_HOST: '"http://testsso.sgjyun.com"',
13 12
   SRCM_HOST: '"http://test1.sgjyun.com"',
14 13
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Прегледај датотеку

@@ -19,8 +19,8 @@ module.exports = {
19 19
 
20 20
     //  host: 'xt.test.sgjyun.com',
21 21
     //  host: 'xt.kuyicloud.com',
22
-    host: 'xt.test.sgjyun.com',
23
-    // host: 'localhost',
22
+    // host: 'xt.test.sgjyun.com',
23
+    host: 'localhost',
24 24
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
25 25
     autoOpenBrowser: true,
26 26
     errorOverlay: true,

+ 12 - 0
src/styles/index.scss Прегледај датотеку

@@ -547,3 +547,15 @@ code {
547 547
   background-color: #409eff !important;
548 548
   color: #fff !important;
549 549
 }
550
+.el-table__body td > div:hover{
551
+  background-color: #409eff !important;
552
+  color: #fff !important;
553
+}
554
+.el-table__body div > span:hover{
555
+  background-color: #409eff !important;
556
+  color: #fff !important;
557
+}
558
+.el-table__body div > a:hover{
559
+  background-color: #409eff !important;
560
+  color: #fff !important;
561
+}

+ 10 - 9
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue Прегледај датотеку

@@ -891,7 +891,7 @@
891 891
                               <div class="under-line">
892 892
                                 &nbsp;
893 893
                                 <span
894
-                                  v-if="record.prescription.anticoagulant == 3"
894
+                                  v-if="record.prescription.anticoagulant == 3 || record.prescription.anticoagulant == 6 || record.prescription.anticoagulant == 7"
895 895
                                   >{{
896 896
                                     record.prescription.anticoagulant_zongliang
897 897
                                   }}</span
@@ -940,7 +940,7 @@
940 940
                             <td width="40">
941 941
                               <div class="under-line">
942 942
                                 &nbsp;
943
-                                <span>{{
943
+                                <span v-if="record.prescription.anticoagulant == 2">{{
944 944
                                   record.prescription.anticoagulant_shouji
945 945
                                 }}</span>
946 946
                               </div>
@@ -976,11 +976,12 @@
976 976
                             <td width="40">
977 977
                               <div class="under-line">
978 978
                                 &nbsp;
979
+                                <span v-if="record.prescription.anticoagulant == 2">
979 980
                                 {{
980 981
                                   record.prescription.anticoagulant_weichi
981 982
                                     ? record.prescription.anticoagulant_weichi
982 983
                                     : "/"
983
-                                }}
984
+                                }}</span>
984 985
                               </div>
985 986
                             </td>
986 987
                             <td width="40">
@@ -1017,12 +1018,12 @@
1017 1018
                             <td width="35">总量:</td>
1018 1019
                             <td width="40">
1019 1020
                               <div class="under-line">
1020
-                                &nbsp;{{
1021
+                                &nbsp;<span v-if="record.prescription.anticoagulant == 2">{{
1021 1022
                                   record.prescription.anticoagulant_zongliang
1022 1023
                                     ? record.prescription
1023 1024
                                         .anticoagulant_zongliang
1024 1025
                                     : "/"
1025
-                                }}
1026
+                                }}</span>
1026 1027
                               </div>
1027 1028
                             </td>
1028 1029
                             <td width="20">
@@ -1352,7 +1353,7 @@
1352 1353
                         alt=""
1353 1354
                         srcset=""
1354 1355
                         v-else
1355
-                        style="height: 20px;"
1356
+                        style="height: 30px;"
1356 1357
                       />
1357 1358
                     </td>
1358 1359
                     <!-- <td height="35px">
@@ -1372,7 +1373,7 @@
1372 1373
                         alt=""
1373 1374
                         srcset=""
1374 1375
                         v-else
1375
-                        style="height: 20px;"
1376
+                        style="height: 30px;"
1376 1377
                       />
1377 1378
                     </td>
1378 1379
                     <td height="32px">
@@ -1981,7 +1982,7 @@
1981 1982
                         }}</span>
1982 1983
                         <span v-if="record.advices[0][0] !== ''">
1983 1984
                           <img
1984
-                            style="height:20px"
1985
+                            style="height:30px"
1985 1986
                             :src="
1986 1987
                               setAdminUserES(
1987 1988
                                 record.advices[0][0],
@@ -2021,7 +2022,7 @@
2021 2022
                           alt=""
2022 2023
                           srcset=""
2023 2024
                           v-else
2024
-                          style="height: 20px;"
2025
+                          style="height: 30px;"
2025 2026
                         />
2026 2027
                       </div>
2027 2028
                     </td>

+ 1 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue Прегледај датотеку

@@ -272,7 +272,7 @@
272 272
         ></el-table-column>
273 273
         <el-table-column prop="name" label="姓名" align="center">
274 274
           <template slot-scope="scope">
275
-            <span style="color: #579ef8">{{ scope.row.name }}</span>
275
+            <span style="color: #579ef8;width:100%;display:block;">{{ scope.row.name }}</span>
276 276
           </template>
277 277
         </el-table-column>
278 278
 

+ 5 - 3
src/xt_pages/dialysis/details/DialysisPrescription.vue Прегледај датотеку

@@ -15,7 +15,9 @@
15 15
           <span class="content">{{
16 16
             replacement_total != "0" ? replacement_total : ""
17 17
           }}</span>
18
-          <span class="unit">{{ replacement_total != "0" ? "L" : "" }}</span>
18
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 20" class="unit">{{ replacement_total != "0" ? "L" : "" }}</span>
19
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 20" class="unit">{{ replacement_total != "0" ? "ml" : "" }}</span>
20
+          
19 21
         </li>
20 22
 
21 23
         <li v-if="isShow('透析液配方')">
@@ -77,8 +79,8 @@
77 79
           <span class="content">{{
78 80
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
79 81
           }}</span>
80
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
81
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
82
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
83
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
82 84
         </li>
83 85
         <li v-if="isShow('葡萄糖')">
84 86
           <label>葡萄糖 : </label>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Прегледај датотеку

@@ -17,8 +17,8 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9" >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20" >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 5 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Прегледај датотеку

@@ -28,7 +28,7 @@
28 28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29 29
             <el-form-item
30 30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 "  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20"  >
32 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 33
             </el-form-item>
34 34
             <el-form-item label="实际超滤量(L): " v-else>
@@ -393,7 +393,10 @@
393 393
         <el-row :gutter="20"> -->
394 394
 
395 395
         <el-col :span="8" v-if="isShow('实际置换量')">
396
-          <el-form-item label="实际置换量(L): ">
396
+          <el-form-item v-if="this.template_id == 20" label="实际置换量(ml): ">
397
+            <el-input v-model="form.actual_displacement"></el-input>
398
+          </el-form-item>
399
+          <el-form-item v-else label="实际置换量(L): ">
397 400
             <el-input v-model="form.actual_displacement"></el-input>
398 401
           </el-form-item>
399 402
         </el-col>

+ 11 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Прегледај датотеку

@@ -64,7 +64,7 @@
64 64
             </el-form-item>
65 65
           </el-col>
66 66
 
67
-          <el-col :span="8" v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9)">
67
+          <el-col :span="8" v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20)">
68 68
             <el-form-item label="目标超滤量(ml):">
69 69
               <el-input
70 70
                 type="number"
@@ -73,7 +73,7 @@
73 73
             </el-form-item>
74 74
           </el-col>
75 75
 
76
-          <el-col :span="8" v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9">
76
+          <el-col :span="8" v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20">
77 77
             <el-form-item label="目标超滤量(L):">
78 78
               <el-input
79 79
                 type="number"
@@ -136,7 +136,15 @@
136 136
             </el-form-item>
137 137
           </el-col>
138 138
 
139
-          <el-col :span="8" v-if="isShows('置换量')" v-show="zhiShow">
139
+          <el-col :span="8" v-if="isShows('置换量') && (this.$store.getters.xt_user.template_info.template_id == 20)" v-show="zhiShow">
140
+            <el-form-item label="置换量(ml):">
141
+              <el-input
142
+                type="number"
143
+                v-model="dialysisPrescription.replacement_total"
144
+              ></el-input>
145
+            </el-form-item>
146
+          </el-col>
147
+          <el-col :span="8" v-if="isShows('置换量') && this.$store.getters.xt_user.template_info.template_id != 20" v-show="zhiShow">
140 148
             <el-form-item label="置换量(L):">
141 149
               <el-input
142 150
                 type="number"

+ 26 - 14
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Прегледај датотеку

@@ -149,7 +149,8 @@
149 149
                   template_id == 13 ||
150 150
                   template_id == 17 ||
151 151
                   template_id == 18 || 
152
-                  template_id == 19)
152
+                  template_id == 19 ||
153
+                  template_id == 20)
153 154
             "
154 155
           >
155 156
             <template slot-scope="scope">
@@ -174,7 +175,8 @@
174 175
                 template_id != 13 &&
175 176
                 template_id != 17 &&
176 177
                 template_id != 18 &&
177
-                template_id != 19
178
+                template_id != 19 &&
179
+                template_id != 20
178 180
             "
179 181
           >
180 182
             <template slot-scope="scope">
@@ -220,7 +222,7 @@
220 222
             align="center"
221 223
             label="置换率(ml/min)"
222 224
             width="120"
223
-            v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11)" >
225
+            v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20)" >
224 226
             <template slot-scope="scope">
225 227
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
226 228
             </template>
@@ -231,7 +233,7 @@
231 233
             align="center"
232 234
             label="置换率(L/h)"
233 235
             width="120"
234
-            v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11">
236
+            v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20">
235 237
             <template slot-scope="scope">
236 238
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
237 239
             </template>
@@ -241,7 +243,7 @@
241 243
             align="center"
242 244
             label="置换量(ml)"
243 245
             width="100"
244
-            v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11) " >
246
+            v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " >
245 247
             <template slot-scope="scope">
246 248
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
247 249
             </template>
@@ -252,7 +254,7 @@
252 254
             align="center"
253 255
             label="置换量(L)"
254 256
             width="100"
255
-            v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 " >
257
+            v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20" >
256 258
             <template slot-scope="scope">
257 259
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
258 260
             </template>
@@ -311,7 +313,7 @@
311 313
             align="center"
312 314
             label="超滤率(ml/h)"
313 315
             width="100"
314
-            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19) "
316
+            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20) "
315 317
           >
316 318
             <template slot-scope="scope">
317 319
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -322,7 +324,7 @@
322 324
             align="center"
323 325
             label="超滤率(L/h)"
324 326
             width="100"
325
-            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19"
327
+            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20"
326 328
           >
327 329
             <template slot-scope="scope">
328 330
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -463,12 +465,12 @@
463 465
             </el-form-item>
464 466
           </el-col>
465 467
 
466
-          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19) ">
468
+          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20) ">
467 469
             <el-form-item label="超滤率(ml/h)">
468 470
               <el-input v-model="form.ultrafiltration_rate"></el-input>
469 471
             </el-form-item>
470 472
           </el-col>
471
-          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19">
473
+          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20">
472 474
             <el-form-item label="超滤率(L/h)">
473 475
               <el-input v-model="form.ultrafiltration_rate"></el-input>
474 476
             </el-form-item>
@@ -476,7 +478,7 @@
476 478
 
477 479
           <el-col
478 480
             :span="8"
479
-            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19) " >
481
+            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20) " >
480 482
             <el-form-item label="超滤量(ml):">
481 483
               <el-input v-model="form.ultrafiltration_volume"></el-input>
482 484
             </el-form-item>
@@ -484,7 +486,7 @@
484 486
 
485 487
           <el-col
486 488
             :span="8"
487
-            v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19" >
489
+            v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20" >
488 490
             <el-form-item label="超滤量(L):">
489 491
               <el-input v-model="form.ultrafiltration_volume"></el-input>
490 492
             </el-form-item>
@@ -503,16 +505,26 @@
503 505
               <el-input v-model="form.dialysate_temperature"></el-input>
504 506
             </el-form-item>
505 507
           </el-col>
506
-          <el-col :span="8" v-if="isShow('置换率')">
508
+          <el-col :span="8" v-if="isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20">
507 509
             <el-form-item label="置换率(L/h):">
508 510
               <el-input v-model="form.replacement_rate"></el-input>
509 511
             </el-form-item>
510 512
           </el-col>
511
-          <el-col :span="8" v-if="isShow('置换量')">
513
+          <el-col :span="8" v-if="isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20)">
514
+            <el-form-item label="置换率(ml/min):">
515
+              <el-input v-model="form.replacement_rate"></el-input>
516
+            </el-form-item>
517
+          </el-col>
518
+          <el-col :span="8" v-if=" isShow('置换量') &&  template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20">
512 519
             <el-form-item label="置换量(L):">
513 520
               <el-input v-model="form.displacement_quantity"></el-input>
514 521
             </el-form-item>
515 522
           </el-col>
523
+          <el-col :span="8" v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20)">
524
+            <el-form-item label="置换量(ml):">
525
+              <el-input v-model="form.displacement_quantity"></el-input>
526
+            </el-form-item>
527
+          </el-col>
516 528
 
517 529
           <el-col :span="8" v-if="isShow('电导度')">
518 530
             <el-form-item label="电导度(mS/m):">

+ 8 - 8
src/xt_pages/dialysis/details/dialysisMonitoring.vue Прегледај датотеку

@@ -14,20 +14,20 @@
14 14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20"  width="76px"> 超滤量(L) </th>
19 19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
20 20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
21
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px" > 置换率(ml/min) </th>
22
-          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 " width="92px" > 置换率(L/h)  </th>
23
-          <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px"  > 置换量(ml)  </th>
24
-          <th v-if=" isShow('置换量') && template_id != 6 && template_id != 10 && template_id != 10 " width="92px" > 置换量(L) </th>
21
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px" > 置换率(ml/min) </th>
22
+          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20" width="92px" > 置换率(L/h)  </th>
23
+          <th v-if=" isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px"  > 置换量(ml)  </th>
24
+          <th v-if=" isShow('置换量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20" width="92px" > 置换量(L) </th>
25 25
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
26 26
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
27 27
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
28 28
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
29
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19)" width="50px"> 超滤率 <br />(ml/h) </th>
30
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19" width="50px"> 超滤率 <br />(L/h) </th>
29
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20)" width="50px"> 超滤率 <br />(ml/h) </th>
30
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20" width="50px"> 超滤率 <br />(L/h) </th>
31 31
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
32 32
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
33 33
           <th v-if="isShow('处理')" width="92px">处理</th>

+ 56 - 8
src/xt_pages/dialysis/dialysisPrintOrder.vue Прегледај датотеку

@@ -243,6 +243,16 @@
243 243
           >打印</el-button
244 244
         >
245 245
       </template>
246
+      <template v-if="org_template_info.template_id == 20">
247
+        <el-button
248
+          :loading="loading"
249
+          size="small"
250
+          icon="el-icon-printer"
251
+          @click="printThisPage"
252
+          type="primary"
253
+          >打印</el-button
254
+        >
255
+      </template>
246 256
     </div>
247 257
     <div class="app-container" style="min-height:0;">
248 258
       <!--<div class="order-print-btn"-->
@@ -423,6 +433,10 @@
423 433
             v-bind:childResponse="childResponse"
424 434
             v-if="org_template_info.template_id == 19"
425 435
           ></DialysisPrintOrderNineteen>
436
+          <DialysisPrintOrderTwenty
437
+            v-bind:childResponse="childResponse"
438
+            v-if="org_template_info.template_id == 20"
439
+          ></DialysisPrintOrderTwenty>
426 440
         </div>
427 441
       </el-container>
428 442
     </div>
@@ -461,10 +475,12 @@ import DialysisPrintOrderSixteen from "./template/DialysisPrintOrderSixteen";
461 475
 import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen";
462 476
 import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
463 477
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
478
+import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
464 479
 
465 480
 export default {
466 481
   name: "dialysisPrintOrder",
467 482
   components: {
483
+    DialysisPrintOrderTwenty,
468 484
     DialysisPrintOrderNineteen,
469 485
     DialysisPrintOrderEighteen,
470 486
     DialysisPrintOrderSeventeen,
@@ -783,7 +799,14 @@ export default {
783 799
           style: style2,
784 800
           scanStyles: false
785 801
         });
786
-      }
802
+      } else if (this.org_template_info.template_id == 1) {
803
+        printJS({
804
+          printable: "dialysis-print-box",
805
+          type: "html",
806
+          style: style,
807
+          scanStyles: false
808
+        });
809
+      } 
787 810
     },
788 811
     printThisOnePage() {
789 812
       var ptime = Math.round(new Date().getTime() / 1000);
@@ -1199,7 +1222,7 @@ export default {
1199 1222
       );
1200 1223
     },
1201 1224
     //日期
1202
-        handleScheduleDateChange: function() {
1225
+        handleScheduleDateChange: function(index) {
1203 1226
             this.treatStateVal = 0
1204 1227
             this.patientStateVal = 0
1205 1228
             this.zoneVal = 0
@@ -1210,6 +1233,8 @@ export default {
1210 1233
             //   schedule_type: this.schedule_type_selected,
1211 1234
             //   schedule_date: this.selected_date,
1212 1235
             // })
1236
+            this.selected_date = index
1237
+            this.$store.dispatch('SetSelectedDate', { selected_date: index })
1213 1238
             this.requestDialysisSchedules()
1214 1239
         },
1215 1240
         //初始化数据
@@ -1225,9 +1250,10 @@ export default {
1225 1250
                     zone_options.push({ id: zone.id, text: zone.name })
1226 1251
                 }
1227 1252
                 this.zone_options = zone_options
1228
-                this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1253
+                // this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1229 1254
                 this.arr = this.processedDialysisSchedules(schedules, this.zone_options)
1230
-                this.getData()
1255
+                this.requestDialysisSchedules()
1256
+                // this.getData()
1231 1257
                 } else {
1232 1258
                 this.$message.error(resp.msg)
1233 1259
                 }
@@ -1236,27 +1262,27 @@ export default {
1236 1262
         // 班次
1237 1263
         handletimeType: function(index) {
1238 1264
             this.scheduleStateVal = index
1239
-            // this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
1265
+            this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
1240 1266
             this.search_keyword = this.search_input = ''
1241 1267
             this.getData()
1242 1268
         },
1243 1269
         //分区
1244 1270
         handleZoneChange: function(index) {
1245 1271
             this.zoneVal = index
1246
-            // this.$store.dispatch('SetZoneSelected', { zone_selected: index })
1272
+            this.$store.dispatch('SetZoneSelected', { zone_selected: index })
1247 1273
             this.search_keyword = this.search_input = ''
1248 1274
             this.getData()
1249 1275
         },
1250 1276
         //患者状态
1251 1277
         handleStateChange: function(index) {
1252 1278
             this.patientStateVal = index
1253
-            // this.$store.dispatch('SetPatientStateSelected', { patient_state_selected: index })
1279
+            this.$store.dispatch('SetPatientStateSelected', { patient_state_selected: index })
1254 1280
             this.search_keyword = this.search_input = ''
1255 1281
             this.getData()
1256 1282
         },
1257 1283
         handleTreatChange: function(index) {
1258 1284
             this.treatStateVal = index
1259
-            // this.$store.dispatch('SetTreatStateSelected', { treat_state_selected: index })
1285
+            this.$store.dispatch('SetTreatStateSelected', { treat_state_selected: index })
1260 1286
             this.search_keyword = this.search_input = ''
1261 1287
             this.getData()
1262 1288
         },
@@ -1309,11 +1335,13 @@ export default {
1309 1335
                 if (resp.state == 1) {
1310 1336
                 var schedules = resp.data.schedules
1311 1337
                 this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1338
+                
1312 1339
                 let newArr = []
1313 1340
                 this.zone_schedules.map(item => {
1314 1341
                     newArr.push(...item.schedules)
1315 1342
                 })
1316 1343
                 this.tableData = newArr
1344
+                this.getData()
1317 1345
                 } else {
1318 1346
                 this.$message.error(resp.msg)
1319 1347
                 }
@@ -1502,6 +1530,26 @@ export default {
1502 1530
     }
1503 1531
   },
1504 1532
   created() {
1533
+    var schedule_type_selected = this.$store.getters.schedule_type_selected
1534
+    var zone_selected = this.$store.getters.zone_selected
1535
+    var patient_state_selected = this.$store.getters.patient_state_selected
1536
+    var treat_state_selected = this.$store.getters.treat_state_selected
1537
+    var selected_date = this.$store.getters.selected_date
1538
+    if (schedule_type_selected) {
1539
+      this.scheduleStateVal = schedule_type_selected.schedule_type_selected
1540
+    }
1541
+    if (zone_selected) {
1542
+      this.zoneVal = zone_selected.zone_selected
1543
+    }
1544
+    if (patient_state_selected) {
1545
+      this.patientStateVal = patient_state_selected.patient_state_selected
1546
+    }
1547
+    if (treat_state_selected) {
1548
+      this.treatStateVal = treat_state_selected.treat_state_selected
1549
+    }
1550
+    if (selected_date.selected_date) {
1551
+      this.selected_date = selected_date.selected_date
1552
+    }
1505 1553
     this.getInitData();
1506 1554
 
1507 1555
     var xtuser = this.$store.getters.xt_user;

+ 11 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue Прегледај датотеку

@@ -466,20 +466,23 @@
466 466
               <tr>
467 467
                 <td width="40">肝素:</td>
468 468
                 <td width="75">
469
-                  <label-box :isChecked="prescription.anticoagulant == 3 ? true : false" showValue="低分子:"></label-box>
469
+                  <label-box :isChecked="(prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7)  ? true : false" showValue="低分子:"></label-box>
470 470
                 </td>
471 471
 
472 472
                 <td width="60">
473 473
                   <div class="under-line">
474 474
                     &nbsp;
475
-                    <span v-if="prescription.anticoagulant == 3">{{ prescription.anticoagulant_zongliang }}</span>
475
+                    <span v-if="prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7">{{ prescription.anticoagulant_zongliang }}</span>
476 476
                   </div>
477 477
                 </td>
478 478
                 <td width="20">
479
+                  <span v-if="prescription.anticoagulant == 5">mg</span>
479 480
                   <span v-if="prescription.anticoagulant == 4">mg</span>
480 481
                   <span v-if="prescription.anticoagulant == 3">iu</span>
481
-                  <span v-if="prescription.anticoagulant == 2">iu</span>
482
+                  <span v-if="prescription.anticoagulant == 2">mg</span>
482 483
                   <span v-if="prescription.anticoagulant == 1">mg</span>
484
+                  <span v-if="prescription.anticoagulant == 6">iu</span>
485
+                  <span v-if="prescription.anticoagulant == 7">iu</span>
483 486
                 </td>
484 487
                 <td width="70">
485 488
                   <label-box :isChecked="prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
@@ -503,9 +506,10 @@
503 506
                 <td width="10"></td>
504 507
                 <td width="35">追加</td>
505 508
                 <td width="40">
506
-                  <div class="under-line">
509
+                  <div class="under-line" >
507 510
                     &nbsp;
508
-                    {{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}
511
+                    <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}</span>
512
+                    
509 513
                   </div>
510 514
                 </td>
511 515
                 <td width="40">
@@ -519,7 +523,8 @@
519 523
                 <td width="35">总量:</td>
520 524
                 <td width="40">
521 525
                   <div class="under-line">
522
-                    &nbsp;{{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/" }}
526
+                    &nbsp;
527
+                    <span v-if="prescription.anticoagulant == 2">{{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/" }}</span>
523 528
                   </div>
524 529
                 </td>
525 530
                 <td width="20">

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue Прегледај датотеку

@@ -956,7 +956,7 @@
956 956
           </td>
957 957
         </tr>
958 958
         <tr>
959
-          <td style="text-align:left;" colspan="10">
959
+          <td style="text-align:left;" colspan="9">
960 960
             <span style="display:inline-block;margin-left:15px;">
961 961
               透析中进食:
962 962
               <label-box
@@ -975,7 +975,7 @@
975 975
               <label-box showValue="住院" :isChecked="afterdialysis.patient_gose == 3 ? true : false"></label-box>
976 976
             </span>
977 977
           </td>
978
-          <td style="text-align:left;" colspan="2">
978
+          <td style="text-align:left;" colspan="3">
979 979
             <span>
980 980
               <span
981 981
                 v-if="finshForm.url === ''"

Разлика између датотеке није приказан због своје велике величине
+ 1789 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue


+ 1 - 1
src/xt_pages/user/patient.vue Прегледај датотеку

@@ -99,7 +99,7 @@
99 99
         <el-table-column  label="住院号" min-width="80"  property="admission_number" align="center"> </el-table-column>
100 100
         <el-table-column property="name" label="姓名" min-width="80" align="center">
101 101
           <template slot-scope="scope" >
102
-            <router-link :to="'/patients/edit/'+scope.row.id" style="color:#409eff" >{{scope.row.name}}</router-link>
102
+            <router-link :to="'/patients/edit/'+scope.row.id" style="color:#409eff;width:100%;display:block;" >{{scope.row.name}}</router-link>
103 103
           </template>
104 104
         </el-table-column>
105 105
         <el-table-column label="性别" min-width="80" align="center">

+ 1 - 1
src/xt_pages/user/patients.vue Прегледај датотеку

@@ -365,7 +365,7 @@
365 365
           <template slot-scope="scope">
366 366
             <router-link
367 367
               :to="'/patients/patient/' + scope.row.id"
368
-              style="color:#409eff"
368
+              style="color:#409eff;width:100%;display:block;"
369 369
             >{{ scope.row.name }}
370 370
             </router-link
371 371
             >