Browse Source

新化需求

28169 1 year ago
parent
commit
0716cdbb0f

+ 1 - 1
src/api/common/common.js View File

90
   }
90
   }
91
   console.log('parasm', params)
91
   console.log('parasm', params)
92
   return request({
92
   return request({
93
-    url: '/m/api/getprescriptionlist',
93
+    url: '/m/api/getprescriptionlist/one',
94
     method: 'get',
94
     method: 'get',
95
     params: params
95
     params: params
96
   })
96
   })

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

396
   })
396
   })
397
 }
397
 }
398
 
398
 
399
+export function getPrescriptionList(params){
400
+  return request({
401
+    url:"/m/api/getprescriptionlist",
402
+    method:"get",
403
+    params:params
404
+  })
405
+}  
406
+
399
 export function batchDeleteMonitor (params) {
407
 export function batchDeleteMonitor (params) {
400
   return request({
408
   return request({
401
     url: '/m/api/batchdeletemonitor',
409
     url: '/m/api/batchdeletemonitor',

+ 70 - 60
src/pages/dqc/components/dialysisStatisticsPersonal.vue View File

156
       getMobilePatientDetial(id, this.startTime, this.endTime, this.listQuery.limit, this.listQuery.page).then(response => {
156
       getMobilePatientDetial(id, this.startTime, this.endTime, this.listQuery.limit, this.listQuery.page).then(response => {
157
         if (response.data.state === 1) {
157
         if (response.data.state === 1) {
158
           var patients = response.data.data.patients
158
           var patients = response.data.data.patients
159
+          console.log("patients",patients)
159
           this.isStop = true
160
           this.isStop = true
160
           this.getModeId(patients)
161
           this.getModeId(patients)
161
           var hash = {}
162
           var hash = {}
253
             var totallist = response.data.data.totallist
254
             var totallist = response.data.data.totallist
254
             // console.log('totallist', totallist)
255
             // console.log('totallist', totallist)
255
             var prescriptionList = response.data.data.prescriptionList
256
             var prescriptionList = response.data.data.prescriptionList
256
-            // console.log("prescription",prescriptionList)
257
+            console.log("prescription",prescriptionList)
257
             // console.log('prescriptionList', prescriptionList)
258
             // console.log('prescriptionList', prescriptionList)
258
             this.getModeId(prescriptionList)
259
             this.getModeId(prescriptionList)
259
             var modeIdCount = response.data.data.modeIdCount
260
             var modeIdCount = response.data.data.modeIdCount
398
     },
399
     },
399
     // 转透析模式id
400
     // 转透析模式id
400
     getModeId (patients) {
401
     getModeId (patients) {
401
-      for (let i = 0; i < patients.length; i++) {
402
-        if (patients[i].mode_id == 1) {
403
-          patients[i].mode_id = 'HD'
404
-        } else if (patients[i].mode_id == 2) {
405
-          patients[i].mode_id = 'HDF'
406
-        } else if (patients[i].mode_id == 3) {
407
-          patients[i].mode_id = 'HD+HP'
408
-        } else if (patients[i].mode_id == 4) {
409
-          patients[i].mode_id = 'HP'
410
-        } else if (patients[i].mode_id == 5) {
411
-          patients[i].mode_id = 'HF'
412
-        } else if (patients[i].mode_id == 6) {
413
-          patients[i].mode_id = 'SCUF'
414
-        } else if (patients[i].mode_id == 7) {
415
-          patients[i].mode_id = 'IUF'
416
-        } else if (patients[i].mode_id == 8) {
417
-          patients[i].mode_id = 'HFHD'
418
-        } else if (patients[i].mode_id == 9) {
419
-          patients[i].mode_id = 'HFHD+HP'
420
-        } else if (patients[i].mode_id == 10) {
421
-          patients[i].mode_id = 'PHF'
422
-        } else if (patients[i].mode_id == 11) {
423
-          patients[i].mode_id = 'HFR'
424
-        } else if (patients[i].mode_id == 12) {
425
-          patients[i].mode_id = 'HDF+HP'
426
-        } else if (patients[i].mode_id == 13) {
427
-          patients[i].mode_id = 'CRRT'
428
-        } else if (patients[i].mode_id == 14) {
429
-          patients[i].mode_id = '腹水回输'
430
-        } else if (patients[i].mode_id == 15) {
431
-          patients[i].mode_id = 'HD前置换'
432
-        } else if (patients[i].mode_id == 16) {
433
-          patients[i].mode_id = 'HD后置换'
434
-        } else if (patients[i].mode_id == 17) {
435
-          patients[i].mode_id = 'HDF前置换'
436
-        } else if (patients[i].mode_id == 18) {
437
-          patients[i].mode_id = 'HDF后置换'
438
-        } else if (patients[i].mode_id == 19) {
439
-          patients[i].mode_id = 'IUF+HD'
440
-        } else if (patients[i].mode_id == 24) {
441
-          patients[i].mode_id = 'I-HDF'
442
-        } else if (patients[i].mode_id == 25) {
443
-          patients[i].mode_id = 'HD高通'
444
-        } else if (patients[i].mode_id == 26) {
445
-          patients[i].mode_id = 'CVVH'
446
-        } else if (patients[i].mode_id == 27) {
447
-          patients[i].mode_id = 'CVVHD'
448
-        } else if (patients[i].mode_id == 28) {
449
-          patients[i].mode_id = 'CVVHDF'
450
-        } else if (patients[i].mode_id == 29) {
451
-          patients[i].mode_id = 'PE'
452
-        } else if (patients[i].mode_id == 30) {
453
-          patients[i].mode_id = '血浆胆红素吸附+HP'
454
-        } else if (patients[i].mode_id == 31) {
455
-          patients[i].mode_id = 'HPD'
456
-        } else if (patients[i].mode_id == 32) {
457
-          patients[i].mode_id = 'HDP'
402
+      if(patients!=null && patients.length>0){
403
+       for (let i = 0; i < patients.length; i++) {
404
+          if (patients[i].mode_id == 1) {
405
+            patients[i].mode_id = 'HD'
406
+          } else if (patients[i].mode_id == 2) {
407
+            patients[i].mode_id = 'HDF'
408
+          } else if (patients[i].mode_id == 3) {
409
+            patients[i].mode_id = 'HD+HP'
410
+          } else if (patients[i].mode_id == 4) {
411
+            patients[i].mode_id = 'HP'
412
+          } else if (patients[i].mode_id == 5) {
413
+            patients[i].mode_id = 'HF'
414
+          } else if (patients[i].mode_id == 6) {
415
+            patients[i].mode_id = 'SCUF'
416
+          } else if (patients[i].mode_id == 7) {
417
+            patients[i].mode_id = 'IUF'
418
+          } else if (patients[i].mode_id == 8) {
419
+            patients[i].mode_id = 'HFHD'
420
+          } else if (patients[i].mode_id == 9) {
421
+            patients[i].mode_id = 'HFHD+HP'
422
+          } else if (patients[i].mode_id == 10) {
423
+            patients[i].mode_id = 'PHF'
424
+          } else if (patients[i].mode_id == 11) {
425
+            patients[i].mode_id = 'HFR'
426
+          } else if (patients[i].mode_id == 12) {
427
+            patients[i].mode_id = 'HDF+HP'
428
+          } else if (patients[i].mode_id == 13) {
429
+            patients[i].mode_id = 'CRRT'
430
+          } else if (patients[i].mode_id == 14) {
431
+            patients[i].mode_id = '腹水回输'
432
+          } else if (patients[i].mode_id == 15) {
433
+            patients[i].mode_id = 'HD前置换'
434
+          } else if (patients[i].mode_id == 16) {
435
+            patients[i].mode_id = 'HD后置换'
436
+          } else if (patients[i].mode_id == 17) {
437
+            patients[i].mode_id = 'HDF前置换'
438
+          } else if (patients[i].mode_id == 18) {
439
+            patients[i].mode_id = 'HDF后置换'
440
+          } else if (patients[i].mode_id == 19) {
441
+            patients[i].mode_id = 'IUF+HD'
442
+          } else if (patients[i].mode_id == 24) {
443
+            patients[i].mode_id = 'I-HDF'
444
+          } else if (patients[i].mode_id == 25) {
445
+            patients[i].mode_id = 'HD高通'
446
+          } else if (patients[i].mode_id == 26) {
447
+            patients[i].mode_id = 'CVVH'
448
+          } else if (patients[i].mode_id == 27) {
449
+            patients[i].mode_id = 'CVVHD'
450
+          } else if (patients[i].mode_id == 28) {
451
+            patients[i].mode_id = 'CVVHDF'
452
+          } else if (patients[i].mode_id == 29) {
453
+            patients[i].mode_id = 'PE'
454
+          } else if (patients[i].mode_id == 30) {
455
+            patients[i].mode_id = '血浆胆红素吸附+HP'
456
+          } else if (patients[i].mode_id == 31) {
457
+            patients[i].mode_id = 'HPD'
458
+          } else if (patients[i].mode_id == 32) {
459
+            patients[i].mode_id = 'HDP'
460
+          }
458
         }
461
         }
459
       }
462
       }
463
+    
460
     },
464
     },
461
     // 获取年龄
465
     // 获取年龄
462
     getAge (UUserCard) {
466
     getAge (UUserCard) {
497
           var totallist = response.data.data.totallist
501
           var totallist = response.data.data.totallist
498
           var prescriptionList = response.data.data.prescriptionList
502
           var prescriptionList = response.data.data.prescriptionList
499
           // console.log('prescriptionList', prescriptionList)
503
           // console.log('prescriptionList', prescriptionList)
500
-          this.getModeId(prescriptionList)
504
+          if(prescriptionList!=null && prescriptionList.length>0){
505
+            this.getModeId(prescriptionList)
506
+          }
507
+         
501
           var modeIdCount = response.data.data.modeIdCount
508
           var modeIdCount = response.data.data.modeIdCount
502
-          for (let i = 0; i < modeIdCount.length; i++) {
509
+          if(modeIdCount!=null && modeIdCount.length>0){
510
+            for (let i = 0; i < modeIdCount.length; i++) {
503
             if (modeIdCount[i].mode_id == 1) {
511
             if (modeIdCount[i].mode_id == 1) {
504
               modeIdCount[i].mode_id = 'HD'
512
               modeIdCount[i].mode_id = 'HD'
505
             }
513
             }
596
             if (modeIdCount[i].mode_id == 32) {
604
             if (modeIdCount[i].mode_id == 32) {
597
               modeIdCount[i].mode_id = 'HDP'
605
               modeIdCount[i].mode_id = 'HDP'
598
             }
606
             }
607
+            }
599
           }
608
           }
609
+       
600
           this.modeIdCount = modeIdCount
610
           this.modeIdCount = modeIdCount
601
           let dataInfo = {}
611
           let dataInfo = {}
602
           list.forEach((item, index) => {
612
           list.forEach((item, index) => {

+ 19 - 7
src/pages/main/DetailsPage.vue View File

171
     </van-popup>
171
     </van-popup>
172
     </div>
172
     </div>
173
     <!-- :min-date="minDate" :max-date="maxDate" -->
173
     <!-- :min-date="minDate" :max-date="maxDate" -->
174
-    <van-calendar class="calendarPopup" v-model="calendarShow" @confirm="onCalendar" :min-date="minDate" :max-date="maxDate"  :formatter="formatter" :show-confirm='false' />
174
+    <van-calendar class="calendarPopup" v-model="calendarShow" @confirm="onCalendar" :min-date="minDate"  :formatter="formatter" :show-confirm='false' />
175
 
175
 
176
   </div>
176
   </div>
177
 </template>
177
 </template>
700
       }
700
       }
701
     },
701
     },
702
     GetPatientInfoWithDiseases (id) {
702
     GetPatientInfoWithDiseases (id) {
703
-      GetPatientInfoWithDiseases(id)
704
-        .then(response => {
703
+       
704
+      GetPatientInfoWithDiseases(id).then(response => {
705
           if (response.data.state == 1) {
705
           if (response.data.state == 1) {
706
             this.patient = response.data.data.patient
706
             this.patient = response.data.data.patient
707
           } else {
707
           } else {
1150
     },
1150
     },
1151
     formatter (day) {
1151
     formatter (day) {
1152
       this.patientAllDayList.map(item => {
1152
       this.patientAllDayList.map(item => {
1153
-        if (item.dialysis_date == new Date(day.date).getTime() / 1000) {
1154
-          day.bottomInfo = item.schedual_type == 1 ? '上午' : item.schedual_type == 2 ? '下午' : item.schedual_type == 3 ? '晚上' : ''
1153
+       
1154
+       if (item.schedule_date == new Date(day.date).getTime() / 1000) {
1155
+          day.bottomInfo = item.schedule_type == 1 ? '上午' : item.schedule_type == 2 ? '下午' : item.schedule_type == 3 ? '晚上' : ''
1155
           day.topInfo = this.GetModeByModeId(item.mode_id)
1156
           day.topInfo = this.GetModeByModeId(item.mode_id)
1156
         }
1157
         }
1158
+        
1159
+        
1157
       })
1160
       })
1158
       return day
1161
       return day
1159
     },
1162
     },
1160
     getPatientDialysisRecord () {
1163
     getPatientDialysisRecord () {
1161
       let patient_id = this.patient_id
1164
       let patient_id = this.patient_id
1162
-      getPatientDialysisRecord({id: patient_id}).then((res) => {
1165
+      //某月第一天
1166
+      // let startTime = moment().startOf('months').format('YYYY-MM-DD')
1167
+      let startTime =  moment().month(moment().month() - 6).startOf('month').format('YYYY-MM-DD')
1168
+        //某月最后一天
1169
+      let endTime = moment().month(moment().month() +1).endOf('month').format('YYYY-MM-DD')
1170
+
1171
+      console.log("开始时间",startTime,endTime)
1172
+      getPatientDialysisRecord({id: patient_id,start_time:startTime,end_time:endTime}).then((res) => {
1163
         console.log('resres', res)
1173
         console.log('resres', res)
1164
         let list = res.data.data.list
1174
         let list = res.data.data.list
1165
         this.patientAllDayList = list
1175
         this.patientAllDayList = list
1180
     },
1190
     },
1181
     onCalendar (val) {
1191
     onCalendar (val) {
1182
       this.patientAllDayList.map(item => {
1192
       this.patientAllDayList.map(item => {
1183
-        if (item.dialysis_date == new Date(val).getTime() / 1000) {
1193
+          if (item.schedule_date == new Date(val).getTime() / 1000) {
1184
           this.reload()
1194
           this.reload()
1185
           this.$router.replace({
1195
           this.$router.replace({
1186
             path: '/details',
1196
             path: '/details',
1193
           // sessionStorage.removeItem('newBarIndex')
1203
           // sessionStorage.removeItem('newBarIndex')
1194
           this.calendarShow = false
1204
           this.calendarShow = false
1195
         }
1205
         }
1206
+        
1207
+       
1196
       })
1208
       })
1197
     },
1209
     },
1198
     openCalendarShow () {
1210
     openCalendarShow () {

+ 23 - 1
src/pages/main/DialysisArea.vue View File

679
                 }
679
                 }
680
               }
680
               }
681
             }
681
             }
682
-            // console.log('scheduals323223323232233232', scheduals)
682
+        
683
 
683
 
684
             let schedualsLength = scheduals.length
684
             let schedualsLength = scheduals.length
685
+            if(scheduals!=null&&scheduals.length>0){
686
+              var arr = []
687
+              var arrTwo = []
688
+              var arrThree = []
689
+               for(let i=0;i<scheduals.length;i++){
690
+                 if(scheduals[i].schedule_type == 1){
691
+                    arr.push(scheduals[i])
692
+                 }
693
+                 if(scheduals[i].schedule_type == 2){
694
+                  arrTwo.push(scheduals[i])
695
+                 }
696
+                 if(scheduals[i].schedule_type == 3){
697
+                  arrThree.push(scheduals[i])
698
+                 }
699
+               }
700
+               sessionStorage.setItem('schedualsOneLength', arr.length)
701
+               sessionStorage.setItem('schedualsTwoLength', arrTwo.length)
702
+               sessionStorage.setItem('schedualsThreeLength', arrThree.length)
703
+            }
685
             sessionStorage.setItem('schedualsLength', schedualsLength)
704
             sessionStorage.setItem('schedualsLength', schedualsLength)
705
+
706
+          
707
+            
686
             this.schedualsLength = schedualsLength
708
             this.schedualsLength = schedualsLength
687
             this.$store.dispatch('SetScheduals', { scheduals: scheduals })
709
             this.$store.dispatch('SetScheduals', { scheduals: scheduals })
688
             this.$store.dispatch('SetWaitScheduals', { waitscheduals: scheduals })
710
             this.$store.dispatch('SetWaitScheduals', { waitscheduals: scheduals })

+ 4 - 4
src/pages/main/RecordPage.vue View File

75
       <van-tab title="透析医嘱">
75
       <van-tab title="透析医嘱">
76
         <dialysis-advice-table v-if="index == 3"></dialysis-advice-table>
76
         <dialysis-advice-table v-if="index == 3"></dialysis-advice-table>
77
       </van-tab>
77
       </van-tab>
78
-      <!-- <van-tab title="病历质控">
78
+      <van-tab title="病历质控">
79
         <control v-if="index == 4" ref='control' :search_keyword="search_keyword"></control>
79
         <control v-if="index == 4" ref='control' :search_keyword="search_keyword"></control>
80
-      </van-tab> -->
80
+      </van-tab>
81
 
81
 
82
       <van-tab title="耗材药品">
82
       <van-tab title="耗材药品">
83
         <before-dialysis  v-if="index ==5" ref="dialysisParameters"  :search_keyword="search_keyword"></before-dialysis>
83
         <before-dialysis  v-if="index ==5" ref="dialysisParameters"  :search_keyword="search_keyword"></before-dialysis>
158
 import { parseTime } from '@/utils/index'
158
 import { parseTime } from '@/utils/index'
159
 import { getDialysisOrWaitSelectedConfig } from '@/utils/data_config'
159
 import { getDialysisOrWaitSelectedConfig } from '@/utils/data_config'
160
 import monitoring from '../monitoring/index'
160
 import monitoring from '../monitoring/index'
161
-// import control from '../control/index.vue'
161
+import control from '../control/index.vue'
162
 import DialysisAdviceTable from '../advice/DialysisAdviceTable'
162
 import DialysisAdviceTable from '../advice/DialysisAdviceTable'
163
 import DialysisAdvice from '../advice/DialysiAdive.vue'
163
 import DialysisAdvice from '../advice/DialysiAdive.vue'
164
 import beforeDialysis from './beforeDialysis/index'
164
 import beforeDialysis from './beforeDialysis/index'
253
     beforeDialysis,
253
     beforeDialysis,
254
     calling,
254
     calling,
255
     schedule,
255
     schedule,
256
-    // control
256
+    control
257
     // Group,
257
     // Group,
258
     // Cell
258
     // Cell
259
   },
259
   },

+ 50 - 12
src/pages/main/WaitingArea.vue View File

86
         </ul>
86
         </ul>
87
       </div>
87
       </div>
88
       <div class="stateBox" ref="waitScroll">
88
       <div class="stateBox" ref="waitScroll">
89
-        <div style="margin-top:10px;">今日排班总人数:{{ schedualsLength }}人</div>
89
+        <div style="margin-top:10px;">今日排班总人数:{{ schedualsLength }}人 上午:{{ schedualsLengthOne }}人 下午:{{ schedualsLengthTwo }}人 晚上:{{ schedualsLengthThree }}人</div>
90
         <!-- <patient-box class="clearfix" :patients="filtedScheduals "></patient-box> -->
90
         <!-- <patient-box class="clearfix" :patients="filtedScheduals "></patient-box> -->
91
         <div v-for="(item, index) in allPatient" :key="index">
91
         <div v-for="(item, index) in allPatient" :key="index">
92
           <h2 class="title" v-if='patient_selected != 2'>{{ item.zone_name }}</h2>
92
           <h2 class="title" v-if='patient_selected != 2'>{{ item.zone_name }}</h2>
215
       information: [],
215
       information: [],
216
       deviceTypeList:[],
216
       deviceTypeList:[],
217
       schedualsLength: 0,
217
       schedualsLength: 0,
218
+      schedualsLengthOne:0,
219
+      schedualsLengthTwo:0,
220
+      schedualsLengthThree:0,
218
       zonesList: [],
221
       zonesList: [],
219
       zoneMap: {}
222
       zoneMap: {}
220
     }
223
     }
674
       if (sessionStorage.getItem('schedualsLength')) {
677
       if (sessionStorage.getItem('schedualsLength')) {
675
         this.schedualsLength = Number(sessionStorage.getItem('schedualsLength'))
678
         this.schedualsLength = Number(sessionStorage.getItem('schedualsLength'))
676
       }
679
       }
680
+      if (sessionStorage.getItem('schedualsOneLength')) {
681
+        this.schedualsLengthOne = Number(sessionStorage.getItem('schedualsOneLength'))
682
+      }
683
+      if (sessionStorage.getItem('schedualsTwoLength')) {
684
+        this.schedualsLengthTwo = Number(sessionStorage.getItem('schedualsTwoLength'))
685
+      }
686
+      if (sessionStorage.getItem('schedualsThreeLength')) {
687
+        this.schedualsLengthThree = Number(sessionStorage.getItem('schedualsThreeLength'))
688
+      }
677
     },
689
     },
678
     websocketSend (data) {
690
     websocketSend (data) {
679
       try {
691
       try {
969
       this.getDataTwo()
981
       this.getDataTwo()
970
     },
982
     },
971
     handleTimeChange: function (index) {
983
     handleTimeChange: function (index) {
972
-      console.log('indesx222222', index)
984
+     
973
       let obj = {
985
       let obj = {
974
         cmd: 'queue/join',
986
         cmd: 'queue/join',
975
         data: {type: 3, page: 0, size: 0}
987
         data: {type: 3, page: 0, size: 0}
1190
         arr2 = arr
1202
         arr2 = arr
1191
       }
1203
       }
1192
       console.log('机构ID', this.$store.getters.user.template_info.org_id)
1204
       console.log('机构ID', this.$store.getters.user.template_info.org_id)
1193
-      if (this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10490 ||  this.$store.getters.user.template_info.org_id == 10340) {
1205
+      if (this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10490 ||  this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 10579 || this.$store.getters.user.template_info.org_id == 10587) {
1194
         console.log('进来23323223233223')
1206
         console.log('进来23323223233223')
1195
         arr2.map(item => {
1207
         arr2.map(item => {
1196
           item.scheduals.map(it => {
1208
           item.scheduals.map(it => {
1254
         if (this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10490 ||  this.$store.getters.user.template_info.org_id == 10340) {
1266
         if (this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10490 ||  this.$store.getters.user.template_info.org_id == 10340) {
1255
           arr4[0].scheduals.sort(this.compareOne('sort'))
1267
           arr4[0].scheduals.sort(this.compareOne('sort'))
1256
         }
1268
         }
1269
+        console.log("arr4[0]", arr4[0])
1270
+       
1257
         this.allPatient = arr4
1271
         this.allPatient = arr4
1258
         console.log('arr4', arr4)
1272
         console.log('arr4', arr4)
1259
       } else {
1273
       } else {
1274
     },
1288
     },
1275
 
1289
 
1276
     getDataOne (index) {
1290
     getDataOne (index) {
1291
+      console.log("寄哪里地我哦我我",this.patient_selected)
1277
       this.menuList[1].count = 0
1292
       this.menuList[1].count = 0
1278
       let patientArr = this.zone_scheduals
1293
       let patientArr = this.zone_scheduals
1279
 
1294
 
1285
       zones = zones.sort(function (a, b) {
1300
       zones = zones.sort(function (a, b) {
1286
         return a.value > b.value
1301
         return a.value > b.value
1287
       })
1302
       })
1303
+       console.log("this.zone_scheduals",this.zone_scheduals)
1304
+     
1305
+     
1306
+     
1288
       if (index > 0) {
1307
       if (index > 0) {
1289
         var total = 0
1308
         var total = 0
1290
         for (let i = 0; i < this.zone_scheduals.length; i++) {
1309
         for (let i = 0; i < this.zone_scheduals.length; i++) {
1309
             }
1328
             }
1310
           }
1329
           }
1311
         }
1330
         }
1312
-        console.log('zones', zones)
1331
+        console.log('zones232332233', zones)
1313
         this.zone_options = []
1332
         this.zone_options = []
1314
         this.zone_options = zones
1333
         this.zone_options = zones
1315
       } else {
1334
       } else {
1336
             }
1355
             }
1337
           }
1356
           }
1338
         }
1357
         }
1339
-        console.log('zones', zones)
1358
+        console.log('zones9999999999999999', zones)
1340
         this.zone_options = []
1359
         this.zone_options = []
1341
         this.zone_options = zones
1360
         this.zone_options = zones
1342
       }
1361
       }
1355
             }
1374
             }
1356
           }
1375
           }
1357
         }
1376
         }
1377
+        console.log("arrwoowowowow",arr)
1358
         arr1 = arr
1378
         arr1 = arr
1359
       }
1379
       }
1360
 
1380
 
1361
       let arr2 = []
1381
       let arr2 = []
1362
       if (this.patient_selected == 0) {
1382
       if (this.patient_selected == 0) {
1363
         arr2 = JSON.parse(JSON.stringify(arr1))
1383
         arr2 = JSON.parse(JSON.stringify(arr1))
1384
+        console.log("arr2owoowowowowowowowo",arr2)
1364
       } else if (this.patient_selected == 1) {
1385
       } else if (this.patient_selected == 1) {
1365
         let arr = JSON.parse(JSON.stringify(arr1))
1386
         let arr = JSON.parse(JSON.stringify(arr1))
1366
         for (let i = 0; i < arr.length; i++) {
1387
         for (let i = 0; i < arr.length; i++) {
1428
           item.created_time = item.assessment_before_dislysis.created_time
1449
           item.created_time = item.assessment_before_dislysis.created_time
1429
           item.sort = item.device_number.sort
1450
           item.sort = item.device_number.sort
1430
         })
1451
         })
1431
-        if (this.$store.getters.user.template_info.org_id != 10346 && this.$store.getters.user.template_info.org_id != 10490 && this.$store.getters.user.template_info.org_id != 10340) {
1452
+        if (this.$store.getters.user.template_info.org_id != 10346 && this.$store.getters.user.template_info.org_id != 10490 && this.$store.getters.user.template_info.org_id != 10340 && this.$store.getters.user.template_info.org_id != 10579 && this.$store.getters.user.template_info.org_id != 10587) {
1432
           arr4[0].scheduals.sort(this.compare('created_time'))
1453
           arr4[0].scheduals.sort(this.compare('created_time'))
1433
         }
1454
         }
1434
 
1455
 
1435
-        if (this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10490 || this.$store.getters.user.template_info.org_id == 10340) {
1456
+        if (this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10490 || this.$store.getters.user.template_info.org_id == 10340  || this.$store.getters.user.template_info.org_id == 10579 || this.$store.getters.user.template_info.org_id == 10587) {
1436
           arr4[0].scheduals.sort(this.compareOne('sort'))
1457
           arr4[0].scheduals.sort(this.compareOne('sort'))
1437
         }
1458
         }
1438
         this.allPatient = arr4
1459
         this.allPatient = arr4
1439
         console.log('arr4', arr4)
1460
         console.log('arr4', arr4)
1440
       } else {
1461
       } else {
1462
+        console.log('arr6666666666666666666', arr4)
1463
+        arr4.map((item, index) => {
1464
+          if (index != 0) {
1465
+            arr4[0].scheduals.push(...arr4[index].scheduals)
1466
+            arr4[index].scheduals = []
1467
+          }
1468
+        })
1469
+        arr4[0].scheduals.map(item => {
1470
+          item.sort = item.device_number.sort
1471
+        })
1472
+       
1473
+        if (this.$store.getters.user.template_info.org_id == 10346 || this.$store.getters.user.template_info.org_id == 10490 || this.$store.getters.user.template_info.org_id == 10340  || this.$store.getters.user.template_info.org_id == 10579 || this.$store.getters.user.template_info.org_id == 10587) {
1474
+          arr4[0].scheduals.sort(this.compareOne('sort'))
1475
+        }
1441
         this.allPatient = arr4
1476
         this.allPatient = arr4
1442
       }
1477
       }
1443
 
1478
 
1473
         var scheduals = []
1508
         var scheduals = []
1474
         for (let index = 0; index < this.scheduals.length; index++) {
1509
         for (let index = 0; index < this.scheduals.length; index++) {
1475
           const schedual = this.scheduals[index]
1510
           const schedual = this.scheduals[index]
1476
-          if (schedual.patient.name.indexOf(search_keyword) != -1 || schedual.patient.dialysis_no.indexOf(search_keyword) != -1) {
1477
-            scheduals.push(schedual)
1511
+          console.log("schedual.patient.name",schedual.patient)
1512
+          if(schedual.patient!=null && schedual.patient.name!=undefined){
1513
+            if (schedual.patient.name.indexOf(search_keyword) != -1 || schedual.patient.dialysis_no.indexOf(search_keyword) != -1) {
1514
+              scheduals.push(schedual)
1515
+            }
1478
           }
1516
           }
1517
+        
1479
         }
1518
         }
1480
         this.allPatient = this.processScheduals(scheduals)
1519
         this.allPatient = this.processScheduals(scheduals)
1481
       } else {
1520
       } else {
1484
     },
1523
     },
1485
 
1524
 
1486
     getDataTwo () {
1525
     getDataTwo () {
1526
+      console.log("patient_selected",this.patient_selected)
1487
       this.menuList[1].count = 0
1527
       this.menuList[1].count = 0
1488
       let patientArr = this.zone_scheduals
1528
       let patientArr = this.zone_scheduals
1489
 
1529
 
1537
         arr3 = JSON.parse(JSON.stringify(arr2))
1577
         arr3 = JSON.parse(JSON.stringify(arr2))
1538
       } else {
1578
       } else {
1539
         let arr = JSON.parse(JSON.stringify(arr2))
1579
         let arr = JSON.parse(JSON.stringify(arr2))
1540
-        console.log('灭国2332332323', arr)
1541
-        console.log('this.zone_options[this.zone_selected].text', this.zone_options[this.zone_selected].text)
1542
-        console.log('this.zone_options[this.zone_selected].zone_name', this.zone_options[this.zone_selected].zone_name)
1580
+       
1543
         for (let i = 0; i < arr.length; i++) {
1581
         for (let i = 0; i < arr.length; i++) {
1544
           if (this.zone_options[this.zone_selected].zone_name != arr[i].zone_name) {
1582
           if (this.zone_options[this.zone_selected].zone_name != arr[i].zone_name) {
1545
             // 删除元素后改变i的值
1583
             // 删除元素后改变i的值

+ 34 - 5
src/pages/main/beforeDialysis/components/consumables.vue View File

3
     <div class="consumableList">
3
     <div class="consumableList">
4
       <van-list v-if="list.length > 0">
4
       <van-list v-if="list.length > 0">
5
         <div class="consumableListOne" v-for="(item,index) in list" :key="index">
5
         <div class="consumableListOne" v-for="(item,index) in list" :key="index">
6
-          <p v-for="subItem,index in item.good_type" :key="index">{{subItem.id == 0? subItem.name:subItem.name+": "}}
7
-            <span style="color:#258ffc">{{ getGoodUserInfo(subItem.id,item.good_user,item.last_good_user, item.good_user_detail,item.last_good_user_detail) }}</span>
6
+          <p v-for="subItem,index in item.good_type" :key="index">
7
+            {{subItem.id == 0? subItem.name:subItem.name+": "}}
8
+            <span style="color:#258ffc">{{ getGoodUserInfo(subItem.id,item.good_user,item.last_good_user, item.good_user_detail,item.last_good_user_detail,item.prescription) }}</span>
8
           </p>
9
           </p>
9
 
10
 
10
         </div>
11
         </div>
35
       }
36
       }
36
     },
37
     },
37
     methods: {
38
     methods: {
38
-      getGoodUserInfo(good_type_id, good_user, last_good_user, good_user_detail, last_good_user_detail) {
39
+      getGoodUserInfo(good_type_id, good_user, last_good_user, good_user_detail, last_good_user_detail,prescription) {
40
+        console.log("good_type_id",good_type_id)
41
+        
39
         if (good_user != null && good_user.length > 0) {
42
         if (good_user != null && good_user.length > 0) {
40
           let desc = ""
43
           let desc = ""
41
           for (let b = 0; b < good_user.length; b++) {
44
           for (let b = 0; b < good_user.length; b++) {
54
           //
57
           //
55
           //   }
58
           //   }
56
           //   return ""
59
           //   return ""
60
+        }else{
61
+          if(good_type_id == 9741){
62
+            return prescription.dialysis_dialyszers
63
+          }
64
+          if(good_type_id == 9742){
65
+            return  prescription.dialysis_irrigation
66
+          }
67
+
68
+          if(good_type_id == 9743){
69
+            return prescription.dialysis_strainer
70
+          }
71
+          if(good_type_id ==9748){
72
+            return prescription.dialysis_dialyszers
73
+          }
74
+          if(good_type_id ==9749){
75
+            return prescription.dialysis_irrigation
76
+          }
77
+          if(good_type_id ==9750){
78
+            return prescription.dialysis_strainer
79
+          }
80
+          
57
         }
81
         }
58
-        return ""
82
+        
59
       },
83
       },
60
       // GetDialysisGoods() {
84
       // GetDialysisGoods() {
61
       //   var newDate = new Date();
85
       //   var newDate = new Date();
158
         }, 1000);
182
         }, 1000);
159
       },
183
       },
160
       toDetail() {
184
       toDetail() {
161
-        this.$router.push("/consumablesDetail");
185
+        if(this.$store.getters.user.template_info.org_id != 10579 && this.$store.getters.user.template_info.org_id != 10587){
186
+          this.$router.push("/consumablesDetail");
187
+        }else{
188
+          this.$router.push("/consumablesDetailOne");
189
+        }
190
+       
162
       }
191
       }
163
     },
192
     },
164
     created() {
193
     created() {

+ 2 - 0
src/pages/main/beforeDialysis/index.vue View File

277
                 "last_good_user":res.data.dialysis_goods[i].last_good_user,
277
                 "last_good_user":res.data.dialysis_goods[i].last_good_user,
278
                 "good_user_detail":res.data.dialysis_goods[i].good_user_detail,
278
                 "good_user_detail":res.data.dialysis_goods[i].good_user_detail,
279
                 "last_good_user_detail":res.data.dialysis_goods[i].last_good_user_detail,
279
                 "last_good_user_detail":res.data.dialysis_goods[i].last_good_user_detail,
280
+                "prescription":res.data.dialysis_goods[i].prescription
280
               }
281
               }
282
+              console.log("几哪来的哦我饿哦饿哦问哦饿哦",this.list)
281
               this.list.push(newObj)
283
               this.list.push(newObj)
282
               console.log(this.list)
284
               console.log(this.list)
283
 
285
 

+ 12 - 1
src/pages/main/dialog/subMenu/LongAdviceSubMenu.vue View File

421
               this.advice_start_time = year + '-' + month + '-' + day + ' ' + '15:00'
421
               this.advice_start_time = year + '-' + month + '-' + day + ' ' + '15:00'
422
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
422
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
423
             }
423
             }
424
+          } else if (this.$store.getters.user.org.id == 10580) {
425
+            if (sch.schedule_type == 1) {
426
+              this.advice_start_time = year + '-' + month + '-' + day + ' ' + '07:00'
427
+              this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
428
+            } else if (sch.schedule_type == 2) {
429
+              this.advice_start_time = year + '-' + month + '-' + day + ' ' + '10:30'
430
+              this.start_time = year + '-' + month + '-' + day + ' ' + '10:30'
431
+            } else if (sch.schedule_type == 3) {
432
+              this.advice_start_time = year + '-' + month + '-' + day + ' ' + '18:00'
433
+              this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
434
+            }
424
           } else {
435
           } else {
425
-            if (this.$store.getters.user.org.id == 10016 || this.$store.getters.user.org.id == 10013 || this.$store.getters.user.org.id == 10014 || this.$store.getters.user.org.id == 10121) {
436
+            if (this.$store.getters.user.org.id == 10016 || this.$store.getters.user.org.id == 10013 || this.$store.getters.user.org.id == 10014 || this.$store.getters.user.org.id == 10121 || this.$store.getters.user.org.id == 10587) {
426
               var nowDate = new Date()
437
               var nowDate = new Date()
427
               var nowYear = nowDate.getFullYear()
438
               var nowYear = nowDate.getFullYear()
428
               var nowMonth = nowDate.getMonth() + 1
439
               var nowMonth = nowDate.getMonth() + 1

+ 4 - 0
src/pages/main/newActionBar/assessmentAfter.vue View File

715
     } else {
715
     } else {
716
       this.formValue.weight_loss = this.record.weight_loss
716
       this.formValue.weight_loss = this.record.weight_loss
717
     }
717
     }
718
+
718
     console.log('this.formValue.weight_loss', this.formValue.weight_loss)
719
     console.log('this.formValue.weight_loss', this.formValue.weight_loss)
719
     console.log('this.record.weight_loss', this.record.weight_loss)
720
     console.log('this.record.weight_loss', this.record.weight_loss)
720
 
721
 
723
       if(this.$store.getters.user.template_info.org_id==9829){
724
       if(this.$store.getters.user.template_info.org_id==9829){
724
         this.formValue.pulse_frequency= 80
725
         this.formValue.pulse_frequency= 80
725
       }
726
       }
727
+      // if(this.$store.getters.user.template_info.org_id==10580){
728
+      //   this.formValue.actual_ultrafiltration = this.record.weight_loss*1000
729
+      // }
726
       if(this.$route.query.patient_id ==18695){
730
       if(this.$route.query.patient_id ==18695){
727
           this.formValue.actual_displacement = 0
731
           this.formValue.actual_displacement = 0
728
       }
732
       }

+ 20 - 1
src/pages/main/newActionBar/components/adviceTemplate.vue View File

118
       } else {
118
       } else {
119
         this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
119
         this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
120
       }
120
       }
121
-    } else if (this.$store.getters.user.org.id == 9671 || this.$store.getters.user.org.id == 9675 || this.$store.getters.user.org.id == 10340) {
121
+    } else if (this.$store.getters.user.org.id == 9671 || this.$store.getters.user.org.id == 9675 || this.$store.getters.user.org.id == 10340 ) {
122
       var date = new Date()
122
       var date = new Date()
123
       var year = date.getFullYear() // 获取完整的年份(4位)
123
       var year = date.getFullYear() // 获取完整的年份(4位)
124
       var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1).toString() : date.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
124
       var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1).toString() : date.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
