瀏覽代碼

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
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
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"',
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
   SSO_HOST: '"http://testsso.sgjyun.com"',
11
   SSO_HOST: '"http://testsso.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
12
   SRCM_HOST: '"http://test1.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',
13
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js 查看文件

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

+ 12 - 0
src/styles/index.scss 查看文件

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

+ 1 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue 查看文件

272
         ></el-table-column>
272
         ></el-table-column>
273
         <el-table-column prop="name" label="姓名" align="center">
273
         <el-table-column prop="name" label="姓名" align="center">
274
           <template slot-scope="scope">
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
           </template>
276
           </template>
277
         </el-table-column>
277
         </el-table-column>
278
 
278
 

+ 5 - 3
src/xt_pages/dialysis/details/DialysisPrescription.vue 查看文件

15
           <span class="content">{{
15
           <span class="content">{{
16
             replacement_total != "0" ? replacement_total : ""
16
             replacement_total != "0" ? replacement_total : ""
17
           }}</span>
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
         </li>
21
         </li>
20
 
22
 
21
         <li v-if="isShow('透析液配方')">
23
         <li v-if="isShow('透析液配方')">
77
           <span class="content">{{
79
           <span class="content">{{
78
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
80
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
79
           }}</span>
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
         </li>
84
         </li>
83
         <li v-if="isShow('葡萄糖')">
85
         <li v-if="isShow('葡萄糖')">
84
           <label>葡萄糖 : </label>
86
           <label>葡萄糖 : </label>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue 查看文件

17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18
             actual_ultrafiltration
18
             actual_ultrafiltration
19
           }}</span>
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
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

+ 5 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 查看文件

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
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
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>
393
         <el-row :gutter="20"> -->
393
         <el-row :gutter="20"> -->
394
 
394
 
395
         <el-col :span="8" v-if="isShow('实际置换量')">
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
             <el-input v-model="form.actual_displacement"></el-input>
400
             <el-input v-model="form.actual_displacement"></el-input>
398
           </el-form-item>
401
           </el-form-item>
399
         </el-col>
402
         </el-col>

+ 11 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

64
             </el-form-item>
64
             </el-form-item>
65
           </el-col>
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
             <el-form-item label="目标超滤量(ml):">
68
             <el-form-item label="目标超滤量(ml):">
69
               <el-input
69
               <el-input
70
                 type="number"
70
                 type="number"
73
             </el-form-item>
73
             </el-form-item>
74
           </el-col>
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
             <el-form-item label="目标超滤量(L):">
77
             <el-form-item label="目标超滤量(L):">
78
               <el-input
78
               <el-input
79
                 type="number"
79
                 type="number"
136
             </el-form-item>
136
             </el-form-item>
137
           </el-col>
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
             <el-form-item label="置换量(L):">
148
             <el-form-item label="置换量(L):">
141
               <el-input
149
               <el-input
142
                 type="number"
150
                 type="number"

+ 26 - 14
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

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

+ 8 - 8
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

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

+ 56 - 8
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

243
           >打印</el-button
243
           >打印</el-button
244
         >
244
         >
245
       </template>
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
     </div>
256
     </div>
247
     <div class="app-container" style="min-height:0;">
257
     <div class="app-container" style="min-height:0;">
248
       <!--<div class="order-print-btn"-->
258
       <!--<div class="order-print-btn"-->
423
             v-bind:childResponse="childResponse"
433
             v-bind:childResponse="childResponse"
424
             v-if="org_template_info.template_id == 19"
434
             v-if="org_template_info.template_id == 19"
425
           ></DialysisPrintOrderNineteen>
435
           ></DialysisPrintOrderNineteen>
436
+          <DialysisPrintOrderTwenty
437
+            v-bind:childResponse="childResponse"
438
+            v-if="org_template_info.template_id == 20"
439
+          ></DialysisPrintOrderTwenty>
426
         </div>
440
         </div>
427
       </el-container>
441
       </el-container>
428
     </div>
442
     </div>
461
 import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen";
475
 import DialysisPrintOrderSeventeen from "./template/DialysisPrintOrderSeventeen";
462
 import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
476
 import DialysisPrintOrderEighteen from "./template/DialysisPrintOrderEighteen";
463
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
477
 import DialysisPrintOrderNineteen from "./template/DialysisPrintOrderNineteen";
478
+import DialysisPrintOrderTwenty from "./template/DialysisPrintOrderTwenty";
464
 
479
 
465
 export default {
480
 export default {
466
   name: "dialysisPrintOrder",
481
   name: "dialysisPrintOrder",
467
   components: {
482
   components: {
483
+    DialysisPrintOrderTwenty,
468
     DialysisPrintOrderNineteen,
484
     DialysisPrintOrderNineteen,
469
     DialysisPrintOrderEighteen,
485
     DialysisPrintOrderEighteen,
470
     DialysisPrintOrderSeventeen,
486
     DialysisPrintOrderSeventeen,
783
           style: style2,
799
           style: style2,
784
           scanStyles: false
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
     printThisOnePage() {
811
     printThisOnePage() {
789
       var ptime = Math.round(new Date().getTime() / 1000);
812
       var ptime = Math.round(new Date().getTime() / 1000);
1199
       );
1222
       );
1200
     },
1223
     },
1201
     //日期
1224
     //日期
1202
-        handleScheduleDateChange: function() {
1225
+        handleScheduleDateChange: function(index) {
1203
             this.treatStateVal = 0
1226
             this.treatStateVal = 0
1204
             this.patientStateVal = 0
1227
             this.patientStateVal = 0
1205
             this.zoneVal = 0
1228
             this.zoneVal = 0
1210
             //   schedule_type: this.schedule_type_selected,
1233
             //   schedule_type: this.schedule_type_selected,
1211
             //   schedule_date: this.selected_date,
1234
             //   schedule_date: this.selected_date,
1212
             // })
1235
             // })
1236
+            this.selected_date = index
1237
+            this.$store.dispatch('SetSelectedDate', { selected_date: index })
1213
             this.requestDialysisSchedules()
1238
             this.requestDialysisSchedules()
1214
         },
1239
         },
1215
         //初始化数据
1240
         //初始化数据
1225
                     zone_options.push({ id: zone.id, text: zone.name })
1250
                     zone_options.push({ id: zone.id, text: zone.name })
1226
                 }
1251
                 }
1227
                 this.zone_options = zone_options
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
                 this.arr = this.processedDialysisSchedules(schedules, this.zone_options)
1254
                 this.arr = this.processedDialysisSchedules(schedules, this.zone_options)
1230
-                this.getData()
1255
+                this.requestDialysisSchedules()
1256
+                // this.getData()
1231
                 } else {
1257
                 } else {
1232
                 this.$message.error(resp.msg)
1258
                 this.$message.error(resp.msg)
1233
                 }
1259
                 }
