ソースを参照

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
         noCache: true
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
       path: '/dialysis/print/batch/otherone',
271
       path: '/dialysis/print/batch/otherone',
236
       component: () =>
272
       component: () =>

File diff suppressed because it is too large
+ 3993 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo.vue


File diff suppressed because it is too large
+ 2972 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo_one.vue


File diff suppressed because it is too large
+ 1727 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_twentyTwo_two.vue


+ 35 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue ファイルの表示

170
           >批量打印</el-button
170
           >批量打印</el-button
171
         >
171
         >
172
       </template>
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
     </div>
202
     </div>
174
     <div class="app-container">
203
     <div class="app-container">
175
       <!-- <div class="filter-container">
204
       <!-- <div class="filter-container">
679
         this.$router.push({ path: "/dialysis/print/batch/fifteen" });
708
         this.$router.push({ path: "/dialysis/print/batch/fifteen" });
680
       } else if (this.template_id == 20) {
709
       } else if (this.template_id == 20) {
681
         this.$router.push({ path: "/dialysis/print/batch/twenty" });
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
     batchPrintActionOne: function() {
715
     batchPrintActionOne: function() {
697
         this.$router.push({ path: "/dialysis/print/batch" });
728
         this.$router.push({ path: "/dialysis/print/batch" });
698
       } else if (this.template_id == 5) {
729
       } else if (this.template_id == 5) {
699
         this.$router.push({ path: "/dialysis/print/batch/fiveone" });
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
     batchPrintActionTwo: function() {
735
     batchPrintActionTwo: function() {
715
         this.$router.push({ path: "/dialysis/print/batch" });
748
         this.$router.push({ path: "/dialysis/print/batch" });
716
       } else if (this.template_id == 5) {
749
       } else if (this.template_id == 5) {
717
         this.$router.push({ path: "/dialysis/print/batch/fivetwo" });
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
             align="center"
317
             align="center"
318
             label="超滤率(ml/h)"
318
             label="超滤率(ml/h)"
319
             width="100"
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
             <template slot-scope="scope">
322
             <template slot-scope="scope">
323
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
323
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
328
             align="center"
328
             align="center"
329
             label="超滤率(L/h)"
329
             label="超滤率(L/h)"
330
             width="100"
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
             <template slot-scope="scope">
333
             <template slot-scope="scope">
334
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
334
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
469
             </el-form-item>
469
             </el-form-item>
470
           </el-col>
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
             <el-form-item label="超滤率(ml/h)">
473
             <el-form-item label="超滤率(ml/h)">
474
               <el-input v-model="form.ultrafiltration_rate"></el-input>
474
               <el-input v-model="form.ultrafiltration_rate"></el-input>
475
             </el-form-item>
475
             </el-form-item>
476
           </el-col>
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
             <el-form-item label="超滤率(L/h)">
478
             <el-form-item label="超滤率(L/h)">
479
               <el-input v-model="form.ultrafiltration_rate"></el-input>
479
               <el-input v-model="form.ultrafiltration_rate"></el-input>
480
             </el-form-item>
480
             </el-form-item>

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue ファイルの表示

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 || 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
           <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>

+ 12 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyTwo.vue ファイルの表示

150
                     <check-box text="股静脉" :checked="predialysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis','vascular_access','股静脉') ? true : false"></check-box>
150
                     <check-box text="股静脉" :checked="predialysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis','vascular_access','股静脉') ? true : false"></check-box>
151
                     <div class="inline_block">
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
                         <span>
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
                         </span>
157
                         </span>
157
                       </div>
158
                       </div>
158
                     </div>
159
                     </div>
1319
     };
1320
     };
1320
   },
1321
   },
1321
   methods: {
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
     getIsCheckDataConfig(pName, cName, targetName) {
1332
     getIsCheckDataConfig(pName, cName, targetName) {
1323
       var arr = getDataConfig(pName, cName);
1333
       var arr = getDataConfig(pName, cName);
1324
       for (let i = 0; i < arr.length; i++) {
1334
       for (let i = 0; i < arr.length; i++) {