152
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
152
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
153
       }
153
       }
154
       
154
       
155
+    }else if (this.$store.getters.user.org.id == 10580) {
156
+      var date = new Date()
157
+      var year = date.getFullYear() // 获取完整的年份(4位)
158
+      var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1).toString() : date.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
159
+      var day = date.getDate() < 10 ? '0' + date.getDate().toString() : date.getDate() // 获取当前日(1-31)
160
+
161
+      if (this.schedulePatient.schedule_type == 1) {
162
+        this.start_time_str = year + '-' + month + '-' + day + ' ' + '07:00' + ':00'
163
+        this.start_time = year + '-' + month + '-' + day + ' ' + '07:00' + ':00'
164
+      } else if (this.schedulePatient.schedule_type == 2) {
165
+        this.start_time_str = year + '-' + month + '-' + day + ' ' + '10:30' + ':00'
166
+        this.start_time = year + '-' + month + '-' + day + ' ' + '10:30' + ':00'
167
+      } else if (this.schedulePatient.schedule_type == 3) {
168
+        this.start_time_str = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
169
+        this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
170
+      }
171
+      
155
     }else if (this.$store.getters.user.org.id == 10234) {
172
     }else if (this.$store.getters.user.org.id == 10234) {
156
       var date = new Date()
173
       var date = new Date()
157
       var year = date.getFullYear() // 获取完整的年份(4位)
174
       var year = date.getFullYear() // 获取完整的年份(4位)
169
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
186
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
170
       }