1236
         // 班次
1262
         // 班次
1237
         handletimeType: function(index) {
1263
         handletimeType: function(index) {
1238
             this.scheduleStateVal = index
1264
             this.scheduleStateVal = index
1239
-            // this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
1265
+            this.$store.dispatch('SetScheduleTypeSelected', { schedule_type_selected: index })
1240
             this.search_keyword = this.search_input = ''
1266
             this.search_keyword = this.search_input = ''
1241
             this.getData()
1267
             this.getData()
1242
         },
1268
         },
1243
         //分区
1269
         //分区
1244
         handleZoneChange: function(index) {
1270
         handleZoneChange: function(index) {
1245
             this.zoneVal = index
1271
             this.zoneVal = index
1246
-            // this.$store.dispatch('SetZoneSelected', { zone_selected: index })
1272
+            this.$store.dispatch('SetZoneSelected', { zone_selected: index })
1247
             this.search_keyword = this.search_input = ''
1273
             this.search_keyword = this.search_input = ''
1248
             this.getData()
1274
             this.getData()
1249
         },
1275
         },
1250
         //患者状态
1276
         //患者状态
1251
         handleStateChange: function(index) {
1277
         handleStateChange: function(index) {
1252
             this.patientStateVal = index
1278
             this.patientStateVal = index
1253
-            // this.$store.dispatch('SetPatientStateSelected', { patient_state_selected: index })
1279
+            this.$store.dispatch('SetPatientStateSelected', { patient_state_selected: index })
1254
             this.search_keyword = this.search_input = ''
1280
             this.search_keyword = this.search_input = ''
1255
             this.getData()
1281
             this.getData()
1256
         },
1282
         },
