28169 9 månader sedan
förälder
incheckning
7abbfc1804

+ 8 - 0
src/api/inspection.js Visa fil

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 Visa fil

819
         calcium: 1,
819
         calcium: 1,
820
         bicarbonate: 1
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
     anticoagulants_confit: { // 抗凝剂
838
     anticoagulants_confit: { // 抗凝剂
824
       1: {
839
       1: {

+ 43 - 15
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue Visa fil

69
               </div>
69
               </div>
70
70
71
             </div>
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
               </div>
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
               </div>
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
               </div>
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
             <div class="inline_block" v-if="org_id!=10510">
115
             <div class="inline_block" v-if="org_id!=10510">
91
               病区:
116
               病区:
92
               <div class="under_line" style="width: 50px; text-align: center">
117
               <div class="under_line" style="width: 50px; text-align: center">
3199
         var resp = rs.data;
3224
         var resp = rs.data;
3200
         if (resp.state == 1) {
3225
         if (resp.state == 1) {
3201
           this.records = this.records.concat(resp.data.schedules);
3226
           this.records = this.records.concat(resp.data.schedules);
3227
+         
3202
           var tempmonitorflag = true;
3228
           var tempmonitorflag = true;
3203
           for(let i=0;i<this.records.length;i++){
3229
           for(let i=0;i<this.records.length;i++){
3230
+           
3204
             for(let j=0;j<this.records[i].monitor_records.length;j++){
3231
             for(let j=0;j<this.records[i].monitor_records.length;j++){
3205
               this.records[i].monitor_records[j].end = ""
3232
               this.records[i].monitor_records[j].end = ""
3206
               if (this.records[i].dialysis_order &&this.records[i].monitor_records[j].operate_time ==  this.records[i].dialysis_order.end_time) {
3233
               if (this.records[i].dialysis_order &&this.records[i].monitor_records[j].operate_time ==  this.records[i].dialysis_order.end_time) {
3215
              }
3242
              }
3216
             }
3243
             }
3217
           }
3244
           }
3245
+          console.log("hhhhhhhhhhhhhhhhhhhhhhhhh",this.records)
3218
           for (const recordIndex in this.records) {
3246
           for (const recordIndex in this.records) {
3219
             var dlegh = 0;
3247
             var dlegh = 0;
3220
             if (
3248
             if (

+ 7 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue Visa fil

3866
       }
3866
       }
3867
     },
3867
     },
3868
     "patientInfo.source": function () {
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
         this.patientInfo_source_1 = true;
3874
         this.patientInfo_source_1 = true;
3871
         this.patientInfo_source_2 = false;
3875
         this.patientInfo_source_2 = false;
3872
       } else if (this.patientInfo.source == 2) {
3876
       } else if (this.patientInfo.source == 2) {
3876
         this.patientInfo_source_2 = false;
3880
         this.patientInfo_source_2 = false;
3877
         this.patientInfo_source_1 = false;
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 Visa fil

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

+ 47 - 9
src/xt_pages/user/lapsoInspection.vue Visa fil

118
                 color: '#606266'
118
                 color: '#606266'
119
               }"
119
               }"
120
                 :row-style="{ color: '#303133' }"
120
                 :row-style="{ color: '#303133' }"
121
-                :data="items"
121
+                :data="tabileList"
122
                 border=""
122
                 border=""
123
                 style="width: 100%"
123
                 style="width: 100%"
124
                 id="user-inspection-order"
124
                 id="user-inspection-order"
131
                   min-width="180"
131
                   min-width="180"
132
                 >
132
                 >
133
                   <template slot-scope="scope">
133
                   <template slot-scope="scope">
134
-                  
134
+                     {{getTime(scope.row.inspect_date)}}
135
                   </template>
135
                   </template>
136
                 </el-table-column>
136
                 </el-table-column>
137
   
137
   
143
                   :label="item.item_name"
143
                   :label="item.item_name"
144
                   >
144
                   >
145
                   <template slot-scope="scope">
145
                   <template slot-scope="scope">
146
-                  
146
+                     {{getInspecValue(scope.row.inspect_date,item.item_id) }}
147
                   </template>
147
                   </template>
148
 
148
 
149
                 </el-table-column>
149
                 </el-table-column>
462
     fetchInspectionReference,
462
     fetchInspectionReference,
463
     fetchPatientInspections,
463
     fetchPatientInspections,
464
     setRemind,
464
     setRemind,
465
-    setRemindDialog
465
+    setRemindDialog,
466
+    getNewInspectionList
466
   } from '@/api/inspection'
467
   } from '@/api/inspection'
467
   import { getFileExtension, uParseTime } from '@/utils/tools'
468
   import { getFileExtension, uParseTime } from '@/utils/tools'
468
   
469
   
521
         },
522
         },
522
         org_id:0,
523
         org_id:0,
523
         rowList:[],
524
         rowList:[],
525
+        tabileList:[],
526
+        inspectionList:[]
524
       }
527
       }
525
     },
528
     },
526
     methods: {
529
     methods: {
530
+      getTime(val) {
531
+         if(val == ""){
532
+          return ""
533
+         }else {
534
+          return uParseTime(val, '{y}-{m}-{d}')
535
+         }
536
+      },
527
       imgClicks(val){
537
       imgClicks(val){
528
         console.log('asdasgg',val);
538
         console.log('asdasgg',val);
529
         this.imgs = []
539
         this.imgs = []
1226
           this.queryParams.project_id = this.project.project_id
1236
           this.queryParams.project_id = this.project.project_id
1227
           this.queryParams.page = 1
1237
           this.queryParams.page = 1
1228
           this.total = 0
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
       fetchPatientInspections(params) {
1251
       fetchPatientInspections(params) {
1240
         this.items = []
1252
         this.items = []
1241
         this.isPic = false
1253
         this.isPic = false
1254
+        console.log("params------------------",params)
1242
         fetchPatientInspections(params)
1255
         fetchPatientInspections(params)
1243
           .then(response => {
1256
           .then(response => {
1244
             if (response.data.state == 1) {
1257
             if (response.data.state == 1) {
1245
               var inspections = response.data.data.inspections
1258
               var inspections = response.data.data.inspections
1246
-             
1247
-              this.rowList = inspections
1248
               this.total = response.data.data.total
1259
               this.total = response.data.data.total
1249
               this.itemDate = response.data.data.date
1260
               this.itemDate = response.data.data.date
1250
               let remind = response.data.data.remind
1261
               let remind = response.data.data.remind
1285
               }
1296
               }
1286
               console.log("inspectionsMap",this.inspectionsMap)
1297
               console.log("inspectionsMap",this.inspectionsMap)
1287
               var items = this.project.inspection_reference
1298
               var items = this.project.inspection_reference
1288
-              console.log("时间",items)
1299
+              console.log("列表---------------------------------",items)
1289
               for (var index in items) {
1300
               for (var index in items) {
1290
                console.log("obj",items[index])
1301
                console.log("obj",items[index])
1291
                 // console.log("inspectionsMap",inspectionsMap[items[index].item_id])
1302
                 // console.log("inspectionsMap",inspectionsMap[items[index].item_id])
1360
         setTimeout(() => {
1371
         setTimeout(() => {
1361
           this.itemLoading = false
1372
           this.itemLoading = false
1362
         }, 1000)
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
     created() {
1403
     created() {