187
       }
171
       
188
       
189
+    }else if (this.$store.getters.user.org.id == 10587) {
190
+      this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
172
     } else {
191
     } else {
173
       this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
192
       this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
174
     }
193
     }

+ 43 - 4
src/pages/main/newActionBar/components/newAddOrder.vue View File

288
       } else {
288
       } else {
289
         this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
289
         this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
290
       }
290
       }
291
-    } else if (this.$store.getters.user.org.id == 9671 || this.$store.getters.user.org.id == 9675 || this.$store.getters.user.org.id == 10340 || this.$store.getters.user.org.id == 10447 ) {
291
+    } else if (this.$store.getters.user.org.id == 9671 || this.$store.getters.user.org.id == 9675 || this.$store.getters.user.org.id == 10340 || this.$store.getters.user.org.id == 10447) {
292
       var date = new Date()
292
       var date = new Date()
293
       var year = date.getFullYear() // 获取完整的年份(4位)
293
       var year = date.getFullYear() // 获取完整的年份(4位)
294
       var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1).toString() : date.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
294
       var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1).toString() : date.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
320
         this.start_time_str = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
320
         this.start_time_str = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
321
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
321
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
322
       }
322
       }
323
+    }else if (this.$store.getters.user.org.id == 10580) {
324
+      var date = new Date()
325
+      var year = date.getFullYear() // 获取完整的年份(4位)
326
+      var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1).toString() : date.getMonth() + 1 // 获取当前月份(0-11,0代表1月)
327
+      var day = date.getDate() < 10 ? '0' + date.getDate().toString() : date.getDate() // 获取当前日(1-31)
328
+
329
+      if (this.schedulePatient.schedule_type == 1) {
330
+        this.start_time_str = year + '-' + month + '-' + day + ' ' + '07:00' + ':00'
331
+        this.start_time = year + '-' + month + '-' + day + ' ' + '07:00' + ':00'
332
+      } else if (this.schedulePatient.schedule_type == 2) {
333
+        this.start_time_str = year + '-' + month + '-' + day + ' ' + '10:30' + ':00'
334
+        this.start_time = year + '-' + month + '-' + day + ' ' + '10:30' + ':00'
335
+      } else if (this.schedulePatient.schedule_type == 3) {
336
+        this.start_time_str = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
337
+        this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
338
+      }
323
     }else if (this.$store.getters.user.org.id == 10234) {
339
     }else if (this.$store.getters.user.org.id == 10234) {
324
       var date = new Date()
340
       var date = new Date()
325
       var year = date.getFullYear() // 获取完整的年份(4位)
341
       var year = date.getFullYear() // 获取完整的年份(4位)
336
         this.start_time_str = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
352
         this.start_time_str = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
337
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
353
         this.start_time = year + '-' + month + '-' + day + ' ' + '15:30' + ':00'
338
       }
354
       }
355
+    }else if (this.$store.getters.user.org.id == 10587){
356
+      this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
339
     } else {
357
     } else {
340
       this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
358
       this.start_time_str = parseTime(this.start_time, '{y}-{m}-{d} {h}:{i}') + ':00'
341
     }
359
     }
383
       cb(results)
401
       cb(results)
384
     },
402
     },
385
     createFilter (queryString) {
403
     createFilter (queryString) {
404
+     
386
       return (restaurant) => {
405
       return (restaurant) => {
387
-        return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
406
+        console.log("restaurant23223232323",restaurant)
407
+        return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) !=-1)
388
       }
408
       }
389
     },
409
     },
410
+    getUnits(id){
411
+     console.log("drug_spec_unit_options",this.drug_spec_unit_options)
412
+     var name = ""
413
+      for(let i=0;i<this.drug_spec_unit_options.length;i++){
414
+        if(id == this.drug_spec_unit_options[i].id){
415
+           name = this.drug_spec_unit_options[i].name
416
+        }
417
+      }
418
+      return name
419
+    },
390
     handleSelect (item) {
420
     handleSelect (item) {
391
       this.drug_id = item.id
421
       this.drug_id = item.id
392
       this.way = 1
422
       this.way = 1
393
-      console.log('itme2222222222', item)
423
+      console.log('itme33333333', item)
394
       this.current_drug_name = name
424
       this.current_drug_name = name
395
-      this.order.advice_desc = ''
425
+      var specai_name = item.drug_specs[0].dose + item.drug_specs[0].dose_unit +"*" +item.drug_specs[0].min_number + item.drug_specs[0].min_unit +"/" + item.drug_specs[0].max_unit
426
+      this.order.advice_desc = specai_name
427
+      this.order.drug_spec_unit = item.drug_specs[0].min_unit
428
+      this.order.prescribing_number = item.drug_specs[0].prescribing_number
429
+      this.order.prescribing_number_unit = item.drug_specs[0].prescribing_number_unit
430
+      this.order.single_dose = item.drug_specs[0].single_dose
431
+      this.order.single_dose_unit =this.getUnits(item.drug_specs[0].drug_dose_unit) 
432
+      this.order.delivery_way  = item.drug_specs[0].delivery_way
433
+      this.order.execution_frequency = item.drug_specs[0].execution_frequency
396
       this.drugSpec = []
434
       this.drugSpec = []
397
       for (let i = 0; i < this.all_drug.length; i++) {
435
       for (let i = 0; i < this.all_drug.length; i++) {
398
         if (this.all_drug[i].drug_name == item.drug_name) {
436
         if (this.all_drug[i].drug_name == item.drug_name) {
426
       }
464
       }
427
     },
465
     },
428
     handleSelect1 (item) {
466
     handleSelect1 (item) {
467
+      console.log("itemwowoowowoow",item)
429
       for (let i = 0; i < this.drugSpec.length; i++) {
468
       for (let i = 0; i < this.drugSpec.length; i++) {
430
         if (this.drugSpec[i].drug_spec == item.drug_spec) {
469
         if (this.drugSpec[i].drug_spec == item.drug_spec) {
431
           this.order.advice_desc = this.drugSpec[i].drug_spec
470
           this.order.advice_desc = this.drugSpec[i].drug_spec

+ 9 - 4
src/pages/main/newActionBar/consumables.vue View File

80
       settle_open: 0
80
       settle_open: 0
81
     }
81
     }
82
   },
82
   },
83
+  created(){
84
+    console.log("is_openwowowowowow",this.is_open)
85
+
86
+  },
83
   methods: {
87
   methods: {
84
     stockOut () {
88
     stockOut () {
85
       this.loading = true
89
       this.loading = true
522
             }
526
             }
523
           }
527
           }
524
 
528
 
525
-          console.log("newArr-----------------",newArr)
526
-          console.log("is_open----------------",this.is_open)
529
+        
527
           // 判断是否出库
530
           // 判断是否出库
528
           if(newArr!=null && newArr.length >0){
531
           if(newArr!=null && newArr.length >0){
529
              var total_one = 0
532
              var total_one = 0
546
           console.log("listowowowoowowowowowowowowo",this.list)
549
           console.log("listowowowoowowowowowowowowo",this.list)
547
 
550
 
548
           if (outConfig.is_open == 1) {
551
           if (outConfig.is_open == 1) {
549
-            this.list = []
552
+            this.isShowButton =1
553
+            this.is_open =1
554
+            //this.list = []
550
           }
555
           }
551
 
556
 
552
           if (settleConfig.is_open == 1) {
557
           if (settleConfig.is_open == 1) {
553
-            this.list = []
558
+             this.list = []
554
           }
559
           }
555
         }
560
         }
556
       }
561
       }

+ 174 - 64
src/pages/main/newActionBar/dialysisPrescription.vue View File

86
               predialysis.dry_weight ? predialysis.dry_weight : "--"
86
               predialysis.dry_weight ? predialysis.dry_weight : "--"
87
             }}Kg</span
87
             }}Kg</span
88
           >
88
           >
89
-          <span
90
-            >衣物重:{{
89
+          <span v-if="$store.getters.user.template_info.org_id !=10599">衣物重:{{
91
               predialysis.additional_weight
90
               predialysis.additional_weight
92
                 ? predialysis.additional_weight
91
                 ? predialysis.additional_weight
93
                 : "--"
92
                 : "--"
94
             }}Kg</span></br>
93
             }}Kg</span></br>
95
-          <span v-if="last_record!=undefined">上次透后体重:{{last_record.weight_after?last_record.weight_after: "--"}}Kg</span></br>
94
+          <span v-if="last_record!=undefined && $store.getters.user.template_info.org_id !=10599">上次透后体重:{{last_record.weight_after?last_record.weight_after: "--"}}Kg</span></br>
96
 
95
 
97
           <span v-if="$store.getters.user.template_info.org_id == 10551 &&predialysis!=undefined&&predialysis.weight_before>0 &&dialysisPrescription!=undefined && dialysisPrescription.target_ultrafiltration>0">目标脱水量百分比:{{ (((dialysisPrescription.target_ultrafiltration)/predialysis.dry_weight)*100).toFixed(2)  }}%</span>
96
           <span v-if="$store.getters.user.template_info.org_id == 10551 &&predialysis!=undefined&&predialysis.weight_before>0 &&dialysisPrescription!=undefined && dialysisPrescription.target_ultrafiltration>0">目标脱水量百分比:{{ (((dialysisPrescription.target_ultrafiltration)/predialysis.dry_weight)*100).toFixed(2)  }}%</span>
98
           <span v-if="$store.getters.user.template_info.org_id == 10249 &&predialysis!=undefined&&predialysis.weight_before>0 &&dialysisPrescription!=undefined && dialysisPrescription.target_ultrafiltration>0">目标脱水量百分比:{{ (((dialysisPrescription.target_ultrafiltration/1000)/predialysis.dry_weight)*100).toFixed(2)  }}%</span>
97
           <span v-if="$store.getters.user.template_info.org_id == 10249 &&predialysis!=undefined&&predialysis.weight_before>0 &&dialysisPrescription!=undefined && dialysisPrescription.target_ultrafiltration>0">目标脱水量百分比:{{ (((dialysisPrescription.target_ultrafiltration/1000)/predialysis.dry_weight)*100).toFixed(2)  }}%</span>
98
+          <span v-if="$store.getters.user.template_info.org_id == 10449 &&predialysis!=undefined&&predialysis.weight_before>0 &&dialysisPrescription!=undefined">4小时超滤量上限(5%):{{ (predialysis.dry_weight*0.05).toFixed(2)  }}kg</span>
99
+          <span v-if="$store.getters.user.template_info.org_id ==10599 &&predialysis!=undefined">心率:{{predialysis.pulse_frequency  }}次/分</span>&nbsp;
100
+          <span v-if="$store.getters.user.template_info.org_id ==10599 &&predialysis!=undefined">体温:{{predialysis.temperature  }}℃</span>&nbsp;
101
+          <span v-if="$store.getters.user.template_info.org_id ==10599 &&predialysis!=undefined">血压:{{predialysis.systolic_blood_pressure  }}/{{ predialysis.diastolic_blood_pressure  }}mmHg</span>
99
         </van-cell>
102
         </van-cell>
100
         <van-field
103
         <van-field
101
           v-model="dialysisPrescription.target_ultrafiltration"
104
           v-model="dialysisPrescription.target_ultrafiltration"
188
         </van-field>
191
         </van-field>
189
         <van-field v-model="dialysisPrescription.prescription_water" @focus="inputFocus" v-if="isShow('处方脱水量')" type="number" input-align="right">
192
         <van-field v-model="dialysisPrescription.prescription_water" @focus="inputFocus" v-if="isShow('处方脱水量')" type="number" input-align="right">
190
             <template #label>
193
             <template #label>
191
-                <span>处方脱水量(ml)</span>
194
+                <span v-if=" $store.getters.user.template_info.org_id!=10597">处方脱水量(ml)</span>
195
+                <span  v-if=" $store.getters.user.template_info.org_id==10597">处方脱水量(L)</span>
192
             </template>
196
             </template>
193
          </van-field>
197
          </van-field>
198
+         
194
         <van-collapse-item
199
         <van-collapse-item
195
           v-if="isShow('是否单超脱水')"
200
           v-if="isShow('是否单超脱水')"
196
           title="是否单超脱水"
201
           title="是否单超脱水"
382
                     dialysisPrescription.anticoagulant != 1 &&
387
                     dialysisPrescription.anticoagulant != 1 &&
383
                     dialysisPrescription.anticoagulant != 12 && isShow_title('首剂')"
388
                     dialysisPrescription.anticoagulant != 12 && isShow_title('首剂')"
384
         >
389
         >
385
-           <template #label v-if="$store.getters.user.template_info.org_id != 10101 && $store.getters.user.template_info.org_id != 10346  && $store.getters.user.template_info.template_id != 45 && $store.getters.user.template_info.template_id != 54  && $store.getters.user.template_info.org_id != 10340  && $store.getters.user.template_info.org_id != 10432 && $store.getters.user.template_info.org_id != 10441  && $store.getters.user.template_info.org_id != 10445 && $store.getters.user.template_info.org_id!=10447&& $store.getters.user.template_info.org_id!=9829 && $store.getters.user.template_info.org_id!=10440 && $store.getters.user.template_info.org_id!=10469&& $store.getters.user.template_info.org_id!=10471 && $store.getters.user.template_info.org_id!=10495 && $store.getters.user.template_info.org_id!=10375 && $store.getters.user.template_info.org_id!=10223 && $store.getters.user.template_info.org_id!=10551">
390
+           <template #label v-if="$store.getters.user.template_info.org_id != 10101 && $store.getters.user.template_info.org_id != 10346  && $store.getters.user.template_info.template_id != 45 && $store.getters.user.template_info.template_id != 54  && $store.getters.user.template_info.org_id != 10340  && $store.getters.user.template_info.org_id != 10432 && $store.getters.user.template_info.org_id != 10441  && $store.getters.user.template_info.org_id != 10445 && $store.getters.user.template_info.org_id!=10447&& $store.getters.user.template_info.org_id!=9829 && $store.getters.user.template_info.org_id!=10440 && $store.getters.user.template_info.org_id!=10469&& $store.getters.user.template_info.org_id!=10471 && $store.getters.user.template_info.org_id!=10495 && $store.getters.user.template_info.org_id!=10375 && $store.getters.user.template_info.org_id!=10223 && $store.getters.user.template_info.org_id!=10551 && $store.getters.user.template_info.org_id!=9882 && $store.getters.user.template_info.org_id!=10206&& $store.getters.user.template_info.org_id!=10580&& $store.getters.user.template_info.org_id!=10600&& $store.getters.user.template_info.org_id!=10587&& $store.getters.user.template_info.org_id!=10599&& $store.getters.user.template_info.org_id!=10597">
386
                       <span v-if="dialysisPrescription.anticoagulant == 0 || dialysisPrescription.anticoagulant == -2">首剂(mg)</span>
391
                       <span v-if="dialysisPrescription.anticoagulant == 0 || dialysisPrescription.anticoagulant == -2">首剂(mg)</span>
387
 
392
 
388
-                      <span v-if="dialysisPrescription.anticoagulant == 2 && $store.getters.user.template_info.template_id != 13 && $store.getters.user.template_info.template_id != 21 && $store.getters.user.template_info.template_id != 23 && $store.getters.user.template_info.template_id != 40 && $store.getters.user.template_info.template_id != 41  && $store.getters.user.template_info.template_id != 6 && $store.getters.user.template_info.template_id != 38 && $store.getters.user.template_info.template_id != 47 && $store.getters.user.template_info.template_id != 54 && $store.getters.user.template_info.org_id != 10234 && $store.getters.user.template_info.org_id !=10495 && $store.getters.user.template_info.org_id !=10375 ||  $store.getters.user.template_info.org_id ==9538 || $store.getters.user.template_info.org_id !=10340 || $store.getters.user.template_info.org_id !=10432  || $store.getters.user.template_info.org_id !=9829   ">首剂
393
+                      <span v-if="dialysisPrescription.anticoagulant == 2 && $store.getters.user.template_info.template_id != 13 && $store.getters.user.template_info.template_id != 21 && $store.getters.user.template_info.template_id != 23 && $store.getters.user.template_info.template_id != 40 && $store.getters.user.template_info.template_id != 41  && $store.getters.user.template_info.template_id != 6 && $store.getters.user.template_info.template_id != 38 && $store.getters.user.template_info.template_id != 47 && $store.getters.user.template_info.template_id != 54 && $store.getters.user.template_info.org_id != 10234 && $store.getters.user.template_info.org_id !=10495 && $store.getters.user.template_info.org_id !=10375 && $store.getters.user.template_info.org_id !=10580 ||  $store.getters.user.template_info.org_id ==9538 || $store.getters.user.template_info.org_id !=10340 || $store.getters.user.template_info.org_id !=10432  || $store.getters.user.template_info.org_id !=9829   ">首剂
389
                         <span v-if="$store.getters.user.template_info.org_id == 9538">(u)</span>
394
                         <span v-if="$store.getters.user.template_info.org_id == 9538">(u)</span>
390
                         <span v-if="$store.getters.user.template_info.org_id != 9538">(iu)</span>
395
                         <span v-if="$store.getters.user.template_info.org_id != 9538">(iu)</span>
391
                       </span>
396
                       </span>
392
 
397
 
393
                       <span v-if="dialysisPrescription.anticoagulant == 2 && ($store.getters.user.template_info.template_id == 13 || $store.getters.user.template_info.template_id == 21 || $store.getters.user.template_info.template_id == 23 || $store.getters.user.template_info.template_id == 40 || $store.getters.user.template_info.template_id == 41 || ($store.getters.user.template_info.template_id == 6 && $store.getters.user.template_info.org_id!=9538) || $store.getters.user.template_info.template_id == 38 || $store.getters.user.template_info.template_id == 47 || $store.getters.user.template_info.template_id == 54 ||  $store.getters.user.template_info.org_id == 10234 || $store.getters.user.template_info.org_id == 10375 || $store.getters.user.template_info.org_id == 10340 || $store.getters.user.template_info.org_id == 10432 || $store.getters.user.template_info.org_id == 9829  || $store.getters.user.template_info.org_id ==10495 || $store.getters.user.template_info.org_id ==10551)">首剂(mg)</span>
