瀏覽代碼

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

28169 1 年之前
父節點
當前提交
be3bc5a83c

文件差異過大導致無法顯示
+ 23757 - 5850
package-lock.json


+ 2 - 3
package.json 查看文件

59
     "jszip": "3.1.5",
59
     "jszip": "3.1.5",
60
     "mockjs": "1.0.1-beta3",
60
     "mockjs": "1.0.1-beta3",
61
     "moment": "^2.24.0",
61
     "moment": "^2.24.0",
62
-    "node-sass": "4.14.1",
62
+    "node-sass": "^5.0.0",
63
     "normalize.css": "7.0.0",
63
     "normalize.css": "7.0.0",
64
     "nprogress": "0.2.0",
64
     "nprogress": "0.2.0",
65
     "print-js": "^1.0.50",
65
     "print-js": "^1.0.50",
66
     "qrcodejs2": "0.0.2",
66
     "qrcodejs2": "0.0.2",
67
+    "sass-loader": "^7.0.0",
67
     "screenfull": "4.2.0",
68
     "screenfull": "4.2.0",
68
     "serve-static": "1.13.2",
69
     "serve-static": "1.13.2",
69
     "showdown": "1.8.5",
70
     "showdown": "1.8.5",
110
     "html-webpack-plugin": "2.30.1",
111
     "html-webpack-plugin": "2.30.1",
111
     "lint-staged": "7.2.0",
112
     "lint-staged": "7.2.0",
112
     "node-notifier": "5.1.2",
113
     "node-notifier": "5.1.2",
113
-    "node-sass": "^4.14.1",
114
     "optimize-css-assets-webpack-plugin": "3.2.0",
114
     "optimize-css-assets-webpack-plugin": "3.2.0",
115
     "ora": "1.3.0",
115
     "ora": "1.3.0",
116
     "portfinder": "1.0.13",
116
     "portfinder": "1.0.13",
120
     "qiniu-webpack-plugin": "^0.4.2",
120
     "qiniu-webpack-plugin": "^0.4.2",
121
     "quill-image-extend-module": "^1.1.2",
121
     "quill-image-extend-module": "^1.1.2",
122
     "rimraf": "2.6.2",
122
     "rimraf": "2.6.2",
123
-    "sass-loader": "^6.0.7",
124
     "sass-resources-loader": "^1.3.4",
123
     "sass-resources-loader": "^1.3.4",
125
     "script-loader": "^0.7.2",
124
     "script-loader": "^0.7.2",
126
     "semver": "5.4.1",
125
     "semver": "5.4.1",

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

413
         noCache: true
413
         noCache: true
414
       }
414
       }
415
     },
415
     },
416
+    {
417
+      path: '/dialysis/print/batch/sixtyeight',
418
+      component: () =>
419
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight'),
420
+      hidden: true,
421
+      is_menu: false,
422
+      name: 'dialysis_batch_sixtyeight',
423
+      meta: {
424
+        title: '批量打印',
425
+        noCache: true
426
+      }
427
+    },
416
     {
428
     {
417
       path: '/dialysis/print/batch/sixtyFive',
429
       path: '/dialysis/print/batch/sixtyFive',
418
       component: () =>
430
       component: () =>

+ 13 - 13
src/router/modules/patient.js 查看文件

74
       noCache: true
74
       noCache: true
75
     }
75
     }
76
   },
76
   },
77
-  
77
+
78
 
78
 
79
   {
79
   {
80
     path: '/patients/patient/:mid/vascularAccessDetail/:pid',
80
     path: '/patients/patient/:mid/vascularAccessDetail/:pid',
325
       noCache: true
325
       noCache: true
326
     }
326
     }
327
   },
327
   },
328
-  
328
+
329
   // {//评估工具/跌倒评估
329
   // {//评估工具/跌倒评估
330
   //   path: '/patients/patient/:id/Fallassessment',
330
   //   path: '/patients/patient/:id/Fallassessment',
331
   //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
331
   //   component: () => import('@/xt_pages/user/evaluationtool/Fallassessment'),
480
   //     noCache: true
480
   //     noCache: true
481
   //   }
481
   //   }
482
   // },
482
   // },
483
-  // {//血管通路图
484
-  //   path: '/patients/patient/:id/angiogram',
485
-  //   component: () => import('@/xt_pages/user/angiogram'),
486
-  //   hidden: true,
487
-  //   is_menu: false,
488
-  //   name: 'angiogram',
489
-  //   meta: {
490
-  //     title: 'angiogram',
491
-  //     noCache: true
492
-  //   }
493
-  // },
483
+  {//血管通路图
484
+    path: '/patients/patient/:id/angiogram',
485
+    component: () => import('@/xt_pages/user/angiogram'),
486
+    hidden: true,
487
+    is_menu: false,
488
+    name: 'angiogram',
489
+    meta: {
490
+      title: 'angiogram',
491
+      noCache: true
492
+    }
493
+  },
494
   ]
