Browse Source

新分支

28169 9 months ago
parent
commit
7abbfc1804

+ 8 - 0
src/api/inspection.js View File

@@ -96,6 +96,14 @@ export function setRemindDialog(id,is_open) {
96 96
 
97 97
 
98 98
 
99
+export function getNewInspectionList(params){
100
+ 
101
+  return request({
102
+    url:"/api/getnewinspectionList",
103
+    method:"get",
104
+    params:params,
105
+  })
106
+}
99 107
 
100 108
 
101 109
 

+ 15 - 0
src/store/modules/globalConfig.js View File

@@ -819,6 +819,21 @@ const global_config = {
819 819
         calcium: 1,
820 820
         bicarbonate: 1
821 821
       },
822
+      41: {
823
+        id: 41,
824
+        name: 'HDF17H',
825
+        dialysis_duration: 1,
826
+        replacement_way: 1,
827
+        hemodialysis_machine: 2,
828
+        blood_filter: 1,
829
+        perfusion_apparatus: 2,
830
+        blood_flow_volume: 1,
831
+        dialysate_flow: 1,
832
+        kalium: 1,
833
+        sodium: 1,
834
+        calcium: 1,
835
+        bicarbonate: 1
836
+      },
822 837
     },
823 838
     anticoagulants_confit: { // 抗凝剂
824 839
       1: {

+ 43 - 15
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue View File

@@ -69,24 +69,49 @@
69 69
               </div>
70 70
71 71
             </div>
72
-            <div class="inline_block" v-if="record.receive_assessment.condition!=1">
73
-              门诊:
74
-              <div class="under_line" style="width: 30px; text-align: center">
75
-                <check-box :checked="record.patient.source == 1"></check-box>
72
+            <span v-if="org_id!=0&&org_id!=10677">
73
+                <div class="inline_block" v-if="record.receive_assessment.condition!=1">
74
+                门诊:
75
+                <div class="under_line" style="width: 30px; text-align: center">
76
+                  <check-box :checked="record.patient.source == 1"></check-box>
77
+                </div>
76 78
               </div>
77
-            </div>
78
-            <div class="inline_block" v-if="record.receive_assessment.condition!=1">
79
-              门特:
80
-              <div class="under_line" style="width: 30px; text-align: center">
81
-                <check-box :checked="record.patient.source == 3"></check-box>
79
+              <div class="inline_block" v-if="record.receive_assessment.condition!=1">
80
+                门特:
81
+                <div class="under_line" style="width: 30px; text-align: center">
82
+                  <check-box :checked="record.patient.source == 3"></check-box>
83
+                </div>
82 84
               </div>
83
-            </div>
84
-            <div class="inline_block" v-if="record.receive_assessment.condition==1">
85
-              住院:
86
-              <div class="under_line" style="width: 30px; text-align: center">
87
-                <check-box :checked="record.patient.source == 2"></check-box>
85
+              <div class="inline_block" v-if="record.receive_assessment.condition==1">
86
+                住院:
87
+                <div class="under_line" style="width: 30px; text-align: center">
88
+                  <check-box :checked="record.patient.source == 2"></check-box>
89
+                </div>
90
+              </div> 
91
+            </span>
92
+
93
+            <span v-if="org_id ==0 || org_id==10677">
94
+                <div class="inline_block">
95
+                门诊:
96
+                <div class="under_line" style="width: 30px; text-align: center">
97
+                  <check-box :checked="true"></check-box>
98
+                </div>
88 99
               </div>
89
-            </div>
100
+              <div class="inline_block">
101
+                门特:
102
+                <div class="under_line" style="width: 30px; text-align: center">
103
+                  <check-box :checked="false"></check-box>
104
+                </div>
105
+              </div>
106
+              <div class="inline_block">
107
+                住院:
108
+                <div class="under_line" style="width: 30px; text-align: center">
109
+                  <check-box :checked="false"></check-box>
110
+                </div>
111
+              </div> 
112
+            </span>
113
+           
114
+
90 115
             <div class="inline_block" v-if="org_id!=10510">
91 116
               病区:
92 117
               <div class="under_line" style="width: 50px; text-align: center">
@@ -3199,8 +3224,10 @@ export default {
3199 3224
         var resp = rs.data;
3200 3225
         if (resp.state == 1) {
3201 3226
           this.records = this.records.concat(resp.data.schedules);
3227
+         
3202 3228
           var tempmonitorflag = true;
3203 3229
           for(let i=0;i<this.records.length;i++){
3230
+           
3204 3231
             for(let j=0;j<this.records[i].monitor_records.length;j++){
3205 3232
               this.records[i].monitor_records[j].end = ""
3206 3233
               if (this.records[i].dialysis_order &&this.records[i].monitor_records[j].operate_time ==  this.records[i].dialysis_order.end_time) {
@@ -3215,6 +3242,7 @@ export default {
3215 3242
              }
3216 3243
             }
3217 3244
           }
3245
+          console.log("hhhhhhhhhhhhhhhhhhhhhhhhh",this.records)
3218 3246
           for (const recordIndex in this.records) {
3219 3247
             var dlegh = 0;
3220 3248
             if (

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

@@ -3866,7 +3866,11 @@ export default {
3866 3866
       }
3867 3867
     },
3868 3868
     "patientInfo.source": function () {
3869
-      if (this.patientInfo.source == 1) {
3869
+      if(this.org_id ==10677 || this.org_id == 0){
3870
+        this.patientInfo_source_1 = true;
3871
+        this.patientInfo_source_2 = false;
3872
+      }else{
3873
+        if (this.patientInfo.source == 1) {
3870 3874
         this.patientInfo_source_1 = true;
3871 3875
         this.patientInfo_source_2 = false;
3872 3876
       } else if (this.patientInfo.source == 2) {
@@ -3876,6 +3880,8 @@ export default {
3876 3880
         this.patientInfo_source_2 = false;
3877 3881
         this.patientInfo_source_1 = false;
3878 3882
       }
3883
+      }
3884
+     
3879 3885
     },
3880 3886
 
3881 3887
 

+ 4 - 4
src/xt_pages/user/components/PatientSidebar.vue View File

@@ -190,10 +190,10 @@ export default {
190 190
               name: '1-3',
191 191
               label: '肾科检验'
192 192
             },
193
-            // {
194
-            //   name: '4-12',
195
-            //   label: '新版肾科检验'
196
-            // },
193
+            {
194
+              name: '4-12',
195
+              label: '新版肾科检验'
196
+            },
197 197
             {
198 198
               name: '4-1',
199 199
               label: '肾科检查'

+ 47 - 9
src/xt_pages/user/lapsoInspection.vue View File

@@ -118,7 +118,7 @@
118 118
                 color: '#606266'
119 119
               }"
120 120
                 :row-style="{ color: '#303133' }"
121
-                :data="items"
121
+                :data="tabileList"
122 122
                 border=""
123 123
                 style="width: 100%"
124 124
                 id="user-inspection-order"
@@ -131,7 +131,7 @@
131 131
                   min-width="180"
132 132
                 >
133 133
                   <template slot-scope="scope">
134
-                  
134
+                     {{getTime(scope.row.inspect_date)}}
135 135
                   </template>
136 136
                 </el-table-column>
137 137
   
@@ -143,7 +143,7 @@
143 143
                   :label="item.item_name"
144 144
                   >
145 145
                   <template slot-scope="scope">
146
-                  
146
+                     {{getInspecValue(scope.row.inspect_date,item.item_id) }}
147 147
                   </template>
148 148
 
149 149
                 </el-table-column>
@@ -462,7 +462,8 @@
462 462
     fetchInspectionReference,
463 463
     fetchPatientInspections,
464 464
     setRemind,
465
-    setRemindDialog
465
+    setRemindDialog,
466
+    getNewInspectionList
466 467
   } from '@/api/inspection'
467 468
   import { getFileExtension, uParseTime } from '@/utils/tools'
468 469
   
@@ -521,9 +522,18 @@
521 522
         },
522 523
         org_id:0,
523 524
         rowList:[],
525
+        tabileList:[],
526
+        inspectionList:[]
524 527
       }
525 528
     },
526 529
     methods: {
530
+      getTime(val) {
531
+         if(val == ""){
532
+          return ""
533
+         }else {
534
+          return uParseTime(val, '{y}-{m}-{d}')
535
+         }
536
+      },
527 537
       imgClicks(val){
528 538
         console.log('asdasgg',val);
529 539
         this.imgs = []
@@ -1226,8 +1236,10 @@
1226 1236
           this.queryParams.project_id = this.project.project_id
1227 1237
           this.queryParams.page = 1
1228 1238
           this.total = 0
1229
-          console.log("wowowowowow")
1230
-          this.fetchPatientInspections(this.queryParams)
1239
+         
1240
+          // this.fetchPatientInspections(this.queryParams)
1241
+
1242
+          this.getNewInspectionList(this.queryParams)
1231 1243
         }
1232 1244
       },
1233 1245
   
@@ -1239,12 +1251,11 @@
1239 1251
       fetchPatientInspections(params) {
1240 1252
         this.items = []
1241 1253
         this.isPic = false
1254
+        console.log("params------------------",params)
1242 1255
         fetchPatientInspections(params)
1243 1256
           .then(response => {
1244 1257
             if (response.data.state == 1) {
1245 1258
               var inspections = response.data.data.inspections
1246
-             
1247
-              this.rowList = inspections
1248 1259
               this.total = response.data.data.total
1249 1260
               this.itemDate = response.data.data.date
1250 1261
               let remind = response.data.data.remind
@@ -1285,7 +1296,7 @@
1285 1296
               }
1286 1297
               console.log("inspectionsMap",this.inspectionsMap)
1287 1298
               var items = this.project.inspection_reference
1288
-              console.log("时间",items)
1299
+              console.log("列表---------------------------------",items)
1289 1300
               for (var index in items) {
1290 1301
                console.log("obj",items[index])
1291 1302
                 // console.log("inspectionsMap",inspectionsMap[items[index].item_id])
@@ -1360,6 +1371,33 @@
1360 1371
         setTimeout(() => {
1361 1372
           this.itemLoading = false
1362 1373
         }, 1000)
1374
+      },
1375
+
1376
+      getNewInspectionList(params){
1377
+         console.log("params-----",params)
1378
+         getNewInspectionList(params).then(response=>{
1379
+           if(response.data.state == 1){
1380
+             var list =  response.data.data.list
1381
+             console.log("list=====================",list)
1382
+             this.isPic = false
1383
+             this.tabileList = list
1384
+
1385
+             var inspectionGroup = response.data.data.inspectionGroup
1386
+
1387
+             this.rowList = inspectionGroup
1388
+              console.log("inspectionGroup",inspectionGroup)
1389
+             var inspection = response.data.data.inspection
1390
+
1391
+             this.inspectionList = inspection
1392
+             console.log("inspection-------------",inspection)
1393
+             this.pageLoading = false
1394
+             this.itemLoading = false
1395
+             this.formLoading = false
1396
+           }
1397
+        })
1398
+      },
1399
+      getInspecValue(inspect_date,item_id){
1400
+        
1363 1401
       }
1364 1402
     },
1365 1403
     created() {