398
                       <span v-if="dialysisPrescription.anticoagulant == 2 && ($store.getters.user.template_info.template_id == 13 || $store.getters.user.template_info.template_id == 21 || $store.getters.user.template_info.template_id == 23 || $store.getters.user.template_info.template_id == 40 || $store.getters.user.template_info.template_id == 41 || ($store.getters.user.template_info.template_id == 6 && $store.getters.user.template_info.org_id!=9538) || $store.getters.user.template_info.template_id == 38 || $store.getters.user.template_info.template_id == 47 || $store.getters.user.template_info.template_id == 54 ||  $store.getters.user.template_info.org_id == 10234 || $store.getters.user.template_info.org_id == 10375 || $store.getters.user.template_info.org_id == 10340 || $store.getters.user.template_info.org_id == 10432 || $store.getters.user.template_info.org_id == 9829  || $store.getters.user.template_info.org_id ==10495 || $store.getters.user.template_info.org_id ==10551)">首剂(mg)</span>
394
 
399
 
395
-                      <span v-if="dialysisPrescription.anticoagulant == 3 || dialysisPrescription.anticoagulant == 8 || dialysisPrescription.anticoagulant == 9 || dialysisPrescription.anticoagulant ==10">
400
+                      <span v-if="dialysisPrescription.anticoagulant == 3 || dialysisPrescription.anticoagulant == 8 || dialysisPrescription.anticoagulant == 9 || dialysisPrescription.anticoagulant ==10 || dialysisPrescription.anticoagulant ==17">
396
                          <span v-if="$store.getters.user.template_info.org_id == 9671">首剂(mg)</span>
401
                          <span v-if="$store.getters.user.template_info.org_id == 9671">首剂(mg)</span>
397
                         <!-- <span v-else>首剂(iu)</span> -->
402
                         <!-- <span v-else>首剂(iu)</span> -->
398
                       </span>
403
                       </span>
410
                   </template>
415
                   </template>
411
 
416
 
412
                   <template #label v-else>
417
                   <template #label v-else>
413
-                    <span v-if="dialysisPrescription.anticoagulant == 2">首剂(mg)</span>
418
+                    <span v-if="dialysisPrescription.anticoagulant == 2 || dialysisPrescription.anticoagulant == 17 ">首剂(mg)</span>
414
                     <span v-else>首剂(iu)</span>
419
                     <span v-else>首剂(iu)</span>
415
                </template>
420
                </template>
416
         </van-field>
421
         </van-field>
442
               $store.getters.user.template_info.org_id != 10432 &&
447
               $store.getters.user.template_info.org_id != 10432 &&
443
               $store.getters.user.template_info.org_id != 10495 &&
448
               $store.getters.user.template_info.org_id != 10495 &&
444
               $store.getters.user.template_info.org_id != 10375 &&
449
               $store.getters.user.template_info.org_id != 10375 &&
445
-              $store.getters.user.template_info.org_id != 10551
450
+              $store.getters.user.template_info.org_id != 10551 && 
451
+              $store.getters.user.template_info.org_id!=10600 &&
452
+              $store.getters.user.template_info.org_id!=10587 &&
453
+              $store.getters.user.template_info.org_id!=10599 &&
454
+              $store.getters.user.template_info.org_id!=10597
455
+              
446
             "
456
             "
447
           >
457
           >
448
             <span
458
             <span
471
                   $store.getters.user.template_info.org_id != 10495 &&
481
                   $store.getters.user.template_info.org_id != 10495 &&
472
                   $store.getters.user.template_info.org_id != 10375 &&
482
                   $store.getters.user.template_info.org_id != 10375 &&
473
                   $store.getters.user.template_info.org_id != 10223 &&
483
                   $store.getters.user.template_info.org_id != 10223 &&
474
-                  $store.getters.user.template_info.org_id != 10551
484
+                  $store.getters.user.template_info.org_id != 10551 &&
485
+                  $store.getters.user.template_info.org_id!=10600 &&
486
+                  $store.getters.user.template_info.org_id!=10587 &&
487
+                  $store.getters.user.template_info.org_id!=10599 &&
488
+                  $store.getters.user.template_info.org_id!=10597
475
                   )
489
                   )
476
               "
490
               "
477
             >
491
             >
502
                   $store.getters.user.template_info.org_id == 10495 ||
516
                   $store.getters.user.template_info.org_id == 10495 ||
503
                   $store.getters.user.template_info.org_id == 10375 ||
517
                   $store.getters.user.template_info.org_id == 10375 ||
504
                   $store.getters.user.template_info.org_id == 10223 ||
518
                   $store.getters.user.template_info.org_id == 10223 ||
505
-                  $store.getters.user.template_info.org_id == 10551
519
+                  $store.getters.user.template_info.org_id == 10551 ||
520
+                  $store.getters.user.template_info.org_id ==10600  ||
521
+                  $store.getters.user.template_info.org_id ==10587  ||
522
+                  $store.getters.user.template_info.org_id ==10599  ||
523
+                  $store.getters.user.template_info.org_id==10597
506
                   )
524
                   )
507
               "
525
               "
508
               >维持(mg/h)</span
526
               >维持(mg/h)</span
524
             <span v-if="dialysisPrescription.anticoagulant == 5"
542
             <span v-if="dialysisPrescription.anticoagulant == 5"
525
               >维持(ml/h)</span
543
               >维持(ml/h)</span
526
             >
544
             >
527
-            <span v-if="dialysisPrescription.anticoagulant == 1"
545
+            <span v-if="dialysisPrescription.anticoagulant == 16"
546
+              >维持(iu/h)</span
547
+            >
548
+            <span v-if="dialysisPrescription.anticoagulant == 1 || dialysisPrescription.anticoagulant == 17"
528
               >维持(mg/h)</span
549
               >维持(mg/h)</span
529
             >
550
             >
530
             <span v-if="dialysisPrescription.anticoagulant == 6">
551
             <span v-if="dialysisPrescription.anticoagulant == 6">
534
                   $store.getters.user.template_info.org_id == 10432 ||
555
                   $store.getters.user.template_info.org_id == 10432 ||
535
                   $store.getters.user.template_info.org_id == 10495 ||
556
                   $store.getters.user.template_info.org_id == 10495 ||
536
                   $store.getters.user.template_info.org_id == 10375 ||
557
                   $store.getters.user.template_info.org_id == 10375 ||
537
-                  $store.getters.user.template_info.org_id == 10551
558
+                  $store.getters.user.template_info.org_id == 10551 
559
+
538
                 "
560
                 "
539
                 >维持(mg/h)</span
561
                 >维持(mg/h)</span
540
               >
562
               >
590
               $store.getters.user.template_info.org_id != 10432 &&
612
               $store.getters.user.template_info.org_id != 10432 &&
591
               $store.getters.user.template_info.org_id != 10495 &&
613
               $store.getters.user.template_info.org_id != 10495 &&
592
               $store.getters.user.template_info.org_id != 10375 &&
614
               $store.getters.user.template_info.org_id != 10375 &&
593
-              $store.getters.user.template_info.org_id != 10551
615
+              $store.getters.user.template_info.org_id != 10551 &&
616
+              $store.getters.user.template_info.org_id!=10600 &&
617
+              $store.getters.user.template_info.org_id!=10587 &&
618
+              $store.getters.user.template_info.org_id !=10599 &&
619
+              $store.getters.user.template_info.org_id!=10597
594
             "
620
             "
595
           >
621
           >
596
             <span
622
             <span
648
                 dialysisPrescription.anticoagulant == 3 ||
674
                 dialysisPrescription.anticoagulant == 3 ||
649
                 dialysisPrescription.anticoagulant == 8 ||
675
                 dialysisPrescription.anticoagulant == 8 ||
650
                 dialysisPrescription.anticoagulant == 9 ||
676
                 dialysisPrescription.anticoagulant == 9 ||
651
-                dialysisPrescription.anticoagulant == 10
677
+                dialysisPrescription.anticoagulant == 10 ||
678
+                dialysisPrescription.anticoagulant == 17
652
               "
679
               "
653
             >
680
             >
654
-              <span v-if="$store.getters.user.template_info.org_id == 9671">
681
+              <span v-if="$store.getters.user.template_info.org_id == 9671 || $store.getters.user.template_info.org_id == 10206">
655
                 总量(mg)</span
682
                 总量(mg)</span
656
               >
683
               >
657
               <span v-else> 总量(iu)</span>
684
               <span v-else> 总量(iu)</span>
674
               >
701
               >
675
               <span v-else>总量(iu)</span>
702
               <span v-else>总量(iu)</span>
676
             </span>
703
             </span>
677
-            <span v-if="dialysisPrescription.anticoagulant == 11 || dialysisPrescription.anticoagulant == 13"
704
+            <span v-if="dialysisPrescription.anticoagulant == 11 || dialysisPrescription.anticoagulant == 13 || dialysisPrescription.anticoagulant == 16"
678
               >总量(iu)</span
705
               >总量(iu)</span
679
             >
706
             >
680
           </template>
707
           </template>
681
           <template #label v-else>
708
           <template #label v-else>
682
-            <span v-if="dialysisPrescription.anticoagulant == 2">总量(mg)</span>
709
+            <span v-if="dialysisPrescription.anticoagulant == 2 || dialysisPrescription.anticoagulant == 17">总量(mg)</span>
683
             <span v-else>总量(iu)</span>
710
             <span v-else>总量(iu)</span>
684
           </template>
711
           </template>
685
         </van-field>
712
         </van-field>
1045
           input-align="right"
1072
           input-align="right"
1046
           :required="isShow_title('目标KT/V')"
1073
           :required="isShow_title('目标KT/V')"
1047
         />
1074
         />
1075
+
1076
+        <van-collapse-item v-if="isShow('血管通路部位')" title="血管通路部位" name="blood_access_part_id">
1077
+                  <template slot="title">
1078
+                      <div><span v-if="isShow_title('血管通路部位')" class="warn_tip">*</span>血管通路部位</div>
1079
+                  </template>
1080
+                  <template #value>
1081
+                      <div>{{dialysisPrescription.blood_access_part_id}}</div>
1082
+                  </template>
1083
+                  <checkBoxMenu v-if='checkBoxShow' v-on:menu-comfirm="getString" :propsForm="propForm"></checkBoxMenu>
1084
+        </van-collapse-item>
1048
         <van-collapse-item v-if="isShow('血管通路')" title="血管通路" name="10">
1085
         <van-collapse-item v-if="isShow('血管通路')" title="血管通路" name="10">
1049
           <template slot="title">
1086
           <template slot="title">
1050
                   <div><span v-if="isShow_title('血管通路')" class="warn_tip">*</span>血管通路</div>
1087
                   <div><span v-if="isShow_title('血管通路')" class="warn_tip">*</span>血管通路</div>
1630
         chaptalization:"",
1667
         chaptalization:"",
1631
         washing_time:"",
1668
         washing_time:"",
1632
         warsh_count:"",
1669
         warsh_count:"",
1670
+        blood_access_part_id:"",
1633
       },
1671
       },
1634
       anticoagulant: {
1672
       anticoagulant: {
1635
         id: 0,
1673
         id: 0,
1967
       console.log("org_idwpwpwpwppw",this.$store.getters.user.template_info.org_id )
2005
       console.log("org_idwpwpwpwppw",this.$store.getters.user.template_info.org_id )
1968
       if(this.$store.getters.user.template_info.org_id == 10445){
2006
       if(this.$store.getters.user.template_info.org_id == 10445){
1969
         if(this.lastDialysisPrescription!=undefined){
2007
         if(this.lastDialysisPrescription!=undefined){
1970
-           console.log("wowowoowowowo")
1971
            this.dialysisPrescription.remark = this.lastDialysisPrescription.remark
2008
            this.dialysisPrescription.remark = this.lastDialysisPrescription.remark
1972
         }
2009
         }
1973
       }
2010
       }
2011
+
2012
+      if(this.$store.getters.user.template_info.org_id == 10579 || this.$store.getters.user.template_info.org_id == 10587){
2013
+        console.log("进来2噢噢噢哦",this.lastDialysisPrescription.blood_access_part_id)
2014
+        if(this.lastDialysisPrescription!=undefined){
2015
+
2016
+           this.dialysisPrescription.blood_access_part_id = this.lastDialysisPrescription.blood_access_part_id
2017
+        }
2018
+      }
1974
     }
2019
     }
1975
 
2020
 
1976
     this.dialysisPrescription.calcium = this.getFloat(
2021
     this.dialysisPrescription.calcium = this.getFloat(
3557
         this.is_open = 0;
3602
         this.is_open = 0;
3558
       }
3603
       }
3559
       if(this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 3877){
3604
       if(this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 3877){
3560
-           if(this.dialysisPrescription.prescribing_number == 0){
3561
-            Toast.fail('请填写开药数量!')
3562
-            return
3563
-           }
3605
+          
3606
+            if(this.dialysisPrescription.anticoagulant!=1){
3607
+              if(this.dialysisPrescription.prescribing_number == 0){
3608
+                  Toast.fail('请填写开药数量!')
3609
+                  return
3610
+              }
3611
+            }
3612
+          
3564
 
3613
 
3565
            if(this.dialysisPrescription.anticoagulant == 0){
3614
            if(this.dialysisPrescription.anticoagulant == 0){
3566
             Toast.fail('请填写抗凝剂!')
3615
             Toast.fail('请填写抗凝剂!')
3568
            }
3617
            }
3569
         }
3618
         }