1257
         handleTreatChange: function(index) {
1283
         handleTreatChange: function(index) {
1258
             this.treatStateVal = index
1284
             this.treatStateVal = index
1259
-            // this.$store.dispatch('SetTreatStateSelected', { treat_state_selected: index })
1285
+            this.$store.dispatch('SetTreatStateSelected', { treat_state_selected: index })
1260
             this.search_keyword = this.search_input = ''
1286
             this.search_keyword = this.search_input = ''
1261
             this.getData()
1287
             this.getData()
1262
         },
1288
         },
1309
                 if (resp.state == 1) {
1335
                 if (resp.state == 1) {
1310
                 var schedules = resp.data.schedules
1336
                 var schedules = resp.data.schedules
1311
                 this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1337
                 this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1338
+                
1312
                 let newArr = []
1339
                 let newArr = []
1313
                 this.zone_schedules.map(item => {
1340
                 this.zone_schedules.map(item => {
1314
                     newArr.push(...item.schedules)
1341
                     newArr.push(...item.schedules)
1315
                 })
1342
                 })
1316
                 this.tableData = newArr
1343
                 this.tableData = newArr
1344
+                this.getData()
1317
                 } else {
1345
                 } else {
1318
                 this.$message.error(resp.msg)
1346
                 this.$message.error(resp.msg)
1319
                 }
1347
                 }
1502
     }
1530
     }
1503
   },
1531
   },
1504
   created() {
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
     this.getInitData();
1553
     this.getInitData();
1506
 
1554
 
1507
     var xtuser = this.$store.getters.xt_user;
1555
     var xtuser = this.$store.getters.xt_user;

+ 11 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue 查看文件

466
               <tr>
466
               <tr>
467
                 <td width="40">肝素:</td>
467
                 <td width="40">肝素:</td>
468
                 <td width="75">
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
                 </td>
470
                 </td>
471
 
471
 
472
                 <td width="60">
472
                 <td width="60">
473
                   <div class="under-line">
473
                   <div class="under-line">
474
                     &nbsp;
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
                   </div>
476
                   </div>
477
                 </td>
477
                 </td>
478
                 <td width="20">
478
                 <td width="20">
479
+                  <span v-if="prescription.anticoagulant == 5">mg</span>
479
                   <span v-if="prescription.anticoagulant == 4">mg</span>
480
                   <span v-if="prescription.anticoagulant == 4">mg</span>
480
                   <span v-if="prescription.anticoagulant == 3">iu</span>
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
                   <span v-if="prescription.anticoagulant == 1">mg</span>
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
                 </td>
486
                 </td>
484
                 <td width="70">
487
                 <td width="70">
485
                   <label-box :isChecked="prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
488
                   <label-box :isChecked="prescription.anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
503
                 <td width="10"></td>
506
                 <td width="10"></td>
504
                 <td width="35">追加</td>
507
                 <td width="35">追加</td>
505
                 <td width="40">
508
                 <td width="40">
506
-                  <div class="under-line">
509
+                  <div class="under-line" >
507
                     &nbsp;
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
                   </div>
513
                   </div>
510
                 </td>
514
                 </td>
511
                 <td width="40">
515
                 <td width="40">
519
                 <td width="35">总量:</td>
523
                 <td width="35">总量:</td>
520
                 <td width="40">
524
                 <td width="40">
521
                   <div class="under-line">
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
                   </div>
528
                   </div>
524
                 </td>
529
                 </td>
525
                 <td width="20">
530
                 <td width="20">

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue 查看文件

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

文件差異過大導致無法顯示
+ 1789 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwenty.vue


+ 1 - 1
src/xt_pages/user/patient.vue 查看文件

99
         <el-table-column  label="住院号" min-width="80"  property="admission_number" align="center"> </el-table-column>
99
         <el-table-column  label="住院号" min-width="80"  property="admission_number" align="center"> </el-table-column>
100
         <el-table-column property="name" label="姓名" min-width="80" align="center">
100
         <el-table-column property="name" label="姓名" min-width="80" align="center">
101
           <template slot-scope="scope" >
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
           </template>
103
           </template>
104
         </el-table-column>
104
         </el-table-column>
105
         <el-table-column label="性别" min-width="80" align="center">
105
         <el-table-column label="性别" min-width="80" align="center">

+ 1 - 1
src/xt_pages/user/patients.vue 查看文件

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