瀏覽代碼

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

XMLWAN 4 年之前
父節點
當前提交
b944277794

+ 36 - 0
src/router/modules/dialysis.js 查看文件

@@ -231,6 +231,42 @@ export default {
231 231
         noCache: true
232 232
       }
233 233
     },
234
+    {
235
+      path: '/dialysis/print/batch/twentyTwo',
236
+      component: () =>
237
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo'),
238
+      hidden: true,
239
+      is_menu: false,
240
+      name: 'dialysis_batch_twentyTwo',
241
+      meta: {
242
+        title: '批量打印',
243
+        noCache: true
244
+      }
245
+    },
246
+    {
247
+      path: '/dialysis/print/batch/twentyTwo_one',
248
+      component: () =>
249
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo_one'),
250
+      hidden: true,
251
+      is_menu: false,
252
+      name: 'dialysis_batch_twentyTwo_one',
253
+      meta: {
254
+        title: '批量打印',
255
+        noCache: true
256
+      }
257
+    },
258
+    {
259
+      path: '/dialysis/print/batch/twentyTwo_two',
260
+      component: () =>
261
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo_two'),
262
+      hidden: true,
263
+      is_menu: false,
264
+      name: 'dialysis_batch_twentyTwo_two',
265
+      meta: {
266
+        title: '批量打印',
267
+        noCache: true
268
+      }
269
+    },
234 270
     {
235 271
       path: '/dialysis/print/batch/otherone',
236 272
       component: () =>

文件差異過大導致無法顯示
+ 3993 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo.vue


文件差異過大導致無法顯示
+ 2972 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo_one.vue


文件差異過大導致無法顯示
+ 1727 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo_two.vue


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

@@ -170,6 +170,35 @@
170 170
           >批量打印</el-button
171 171
         >
172 172
       </template>
173
+      <template v-if="this.template_id == 22">
174
+        <div>
175
+          <el-button
176
+            :loading="loading"
177
+            size="small"
178
+            icon="el-icon-printer"
179
+            @click="batchPrintAction"
180
+            type="primary"
181
+            >打印全部</el-button
182
+          >
183
+          <el-button
184
+            :loading="loading"
185
+            size="small"
186
+            icon="el-icon-printer"
187
+            @click="batchPrintActionOne"
188
+            type="primary"
189
+            style=""
190
+            >打印纪录单</el-button
191
+          >
192
+          <el-button
193
+            :loading="loading"
194
+            size="small"
195
+            icon="el-icon-printer"
196
+            @click="batchPrintActionTwo"
197
+            type="primary"
198
+            >打印医嘱单</el-button
199
+          >
200
+        </div>
201
+      </template>
173 202
     </div>
174 203
     <div class="app-container">
175 204
       <!-- <div class="filter-container">
@@ -679,6 +708,8 @@ export default {
679 708
         this.$router.push({ path: "/dialysis/print/batch/fifteen" });
680 709
       } else if (this.template_id == 20) {
681 710
         this.$router.push({ path: "/dialysis/print/batch/twenty" });
711
+      } else if (this.template_id == 22) {
712
+        this.$router.push({ path: "/dialysis/print/batch/twentyTwo" });
682 713
       }
683 714
     },
684 715
     batchPrintActionOne: function() {
@@ -697,6 +728,8 @@ export default {
697 728
         this.$router.push({ path: "/dialysis/print/batch" });
698 729
       } else if (this.template_id == 5) {
699 730
         this.$router.push({ path: "/dialysis/print/batch/fiveone" });
731
+      } else if (this.template_id == 22) {
732
+        this.$router.push({ path: "/dialysis/print/batch/twentyTwo_one" });
700 733
       }
701 734
     },
702 735
     batchPrintActionTwo: function() {
@@ -715,6 +748,8 @@ export default {
715 748
         this.$router.push({ path: "/dialysis/print/batch" });
716 749
       } else if (this.template_id == 5) {
717 750
         this.$router.push({ path: "/dialysis/print/batch/fivetwo" });
751
+      } else if (this.template_id == 22) {
752
+        this.$router.push({ path: "/dialysis/print/batch/twentyTwo_two" });
718 753
       }
719 754
     }
720 755
   },

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

@@ -317,7 +317,7 @@
317 317
             align="center"
318 318
             label="超滤率(ml/h)"
319 319
             width="100"
320
-            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 || template_id == 21) "
320
+            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 || template_id == 21 || template_id == 22) "
321 321
           >
322 322
             <template slot-scope="scope">
323 323
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -328,7 +328,7 @@
328 328
             align="center"
329 329
             label="超滤率(L/h)"
330 330
             width="100"
331
-            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 && template_id != 21"
331
+            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 && template_id != 21 && template_id != 22"
332 332
           >
333 333
             <template slot-scope="scope">
334 334
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -469,12 +469,12 @@
469 469
             </el-form-item>
470 470
           </el-col>
471 471
 
472
-          <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 || template_id == 21) ">
472
+          <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 || template_id == 21 || template_id == 22) ">
473 473
             <el-form-item label="超滤率(ml/h)">
474 474
               <el-input v-model="form.ultrafiltration_rate"></el-input>
475 475
             </el-form-item>
476 476
           </el-col>
477
-          <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 && template_id != 21">
477
+          <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 && template_id != 21 && template_id != 22">
478 478
             <el-form-item label="超滤率(L/h)">
479 479
               <el-input v-model="form.ultrafiltration_rate"></el-input>
480 480
             </el-form-item>

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

@@ -26,8 +26,8 @@
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 || template_id == 20 || template_id == 21)" 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 && template_id !=21" 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 || template_id == 21 || template_id == 22)" 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 && template_id !=21 && template_id !=22" 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>

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

@@ -150,9 +150,10 @@
150 150
                     <check-box text="股静脉" :checked="predialysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis','vascular_access','股静脉') ? true : false"></check-box>
151 151
                     <div class="inline_block">
152 152
                       其它:
153
-                      <div class="under_line" style="width: 50px;text-align: left">
153
+                      <div class="under_line" style="width: 100px;text-align: left">
154 154
                         <span>
155
-                          {{ predialysis.venous_catheterization_part_other }}
155
+                          <!-- {{ predialysis.venous_catheterization_part_other }} -->
156
+                          {{ ['锁骨下','颈静脉','股静脉'].indexOf(getPartName(predialysis.blood_access_part_id)) == -1 ? getPartName(predialysis.blood_access_part_id) : '' }}
156 157
                         </span>
157 158
                       </div>
158 159
                     </div>
@@ -1319,6 +1320,15 @@ export default {
1319 1320
     };
1320 1321
   },
1321 1322
   methods: {
1323
+    getPartName(id) {
1324
+      var vascularAccess = getDataConfig('hemodialysis', 'vascular_access')
1325
+      this.vascularAccess = vascularAccess
1326
+      for (let i = 0; i < this.vascularAccess.length; i++) {
1327
+        if (this.vascularAccess[i].id == id) {
1328
+          return this.vascularAccess[i].name
1329
+        }
1330
+      }
1331
+    },
1322 1332
     getIsCheckDataConfig(pName, cName, targetName) {
1323 1333
       var arr = getDataConfig(pName, cName);
1324 1334
       for (let i = 0; i < arr.length; i++) {