3570
       if (this.$store.getters.user.template_info.template_id == 6) {
3619
       if (this.$store.getters.user.template_info.template_id == 6) {
3620
+        console.log(" this.dialysisPrescription.mode_id", this.dialysisPrescription.mode_id)
3571
         if (this.dialysisPrescription.mode_id == 2) {
3621
         if (this.dialysisPrescription.mode_id == 2) {
3572
-          if (
3573
-            this.dialysisPrescription.displace_liqui_part == 0 ||
3574
-            this.dialysisPrescription.displace_liqui_part == -2 ||
3575
-            this.dialysisPrescription.displace_liqui_value == 0 ||
3576
-            this.dialysisPrescription.displace_liqui_value == ""
3577
-          ) {
3622
+          if ( this.dialysisPrescription.displace_liqui_part == 0 || this.dialysisPrescription.displace_liqui_part == -2 ||this.dialysisPrescription.displace_liqui_value == 0 || this.dialysisPrescription.displace_liqui_value == "") {
3578
             Toast.fail("HDF模式下置换方式和置换液总量不能为空!");
3623
             Toast.fail("HDF模式下置换方式和置换液总量不能为空!");
3579
             return;
3624
             return;
3580
           }
3625
           }
3582
             this.dialysisPrescription.mode_id != 2 &&
3627
             this.dialysisPrescription.mode_id != 2 &&
3583
             this.dialysisPrescription.mode_id != 5 &&
3628
             this.dialysisPrescription.mode_id != 5 &&
3584
             this.dialysisPrescription.mode_id != 12 &&
3629
             this.dialysisPrescription.mode_id != 12 &&
3585
-            this.dialysisPrescription.mode_id != 28
3630
+            this.dialysisPrescription.mode_id != 28 &&
3631
+            this.dialysisPrescription.mode_id != 34 &&
3632
+            this.dialysisPrescription.mode_id != 35&&
3633
+            this.dialysisPrescription.mode_id != 36&&
3634
+            this.dialysisPrescription.mode_id != 37&&
3635
+            this.dialysisPrescription.mode_id != 38 && 
3636
+            this.dialysisPrescription.mode_id != 26
3586
           ) {
3637
           ) {
3587
             this.dialysisPrescription.displace_liqui_part = 0;
3638
             this.dialysisPrescription.displace_liqui_part = 0;
3588
             this.dialysisPrescription.displace_liqui_value = 0;
3639
             this.dialysisPrescription.displace_liqui_value = 0;
3597
 
3648
 
3598
           let ParamsQuery = arr;
3649
           let ParamsQuery = arr;
3599
           console.log("ParamsQueryOne", ParamsQuery);
3650
           console.log("ParamsQueryOne", ParamsQuery);
3651
+        
3600
           if (this.$route.query.patient_id) {
3652
           if (this.$route.query.patient_id) {
3601
             ParamsQuery["patient"] = this.$route.query.patient_id;
3653
             ParamsQuery["patient"] = this.$route.query.patient_id;
3602
           } else {
3654
           } else {
3617
             delete newParams.oxygen_time;
3669
             delete newParams.oxygen_time;
3618
             delete newParams.oxygen_flow;
3670
             delete newParams.oxygen_flow;
3619
           }
3671
           }
3620
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
3672
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
3621
             delete newParams.replacement_total;
3673
             delete newParams.replacement_total;
3622
             delete newParams.displace_liqui_part;
3674
             delete newParams.displace_liqui_part;
3623
             delete newParams.displace_liqui_value;
3675
             delete newParams.displace_liqui_value;
3781
                   this.doctorAdvices = resp.data.advices;
3833
                   this.doctorAdvices = resp.data.advices;
3782
                   this.$emit(
3834
                   this.$emit(
3783
                     "longSolution",
3835
                     "longSolution",
3784
-                    response.data.data.solution,
3836
+                    resp.data.solution,
3785
                     resp.data.advices
3837
                     resp.data.advices
3786
                   );
3838
                   );
3787
                   this.$emit(
3839
                   this.$emit(
3788
                     "prescription",
3840
                     "prescription",
3789
-                    response.data.data.prescription,
3841
+                    resp.data.prescription,
3790
                     resp.data.advices
3842
                     resp.data.advices
3791
                   );
3843
                   );
3792
                 } else {
3844
                 } else {
3809
 
3861
 
3810
             let ParamsQuery = arr;
3862
             let ParamsQuery = arr;
3811
             console.log("ParamsQueryOne", ParamsQuery);
3863
             console.log("ParamsQueryOne", ParamsQuery);
3864
+           
3812
             if (this.$route.query.patient_id) {
3865
             if (this.$route.query.patient_id) {
3813
               ParamsQuery["patient"] = this.$route.query.patient_id;
3866
               ParamsQuery["patient"] = this.$route.query.patient_id;
3814
             } else {
3867
             } else {
3828
             delete newParams.oxygen_time;
3881
             delete newParams.oxygen_time;
3829
             delete newParams.oxygen_flow;
3882
             delete newParams.oxygen_flow;
3830
           }
3883
           }
3831
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28){
3884
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
3832
             delete newParams.replacement_total;
3885
             delete newParams.replacement_total;
3833
             delete newParams.displace_liqui_part;
3886
             delete newParams.displace_liqui_part;
3834
             delete newParams.displace_liqui_value;
3887
             delete newParams.displace_liqui_value;
3951
 
4004
 
3952
             let ParamsQuery = arr;
4005
             let ParamsQuery = arr;
3953
             console.log("ParamsQueryOne", ParamsQuery);
4006
             console.log("ParamsQueryOne", ParamsQuery);
4007
+         
3954
             if (this.$route.query.patient_id) {
4008
             if (this.$route.query.patient_id) {
3955
               ParamsQuery["patient"] = this.$route.query.patient_id;
4009
               ParamsQuery["patient"] = this.$route.query.patient_id;
3956
             } else {
4010
             } else {
3970
             delete newParams.oxygen_time;
4024
             delete newParams.oxygen_time;
3971
             delete newParams.oxygen_flow;
4025
             delete newParams.oxygen_flow;
3972
           }
4026
           }
3973
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
4027
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
3974
             delete newParams.replacement_total;
4028
             delete newParams.replacement_total;
3975
             delete newParams.displace_liqui_part;
4029
             delete newParams.displace_liqui_part;
3976
             delete newParams.displace_liqui_value;
4030
             delete newParams.displace_liqui_value;
4103
 
4157
 
4104
             let ParamsQuery = arr;
4158
             let ParamsQuery = arr;
4105
             console.log("ParamsQueryOne", ParamsQuery);
4159
             console.log("ParamsQueryOne", ParamsQuery);
4160
+           
4106
             if (this.$route.query.patient_id) {
4161
             if (this.$route.query.patient_id) {
4107
               ParamsQuery["patient"] = this.$route.query.patient_id;
4162
               ParamsQuery["patient"] = this.$route.query.patient_id;
4108
             } else {
4163
             } else {
4122
             delete newParams.oxygen_time;
4177
             delete newParams.oxygen_time;
4123
             delete newParams.oxygen_flow;
4178
             delete newParams.oxygen_flow;
4124
           }
4179
           }
4125
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28){
4180
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
4126
             delete newParams.replacement_total;
4181
             delete newParams.replacement_total;
4127
             delete newParams.displace_liqui_part;
4182
             delete newParams.displace_liqui_part;
4128
             delete newParams.displace_liqui_value;
4183
             delete newParams.displace_liqui_value;
4321
             var arr = this.dialysisPrescription;
4376
             var arr = this.dialysisPrescription;
4322
 
4377
 
4323
             let ParamsQuery = arr;
4378
             let ParamsQuery = arr;
4324
-            console.log("ParamsQueryOne", ParamsQuery);
4379
+            console.log("ParamsQueryOne5555", ParamsQuery);
4380
+           
4325
             if (this.$route.query.patient_id) {
4381
             if (this.$route.query.patient_id) {
4326
               ParamsQuery["patient"] = this.$route.query.patient_id;
4382
               ParamsQuery["patient"] = this.$route.query.patient_id;
4327
             } else {
4383
             } else {
4341
             delete newParams.oxygen_time;
4397
             delete newParams.oxygen_time;
4342
             delete newParams.oxygen_flow;
4398
             delete newParams.oxygen_flow;
4343
           }
4399
           }
4344
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
4400
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
4345
             delete newParams.replacement_total;
4401
             delete newParams.replacement_total;
4346
             delete newParams.displace_liqui_part;
4402
             delete newParams.displace_liqui_part;
4347
             delete newParams.displace_liqui_value;
4403
             delete newParams.displace_liqui_value;
4474
 
4530
 
4475
             let ParamsQuery = arr;
4531
             let ParamsQuery = arr;
4476
             console.log("ParamsQueryOne", ParamsQuery);
4532
             console.log("ParamsQueryOne", ParamsQuery);
4533
+         
4477
             if (this.$route.query.patient_id) {
4534
             if (this.$route.query.patient_id) {
4478
               ParamsQuery["patient"] = this.$route.query.patient_id;
4535
               ParamsQuery["patient"] = this.$route.query.patient_id;
4479
             } else {
4536
             } else {
4493
             delete newParams.oxygen_time;
4550
             delete newParams.oxygen_time;
4494
             delete newParams.oxygen_flow;
4551
             delete newParams.oxygen_flow;
4495
           }
4552
           }
4496
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 & newParams.mode_id!= 28){
4553
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26 && newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
4497
             delete newParams.replacement_total;
4554
             delete newParams.replacement_total;
4498
             delete newParams.displace_liqui_part;
4555
             delete newParams.displace_liqui_part;
4499
             delete newParams.displace_liqui_value;
4556
             delete newParams.displace_liqui_value;
4703
 
4760
 
4704
               let ParamsQuery = arr;
4761
               let ParamsQuery = arr;
4705
               console.log("ParamsQueryOne", ParamsQuery);
4762
               console.log("ParamsQueryOne", ParamsQuery);
4763
+             
4706
               if (this.$route.query.patient_id) {
4764
               if (this.$route.query.patient_id) {
4707
                 ParamsQuery["patient"] = this.$route.query.patient_id;
4765
                 ParamsQuery["patient"] = this.$route.query.patient_id;
4708
               } else {
4766
               } else {
4722
             delete newParams.oxygen_time;
4780
             delete newParams.oxygen_time;
4723
             delete newParams.oxygen_flow;
4781
             delete newParams.oxygen_flow;
4724
           }
4782
           }
4725
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28){
4783
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28  && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
4726
             delete newParams.replacement_total;
4784
             delete newParams.replacement_total;
4727
             delete newParams.displace_liqui_part;
4785
             delete newParams.displace_liqui_part;
4728
             delete newParams.displace_liqui_value;
4786
             delete newParams.displace_liqui_value;
4854
 
4912
 
4855
               let ParamsQuery = arr;
4913
               let ParamsQuery = arr;
4856
               console.log("ParamsQueryOne", ParamsQuery);
4914
               console.log("ParamsQueryOne", ParamsQuery);
4915
+            
4857
               if (this.$route.query.patient_id) {
4916
               if (this.$route.query.patient_id) {
4858
                 ParamsQuery["patient"] = this.$route.query.patient_id;
4917
                 ParamsQuery["patient"] = this.$route.query.patient_id;
4859
               } else {
4918
               } else {
4873
             delete newParams.oxygen_time;
4932
             delete newParams.oxygen_time;
4874
             delete newParams.oxygen_flow;
4933
             delete newParams.oxygen_flow;
4875
           }
4934
           }
4876
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
4935
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26 && newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
4877
             delete newParams.replacement_total;
4936
             delete newParams.replacement_total;
4878
             delete newParams.displace_liqui_part;
4937
             delete newParams.displace_liqui_part;
4879
             delete newParams.displace_liqui_value;
4938
             delete newParams.displace_liqui_value;
5074
 
5133
 
5075
               let ParamsQuery = arr;
5134
               let ParamsQuery = arr;
5076
               console.log("ParamsQueryOne", ParamsQuery);
5135
               console.log("ParamsQueryOne", ParamsQuery);
5136
+             
5077
               if (this.$route.query.patient_id) {
5137
               if (this.$route.query.patient_id) {
5078
                 ParamsQuery["patient"] = this.$route.query.patient_id;
5138
                 ParamsQuery["patient"] = this.$route.query.patient_id;
5079
               } else {
5139
               } else {
5093
             delete newParams.oxygen_time;
5153
             delete newParams.oxygen_time;
5094
             delete newParams.oxygen_flow;
5154
             delete newParams.oxygen_flow;
5095
           }
5155
           }
5096
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
5156
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
5097
             delete newParams.replacement_total;
5157
             delete newParams.replacement_total;
5098
             delete newParams.displace_liqui_part;
5158
             delete newParams.displace_liqui_part;
5099
             delete newParams.displace_liqui_value;
5159
             delete newParams.displace_liqui_value;
5244
             delete newParams.oxygen_time;
5304
             delete newParams.oxygen_time;
5245
             delete newParams.oxygen_flow;
5305
             delete newParams.oxygen_flow;
5246
           }
5306
           }
5247
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
5307
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28  && newParams.mode_id!= 26 && newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
5248
             delete newParams.replacement_total;
5308
             delete newParams.replacement_total;
5249
             delete newParams.displace_liqui_part;
5309
             delete newParams.displace_liqui_part;
5250
             delete newParams.displace_liqui_value;
5310
             delete newParams.displace_liqui_value;
5378
         this.is_open = 0;
5438
         this.is_open = 0;
5379
       }
5439
       }
5380
       if(this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 3877){
5440
       if(this.$store.getters.user.template_info.org_id == 10340 || this.$store.getters.user.template_info.org_id == 3877){
5381
-         if(this.dialysisPrescription.prescribing_number == 0){
5382
-          Toast.fail('请填写开药数量!')
5383
-          return
5441
+        
5442
+        if(this.dialysisPrescription.anticoagulant!=1){
5443
+          if(this.dialysisPrescription.prescribing_number == 0){
5444
+            Toast.fail('请填写开药数量!')
5445
+             return
5384
          }
5446
          }
5447
+        }
5448
+      
5385
          if(this.dialysisPrescription.anticoagulant == 0){
5449
          if(this.dialysisPrescription.anticoagulant == 0){
5386
           Toast.fail('请填写抗凝剂!')
5450
           Toast.fail('请填写抗凝剂!')
5387
           return
5451
           return
5402
             this.dialysisPrescription.mode_id != 2 &&
5466
             this.dialysisPrescription.mode_id != 2 &&
5403
             this.dialysisPrescription.mode_id != 5 &&
5467
             this.dialysisPrescription.mode_id != 5 &&
5404
             this.dialysisPrescription.mode_id != 12 &&
5468
             this.dialysisPrescription.mode_id != 12 &&
5405
-            this.dialysisPrescription.mode_id !=28
5469
+            this.dialysisPrescription.mode_id !=28 &&
5470
+            this.dialysisPrescription.mode_id !=34 &&
5471
+            this.dialysisPrescription.mode_id !=35&&
5472
+            this.dialysisPrescription.mode_id !=36&&
5473
+            this.dialysisPrescription.mode_id !=37&&
5474
+            this.dialysisPrescription.mode_id !=38&&
5475
+            this.dialysisPrescription.mode_id !=26
5406
           ) {
5476
           ) {
5407
             this.dialysisPrescription.displace_liqui_part = 0;
5477
             this.dialysisPrescription.displace_liqui_part = 0;
5408
             this.dialysisPrescription.displace_liqui_value = 0;
5478
             this.dialysisPrescription.displace_liqui_value = 0;
5417
 
5487
 
5418
           let ParamsQuery = arr;
5488
           let ParamsQuery = arr;
5419
           console.log("ParamsQueryOne", ParamsQuery);
5489
           console.log("ParamsQueryOne", ParamsQuery);
5490
+         
5420
           if (this.$route.query.patient_id) {
5491
           if (this.$route.query.patient_id) {
5421
             ParamsQuery["patient"] = this.$route.query.patient_id;
5492
             ParamsQuery["patient"] = this.$route.query.patient_id;
5422
           } else {
5493
           } else {
5436
             delete newParams.oxygen_time;
5507
             delete newParams.oxygen_time;
5437
             delete newParams.oxygen_flow;
5508
             delete newParams.oxygen_flow;
5438
           }
5509
           }
5439
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12){
5510
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 26 && newParams.mode_id!= 34 && newParams.mode_id!= 35 && newParams.mode_id!= 36&& newParams.mode_id!= 37){
5440
             delete newParams.replacement_total;
5511
             delete newParams.replacement_total;
5441
             delete newParams.displace_liqui_part;
5512
             delete newParams.displace_liqui_part;
5442
             delete newParams.displace_liqui_value;
5513
             delete newParams.displace_liqui_value;
5624
 
5695
 
5625
             let ParamsQuery = arr;
5696
             let ParamsQuery = arr;
5626
             console.log("ParamsQueryOne", ParamsQuery);
5697
             console.log("ParamsQueryOne", ParamsQuery);
5698
+         
5627
             if (this.$route.query.patient_id) {
5699
             if (this.$route.query.patient_id) {
5628
               ParamsQuery["patient"] = this.$route.query.patient_id;
5700
               ParamsQuery["patient"] = this.$route.query.patient_id;
5629
             } else {
5701
             } else {
5643
             delete newParams.oxygen_time;
5715
             delete newParams.oxygen_time;
5644
             delete newParams.oxygen_flow;
5716
             delete newParams.oxygen_flow;
5645
           }
5717
           }
5646
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
5718
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 &&newParams.mode_id!= 26){
5647
             delete newParams.replacement_total;
5719
             delete newParams.replacement_total;
5648
             delete newParams.displace_liqui_part;
5720
             delete newParams.displace_liqui_part;
5649
             delete newParams.displace_liqui_value;
5721
             delete newParams.displace_liqui_value;
5763
           }
5835
           }
5764
 
5836
 
5765
           } else {
5837
           } else {
5766
-            console.log('777777777',this.is_open);
5838
+         
5767
             Toast.loading({ forbidClick: true, duration: 0 });
5839
             Toast.loading({ forbidClick: true, duration: 0 });
5768
             var arr = this.dialysisPrescription;
5840
             var arr = this.dialysisPrescription;
5769
 
5841
 
5770
             let ParamsQuery = arr;
5842
             let ParamsQuery = arr;
5771
             console.log("ParamsQueryOne", ParamsQuery);
5843
             console.log("ParamsQueryOne", ParamsQuery);
5844
+          
5772
             if (this.$route.query.patient_id) {
5845
             if (this.$route.query.patient_id) {
5773
               ParamsQuery["patient"] = this.$route.query.patient_id;
5846
               ParamsQuery["patient"] = this.$route.query.patient_id;
5774
             } else {
5847
             } else {
5788
             delete newParams.oxygen_time;
5861
             delete newParams.oxygen_time;
5789
             delete newParams.oxygen_flow;
5862
             delete newParams.oxygen_flow;
5790
           }
5863
           }
5791
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
5864
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26 && newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
5792
             delete newParams.replacement_total;
5865
             delete newParams.replacement_total;
5793
             delete newParams.displace_liqui_part;
5866
             delete newParams.displace_liqui_part;
5794
             delete newParams.displace_liqui_value;
5867
             delete newParams.displace_liqui_value;
5921
 
5994
 
5922
             let ParamsQuery = arr;
5995
             let ParamsQuery = arr;
5923
             console.log("ParamsQueryOne", ParamsQuery);
5996
             console.log("ParamsQueryOne", ParamsQuery);
5997
+          
5924
             if (this.$route.query.patient_id) {
5998
             if (this.$route.query.patient_id) {
5925
               ParamsQuery["patient"] = this.$route.query.patient_id;
5999
               ParamsQuery["patient"] = this.$route.query.patient_id;
5926
             } else {
6000
             } else {
5940
             delete newParams.oxygen_time;
6014
             delete newParams.oxygen_time;
5941
             delete newParams.oxygen_flow;
6015
             delete newParams.oxygen_flow;
5942
           }
6016
           }
5943
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
6017
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26 && newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
5944
             delete newParams.replacement_total;
6018
             delete newParams.replacement_total;
5945
             delete newParams.displace_liqui_part;
6019
             delete newParams.displace_liqui_part;
5946
             delete newParams.displace_liqui_value;
6020
             delete newParams.displace_liqui_value;
6130
             var arr = this.dialysisPrescription;
6204
             var arr = this.dialysisPrescription;
6131
 
6205
 
6132
             let ParamsQuery = arr;
6206
             let ParamsQuery = arr;
6133
-            console.log("ParamsQueryOne", ParamsQuery);
6207
+          
6208
+           
6134
             if (this.$route.query.patient_id) {
6209
             if (this.$route.query.patient_id) {
6135
               ParamsQuery["patient"] = this.$route.query.patient_id;
6210
               ParamsQuery["patient"] = this.$route.query.patient_id;
6136
             } else {
6211
             } else {
6150
             delete newParams.oxygen_time;
6225
             delete newParams.oxygen_time;
6151
             delete newParams.oxygen_flow;
6226
             delete newParams.oxygen_flow;
6152
           }
6227
           }
6153
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28){
6228
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
6154
             delete newParams.replacement_total;
6229
             delete newParams.replacement_total;
6155
             delete newParams.displace_liqui_part;
6230
             delete newParams.displace_liqui_part;
6156
             delete newParams.displace_liqui_value;
6231
             delete newParams.displace_liqui_value;
6302
             delete newParams.oxygen_time;
6377
             delete newParams.oxygen_time;
6303
             delete newParams.oxygen_flow;
6378
             delete newParams.oxygen_flow;
6304
           }
6379
           }
6305
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
6380
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
6306
             delete newParams.replacement_total;
6381
             delete newParams.replacement_total;
6307
             delete newParams.displace_liqui_part;
6382
             delete newParams.displace_liqui_part;
6308
             delete newParams.displace_liqui_value;
6383
             delete newParams.displace_liqui_value;
6510
               delete newParams.oxygen_time;
6585
               delete newParams.oxygen_time;
6511
               delete newParams.oxygen_flow;
6586
               delete newParams.oxygen_flow;
6512
             }
6587
             }
6513
-            if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
6588
+            if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
6514
               delete newParams.replacement_total;
6589
               delete newParams.replacement_total;
6515
               delete newParams.displace_liqui_part;
6590
               delete newParams.displace_liqui_part;
6516
               delete newParams.displace_liqui_value;
6591
               delete newParams.displace_liqui_value;
6653
               delete newParams.oxygen_time;
6728
               delete newParams.oxygen_time;
6654
               delete newParams.oxygen_flow;
6729
               delete newParams.oxygen_flow;
6655
             }
6730
             }
6656
-            if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
6731
+            if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28&& newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
6657
               delete newParams.replacement_total;
6732
               delete newParams.replacement_total;
6658
               delete newParams.displace_liqui_part;
6733
               delete newParams.displace_liqui_part;
6659
               delete newParams.displace_liqui_value;
6734
               delete newParams.displace_liqui_value;
6805
             delete newParams.oxygen_time;
6880
             delete newParams.oxygen_time;
6806
             delete newParams.oxygen_flow;
6881
             delete newParams.oxygen_flow;
6807
           }
6882
           }
6808
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
6883
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28&& newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
6809
             delete newParams.replacement_total;
6884
             delete newParams.replacement_total;
6810
             delete newParams.displace_liqui_part;
6885
             delete newParams.displace_liqui_part;
6811
             delete newParams.displace_liqui_value;
6886
             delete newParams.displace_liqui_value;
7022
             delete newParams.oxygen_time;
7097
             delete newParams.oxygen_time;
7023
             delete newParams.oxygen_flow;
7098
             delete newParams.oxygen_flow;
7024
           }
7099
           }
7025
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28){
7100
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12  && newParams.mode_id!= 28 && newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 36){
7026
             delete newParams.replacement_total;
7101
             delete newParams.replacement_total;
7027
             delete newParams.displace_liqui_part;
7102
             delete newParams.displace_liqui_part;
7028
             delete newParams.displace_liqui_value;
7103
             delete newParams.displace_liqui_value;
7173
             delete newParams.oxygen_time;
7248
             delete newParams.oxygen_time;
7174
             delete newParams.oxygen_flow;
7249
             delete newParams.oxygen_flow;
7175
           }
7250
           }
7176
-          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28){
7251
+          if (newParams.mode_id!=2 && newParams.mode_id!=5 && newParams.mode_id!= 12 && newParams.mode_id!= 28&& newParams.mode_id!= 26&& newParams.mode_id!= 34&& newParams.mode_id!= 35&& newParams.mode_id!= 36&& newParams.mode_id!= 37){
7177
             delete newParams.replacement_total;
7252
             delete newParams.replacement_total;
7178
             delete newParams.displace_liqui_part;
7253
             delete newParams.displace_liqui_part;
7179
             delete newParams.displace_liqui_value;
7254
             delete newParams.displace_liqui_value;
9184
             arr1[j].is_show == 1 &&
9259
             arr1[j].is_show == 1 &&
9185
             arr1[j].is_write == 1 &&
9260
             arr1[j].is_write == 1 &&
9186
             arr1[j].filed_name == arr2[i][0]
9261
             arr1[j].filed_name == arr2[i][0]
9187
-            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28)
9262
+            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28 ||this.dialysisPrescription.mode_id == 26)
9188
             &&arr1[j].filed_name == 'displace_liqui_part'