494
   ]
495
 }
495
 }

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


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

419
           type="primary"
419
           type="primary"
420
           >批量打印</el-button>
420
           >批量打印</el-button>
421
       </template>
421
       </template>
422
+      <template v-if="this.template_id == 68">
423
+        <el-button
424
+          size="small"
425
+          icon="el-icon-printer"
426
+          :disabled="selecting_schs.length == 0"
427
+          @click="batchPrintAction"
428
+          type="primary"
429
+          >批量打印</el-button>
430
+      </template>
422
     </div>
431
     </div>
423
     <div class="app-container">
432
     <div class="app-container">
424
       <!-- <div class="filter-container">
433
       <!-- <div class="filter-container">
2170
       else if (this.template_id == 67) {
2179
       else if (this.template_id == 67) {
2171
         this.$router.push({ path: "/dialysis/print/batch/sixtyseven" });
2180
         this.$router.push({ path: "/dialysis/print/batch/sixtyseven" });
2172
       }
2181
       }
2182
+      else if (this.template_id == 68) {
2183
+        this.$router.push({ path: "/dialysis/print/batch/sixtyeight" });
2184
+      }
2173
     },
2185
     },
2174
     batchPrintActionOne: function() {
2186
     batchPrintActionOne: function() {
2175
       if (this.selecting_schs.length === 0) {
2187
       if (this.selecting_schs.length === 0) {

+ 11 - 2
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

111
           org_template_info.template_id == 50 ||
111
           org_template_info.template_id == 50 ||
112
           org_template_info.template_id == 52 ||
112
           org_template_info.template_id == 52 ||
113
           org_template_info.template_id == 53  ||
113
           org_template_info.template_id == 53  ||
114
-          org_template_info.template_id == 64)
114
+          org_template_info.template_id == 64 ||
115
+          org_template_info.template_id == 68)
115
         "
116
         "
116
       >
117
       >
117
       <div>
118
       <div>
1293
             v-if="org_template_info.template_id == 67">
1294
             v-if="org_template_info.template_id == 67">
1294
 
1295
 
1295
           </DialysisPrintOrdersixtySeven>
1296
           </DialysisPrintOrdersixtySeven>
1297
+          <DialysisPrintOrderSixtyeight
1298
+            v-bind:childResponse="childResponse"
1299
+            v-if="org_template_info.template_id == 68"
1300
+          >
1301
+          </DialysisPrintOrderSixtyeight>
1296
         </div>
1302
         </div>
1297
       </el-container>
1303
       </el-container>
1298
     </div>
1304
     </div>
1378
 import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1384
 import DialysisPrintOrderSixtyFive from "./template/DialysisPrintOrderSixtyFive.vue"
1379
 import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix.vue'
1385
 import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix.vue'
1380
 import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeven.vue'
1386
 import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeven.vue'
1387
+import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight.vue'
1381
 export default {
1388
 export default {
1382
   name: "dialysisPrintOrder",
1389
   name: "dialysisPrintOrder",
1383
   components: {
1390
   components: {
1448
     DialysisPrintOrderSixtyfour,
1455
     DialysisPrintOrderSixtyfour,
1449
     DialysisPrintOrderSixtyFive,
1456
     DialysisPrintOrderSixtyFive,
1450
     DialysisPrintOrderSixtysix,
1457
     DialysisPrintOrderSixtysix,
1458
+    DialysisPrintOrderSixtyeight,
1451
     LabelBox,
1459
     LabelBox,
1452
     BreadCrumb,
1460
     BreadCrumb,
1453
     // DialysisPrintOrderSixtyFive
1461
     // DialysisPrintOrderSixtyFive
1695
         this.org_template_info.template_id == 58 ||
1703
         this.org_template_info.template_id == 58 ||
1696
         this.org_template_info.template_id == 60 ||
1704
         this.org_template_info.template_id == 60 ||
1697
         this.org_template_info.template_id == 61 ||
1705
         this.org_template_info.template_id == 61 ||
1698
-        this.org_template_info.template_id == 66
1706
+        this.org_template_info.template_id == 66 ||
1707
+        this.org_template_info.template_id == 68
1699
 
1708
 
1700
       ) {
1709
       ) {
1701
         printJS({
1710
         printJS({

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


+ 1 - 0
src/xt_pages/outpatientCharges/invoiceTemplate/printSix.vue 查看文件

5
       <div :style="{position: 'absolute',top:(18 + (index * 420))  + 'px',left:117+ 'px',}">{{ list.order_number }}</div>
5
       <div :style="{position: 'absolute',top:(18 + (index * 420))  + 'px',left:117+ 'px',}">{{ list.order_number }}</div>
6
       <div >
6
       <div >
7
           <div :style="{position: 'absolute',top:(38 + (index * 420))  + 'px',left:92+ 'px',}">{{ paramsObj.name }}</div>
7
           <div :style="{position: 'absolute',top:(38 + (index * 420))  + 'px',left:92+ 'px',}">{{ paramsObj.name }}</div>
8
+          <div :style="{position: 'absolute',top:(38 + (index * 420))  + 'px',left:492+ 'px',}">晁海燕 123456789011234</div>
8
       </div>
9
       </div>
9
       <div :style="{position: 'absolute',top:(95 + (index * 420))  + 'px',left:76+ 'px',}">
10
       <div :style="{position: 'absolute',top:(95 + (index * 420))  + 'px',left:76+ 'px',}">
10
           <div v-if="list.westernMedicineCostTotal">西药 {{ list.westernMedicineCostTotal }}</div>
11
           <div v-if="list.westernMedicineCostTotal">西药 {{ list.westernMedicineCostTotal }}</div>

+ 164 - 1
src/xt_pages/workforce/Patientshift.vue 查看文件

43
               inactive-text="OFF">
43
               inactive-text="OFF">
44
             </el-switch>
44
             </el-switch>
45
           </div>
45
           </div>
46
+          <div style="display: inline-block;position: relative;right: -30%;">
47
+            <el-button type="primary"  @click="quan_ping">全屏</el-button>
48
+          </div>
46
         </div>
49
         </div>
47
         <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
50
         <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
48
           <table class="table">
51
           <table class="table">
86
           </table>
89
           </table>
87
           
90
           
88
         </div>
91
         </div>
92
+       
89
         <!-- 双击弹窗 -->
93
         <!-- 双击弹窗 -->
90
         <el-dialog
94
         <el-dialog
91
           title="提示"
95
           title="提示"
218
         </el-dialog>
222
         </el-dialog>
219
       </div>
223
       </div>
220
     </div>
224
     </div>
225
+    <!-- 全屏 -->
226
+    <div id="patient_quan" style="width: 100%;background: #fff;" v-if="quanping==true">
227
+       <div style="margin: 20px 0;">
228
+          <div class="content_top">日期:
229
+            <el-date-picker
230
+              @change="date_picker"
231
+              v-model="date"
232
+              type="date"
233
+              placeholder="选择日期">
234
+            </el-date-picker>
235
+          </div>
236
+          <div class="content_top">排班班次:
237
+            <el-select v-model="classes" placeholder="请选择" @change="banci_select">
238
+              <el-option
239
+                v-for="item in schedulArr"
240
+                :key="item.value"
241
+                :label="item.label"
242
+                :value="item.value">
243
+              </el-option>
244
+            </el-select>
245
+          </div>
246
+          <div class="content_top">病区选择:
247
+            <el-select v-model="bingqu" placeholder="请选择" @change="bingqu_select">
248
+              <el-option
249
+                v-for="item in partitionArr"
250
+                :key="item.value"
251
+                :label="item.name"
252
+                :value="item.id">
253
+              </el-option>
254
+            </el-select>
255
+          </div>
256
+          <div class="content_top">隐藏备注:
257
+            <el-switch
258
+              v-model="hidder"
259
+              active-color="#13ce66"
260
+              inactive-color="#ff4949"
261
+              active-text="ON"
262
+              inactive-text="OFF">
263
+            </el-switch>
264
+          </div>
265
+          <div style="display: inline-block;position: relative;right: -30%;">
266
+            <el-button type="primary"  @click="quan_ping">取消全屏</el-button>
267
+          </div>
268
+        </div>
269
+        <div class="table_panel"  v-for="(item, index) in tableData" :key="index">
270
+          <table class="table">
271
+            <thead>
272
+              <tr>
273
+                <td :width="td_1_width">分区</td>
274
+                <td :width="td_3_width">病人姓名</td>
275
+              </tr>
276
+            </thead>
277
+            <tbody>
278
+              <tr v-for="(ite,index) in item.zones" :key="index">
279
+                <td style="text-align: center;">{{ getZoneName(ite.partition_id) }}</td>
280
+                <td>
281
+                  <div v-for="(it,index) in numberlist" style="display: inline-block;position: relative;" >
282
+                    <div  v-if="ite.partition_id==it.zone_id" class="huanzhekuais" :style="{'height':!hidder ? '110px': '30px','line-height':hidder ? '30px':''}" @dblclick="db_click($event,it)" @drop="drop($event,item,it.number)" @dragstart="curInfoDragStart($event,item)" draggable="true"   @dragover="allowDrop"> 
283
+                      <div class="huanzhekuai">
284
+                        <div v-for="(item2) in item.list"   draggable="true" >
285
+                          <template >
286
+                            <div v-if="it.id==item2.bed_id" style="display: inline-block;">
287
+                              <div>
288
+                                <span>{{nameSplit(item2.name) }}({{ getmode(item2.mode_id) }})</span><br>
289
+                                <span v-if="!hidder" >
290
+                                  <span style="font-size: 14px;margin-bottom: 5px;">{{item2.order.DeviceNumber.zone.name}}-{{item2.order.DeviceNumber.number}}</span><br>
291
+                                  <span style="font-size: 14px;margin-bottom: 5px;">{{getBloodAccess(item2.order.blood_access_id)}}</span><br>
292
+                                  <span style="font-size: 13px;;margin-bottom: 5px;">{{item2.order.schedule_remark}}</span>
293
+                                </span> 
294
+                              </div>
295
+                            </div>
296
+                          </template> 
297
+                        </div>
298
+                      </div> 
299
+                                        
300
+                    </div>
301
+                    <div v-if="ite.partition_id==it.zone_id" style="display: inline-block;width: 125px;text-align: center;">
302
+                      {{ it.number }}
303
+                    </div>
304
+                  </div>
305
+                </td>
306
+              </tr>
307
+            </tbody>
308
+          </table>
309
+          
310
+        </div>
311
+    </div>
221
   </div>
312
   </div>
222
 </template>
313
 </template>
223
 
314
 
244
       tipDialogVisibleTwo:false,
335
       tipDialogVisibleTwo:false,
245
       tipDialogVisibleThree:false,
336
       tipDialogVisibleThree:false,
246
       hidder: false,
337
       hidder: false,
338
+      quanping:false,
247
       td_1_width: '8%',
339
       td_1_width: '8%',
248
       td_3_width: '90%',
340
       td_3_width: '90%',
249
       date:'',
341
       date:'',
651
     // console.log('8888',this.huanzhe.order.DeviceNumber.zone.name);
743
     // console.log('8888',this.huanzhe.order.DeviceNumber.zone.name);
652
   },
744
   },
653
   methods:{
745
   methods:{
654
-   
746
+    quan_ping(){
747
+      if(this.quanping==false){
748
+        // console.log('ttttt');
749
+        return this.quanping=true
750
+      }else{
751
+        // console.log('fffff');
752
+        return this.quanping=false
753
+      }
754
+    },
655
     drop(e,val,value){
755
     drop(e,val,value){
656
       this.allowDrop(e)
756
       this.allowDrop(e)
657
       var bedid = ''
757
       var bedid = ''
1396
   }
1496
   }
1397
 }
1497
 }
1398
 </style>
1498
 </style>
1499
+<style lang="scss" scoped>
1500
+#patient_quan{
1501
+  position: fixed;
1502
+  top: 0;
1503
+  right: 0;
1504
+  bottom: 0;
1505
+  left: 0;
1506
+  overflow: auto;
1507
+  margin: 0;
1508
+  background: #fff;
1509
+  padding: 20px;
1510
+  height: 100%;
1511
+  z-index: 2000;
1512
+  .content_top{
1513
+    display: inline-block;
1514
+  }
1515
+  .table_panel {
1516
+    .table {
1517
+      width: 100%;
1518
+      border: 1px solid;
1519
+      border-collapse: collapse;
1520
+      padding: 2px;
1521
+
1522
+      thead {
1523
+        tr {
1524
+          td {
1525
+            border: 1px solid;
1526
+            text-align: center;
1527
+            font-size: 20px;
1528
+            padding: 15px 5px;
1529
+          }
1530
+        }
1531
+      }
1532
+      tbody {
1533
+        tr {
1534
+          td {
1535
+            border: 1px solid;
1536
+            // text-align: center;
1537
+            font-size: 18px;
1538
+            padding: 5px 5px;
1539
+
1540
+           .huanzhekuai{
1541
+            width: 125px;
1542
+            display: inline-block;
1543
+            text-align: center;
1544
+            // margin:0 10px;
1545
+           }
1546
+           .huanzhekuais{
1547
+            width: 125px;
1548
+            // display: inline-block;
1549
+            text-align: center;
1550
+            margin:0 10px;
1551
+            // line-height: 110px;
1552
+            background: #30b8e394;
1553
+           }
1554
+           
1555
+          }
1556
+        }
1557
+      }
1558
+    }
1559
+  }
1560
+}
1561
+</style>
1399
 
1562