瀏覽代碼

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

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

+ 113 - 84
src/router/modules/dialysis.js 查看文件

@@ -1,42 +1,43 @@
1
-import Layout from '@/views/layout/Layout'
1
+import Layout from "@/views/layout/Layout";
2 2
 
3 3
 export default {
4
-  path: '/dialysis/',
4
+  path: "/dialysis/",
5 5
   component: Layout,
6
-  redirect: 'noredirect',
7
-  name: 'dialysis',
6
+  redirect: "noredirect",
7
+  name: "dialysis",
8 8
   alwaysShow: true,
9 9
   meta: {
10
-    title: 'dialysis',
11
-    icon: 'touxi'
10
+    title: "dialysis",
11
+    icon: "touxi"
12 12
   },
13
-  children: [{
14
-      path: '/dialysis/dialysisrecord',
15
-      component: () => import('@/xt_pages/dialysis/schedualPatient'),
16
-      name: '透析记录',
13
+  children: [
14
+    {
15
+      path: "/dialysis/dialysisrecord",
16
+      component: () => import("@/xt_pages/dialysis/schedualPatient"),
17
+      name: "透析记录",
17 18
       meta: {
18
-        title: '透析记录'
19
+        title: "透析记录"
19 20
       }
20 21
     },
21 22
     {
22
-      path: '/dialysis/record/:id',
23
-      component: () => import('@/xt_pages/dialysis/dialysisPage'),
23
+      path: "/dialysis/record/:id",
24
+      component: () => import("@/xt_pages/dialysis/dialysisPage"),
24 25
       hidden: true,
25 26
       is_menu: false,
26
-      name: 'paper',
27
+      name: "paper",
27 28
       meta: {
28
-        title: 'paper',
29
+        title: "paper",
29 30
         noCache: true
30 31
       }
31 32
     },
32 33
     {
33
-      path: '/dialysis/print',
34
-      component: () => import('@/xt_pages/dialysis/dialysisPrintOrder'),
34
+      path: "/dialysis/print",
35
+      component: () => import("@/xt_pages/dialysis/dialysisPrintOrder"),
35 36
       hidden: true,
36 37
       is_menu: false,
37
-      name: 'dialysisPrintOrder',
38
+      name: "dialysisPrintOrder",
38 39
       meta: {
39
-        title: 'dialysisPrintOrder',
40
+        title: "dialysisPrintOrder",
40 41
         noCache: true
41 42
       }
42 43
     },
@@ -44,158 +45,186 @@ export default {
44 45
     // { path: 'advice', component: () => import('@/xt_pages/dialysis/doctorAdvice'), name: 'advice', meta: { title: 'advice' }},
45 46
     // { path: 'prepare', component: () => import('@/xt_pages/dialysis/dialysisPrepare'), name: 'prepare', meta: { title: 'prepare' }},
46 47
     {
47
-      path: '/dialysis/watch',
48
-      component: () => import('@/xt_pages/dialysis/bloodPresssWatch'),
49
-      name: 'watch',
48
+      path: "/dialysis/watch",
49
+      component: () => import("@/xt_pages/dialysis/bloodPresssWatch"),
50
+      name: "watch",
50 51
       meta: {
51
-        title: 'watch'
52
+        title: "watch"
52 53
       }
53 54
     },
54 55
     {
55
-      path: '/dialysis/details',
56
-      component: () => import('@/xt_pages/dialysis/details'),
57
-      name: 'details',
56
+      path: "/dialysis/details",
57
+      component: () => import("@/xt_pages/dialysis/details"),
58
+      name: "details",
58 59
       meta: {
59
-        title: 'details'
60
+        title: "details"
60 61
       },
61 62
       hidden: true,
62 63
       is_menu: false
63 64
     },
64 65
     {
65
-      path: '/dialysis/print/batch',
66
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order'),
66
+      path: "/dialysis/print/batch",
67
+      component: () =>
68
+        import("@/xt_pages/dialysis/batch_print/batch_print_order"),
69
+      hidden: true,
70
+      is_menu: false,
71
+      name: "dialysis_batch_print",
72
+      meta: {
73
+        title: "批量打印",
74
+        noCache: true
75
+      }
76
+    },
77
+    {
78
+      path: "/dialysis/print/batch/other",
79
+      component: () =>
80
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_other"),
67 81
       hidden: true,
68 82
       is_menu: false,
69
-      name: 'dialysis_batch_print',
83
+      name: "dialysis_batch_print_two",
70 84
       meta: {
71
-        title: '批量打印',
85
+        title: "批量打印",
72 86
         noCache: true
73 87
       }
74
-    }, {
75
-      path: '/dialysis/print/batch/other',
76
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_other'),
88
+    },
89
+    {
90
+      path: "/dialysis/print/batch/three",
91
+      component: () =>
92
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_three"),
77 93
       hidden: true,
78 94
       is_menu: false,
79
-      name: 'dialysis_batch_print_two',
95
+      name: "dialysis_batch_print_two_one",
80 96
       meta: {
81
-        title: '批量打印',
97
+        title: "批量打印",
82 98
         noCache: true
83 99
       }
84 100
     },
85 101
     {
86
-      path: '/dialysis/print/batch/three',
87
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_three'),
102
+      path: "/dialysis/print/batch/four",
103
+      component: () =>
104
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_four"),
88 105
       hidden: true,
89 106
       is_menu: false,
90
-      name: 'dialysis_batch_print_two_one',
107
+      name: "dialysis_batch_print_two_one",
91 108
       meta: {
92
-        title: '批量打印',
109
+        title: "批量打印",
93 110
         noCache: true
94 111
       }
95 112
     },
96 113
     {
97
-      path: '/dialysis/print/batch/four',
98
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_four'),
114
+      path: "/dialysis/print/batch/five",
115
+      component: () =>
116
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_five"),
99 117
       hidden: true,
100 118
       is_menu: false,
101
-      name: 'dialysis_batch_print_two_one',
119
+      name: "dialysis_batch_print_two_one",
102 120
       meta: {
103
-        title: '批量打印',
121
+        title: "批量打印",
104 122
         noCache: true
105 123
       }
106 124
     },
107 125
     {
108
-      path: '/dialysis/print/batch/five',
109
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_five'),
126
+      path: "/dialysis/print/batch/six",
127
+      component: () =>
128
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_six"),
110 129
       hidden: true,
111 130
       is_menu: false,
112
-      name: 'dialysis_batch_print_two_one',
131
+      name: "dialysis_batch_six",
113 132
       meta: {
114
-        title: '批量打印',
133
+        title: "批量打印",
115 134
         noCache: true
116 135
       }
117 136
     },
118 137
     {
119
-      path: '/dialysis/print/batch/six',
120
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_six'),
138
+      path: "/dialysis/print/batch/seven",
139
+      component: () =>
140
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_seven"),
121 141
       hidden: true,
122 142
       is_menu: false,
123
-      name: 'dialysis_batch_six',
143
+      name: "dialysis_batch_seven",
124 144
       meta: {
125
-        title: '批量打印',
145
+        title: "批量打印",
126 146
         noCache: true
127 147
       }
128 148
     },
129 149
     {
130
-      path: '/dialysis/print/batch/seven',
131
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_seven'),
150
+      path: "/dialysis/print/batch/eight",
151
+      component: () =>
152
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_eight"),
132 153
       hidden: true,
133 154
       is_menu: false,
134
-      name: 'dialysis_batch_seven',
155
+      name: "dialysis_batch_eight",
135 156
       meta: {
136
-        title: '批量打印',
157
+        title: "批量打印",
137 158
         noCache: true
138 159
       }
139 160
     },
140 161
     {
141
-      path: '/dialysis/print/batch/eight',
142
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_eight'),
162
+      path: "/dialysis/print/batch/nine",
163
+      component: () =>
164
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_nine"),
143 165
       hidden: true,
144 166
       is_menu: false,
145
-      name: 'dialysis_batch_eight',
167
+      name: "dialysis_batch_nine",
146 168
       meta: {
147
-        title: '批量打印',
169
+        title: "批量打印",
148 170
         noCache: true
149 171
       }
150 172
     },
151 173
     {
152
-      path: '/dialysis/print/batch/otherone',
153
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_other_one'),
174
+      path: "/dialysis/print/batch/otherone",
175
+      component: () =>
176
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_other_one"),
154 177
       hidden: true,
155 178
       is_menu: false,
156
-      name: 'dialysis_batch_print_two_one',
179
+      name: "dialysis_batch_print_two_one",
157 180
       meta: {
158
-        title: '批量打印',
181
+        title: "批量打印",
159 182
         noCache: true
160 183
       }
161
-    }, {
162
-      path: '/dialysis/print/batch/othertwo',
163
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_other_two'),
184
+    },
185
+    {
186
+      path: "/dialysis/print/batch/othertwo",
187
+      component: () =>
188
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_other_two"),
164 189
       hidden: true,
165 190
       is_menu: false,
166
-      name: 'dialysis_batch_print_two_two',
191
+      name: "dialysis_batch_print_two_two",
167 192
       meta: {
168
-        title: '批量打印',
193
+        title: "批量打印",
169 194
         noCache: true
170 195
       }
171
-    }, {
172
-      path: '/dialysis/print/batch/fiveone',
173
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_five_one'),
196
+    },
197
+    {
198
+      path: "/dialysis/print/batch/fiveone",
199
+      component: () =>
200
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_five_one"),
174 201
       hidden: true,
175 202
       is_menu: false,
176
-      name: 'dialysis_batch_print_two_two',
203
+      name: "dialysis_batch_print_two_two",
177 204
       meta: {
178
-        title: '批量打印',
205
+        title: "批量打印",
179 206
         noCache: true
180 207
       }
181
-    }, {
182
-      path: '/dialysis/print/batch/fivetwo',
183
-      component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_five_two'),
208
+    },
209
+    {
210
+      path: "/dialysis/print/batch/fivetwo",
211
+      component: () =>
212
+        import("@/xt_pages/dialysis/batch_print/batch_print_order_five_two"),
184 213
       hidden: true,
185 214
       is_menu: false,
186
-      name: 'dialysis_batch_print_two_two',
215
+      name: "dialysis_batch_print_two_two",
187 216
       meta: {
188
-        title: '批量打印',
217
+        title: "批量打印",
189 218
         noCache: true
190 219
       }
191 220
     },
192 221
     {
193
-      path: '/dialysis/board',
194
-      component: () => import('@/xt_pages/dialysis/bulletinBoard'),
195
-      name: '数据看板',
222
+      path: "/dialysis/board",
223
+      component: () => import("@/xt_pages/dialysis/bulletinBoard"),
224
+      name: "数据看板",
196 225
       meta: {
197
-        title: '数据看板'
226
+        title: "数据看板"
198 227
       }
199 228
     }
200 229
   ]
201
-}
230
+};

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

@@ -337,7 +337,7 @@
337 337
                       目标KT/V:
338 338
                       <div class="under_line" style="width: 50px;"></div>&nbsp;&nbsp;
339 339
                       电导度::
340
-                      <div class="under_line" style="width: 50px;"></div>mS/m&nbsp;&nbsp;
340
+                      <div class="under_line" style="width: 50px;"></div>mS/cm&nbsp;&nbsp;
341 341
 
342 342
                     </div>
343 343
                   </div>

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


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

@@ -120,6 +120,16 @@
120 120
           >批量打印</el-button
121 121
         >
122 122
       </template>
123
+      <template v-if="this.template_id == 9">
124
+        <el-button
125
+          size="small"
126
+          icon="el-icon-printer"
127
+          :disabled="selecting_schs.length == 0"
128
+          @click="batchPrintAction"
129
+          type="primary"
130
+          >批量打印</el-button
131
+        >
132
+      </template>
123 133
     </div>
124 134
     <div class="app-container">
125 135
       <!-- <div class="filter-container">
@@ -579,6 +589,8 @@ export default {
579 589
         this.$router.push({ path: "/dialysis/print/batch/seven" });
580 590
       } else if (this.template_id == 8) {
581 591
         this.$router.push({ path: "/dialysis/print/batch/eight" });
592
+      } else if (this.template_id == 9) {
593
+        this.$router.push({ path: "/dialysis/print/batch/nine" });
582 594
       }
583 595
     },
584 596
     batchPrintActionOne: function() {

文件差異過大導致無法顯示
+ 520 - 357
src/xt_pages/dialysis/details/DialysisPrescription.vue


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

@@ -267,7 +267,7 @@
267 267
           <el-table-column
268 268
             prop="displacement_flow_quantity"
269 269
             align="center"
270
-            label="电导度(mS/m)"
270
+            label="电导度(mS/cm)"
271 271
             width="100"
272 272
             v-if="isShow('电导度')"
273 273
           >
@@ -447,7 +447,7 @@
447 447
           </el-col>
448 448
 
449 449
           <el-col :span="8" v-if="isShow('电导度')">
450
-            <el-form-item label="电导度(mS/m):">
450
+            <el-form-item label="电导度(mS/cm):">
451 451
               <el-input v-model="form.conductivity"></el-input>
452 452
             </el-form-item>
453 453
           </el-col>

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

@@ -22,7 +22,7 @@
22 22
         <th v-if="isShow('置换量')&& template_id == 6" width="92px">置换量(ml)</th>
23 23
         <th v-if="isShow('置换量')&& template_id != 6" width="92px">置换量(L)</th>
24 24
          <th v-if="isShow('SpO₂')&& template_id != 6" width="92px">SpO₂(%)</th>
25
-        <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
25
+        <th v-if="isShow('电导度')" width="92px">电导度(mS/cm)</th>
26 26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27 27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
28 28
         <th v-if="isShow('处理')"  width="92px">处理</th>

+ 27 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

@@ -123,6 +123,16 @@
123 123
           >打印</el-button
124 124
         >
125 125
       </template>
126
+      <template v-if="org_template_info.template_id == 9">
127
+        <el-button
128
+          :loading="loading"
129
+          size="small"
130
+          icon="el-icon-printer"
131
+          @click="printThisPage"
132
+          type="primary"
133
+          >打印</el-button
134
+        >
135
+      </template>
126 136
     </div>
127 137
     <div class="app-container ">
128 138
       <!--<div class="order-print-btn"-->
@@ -184,6 +194,10 @@
184 194
         v-if="org_template_info.template_id == 8"
185 195
       >
186 196
       </DialysisPrintOrderEight>
197
+      <DialysisPrintOrderNine
198
+        v-bind:childResponse="childResponse"
199
+        v-if="org_template_info.template_id == 9"
200
+      ></DialysisPrintOrderNine>
187 201
     </div>
188 202
   </div>
189 203
 </template>
@@ -202,6 +216,7 @@ import DialysisPrintOrderFive from "./template/DialysisPrintOrderFive";
202 216
 import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
203 217
 import DialysisPrintOrderSeven from "./template/DialysisPrintOrderSeven";
204 218
 import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
219
+import DialysisPrintOrderNine from "./template/DialysisPrintOrderNine";
205 220
 import print from "print-js";
206 221
 
207 222
 export default {
@@ -215,6 +230,7 @@ export default {
215 230
     DialysisPrintOrderSix,
216 231
     DialysisPrintOrderSeven,
217 232
     DialysisPrintOrderEight,
233
+    DialysisPrintOrderNine,
218 234
     LabelBox,
219 235
     BreadCrumb
220 236
   },
@@ -412,6 +428,17 @@ export default {
412 428
           style: style3,
413 429
           scanStyles: false
414 430
         });
431
+      } else if (this.org_template_info.template_id == 9) {
432
+        console.log(
433
+          "joasdjjaslkdjlasjdlkasj",
434
+          this.org_template_info.template_id
435
+        );
436
+        printJS({
437
+          printable: "dialysis-print-box",
438
+          type: "html",
439
+          style: style3,
440
+          scanStyles: false
441
+        });
415 442
       }
416 443
     },
417 444
     printThisOnePage() {

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

@@ -451,7 +451,7 @@
451 451
                           <span v-if="prescription.anticoagulant==2">{{prescription.anticoagulant_shouji}}</span>
452 452
                         </div>
453 453
                       </td>
454
-                      <td width="20">mS/m</td>
454
+                      <td width="20">mS/cm</td>
455 455
                       <td></td>
456 456
                     </tr>
457 457
                   </tbody>

文件差異過大導致無法顯示
+ 2105 - 1264
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue


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