9263
             &&arr1[j].filed_name == 'displace_liqui_part'
9189
           ) {
9264
           ) {
9190
             newArr.push(arr1[j]);
9265
             newArr.push(arr1[j]);
9194
             arr1[j].is_show == 1 &&
9269
             arr1[j].is_show == 1 &&
9195
             arr1[j].is_write == 1 &&
9270
             arr1[j].is_write == 1 &&
9196
             arr1[j].filed_name == arr2[i][0]
9271
             arr1[j].filed_name == arr2[i][0]
9197
-            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28)
9272
+            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28 ||this.dialysisPrescription.mode_id == 26 )
9198
             &&arr1[j].filed_name == 'replacement_total'
9273
             &&arr1[j].filed_name == 'replacement_total'
9199
           ) {
9274
           ) {
9200
             newArr.push(arr1[j]);
9275
             newArr.push(arr1[j]);
9204
             arr1[j].is_show == 1 &&
9279
             arr1[j].is_show == 1 &&
9205
             arr1[j].is_write == 1 &&
9280
             arr1[j].is_write == 1 &&
9206
             arr1[j].filed_name == arr2[i][0]
9281
             arr1[j].filed_name == arr2[i][0]
9207
-            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28)
9282
+            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28 ||this.dialysisPrescription.mode_id == 26)
9208
             &&arr1[j].filed_name == 'displace_liqui_value'
9283
             &&arr1[j].filed_name == 'displace_liqui_value'
9209
           ) {
9284
           ) {
9210
             newArr.push(arr1[j]);delete newParams.displace_speed;
9285
             newArr.push(arr1[j]);delete newParams.displace_speed;
9214
             arr1[j].is_show == 1 &&
9289
             arr1[j].is_show == 1 &&
9215
             arr1[j].is_write == 1 &&
9290
             arr1[j].is_write == 1 &&
9216
             arr1[j].filed_name == arr2[i][0]
9291
             arr1[j].filed_name == arr2[i][0]
9217
-            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28)
9292
+            &&(this.dialysisPrescription.mode_id == 2||this.dialysisPrescription.mode_id == 5||this.dialysisPrescription.mode_id == 12 ||this.dialysisPrescription.mode_id == 28 ||this.dialysisPrescription.mode_id == 26)
9218
             &&arr1[j].filed_name == 'displace_speed'
9293
             &&arr1[j].filed_name == 'displace_speed'
9219
           ) {
9294
           ) {
9220
             newArr.push(arr1[j]);
9295
             newArr.push(arr1[j]);
10192
           this.propForm.click_ref = "vascular_access_desc";
10267
           this.propForm.click_ref = "vascular_access_desc";
10193
           break;
10268
           break;
10194
 
10269
 
10270
+       case 'blood_access_part_id':
10271
+
10272
+        this.propForm.result = []
10273
+        this.isHasOther = 2
10274
+        this.propForm.isShowOther = 1
10275
+
10276
+        this.propForm.type = 20
10277
+        this.isShowDialog = false
10278
+        this.propForm.title = '血管通路部位'
10279
+        this.visibility = true
10280
+        this.propForm.list = []
10281
+        this.propForm.list = getDataConfig(
10282
+          'hemodialysis',
10283
+          'vascular_access'
10284
+        )
10285
+        this.propForm.optionList = []
10286
+        this.propForm.isMultiple = 2
10287
+        if (
10288
+          this.dialysisPrescription.blood_access_part_id != undefined ||
10289
+                  this.dialysisPrescription.blood_access_part_id != null
10290
+        ) {
10291
+          if (this.dialysisPrescription.blood_access_part_id.length > 0) {
10292
+            this.propForm.result = this.dialysisPrescription.blood_access_part_id.split(',')
10293
+          } else {
10294
+            this.propForm.result = []
10295
+          }
10296
+        } else {
10297
+          this.propForm.result = []
10298
+        }
10299
+        this.propForm.click_ref = 'blood_access_part_id'
10300
+        break
10301
+
10195
         case "dialyzer_perfusion_apparatus":
10302
         case "dialyzer_perfusion_apparatus":
10196
           this.propForm.type = 11;
10303
           this.propForm.type = 11;
10197
           this.isShowDialog = false;
10304
           this.isShowDialog = false;
10590
         case 19:
10697
         case 19:
10591
         this.dialysisPrescription.dialysis_strainer = val.result.join(',')
10698
         this.dialysisPrescription.dialysis_strainer = val.result.join(',')
10592
         break
10699
         break
10700
+        case 20:
10701
+        this.dialysisPrescription.blood_access_part_id = val.result.join(',')
10702
+        break
10593
       }
10703
       }
10594
     },
10704
     },
