Bladeren bron

hah阿凡达

28169 13 uur geleden
bovenliggende
commit
393d633c24

+ 11 - 0
src/router/modules/dialysis.js Bestand weergeven

@@ -1162,5 +1162,16 @@ export default {
1162 1162
       is_menu: false,
1163 1163
       hidden: true
1164 1164
     },
1165
+    {
1166
+      path: '/dialysis/new/doctoradvice',
1167
+      component: () => import('@/xt_pages/dialysis/batch_print/new_doctor_advice'),
1168
+      name: '医嘱打印',
1169
+      meta: {
1170
+        title: '医嘱打印',
1171
+        noCache: true
1172
+      },
1173
+      is_menu: false,
1174
+      hidden: true
1175
+    },
1165 1176
   ]
1166 1177
 }

Diff onderdrukt omdat het te groot bestand
+ 1347 - 0
src/xt_pages/dialysis/batch_print/new_doctor_advice.vue


+ 17 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue Bestand weergeven

@@ -230,6 +230,7 @@
230 230
       </template>
231 231
       <template v-if="this.template_id == 27">
232 232
         <el-button
233
+          style="margin-left: 1000px;"
233 234
           size="small"
234 235
           icon="el-icon-printer"
235 236
           :disabled="selecting_schs.length == 0"
@@ -237,6 +238,14 @@
237 238
           type="primary"
238 239
           >批量打印</el-button
239 240
         >
241
+        <el-button
242
+          size="small"
243
+          icon="el-icon-printer"
244
+          :disabled="selecting_schs.length == 0"
245
+          @click="batchPrintActionThree"
246
+          type="primary"
247
+          >医嘱打印</el-button
248
+        >
240 249
       </template>
241 250
       <template v-if="this.template_id == 28">
242 251
         <el-button
@@ -2817,6 +2826,14 @@ export default {
2817 2826
         this.$router.push({ path: "/dialysis/print/batch/thirtyThree_two" });
2818 2827
       }
2819 2828
     },
2829
+    batchPrintActionThree:function(){
2830
+      var sch_ids = [];
2831
+      for (let index = 0; index < this.selecting_schs.length; index++) {
2832
+        sch_ids.push(this.selecting_schs[index].sch_id);
2833
+      }
2834
+      this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
2835
+      this.$router.push({path:"/dialysis/new/doctoradvice"})
2836
+    },
2820 2837
     toExport(){
2821 2838
       import('@/vendor/Export2Excel').then(excel => {
2822 2839