Browse Source

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

杨青 1 year ago
parent
commit
5faa561db4

+ 66 - 33
src/xt_pages/hospitalStation/summary.vue View File

@@ -227,7 +227,7 @@
227 227
               size="mini"
228 228
               type="primary"
229 229
               @click="confirmUploadInfo(scope.row)"
230
-              v-if="$store.getters.xt_user.org_id == 10265"
230
+              v-if="$store.getters.xt_user.org_id == 10265 || $store.getters.xt_user.org_id == 10210"
231 231
             >
232 232
               确认结算清单
233 233
             </el-button>
@@ -510,40 +510,73 @@ export default {
510 510
       this.selecting_schs = val
511 511
     },
512 512
     confirmUploadInfo(row){
513
-      var that = this;
514
-      axios
515
-        .get("http://127.0.0.1:9532/api/4102", {
516
-          params: {
517
-            order_id: row.id,
518
-            admin_user_id: this.$store.getters.xt_user.user.id,
519
-            stas_type: 1
520
-          },
521
-        })
522
-        .then(function (response) {
523
-          if (response.data.state == 0) {
524
-            that.$message.error(response.data.msg);
525
-            return false;
526
-          } else {
527
-            if (response.data.data.failed_code == -10) {
528
-              that
529
-                .$confirm(response.data.data.msg, "医保错误信息", {
530
-                  confirmButtonText: "确 定",
531
-                  type: "warning",
532
-                })
533
-                .then(() => {
534
-                })
535
-                .catch(() => {
536
-                });
513
+      if(this.$store.getters.xt_user.org_id == 10265) {
514
+        var that = this;
515
+        axios
516
+          .get("http://127.0.0.1:9532/api/4102", {
517
+            params: {
518
+              order_id: row.id,
519
+              admin_user_id: this.$store.getters.xt_user.user.id,
520
+              stas_type: 1
521
+            },
522
+          })
523
+          .then(function(response) {
524
+            if (response.data.state == 0) {
525
+              that.$message.error(response.data.msg);
526
+              return false;
537 527
             } else {
538
-              that.$message.success("确认成功");
539
-              row.result.id = response.data.data.result.id;
528
+              if (response.data.data.failed_code == -10) {
529
+                that
530
+                  .$confirm(response.data.data.msg, "医保错误信息", {
531
+                    confirmButtonText: "确 定",
532
+                    type: "warning",
533
+                  })
534
+                  .then(() => {
535
+                  })
536
+                  .catch(() => {
537
+                  });
538
+              } else {
539
+                that.$message.success("确认成功");
540
+                row.result.id = response.data.data.result.id;
541
+              }
540 542
             }
541
-          }
542
-        })
543
-        .catch(function (error) {
544
-        });
545
-
546
-
543
+          })
544
+          .catch(function(error) {
545
+          });
546
+      }else{
547
+        var that = this;
548
+        axios
549
+          .get("http://127.0.0.1:9532/api/comfirm/upload", {
550
+            params: {
551
+              order_id: row.id,
552
+              admin_user_id: this.$store.getters.xt_user.user.id,
553
+              stas_type: 1
554
+            },
555
+          })
556
+          .then(function(response) {
557
+            if (response.data.state == 0) {
558
+              that.$message.error(response.data.msg);
559
+              return false;
560
+            } else {
561
+              if (response.data.data.failed_code == -10) {
562
+                that
563
+                  .$confirm(response.data.data.msg, "医保错误信息", {
564
+                    confirmButtonText: "确 定",
565
+                    type: "warning",
566
+                  })
567
+                  .then(() => {
568
+                  })
569
+                  .catch(() => {
570
+                  });
571
+              } else {
572
+                that.$message.success("确认成功");
573
+                row.result.id = response.data.data.result.id;
574
+              }
575
+            }
576
+          })
577
+          .catch(function(error) {
578
+          });
579
+      }
547 580
     },
548 581
     cancelUploadTwo(row){
549 582
       if(this.$store.getters.xt_user.org_id == 10265){

+ 8 - 0
src/xt_pages/medicalScheduling/medical_print.vue View File

@@ -29,6 +29,10 @@
29 29
                                     <td width="120">周五<br />({{ weekArr[4] }})</td>
30 30
                                     <td width="120">周六<br />({{ weekArr[5] }})</td>
31 31
                                     <td width="120">周日<br />({{ weekArr[6] }})</td>
32
+                                    <td width="120">调休<br /></td>
33
+                                    <td width="120">加班<br /></td>
34
+                                    <td width="120">累计时数<br /></td>
35
+                                    <td width="120">公休<br /></td>
32 36
                                 </tr>
33 37
                             </thead>
34 38
                             <tbody>
@@ -41,6 +45,10 @@
41 45
                                     <td>{{ getClass(item.user_name,5) }}</td>
42 46
                                     <td>{{ getClass(item.user_name,6) }}</td>
43 47
                                     <td>{{ getClass(item.user_name,0) }}</td>
48
+                                    <td></td>
49
+                                    <td></td>
50
+                                    <td></td>
51
+                                    <td></td>
44 52
                                 </tr>
45 53
                             </tbody>
46 54
                         </table>

+ 12 - 7
src/xt_pages/user/inspection.vue View File

@@ -552,7 +552,8 @@ export default {
552 552
         patient: 0,
553 553
         project_id: 0,
554 554
         page: 1
555
-      }
555
+      },
556
+      org_id:0,
556 557
     }
557 558
   },
558 559
   methods: {
@@ -1311,12 +1312,15 @@ export default {
1311 1312
                  
1312 1313
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1313 1314
                   
1314
-                  // item.value = inspectionsMap[items[index].id].inspect_value
1315
-                  // item.item_name = inspectionsMap[items[index].id].item_name
1315
+                 
1316 1316
 
1317
-                  item.value = ""
1318
-                  item.item_name = ""
1319
-              
1317
+                  if(this.org_id == 10121 || this.org_id == 0 ){
1318
+                    item.value = inspectionsMap[items[index].id].inspect_value
1319
+                    item.item_name = inspectionsMap[items[index].id].item_name
1320
+                  }else{
1321
+                    item.value = ""
1322
+                    item.item_name = ""
1323
+                  }
1320 1324
 
1321 1325
                 } else {
1322 1326
                  
@@ -1348,7 +1352,7 @@ export default {
1348 1352
                 this.items.push(item)
1349 1353
               }
1350 1354
             
1351
-              // console.log("items232232332wo",this.items)
1355
+              console.log("items232232332wo",this.items)
1352 1356
 
1353 1357
               if(item.value.indexOf("http") >= 0){
1354 1358
                 this.isPic = true
@@ -1365,6 +1369,7 @@ export default {
1365 1369
   },
1366 1370
   created() {
1367 1371
     const id = this.$route.query && this.$route.query.id
1372
+    this.org_id = this.$store.getters.xt_user.org.id,
1368 1373
     this.patientID = parseInt(id)
1369 1374
     if (isNaN(this.patientID) || this.patientID <= 0) {
1370 1375
       this.$notify.error({