10595
     getPermission() {
10705
     getPermission() {

+ 2 - 2
src/pages/main/newActionBar/doubleCheck.vue View File

89
               <van-cell title='第一核对人员'>
89
               <van-cell title='第一核对人员'>
90
                   <template #label>
90
                   <template #label>
91
                       <van-radio-group class="doctorList" v-model="doubleReview.creater">
91
                       <van-radio-group class="doctorList" v-model="doubleReview.creater">
92
-                          <van-radio :name="item.id" v-for='(item,index) in admin_map' :key="index"  v-if='item.status === 1'>{{ item.name }}</van-radio>
92
+                          <van-radio :name="item.id" v-for='(item,index) in admin_map' :key="index"  v-if='item.status === 1&& item.user_type ===3'>{{ item.name }}</van-radio>
93
                       </van-radio-group>
93
                       </van-radio-group>
94
                   </template>
94
                   </template>
95
               </van-cell>
95
               </van-cell>
97
               <van-cell title='第二核对人员'>
97
               <van-cell title='第二核对人员'>
98
                   <template #label>
98
                   <template #label>
99
                       <van-radio-group class="doctorList" v-model="doubleReview.modifier">
99
                       <van-radio-group class="doctorList" v-model="doubleReview.modifier">
100
-                          <van-radio :name="item.id"  v-for='(item,index) in admin_map' :key="index" v-if='item.status === 1'>{{ item.name }}</van-radio>
100
+                          <van-radio :name="item.id"  v-for='(item,index) in admin_map' :key="index" v-if='item.status === 1&& item.user_type ===3 '>{{ item.name }}</van-radio>
101
                       </van-radio-group>
101
                       </van-radio-group>
102
                   </template>
102
                   </template>
103
               </van-cell>
103
               </van-cell>

+ 23 - 17
src/pages/main/newActionBar/monitoring.vue View File

38
                   <th v-if="isShow('血流量')" width="40px" style="width:5%"> 血流量 <br />(ml/min) </th>
38
                   <th v-if="isShow('血流量')" width="40px" style="width:5%"> 血流量 <br />(ml/min) </th>
39
                   <th width="60px" style="width:6%"> 静脉压/动脉压 <br />({{monitorRecords[0]&&monitorRecords[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
39
                   <th width="60px" style="width:6%"> 静脉压/动脉压 <br />({{monitorRecords[0]&&monitorRecords[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
40
                   <th v-if="isShow('跨膜压')" width="40px" style="width:6%"> 跨膜压 <br />({{monitorRecords[0]&&monitorRecords[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
40
                   <th v-if="isShow('跨膜压')" width="40px" style="width:6%"> 跨膜压 <br />({{monitorRecords[0]&&monitorRecords[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}}) </th>
41
-                  <th v-if="isShow('超滤量') && (template_id ==5 || template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 9 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 65 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10387 || org_id == 10432 || org_id == 10445 || org_id == 10375 || org_id == 10480 || org_id == 10551)" width="50px" style="width:6%"> 超滤量 <br />(ml) </th>
42
-                  <th v-if="isShow('超滤量') && template_id != 5 && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && org_id !=9555 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id !=9 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id!=40 && template_id!=41 && template_id!=43 && template_id!=44 && template_id!=47 && template_id!=46  && template_id!=48 && template_id!=53 && template_id!=54 && template_id!=65 && template_id!=56 && template_id!=60 && org_id != 10340 && org_id != 10387 && org_id != 10432  && org_id != 10445 && org_id!=10375 && org_id!=10480 && org_id!=10551" width="50px" style="width:6%"> 超滤量 <br />(L) </th>
41
+                  <th v-if="isShow('超滤量') && (template_id ==5 || template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 9 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 65 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10387 || org_id == 10432 || org_id == 10445 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id == 10485)" width="50px" style="width:6%"> 超滤量 <br />(ml) </th>
42
+                  <th v-if="isShow('超滤量') && template_id != 5 && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && org_id !=9555 && template_id!=27 && template_id!=29 && template_id!=30 && template_id!=31 && template_id !=9 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id!=40 && template_id!=41 && template_id!=43 && template_id!=44 && template_id!=47 && template_id!=46  && template_id!=48 && template_id!=53 && template_id!=54 && template_id!=65 && template_id!=56 && template_id!=60 && org_id != 10340 && org_id != 10387 && org_id != 10432  && org_id != 10445 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10485" width="50px" style="width:6%"> 超滤量 <br />(L) </th>
43
                   <th v-if="isShow('钠浓度')" width="40px" style="width:6%"> 钠浓度 <br />(mmol/L) </th>
43
                   <th v-if="isShow('钠浓度')" width="40px" style="width:6%"> 钠浓度 <br />(mmol/L) </th>
44
                   <th v-if="isShow('透析液温度')" width="60px" style="width:6%"> 透析液温度 <br />(℃) </th>
44
                   <th v-if="isShow('透析液温度')" width="60px" style="width:6%"> 透析液温度 <br />(℃) </th>
45
                   <th v-if="isShow('置换率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29  || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || org_id == 10340 || org_id == 10445 || org_id == 10410) && org_id!=10558" width="50px" style="width:6%"> 置换率 <br />(ml/min) </th>
45
                   <th v-if="isShow('置换率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29  || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || org_id == 10340 || org_id == 10445 || org_id == 10410) && org_id!=10558" width="50px" style="width:6%"> 置换率 <br />(ml/min) </th>
46
                   <th v-if="isShow('置换率') && (template_id !=6 && template_id !=10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29  && template_id != 46 && template_id != 48 && template_id != 53  && template_id != 54 && org_id!=10340 && org_id!=10445 && org_id!=10410) || org_id ==10558" width="50px"  style="width:6%"> 置换率 <br />(L/h) </th>
46
                   <th v-if="isShow('置换率') && (template_id !=6 && template_id !=10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29  && template_id != 46 && template_id != 48 && template_id != 53  && template_id != 54 && org_id!=10340 && org_id!=10445 && org_id!=10410) || org_id ==10558" width="50px"  style="width:6%"> 置换率 <br />(L/h) </th>
47
                   <th v-if="isShow('置换量') && (template_id ==43 )" width="40px" style="width:6%"> 置换量 <br />(ml/h) </th>
47
                   <th v-if="isShow('置换量') && (template_id ==43 )" width="40px" style="width:6%"> 置换量 <br />(ml/h) </th>
48
-                  <th v-if="isShow('置换量') && ((template_id ==6 && org_id != 9919 && org_id!=10191 && template_id!=43) || org_id ==9779 ||template_id ==11 ||template_id ==20 ||template_id ==26 ||template_id ==29 ||template_id == 48 ||template_id == 46 ||template_id == 53 ||template_id == 54 ||template_id == 56 ||org_id == 10340 ||org_id == 10432 ||org_id == 10445) && org_id!=10558" width="50px" style="width:6%"> 置换量 <br />(ml) </th>
49
-                  <th v-if="isShow('置换量') && ((template_id !=6 || org_id == 9919 || org_id == 10191) && org_id !=9779 && template_id !=11 && template_id !=20 && template_id !=26 && template_id !=29 && template_id!=43 && template_id!=48 && template_id!=46 && template_id!=53 && template_id!=54 && template_id!=56 && org_id!=10340 && org_id!=10432  && org_id!=10445) || org_id ==10558" width="50px" style="width:6%"> 置换量 <br />(L) </th>
48
+                  <th v-if="isShow('置换量') && ((template_id ==6 && org_id != 9919 && org_id!=10191 && template_id!=43) || org_id ==9779 ||template_id ==11 ||template_id ==20 ||template_id ==26 ||template_id ==29 ||template_id == 48 ||template_id == 46 ||template_id == 53 ||template_id == 54 ||template_id == 56 ||org_id == 10340 ||org_id == 10432 ||org_id == 10445) && org_id!=10558 && org_id!=10346" width="50px" style="width:6%"> 置换量 <br />(ml) </th>
49
+                  <th v-if="isShow('置换量') && ((template_id !=6 || org_id == 9919 || org_id == 10191) && org_id !=9779 && template_id !=11 && template_id !=20 && template_id !=26 && template_id !=29 && template_id!=43 && template_id!=48 && template_id!=46 && template_id!=53 && template_id!=54 && template_id!=56 && org_id!=10340 && org_id!=10432  && org_id!=10445) || org_id ==10558 || org_id ==10346" width="50px" style="width:6%"> 置换量 <br />(L) </th>
50
                   <th v-if="isShow('SpO₂')  && template_id !=6 && template_id !=10 && template_id !=11" width="40px" > SpO₂ <br />(%) </th>
50
                   <th v-if="isShow('SpO₂')  && template_id !=6 && template_id !=10 && template_id !=11" width="40px" > SpO₂ <br />(%) </th>
51
                   <th v-if="isShow('SpO₂')  && org_id == 10447" width="40px" > SpO₂ <br />(%) </th>
51
                   <th v-if="isShow('SpO₂')  && org_id == 10447" width="40px" > SpO₂ <br />(%) </th>
52
                   <th v-if="isShow('电导度')" width="40px"> 电导度 <br />(mS/cm) </th>
52
                   <th v-if="isShow('电导度')" width="40px"> 电导度 <br />(mS/cm) </th>
53
-                  <th v-if="isShow('置换液流量')" width="50px"> 置换液流量 <br /><span v-if="template_id !=27">(ml/h)</span><span v-if="template_id ==27 || template_id ==29 ">(ml/min)</span> </th>
53
+                  <th v-if="isShow('置换液流量')" width="50px"> 置换液流量 <br /><span v-if="template_id !=27 && template_id !=29 && template_id !=60">(ml/h)</span><span v-if="template_id ==27 || template_id ==29 || template_id == 60">(ml/min)</span> </th>
54
                   <th v-if="isShow('透析液流量')" width="50px"> 透析液流量 <br />(ml/h) </th>
54
                   <th v-if="isShow('透析液流量')" width="50px"> 透析液流量 <br />(ml/h) </th>
55
-                  <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 65 || org_id == 10432 || org_id == 10445 || org_id == 10375 || org_id == 10480 || org_id == 10551)" width="50px" style="6%"> 超滤率 <br />(ml/h) </th>
56
-                  <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38 && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=47 && template_id !=48 && template_id !=53 && template_id !=54 && template_id !=56 && template_id !=65 && org_id!=10432 && org_id!=10445 && org_id!=10375  && org_id!=10480 && org_id!=10551" width="50px" style="6%"> 超滤率 <br />(L/h) </th>
55
+                  <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 65 || org_id == 10432 || org_id == 10445 || org_id == 10375 || org_id == 10480 || org_id == 10551  || org_id == 10537)" width="50px" style="6%"> 超滤率 <br />(ml/h) </th>
56
+                  <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38 && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=47 && template_id !=48 && template_id !=53 && template_id !=54 && template_id !=56 && template_id !=65 && org_id!=10432 && org_id!=10445 && org_id!=10375  && org_id!=10480 && org_id!=10551 && org_id!=10537" width="50px" style="6%"> 超滤率 <br />(L/h) </th>
57
                   <th v-if="isShow('肝素用量余量')" width="60px"> 肝素用量余量 <br />(ml) </th>
57
                   <th v-if="isShow('肝素用量余量')" width="60px"> 肝素用量余量 <br />(ml) </th>
58
                   <th v-if="isShow('肝素量')" width="60px"> 肝素量 <br />(mg) </th>
58
                   <th v-if="isShow('肝素量')" width="60px"> 肝素量 <br />(mg) </th>
59
                   <th v-if="isShow('抗凝剂')" width="60px">抗凝剂</th>
59
                   <th v-if="isShow('抗凝剂')" width="60px">抗凝剂</th>
67
                   <th v-if="isShow('血浓量')" width="60px">血浓量</th>
67
                   <th v-if="isShow('血浓量')" width="60px">血浓量</th>
68
                   <!-- <th v-if="isShow('血浓量')" width="60px">血浓量</th> -->
68
                   <!-- <th v-if="isShow('血浓量')" width="60px">血浓量</th> -->
69
                   <th v-if="isShow('脱水')" width="60px">脱水</th>
69
                   <th v-if="isShow('脱水')" width="60px">脱水</th>
70
-                  <th v-if="isShow('KT/V') && (org_id == 9987|| org_id == 10215 || org_id == 9800)" width="60px">KT/V</th>
70
+                  <th v-if="isShow('KT/V') && (org_id == 9987|| org_id == 10215 || org_id == 9800 || org_id ==10517)" width="60px">KT/V</th>
71
                 
71
                 
72
                   <th v-if="isShow('病情变化')" width="92px" >病情变化</th>
72
                   <th v-if="isShow('病情变化')" width="92px" >病情变化</th>
73
                   <th v-if="isShow('处理')" width="92px" >处理</th>
73
                   <th v-if="isShow('处理')" width="92px" >处理</th>
127
                   <!-- <td v-if="isShow('血浓量')" width="60px">{{item.blood_monitor}}</td> -->
127
                   <!-- <td v-if="isShow('血浓量')" width="60px">{{item.blood_monitor}}</td> -->
128
                   <td v-if="isShow('脱水')" width="60px">{{item.dehydration}}</td>
128
                   <td v-if="isShow('脱水')" width="60px">{{item.dehydration}}</td>
129
 
129
 
130
-                  <td v-if="isShow('KT/V') && (org_id == 9987 || org_id ==10215 || org_id == 9800)">{{item.ktv?item.ktv:''}}</td>
130
+                  <td v-if="isShow('KT/V') && (org_id == 9987 || org_id ==10215 || org_id == 9800 || org_id ==10517)">{{item.ktv?item.ktv:''}}</td>
131
                   <td v-if="isShow('病情变化')">{{item.symptom}}</td>
131
                   <td v-if="isShow('病情变化')">{{item.symptom}}</td>
132
                   <td v-if="isShow('处理')">{{item.dispose}}</td>
132
                   <td v-if="isShow('处理')">{{item.dispose}}</td>
133
                   <td v-if="isShow('结果')">{{item.result}}</td>
133
                   <td v-if="isShow('结果')">{{item.result}}</td>
159
                           <van-field v-model="form.temperature" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('体温')" :required="isShow_title('体温')" label="体温(℃)" type="number" input-align="right" />
159
                           <van-field v-model="form.temperature" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('体温')" :required="isShow_title('体温')" label="体温(℃)" type="number" input-align="right" />
160
                           <van-field  v-model="form.breathing_rated" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('呼吸频率')&& org_id!=10340 && org_id!=9671" :required="isShow_title('呼吸频率')" label="呼吸频率(次/分)" input-align="right" />
160
                           <van-field  v-model="form.breathing_rated" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('呼吸频率')&& org_id!=10340 && org_id!=9671" :required="isShow_title('呼吸频率')" label="呼吸频率(次/分)" input-align="right" />
161
                           <van-field  v-model="form.breathing_rated" @focus="inputFocus" @keydown='changeFocus' type="number" v-if="isShow('呼吸频率')&& (org_id ==10340 || org_id ==9671)" :required="isShow_title('呼吸频率')" label="呼吸频率(次/分)" input-align="right" />
161
                           <van-field  v-model="form.breathing_rated" @focus="inputFocus" @keydown='changeFocus' type="number" v-if="isShow('呼吸频率')&& (org_id ==10340 || org_id ==9671)" :required="isShow_title('呼吸频率')" label="呼吸频率(次/分)" input-align="right" />
162
+                         
163
+
162
                           <van-field v-model="form.blood_flow_volume" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血流量')" :required="isShow_title('血流量')" label="血流量(ml/min)" type="number" input-align="right" />
164
                           <van-field v-model="form.blood_flow_volume" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血流量')" :required="isShow_title('血流量')" label="血流量(ml/min)" type="number" input-align="right" />
163
                           <van-field v-model="form.arterial_pressure" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('动脉压')  && org_id!=10340 && org_id!=9671" :required="isShow_title('动脉压')" input-align="right">
165
                           <van-field v-model="form.arterial_pressure" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('动脉压')  && org_id!=10340 && org_id!=9671" :required="isShow_title('动脉压')" input-align="right">
164
                               <template #label>
166
                               <template #label>
186
                                   <van-button @click="venousPressureChangeOne" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
188
                                   <van-button @click="venousPressureChangeOne" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
187
                               </template>
189
                               </template>
188
                           </van-field>
190
                           </van-field>
191
+                         
192
+                          
189
                           <van-field v-model="form.transmembrane_pressure" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('跨膜压')" v-if="isShow('跨膜压')" type="number" input-align="right">
193
                           <van-field v-model="form.transmembrane_pressure" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('跨膜压')" v-if="isShow('跨膜压')" type="number" input-align="right">
190
                               <template #label>
194
                               <template #label>
191
                                   <span>跨膜压({{form.transmembrane_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
195
                                   <span>跨膜压({{form.transmembrane_pressure_type == 2 ? 'kpa': 'mmHg'}})</span>
194
                                   <van-button @click="venousPressureChangeTwo" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
198
                                   <van-button @click="venousPressureChangeTwo" size="small" class="changeBtn" type="primary" style="margin-left:40px">切换</van-button>
195
                               </template>
199
                               </template>
196
                           </van-field>
200
                           </van-field>
201
+                          
202
+                         
197
                           <van-field v-model="form.ultrafiltration_volume" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('超滤量')" v-if="isShow('超滤量')" type="number" input-align="right">
203
                           <van-field v-model="form.ultrafiltration_volume" @focus="inputFocus" @keydown='changeFocus' :required="isShow_title('超滤量')" v-if="isShow('超滤量')" type="number" input-align="right">
198
                               <template #label>
204
                               <template #label>
199
                                   <!-- <span v-if="template_id == 5 || template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 9 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || org_id == 10340  || org_id == 10387 || org_id == 10432 || org_id == 10445" >超滤量(ml)</span>
205
                                   <!-- <span v-if="template_id == 5 || template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || org_id == 9555 || template_id == 27 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 9 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 40 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || org_id == 10340  || org_id == 10387 || org_id == 10432 || org_id == 10445" >超滤量(ml)</span>
206
                               <template #label>
212
                               <template #label>
207
                                   <!-- <span v-if="template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10432 || org_id == 10445">超滤率(ml/h)</span>
213
                                   <!-- <span v-if="template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10432 || org_id == 10445">超滤率(ml/h)</span>
208
                                   <span v-if="(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id == 10485) && org_id!=10471">超滤率(ml/h)</span> -->
214
                                   <span v-if="(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || org_id == 10340 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id == 10485) && org_id!=10471">超滤率(ml/h)</span> -->
209
-                                  <span v-if="(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || org_id == 10340 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551) && org_id!=10471">超滤率(ml/h)</span>
215
+                                  <span v-if="(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || org_id == 10340 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10537) && org_id!=10471">超滤率(ml/h)</span>
210
                                   <span v-else>超滤率(L/h)</span>
216
                                   <span v-else>超滤率(L/h)</span>
211
                               </template>
217
                               </template>
212
                           </van-field>
218
                           </van-field>
239
                           <van-field v-model="form.blood_sugar" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血糖')" :required="isShow_title('血糖')" label="血糖(mmol/L)" type="number" input-align="right"/>
245
                           <van-field v-model="form.blood_sugar" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('血糖')" :required="isShow_title('血糖')" label="血糖(mmol/L)" type="number" input-align="right"/>
240
                           <van-field v-model="form.displacement_flow_quantity" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换液流量')" :required="isShow_title('置换液流量')" type="number" input-align="right">
246
                           <van-field v-model="form.displacement_flow_quantity" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('置换液流量')" :required="isShow_title('置换液流量')" type="number" input-align="right">
241
                               <template #label>
247
                               <template #label>
242
-                                  <span v-if="template_id != 27">置换液流量(ml/h)</span>
243
-                                  <span v-if="template_id == 27 || template_id == 29">置换液流量(ml/min)</span>
248
+                                  <span v-if="template_id != 27 && template_id!=29 && template_id!=60">置换液流量(ml/h)</span>
249
+                                  <span v-if="template_id == 27 || template_id == 29 || template_id ==60">置换液流量(ml/min)</span>
244
                               </template>
250
                               </template>
245
                           </van-field>
251
                           </van-field>
246
                           <van-field v-model="form.dialysate_flow" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('透析液流量')" :required="isShow_title('透析液流量')" label="透析液流量(ml/h)" type="number" input-align="right"/>
252
                           <van-field v-model="form.dialysate_flow" @focus="inputFocus" @keydown='changeFocus' v-if="isShow('透析液流量')" :required="isShow_title('透析液流量')" label="透析液流量(ml/h)" type="number" input-align="right"/>
386
                             <th v-if="isShow('SpO₂')  && template_id !=6 && template_id !=10 && template_id !=11" width="40px" > SpO₂ <br />(%) </th>
392
                             <th v-if="isShow('SpO₂')  && template_id !=6 && template_id !=10 && template_id !=11" width="40px" > SpO₂ <br />(%) </th>
387
                             <th v-if="isShow('SpO₂')  && org_id == 10447" width="40px" > SpO₂ <br />(%) </th>
393
                             <th v-if="isShow('SpO₂')  && org_id == 10447" width="40px" > SpO₂ <br />(%) </th>
388
                             <th v-if="isShow('电导度')" width="40px"> 电导度 <br />(mS/cm) </th>
394
                             <th v-if="isShow('电导度')" width="40px"> 电导度 <br />(mS/cm) </th>
389
-                            <th v-if="isShow('置换液流量')" width="50px"> 置换液流量 <br /><span v-if="template_id !=27">(ml/h)</span><span v-if="template_id ==27 || template_id ==29 ">(ml/min)</span> </th>
395
+                            <th v-if="isShow('置换液流量')" width="50px"> 置换液流量 <br /><span v-if="template_id !=27 && template_id !=29 && template_id !=60">(ml/h)</span><span v-if="template_id ==27 || template_id ==29 || template_id==60">(ml/min)</span> </th>
390
                             <th v-if="isShow('透析液流量')" width="50px"> 透析液流量 <br />(ml/h) </th>
396
                             <th v-if="isShow('透析液流量')" width="50px"> 透析液流量 <br />(ml/h) </th>
391
-                            <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10480)" width="50px"> 超滤率 <br />(ml/h) </th>
392
-                            <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38 && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=47 && template_id !=48 && template_id !=53 && template_id !=54 && template_id !=56 && org_id!=10432 && org_id!=10445 && org_id!=10480" width="50px"> 超滤率 <br />(L/h) </th>
397
+                            <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10480 || org_id ==10537)" width="50px"> 超滤率 <br />(ml/h) </th>
398
+                            <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38 && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=47 && template_id !=48 && template_id !=53 && template_id !=54 && template_id !=56 && org_id!=10432 && org_id!=10445 && org_id!=10480 && org_id!=10537" width="50px"> 超滤率 <br />(L/h) </th>
393
                             <th v-if="isShow('肝素用量余量')" width="60px"> 肝素用量余量 <br />(ml) </th>
399
                             <th v-if="isShow('肝素用量余量')" width="60px"> 肝素用量余量 <br />(ml) </th>
394
                             <th v-if="isShow('肝素量')" width="60px"> 肝素量 <br />(mg) </th>
400
                             <th v-if="isShow('肝素量')" width="60px"> 肝素量 <br />(mg) </th>
395
                             <th v-if="isShow('抗凝剂')" width="60px">抗凝剂</th>
401
                             <th v-if="isShow('抗凝剂')" width="60px">抗凝剂</th>
403
                             <th v-if="isShow('血浓量')" width="60px">血浓量</th>
409
                             <th v-if="isShow('血浓量')" width="60px">血浓量</th>
404
                             <!-- <th v-if="isShow('血浓量')" width="60px">血浓量</th> -->
410
                             <!-- <th v-if="isShow('血浓量')" width="60px">血浓量</th> -->
405
                             <th v-if="isShow('脱水')" width="60px">脱水</th>
411
                             <th v-if="isShow('脱水')" width="60px">脱水</th>
406
-                            <th v-if="isShow('KT/V') && (org_id == 9987|| org_id == 10215 || org_id == 9800)" width="60px">KT/V</th>
412
+                            <th v-if="isShow('KT/V') && (org_id == 9987|| org_id == 10215 || org_id == 9800 || org_id ==10517)" width="60px">KT/V</th>
407
                             <th v-if="isShow('病情变化')" width="92px">病情变化</th>
413
                             <th v-if="isShow('病情变化')" width="92px">病情变化</th>
408
                             <th v-if="isShow('处理')" width="92px">处理</th>
414
                             <th v-if="isShow('处理')" width="92px">处理</th>
409
                             <th v-if="isShow('结果')" width="92px">结果</th>
415
                             <th v-if="isShow('结果')" width="92px">结果</th>
448
                                 <span v-if="item.monitor_anticoagulant == 13">那屈肝素钙</span>
454
                                 <span v-if="item.monitor_anticoagulant == 13">那屈肝素钙</span>
449
                               <span v-if="item.monitor_anticoagulant_value!=''">({{item.monitor_anticoagulant_value}})</span>
455
                               <span v-if="item.monitor_anticoagulant_value!=''">({{item.monitor_anticoagulant_value}})</span>
450
                               </td>
456
                               </td>
451
-                              <td v-if="isShow('KT/V') && (org_id == 9987 || org_id ==10215 || org_id == 9800 || org_id == 10278 || org_id == 10138 )">{{item.ktv?item.ktv:''}}</td>
457
+                              <td v-if="isShow('KT/V') && (org_id == 9987 || org_id ==10215 || org_id == 9800 || org_id == 10278 || org_id == 10138 || org_id ==10517)">{{item.ktv?item.ktv:''}}</td>
452
                               <td v-if="isShow('病情变化')">{{item.symptom}}</td>
458
                               <td v-if="isShow('病情变化')">{{item.symptom}}</td>
453
                               <td v-if="isShow('处理')">{{item.dispose}}</td>
459
                               <td v-if="isShow('处理')">{{item.dispose}}</td>
454
                               <td v-if="isShow('结果')">{{item.result}}</td>
460
                               <td v-if="isShow('结果')">{{item.result}}</td>

+ 2 - 2
src/pages/main/template/DialysisPrintOrderOne.vue View File

34
               </td>
34
               </td>
35
               <td width="110">住院号/透析卡号:</td>
35
               <td width="110">住院号/透析卡号:</td>
36
               <td width="130">
36
               <td width="130">
37
-                <div class="under-line">&nbsp;{{patientInfo.admission_number?patientInfo.admission_number:'无'}}
38
-                  /{{patientInfo.dialysis_no}}
37
+                <div class="under-line">&nbsp;{{receiverTreatmentAccess.admission_number?receiverTreatmentAccess.admission_number:'无'}}
38
+                  <span v-if="receiverTreatmentAccess.admission_number==''|| receiverTreatmentAccess.admission_number ==0"> /{{patientInfo.dialysis_no}}</span>
39
                 </div>
39
                 </div>
40
               </td>
40
               </td>
41
             </tr>
41
             </tr>

+ 18 - 9
src/pages/main/template/DialysisPrintOrderSix.vue View File

360
                   <div class="inline_block" style="margin-left:10px;flex:1;">
360
                   <div class="inline_block" style="margin-left:10px;flex:1;">
361
                     置换量:
361
                     置换量:
362
                     <div class="under_line" style="width: 70px;text-align: center">
362
                     <div class="under_line" style="width: 70px;text-align: center">
363
-                      {{prescription.displace_liqui_value?prescription.displace_liqui_value:'/'}}
363
+                      <span v-if="org_id!=10206">{{prescription.displace_liqui_value?prescription.displace_liqui_value:'/'}}</span> 
364
+                      <span v-if="org_id==10206">{{prescription.replacement_total?prescription.replacement_total:'/'}}</span>
364
                     </div>
365
                     </div>
365
                     L
366
                     L
366
                   </div>
367
                   </div>
497
                     <div class="under_line" style="width: 50px;text-align: center;">
498
                     <div class="under_line" style="width: 50px;text-align: center;">
498
                       {{prescription.anticoagulant_shouji?prescription.anticoagulant_shouji:'/'}}
499
                       {{prescription.anticoagulant_shouji?prescription.anticoagulant_shouji:'/'}}
499
                     </div>
500
                     </div>
500
-                    <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">
501
+                    <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10206">
501
                       <span v-if="prescription.anticoagulant == 4">mg</span>
502
                       <span v-if="prescription.anticoagulant == 4">mg</span>
502
                       <span v-if="prescription.anticoagulant == 3">iu</span>
503
                       <span v-if="prescription.anticoagulant == 3">iu</span>
503
                       <span v-if="prescription.anticoagulant == 2">iu</span>
504
                       <span v-if="prescription.anticoagulant == 2">iu</span>
504
                       <span v-if="prescription.anticoagulant == 1">mg</span>
505
                       <span v-if="prescription.anticoagulant == 1">mg</span>
505
                     </span>
506
                     </span>
506
 
507
 
507
-                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">
508
+                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id ==10206">
508
                       <span v-if="prescription.anticoagulant == 4">iu</span>
509
                       <span v-if="prescription.anticoagulant == 4">iu</span>
509
                       <span v-if="prescription.anticoagulant == 3">iu</span>
510
                       <span v-if="prescription.anticoagulant == 3">iu</span>
510
                       <span v-if="prescription.anticoagulant == 2">mg</span>
511
                       <span v-if="prescription.anticoagulant == 2">mg</span>
516
                      <span v-if="prescription.anticoagulant == 10">iu</span>
517
                      <span v-if="prescription.anticoagulant == 10">iu</span>
517
                      <span v-if="prescription.anticoagulant == 11">iu</span>
518
                      <span v-if="prescription.anticoagulant == 11">iu</span>
518
                      <span v-if="prescription.anticoagulant == 13">iu</span>
519
                      <span v-if="prescription.anticoagulant == 13">iu</span>
520
+                     <span v-if="prescription.anticoagulant == 16">iu</span>
521
+                     <span v-if="prescription.anticoagulant == 17">mg</span>
522
+
519
 
523
 
520
                     </span>
524
                     </span>
521
 
525
 
529
                     <div v-if="prescription.anticoagulant != 1"  class="under_line" style="width: 50px;text-align: center;">
533
                     <div v-if="prescription.anticoagulant != 1"  class="under_line" style="width: 50px;text-align: center;">
530
                       {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:"0"}}
534
                       {{prescription.anticoagulant_weichi?prescription.anticoagulant_weichi:"0"}}
531
                     </div>
535
                     </div>
532
-                     <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">
536
+                     <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471&& org_id!=10206">
533
 
537
 
534
                        <span v-if="prescription.anticoagulant == 5">ml/h</span>
538
                        <span v-if="prescription.anticoagulant == 5">ml/h</span>
535
                         <span v-if="prescription.anticoagulant == 4">mg/h</span>
539
                         <span v-if="prescription.anticoagulant == 4">mg/h</span>
537
                         <span v-if="prescription.anticoagulant == 2">iu/h</span>
541
                         <span v-if="prescription.anticoagulant == 2">iu/h</span>
538
                         <span v-if="prescription.anticoagulant == 1">mg/h</span>
542
                         <span v-if="prescription.anticoagulant == 1">mg/h</span>
539
                      </span>
543
                      </span>
540
-                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">
544
+                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10206">
541
                        <span v-if="prescription.anticoagulant == 2">mg/h</span>
545
                        <span v-if="prescription.anticoagulant == 2">mg/h</span>
542
                         <span v-if="prescription.anticoagulant == 3">iu/h</span>
546
                         <span v-if="prescription.anticoagulant == 3">iu/h</span>
543
                         <span v-if="prescription.anticoagulant == 4">ml</span>
547
                         <span v-if="prescription.anticoagulant == 4">ml</span>
549
                         <span v-if="prescription.anticoagulant == 10">iu/h</span>
553
                         <span v-if="prescription.anticoagulant == 10">iu/h</span>
550
                         <span v-if="prescription.anticoagulant == 11">iu/h</span>
554
                         <span v-if="prescription.anticoagulant == 11">iu/h</span>
551
                         <span v-if="prescription.anticoagulant == 13">iu/h</span>
555
                         <span v-if="prescription.anticoagulant == 13">iu/h</span>
556
+                        <span v-if="prescription.anticoagulant == 16">iu/h</span>
557
+                        <span v-if="prescription.anticoagulant == 17">mg/h</span>
552
                     </span>
558
                     </span>
553
 
559
 
554
                   </div>
560
                   </div>
571
                     <div class="under_line" style="width: 50px;text-align: center;">
577
                     <div class="under_line" style="width: 50px;text-align: center;">
572
                       {{prescription.anticoagulant_zongliang?prescription.anticoagulant_zongliang:'/'}}
578
                       {{prescription.anticoagulant_zongliang?prescription.anticoagulant_zongliang:'/'}}
573
                     </div>
579
                     </div>
574
-                    <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">
580
+                    <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10206">
575
                       <span v-if="prescription.anticoagulant == 4">mg</span>
581
                       <span v-if="prescription.anticoagulant == 4">mg</span>
576
                       <span v-if="prescription.anticoagulant == 3">iu</span>
582
                       <span v-if="prescription.anticoagulant == 3">iu</span>
577
                       <span v-if="prescription.anticoagulant == 2">iu</span>
583
                       <span v-if="prescription.anticoagulant == 2">iu</span>
578
                       <span v-if="prescription.anticoagulant == 1">mg</span>
584
                       <span v-if="prescription.anticoagulant == 1">mg</span>
579
                      </span>
585
                      </span>
580
-                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">
586
+                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10206">
581
                        <span v-if="prescription.anticoagulant == 2">mg</span>
587
                        <span v-if="prescription.anticoagulant == 2">mg</span>
582
                        <span v-if="prescription.anticoagulant == 3">iu</span>
588
                        <span v-if="prescription.anticoagulant == 3">iu</span>
583
                        <span v-if="prescription.anticoagulant == 4">ml</span>
589
                        <span v-if="prescription.anticoagulant == 4">ml</span>
589
                        <span v-if="prescription.anticoagulant == 10">iu</span>
595
                        <span v-if="prescription.anticoagulant == 10">iu</span>
590
                       <span v-if="prescription.anticoagulant == 11">iu</span>
596
                       <span v-if="prescription.anticoagulant == 11">iu</span>
591
                       <span v-if="prescription.anticoagulant == 13">iu</span>
597
                       <span v-if="prescription.anticoagulant == 13">iu</span>
598
+                      <span v-if="prescription.anticoagulant == 16">iu</span>
599
+                      <span v-if="prescription.anticoagulant == 17">mg</span>
592
 
600
 
593
                     </span>
601
                     </span>
594
 
602
 
1147
                     <img style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
1155
                     <img style="height:20px;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
1148
                   </div>
1156
                   </div>
1149
                 </div>
1157
                 </div>
1150
-                <div class="inline_block" style="flex:1;">
1158
+                <div class="inline_block" style="flex:1;" v-if="org_id!=10206">
1151
                   治疗护士:
1159
                   治疗护士:
1152
                   <div class="under_line" style="width: 80px;text-align: center">
1160
                   <div class="under_line" style="width: 80px;text-align: center">
1153
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
1161
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
1155
                   </div>
1163
                   </div>
1156
                 </div>
1164
                 </div>
1157
                 <div class="inline_block" style="flex:1;">
1165
                 <div class="inline_block" style="flex:1;">
1158
-                  核对人员:
1166
+                  <span v-if="org_id!=10206"> 核对人员:</span>
1167
+                  <span v-if="org_id==10206"> 核对护士:</span>
1159
                   <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder == null">
1168
                   <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder == null">
1160
                     <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
1169
                     <span v-if="setAdminUserES(check==null?0:check.creater) == ''">{{getAdminUser(check==null?0:check.creater)}}</span>
1161
                     <img style="height:20px;" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>
1170
                     <img style="height:20px;" :src="setAdminUserES(check==null?0:check.creater)" alt="" srcset="" v-else>

+ 6 - 2
src/pages/main/template/DialysisPrintOrderSixty.vue View File

1024
                         }})
1024
                         }})
1025
                       </td>
1025
                       </td>
1026
                       <td width="60">透析液温度(°C)</td>
1026
                       <td width="60">透析液温度(°C)</td>
1027
-                      <td width="60">电导度<br />(mS/cm)</td>
1027
+                      <td width="60" v-if="org_id!=10537">电导度<br />(mS/cm)</td>
1028
+                      <td width="60" v-if="org_id ==10537">钠浓度<br />(mS/cm)</td>
1028
                       <td width="50">超滤量<br />(ml)</td>
1029
                       <td width="50">超滤量<br />(ml)</td>
1029
                       <td width="200">病情变化及处理</td>
1030
                       <td width="200">病情变化及处理</td>
1030
                     </tr>
1031
                     </tr>
1081
                             : ""
1082
                             : ""
1082
                         }}
1083
                         }}
1083
                       </td>
1084
                       </td>
1084
-                      <td>
1085
+                      <td v-if="org_id!=10537">
1085
                         {{ monitor.conductivity ? monitor.conductivity : "" }}
1086
                         {{ monitor.conductivity ? monitor.conductivity : "" }}
1086
                       </td>
1087
                       </td>
1088
+                      <td v-if="org_id ==10537">
1089
+                        {{ monitor.sodium_concentration?monitor.sodium_concentration:"" }}
1090
+                      </td>
1087
                       <td>
1091
                       <td>
1088
                         {{
1092
                         {{
1089
                           monitor.ultrafiltration_volume
1093
                           monitor.ultrafiltration_volume

+ 3 - 3
src/pages/main/today/dialysisMonitoring.vue View File

26
           <th v-if="isShow('置换率')&& (template_id == 6 ||template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 48 || template_id == 53  || template_id == 54 | template_id == 56 || org_id == 10340 || org_id == 10410 || org_id == 10375) && org_id==10558" width="60px" > 置换率 <br />(ml/min) </th>
26
           <th v-if="isShow('置换率')&& (template_id == 6 ||template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 48 || template_id == 53  || template_id == 54 | template_id == 56 || org_id == 10340 || org_id == 10410 || org_id == 10375) && org_id==10558" width="60px" > 置换率 <br />(ml/min) </th>
27
           <th v-if="isShow('置换率')&& (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10340  && org_id!=10410 && org_id!=10375) || org_id ==10558" width="60px" > 置换率 <br />(L/h) </th>
27
           <th v-if="isShow('置换率')&& (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10340  && org_id!=10410 && org_id!=10375) || org_id ==10558" width="60px" > 置换率 <br />(L/h) </th>
28
            <th v-if="isShow('置换量')&& (template_id == 43 )" width="50px" > 置换量 <br />(ml/h) </th>
28
            <th v-if="isShow('置换量')&& (template_id == 43 )" width="50px" > 置换量 <br />(ml/h) </th>
29
-          <th v-if="isShow('置换量')&& ((template_id == 6 && org_id != 9919 && template_id!=43 && org_id!=10478) || (template_id == 10 && org_id!=10191) || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29  || template_id == 46  || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 | template_id == 56 || org_id == 10340 || org_id == 10432) && org_id!=10558" width="50px" > 置换量 <br />(ml) </th>
30
-          <th v-if="isShow('置换量')&& ((template_id != 6 || org_id == 9919 || org_id ==10478) && (template_id != 10 || org_id == 10191) && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id!=43 && template_id!=46 && template_id!=47  && template_id!=48  && template_id!=53 && template_id!=54 && template_id!=56 && org_id!=10340  && org_id!=10432) || org_id == 10558" width="50px" > 置换量 <br />(L) </th>
29
+          <th v-if="isShow('置换量')&& ((template_id == 6 && org_id != 9919 && template_id!=43 && org_id!=10478) || (template_id == 10 && org_id!=10191) || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29  || template_id == 46  || template_id == 47 || template_id == 48 || template_id == 53 || template_id == 54 | template_id == 56 || org_id == 10340 || org_id == 10432) && org_id!=10558 && org_id!=10346" width="50px" > 置换量 <br />(ml) </th>
30
+          <th v-if="isShow('置换量')&& ((template_id != 6 || org_id == 9919 || org_id ==10478) && (template_id != 10 || org_id == 10191) && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id!=43 && template_id!=46 && template_id!=47  && template_id!=48  && template_id!=53 && template_id!=54 && template_id!=56 && org_id!=10340  && org_id!=10432) || org_id == 10558 || org_id ==10346" width="50px" > 置换量 <br />(L) </th>
31
           <th v-if="isShow('电导度')" width="60px"> 电导度 <br />(mS/cm) </th>
31
           <th v-if="isShow('电导度')" width="60px"> 电导度 <br />(mS/cm) </th>
32
-          <th v-if="isShow('置换液流量')" width="70px"> 置换液流量 <br /><span v-if="template_id !=27">(ml/h)</span><span v-if="template_id == 27 || template_id == 29">(ml/min)</span>  </th>
32
+          <th v-if="isShow('置换液流量')" width="70px"> 置换液流量 <br /><span v-if="template_id !=27 && template_id!=29 && template_id!=60">(ml/h)</span><span v-if="template_id == 27 || template_id == 29 || template_id ==60">(ml/min)</span>  </th>
33
           <th v-if="isShow('透析液流量')" width="70px"> 透析液流量 <br />(ml/h)  </th>
33
           <th v-if="isShow('透析液流量')" width="70px"> 透析液流量 <br />(ml/h)  </th>
34
 
34
 
35
           <th v-if="isShow('肝素用量余量')" width="70px"> 肝素用量余量 <br />(ml) </th>
35
           <th v-if="isShow('肝素用量余量')" width="70px"> 肝素用量余量 <br />(ml) </th>

+ 14 - 1
src/pages/main/today/dialysisPrescription.vue View File

26
 
26
 
27
         <li v-if="isShow('处方脱水量')">
27
         <li v-if="isShow('处方脱水量')">
28
           <label>处方脱水量 :</label>
28
           <label>处方脱水量 :</label>
29
-          <span class="content">{{prescription_water != '0'?prescription_water:''}}ml</span>
29
+          <span class="content" v-if="this.$store.getters.user.template_info.org_id !=10597">{{prescription_water != '0'?prescription_water:''}}ml</span>
30
+          <span class="content" v-if="this.$store.getters.user.template_info.org_id ==10597">{{prescription_water != '0'?prescription_water:''}}L</span>
30
         </li>
31
         </li>
31
 
32
 
32
         <li v-if="isShow('钙')">
33
         <li v-if="isShow('钙')">
115
              </span>
116
              </span>
116
             <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_shouji != '0'?"iu":""}}</span>
117
             <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_shouji != '0'?"iu":""}}</span>
117
             <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_shouji != '0'?"iu":""}}</span>
118
             <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_shouji != '0'?"iu":""}}</span>
119
+            <span class="unit" v-if="this.prescription.anticoagulant == 16">{{anticoagulant_shouji != '0'?"iu":""}}</span>
120
+            <span class="unit" v-if="this.prescription.anticoagulant == 17">{{anticoagulant_shouji != '0'?"mg":""}}</span>
118
           </span>
121
           </span>
119
           <span v-else>
122
           <span v-else>
120
             <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_shouji != '0'?"mg":""}}</span>
123
             <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_shouji != '0'?"mg":""}}</span>
154
             </span>
157
             </span>
155
             <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
158
             <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
156
             <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
159
             <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
160
+            <span class="unit" v-if="this.prescription.anticoagulant == 16">{{anticoagulant_weichi != '0'?"iu/h":""}}</span>
161
+            <span class="unit" v-if="this.prescription.anticoagulant == 17">{{anticoagulant_weichi != '0'?"mg/h":""}}</span>
157
           </span>
162
           </span>
158
         </li>
163
         </li>
159
 
164
 
178
             </span>
183
             </span>
179
             <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
184
             <span class="unit" v-if="this.prescription.anticoagulant == 8">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
180
             <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
185
             <span class="unit" v-if="this.prescription.anticoagulant == 9">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
186
+            <span class="unit" v-if="this.prescription.anticoagulant == 16">{{anticoagulant_zongliang != '0'?"iu":""}}</span>
187
+            <span class="unit" v-if="this.prescription.anticoagulant == 17">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
181
           </span>
188
           </span>
182
           <span v-else>
189
           <span v-else>
183
             <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
190
             <span class="unit" v-if="this.prescription.anticoagulant == 2">{{anticoagulant_zongliang != '0'?"mg":""}}</span>
266
 
273
 
267
         </li>
274
         </li>
268
 
275
 
276
+        <li v-if="isShow('血管通路部位')">
277
+          <label>血管通路部位: </label>
278
+          <span class="content">{{this.prescription.blood_access_part_id}}</span>
279
+          <span class="unit"></span>
280
+        </li>
281
+
269
         <li v-if="isShow('血管通路')">
282
         <li v-if="isShow('血管通路')">
270
           <label>血管通路: </label>
283
           <label>血管通路: </label>
271
           <span class="content">{{blood_access}}</span>
284
           <span class="content">{{blood_access}}</span>

+ 26 - 1
src/pages/patients/editPatient.vue View File

67
         label="家属手机号"
67
         label="家属手机号"
68
         placeholder="请输入"
68
         placeholder="请输入"
69
       />
69
       />
70
+
71
+      <van-field
72
+          :class="readonly ? 'changeColor' : ''"
73
+          v-model="patientForm.home_address"
74
+          rows="1"
75
+          autosize
76
+          label="家庭地址"
77
+          type="textarea"
78
+          maxlength="50"
79
+          :readonly="readonly"
80
+          placeholder="请输入家庭地址"
81
+        />
70
       <van-cell>
82
       <van-cell>
71
         <!-- 使用 title 插槽来自定义标题 -->
83
         <!-- 使用 title 插槽来自定义标题 -->
72
         <template slot="title">
84
         <template slot="title">
265
           placeholder="请输入诊疗计划"
277
           placeholder="请输入诊疗计划"
266
         />
278
         />
267
 
279
 
280
+       
281
+
268
       <van-field
282
       <van-field
269
           :class="readonly ? 'changeColor' : ''"
283
           :class="readonly ? 'changeColor' : ''"
270
           v-model="patientForm.remark"
284
           v-model="patientForm.remark"
534
         out_reason: '',
548
         out_reason: '',
535
         relative_phone: '',
549
         relative_phone: '',
536
         remark: '',
550
         remark: '',
537
-        treatment_plan: ''
551
+        treatment_plan: '',
552
+        home_address:"",
553
+        home_telephone:"",
538
       },
554
       },
539
       bloodShow: true,
555
       bloodShow: true,
540
       slowShow: false,
556
       slowShow: false,
804
         
820
         
805
           this.patientForm.phone = patientdetail.phone
821
           this.patientForm.phone = patientdetail.phone
806
           this.patientForm.relative_phone = patientdetail.relative_phone
822
           this.patientForm.relative_phone = patientdetail.relative_phone
823
+          console.log("hahhah",this.patientForm.relative_phone)
824
+          if(this.patientForm.relative_phone == ""){
825
+            console.log("进啦为33232",patientdetail.home_telephone)
826
+             this.patientForm.relative_phone = patientdetail.home_telephone
827
+          } 
828
+          this.patientForm.home_address = patientdetail.home_address
807
 
829
 
808
           if (patientdetail.blood_patients == 1) {
830
           if (patientdetail.blood_patients == 1) {
809
             this.result.push(String(1))
831
             this.result.push(String(1))
1210
           this.patientForm.patientsoure = 2
1232
           this.patientForm.patientsoure = 2
1211
         }
1233
         }
1212
       }
1234
       }
1235
+      if(this.patientForm.patientsoure >2){
1236
+         this.patientForm.patientsoure = parseInt(this.patientForm.patientsoure)
1237
+      }
1213
       if (this.patientForm.lapseto !== '') {
1238
       if (this.patientForm.lapseto !== '') {
1214
         if (this.patientForm.lapseto === '留治') {
1239
         if (this.patientForm.lapseto === '留治') {
1215
           this.patientForm.lapseto = 1
1240
           this.patientForm.lapseto = 1

+ 4 - 0
src/router/index.js View File

625
     path: '/consumablesDetail',
625
     path: '/consumablesDetail',
626
     component: () => import('@/pages/main/beforeDialysis/consumablesDetail')
626
     component: () => import('@/pages/main/beforeDialysis/consumablesDetail')
627
   },
627
   },
628
+  {
629
+    path: '/consumablesDetailOne',
630
+    component: () => import('@/pages/main/beforeDialysis/consumablesDetailOne')
631
+  },
628
   {
632
   {
629
     path: '/adviceDetail',
633
     path: '/adviceDetail',
630
     component: () => import('@/pages/main/beforeDialysis/adviceDetail')
634
     component: () => import('@/pages/main/beforeDialysis/adviceDetail')

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

659
         sodium: 1,
659
         sodium: 1,
660
         calcium: 1,
660
         calcium: 1,
661
         bicarbonate: 1
661
         bicarbonate: 1
662
+      },
663
+      32: {
664
+        id: 32,
665
+        name: 'HDP',
666
+        dialysis_duration: 1,
667
+        replacement_way: 2,
668
+        hemodialysis_machine: 1,
669
+        blood_filter: 2,
670
+        perfusion_apparatus: 2,
671
+        blood_flow_volume: 1,
672
+        dialysate_flow: 1,
673
+        kalium: 1,
674
+        sodium: 1,
675
+        calcium: 1,
676
+        bicarbonate: 1
677
+      },
678
+      33: {
679
+        id: 33,
680
+        name: 'HFD',
681
+        dialysis_duration: 1,
682
+        replacement_way: 2,
683
+        hemodialysis_machine: 1,
684
+        blood_filter: 2,
685
+        perfusion_apparatus: 2,
686
+        blood_flow_volume: 1,
687
+        dialysate_flow: 1,
688
+        kalium: 1,
689
+        sodium: 1,
690
+        calcium: 1,
691
+        bicarbonate: 1
692
+      },
693
+      34: {
694
+        id: 34,
695
+        name: 'HDF100',
696
+        dialysis_duration: 1,
697
+        replacement_way: 2,
698
+        hemodialysis_machine: 1,
699
+        blood_filter: 2,
700
+        perfusion_apparatus: 2,
701
+        blood_flow_volume: 1,
702
+        dialysate_flow: 1,
703
+        kalium: 1,
704
+        sodium: 1,
705
+        calcium: 1,
706
+        bicarbonate: 1
707
+      },
708
+      35: {
709
+        id: 35,
710
+        name: 'HDF600',
711
+        dialysis_duration: 1,
712
+        replacement_way: 2,
713
+        hemodialysis_machine: 1,
714
+        blood_filter: 2,
715
+        perfusion_apparatus: 2,
716
+        blood_flow_volume: 1,
717
+        dialysate_flow: 1,
718
+        kalium: 1,
719
+        sodium: 1,
720
+        calcium: 1,
721
+        bicarbonate: 1
722
+      },
723
+      36: {
724
+        id: 36,
725
+        name: 'HDF800',
726
+        dialysis_duration: 1,
727
+        replacement_way: 2,
728
+        hemodialysis_machine: 1,
729
+        blood_filter: 2,
730
+        perfusion_apparatus: 2,
731
+        blood_flow_volume: 1,
732
+        dialysate_flow: 1,
733
+        kalium: 1,
734
+        sodium: 1,
735
+        calcium: 1,
736
+        bicarbonate: 1
737
+      },
738
+      37: {
739
+        id: 37,
740
+        name: 'HDF1000',
741
+        dialysis_duration: 1,
742
+        replacement_way: 2,
743
+        hemodialysis_machine: 1,
744
+        blood_filter: 2,
745
+        perfusion_apparatus: 2,
746
+        blood_flow_volume: 1,
747
+        dialysate_flow: 1,
748
+        kalium: 1,
749
+        sodium: 1,
750
+        calcium: 1,
751
+        bicarbonate: 1
662
       }
752
       }
663
 
753
 
664
     },
754
     },
887
         zongliang_unit: 'mg',
977
         zongliang_unit: 'mg',
888
         gaimingcheng_unit: '',
978
         gaimingcheng_unit: '',
889
         gaijiliang_unit: ''
979
         gaijiliang_unit: ''
980
+      },
981
+      16: {
982
+        id: 16,
983
+        name: '低分子量肝素钙',
984
+        type: 1,
985
+        shouji: 2,
986
+        weichi: 2,
987
+        zongliang: 2,
988
+        gaimingcheng: -1,
989
+        gaijiliang: -1,
990
+        shouji_unit: 'mg',
991
+        weichi_unit: 'mg/h',
992
+        zongliang_unit: 'mg',
993
+        gaimingcheng_unit: '',
994
+        gaijiliang_unit: ''
995
+      },
996
+      17: {
997
+        id: 17,
998
+        name: '肝素钠',
999
+        type: 1,
1000
+        shouji: 2,
1001
+        weichi: 2,
1002
+        zongliang: 2,
1003
+        gaimingcheng: -1,
1004
+        gaijiliang: -1,
1005
+        shouji_unit: 'mg',
1006
+        weichi_unit: 'mg/h',
1007
+        zongliang_unit: 'mg',
1008
+        gaimingcheng_unit: '',
1009
+        gaijiliang_unit: ''
890
       }
1010
       }
891
       // 6: {
1011
       // 6: {
892
       //   id: 6,
1012
       //   id: 6,