Browse Source

8月15日

XMLWAN 2 years ago
parent
commit
4f3dc01e76

+ 9 - 1
src/api/dialysis.js View File

366
 
366
 
367
 export function saveHisDialysis(params) {
367
 export function saveHisDialysis(params) {
368
   return request({
368
   return request({
369
-    url: '/api/patinet/savehisdialysis',
369
+    url: '/api/patient/savehisdialysis',
370
+    method: 'get',
371
+    params: params
372
+  })
373
+}
374
+
375
+export function getHisDialysisGoodCount(params) {
376
+  return request({
377
+    url: '/api/patient/gethisdialysisgoodcount',
370
     method: 'get',
378
     method: 'get',
371
     params: params
379
     params: params
372
   })
380
   })

+ 3 - 2
src/api/dialysis_record.js View File

80
   })
80
   })
81
 }
81
 }
82
 
82
 
83
-export function finishDialysis(patient_id, schedule_date, end_time, nurse_id, mode, puncture_point_haematoma, internal_fistula, catheter, cruor) {
83
+export function finishDialysis(patient_id, schedule_date, end_time, nurse_id, mode, puncture_point_haematoma, internal_fistula, catheter, cruor, mission) {
84
   var params = {
84
   var params = {
85
     patient_id: patient_id,
85
     patient_id: patient_id,
86
     date: schedule_date,
86
     date: schedule_date,
90
     puncture_point_haematoma: puncture_point_haematoma,
90
     puncture_point_haematoma: puncture_point_haematoma,
91
     internal_fistula: internal_fistula,
91
     internal_fistula: internal_fistula,
92
     catheter: catheter,
92
     catheter: catheter,
93
-    cruor: cruor
93
+    cruor: cruor,
94
+    mission: mission
94
   }
95
   }
95
   return request({
96
   return request({
96
     url: '/api/dialysis/finish',
97
     url: '/api/dialysis/finish',

+ 12 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_fiftynine.vue View File

2775
         "腹痛",
2775
         "腹痛",
2776
       ],
2776
       ],
2777
       org_id: "",
2777
       org_id: "",
2778
+      displaceLiquiPartOptions: [],
2778
     };
2779
     };
2779
   },
2780
   },
2780
   created() {
2781
   created() {
2821
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
2822
       this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
2822
         dialysateFormulationOptions[key];
2823
         dialysateFormulationOptions[key];
2823
     }
2824
     }
2824
-
2825
+    this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
2825
     // const xtdate = this.$route.query && this.$route.query.xtdate;
2826
     // const xtdate = this.$route.query && this.$route.query.xtdate;
2826
     // const xtno = this.$route.query && this.$route.query.xtno;
2827
     // const xtno = this.$route.query && this.$route.query.xtno;
2827
     //   if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
2828
     //   if (typeof (xtdate) == "string" && xtdate.length > 0 && typeof (xtno) == "string" && xtno.length > 0) {
3196
     getNumber: function (record) {
3197
     getNumber: function (record) {
3197
       console.log(record);
3198
       console.log(record);
3198
     },
3199
     },
3200
+    getDisplaceLiquiPart: function (val) {
3201
+      let displace_liqui_part_name = "/";
3202
+      const displace_liqui_part = this.displaceLiquiPartOptions;
3203
+      for (let i = 0; i < displace_liqui_part.length; i++) {
3204
+        if (displace_liqui_part[i].id == val) {
3205
+          displace_liqui_part_name = displace_liqui_part[i].name;
3206
+        }
3207
+      }
3208
+      return displace_liqui_part_name;
3209
+    },
3199
   },
3210
   },
3200
 };
3211
 };
3201
 </script>
3212
 </script>

+ 197 - 10
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

46
         <el-button size="small" icon="el-icon-printer" @click="toSett" type="primary" v-if="his_config.is_open == 1">设置</el-button>
46
         <el-button size="small" icon="el-icon-printer" @click="toSett" type="primary" v-if="his_config.is_open == 1">设置</el-button>
47
         <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">打印</el-button>
47
         <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">打印</el-button>
48
         <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
48
         <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
49
-        <el-button size="small" type="primary" @click="statistics">统计表</el-button>
49
+        <el-button size="small" type="primary" v-if="his_config.is_open != 1" @click="statistics">统计表</el-button>
50
+        <el-button size="small" type="primary" v-if="his_config.is_open == 1" @click="toStatistics">统计表</el-button>
50
       </div>
51
       </div>
51
     </div>
52
     </div>
52
    
53
    
53
-    <div v-if="his_config.is_open == 0">
54
+    <div v-if="his_config.is_open != 1">
54
       <el-table
55
       <el-table
55
         :data="list"
56
         :data="list"
56
         border
57
         border
167
           :label="item.type_name"
168
           :label="item.type_name"
168
         >
169
         >
169
           <template slot-scope="scope">
170
           <template slot-scope="scope">
170
-             {{getStr(scope.row.typeList[index].id,getTypeName(scope.row.his_prescription_template,scope.row.patient_id))}}
171
+             {{getStr(scope.row.typeList[index].id,scope.row.projectList,scope.row.patient_id)}}
171
           </template>
172
           </template>
172
 
173
 
173
         </el-table-column>
174
         </el-table-column>
294
       </span>
295
       </span>
295
     </el-dialog>
296
     </el-dialog>
296
 
297
 
298
+
299
+
300
+    <el-dialog
301
+      title="耗材统计表"
302
+      :visible.sync="startHisDialogVisible"
303
+      width="70%">
304
+      <span>
305
+        <div class="cell clearfix">
306
+          <label class="title"> <span class="name">排班班次</span> : </label>
307
+           <el-select v-model="schedule_type" placeholder="请选择">
308
+            <el-option
309
+              v-for="item in schedulArr"
310
+              :key="item.value"
311
+              :label="item.label"
312
+              :value="item.value">
313
+            </el-option>
314
+           </el-select>
315
+           <label class="title"> <span class="name">病区选择</span> : </label>
316
+           <el-select v-model="partion_type" placeholder="请选择">
317
+            <el-option
318
+              v-for="item in partitionArr"
319
+              :key="item.id"
320
+              :label="item.name"
321
+              :value="item.id">
322
+            </el-option>
323
+           </el-select>
324
+        </div> 
325
+       <el-table
326
+        :data="tableList"
327
+        border
328
+        :row-style="{ color: '#303133' }"
329
+        :header-cell-style="{
330
+          backgroundColor: 'rgb(245, 247, 250)',
331
+          color: '#606266'
332
+        }"
333
+      >
334
+         <el-table-column  align="center"  label="序号">
335
+           <template slot-scope="scope">
336
+              {{scope.$index+1}}
337
+           </template>
338
+        </el-table-column>
339
+        <el-table-column  align="center"   label="耗材名称">
340
+         <template slot-scope="scope">
341
+             {{scope.row.good_name}}
342
+          </template>
343
+        </el-table-column>
344
+        <el-table-column  align="center"  label="规格">
345
+           <template slot-scope="scope">
346
+             {{scope.row.specification_name}}
347
+           </template>
348
+        </el-table-column>
349
+       
350
+        <el-table-column  align="center"   label="数量">
351
+           <template slot-scope="scope">
352
+             {{scope.row.count}}
353
+           </template>
354
+        </el-table-column>
355
+        
356
+     
357
+
358
+      </el-table>
359
+      </span>
360
+      <span slot="footer" class="dialog-footer">
361
+        <el-button @click="startHisDialogVisible = false">取 消</el-button>
362
+        <el-button type="primary" @click="startHisDialogVisible = false">确 定</el-button>
363
+      </span>
364
+    </el-dialog>
365
+
297
   </div>
366
   </div>
298
 </template>
367
 </template>
299
 
368
 
300
 
369
 
301
 <script>
370
 <script>
302
-  import { GetAllZone,getPatientDialysisSolutionGroupList,getDialysisGoodTotalCount,saveHisDialysis } from '@/api/dialysis'
371
+  import { GetAllZone,getPatientDialysisSolutionGroupList,getDialysisGoodTotalCount,saveHisDialysis,getHisDialysisGoodCount } from '@/api/dialysis'
303
  import {GetAllGoodType} from '@/api/stock'
372
  import {GetAllGoodType} from '@/api/stock'
304
   import { uParseTime } from "@/utils/tools";
373
   import { uParseTime } from "@/utils/tools";
305
   import { getDataConfig } from '@/utils/data'
374
   import { getDataConfig } from '@/utils/data'
392
         checkedTwentySeven:false,
461
         checkedTwentySeven:false,
393
         checkedTwentyEight:false,
462
         checkedTwentyEight:false,
394
         checkedTwentyNight:false,
463
         checkedTwentyNight:false,
464
+        startHisDialogVisible:false,
395
         typeList:[],
465
         typeList:[],
396
       }
466
       }
397
     },
467
     },
439
         getPatientDialysisSolutionGroupList(this.query).then(response=>{
509
         getPatientDialysisSolutionGroupList(this.query).then(response=>{
440
            if(response.data.state == 1){
510
            if(response.data.state == 1){
441
              var list = response.data.data.list
511
              var list = response.data.data.list
442
-           
512
+             
443
              var total = response.data.data.total
513
              var total = response.data.data.total
444
              this.total = total
514
              this.total = total
445
              var goodType = response.data.data.goodType
515
              var goodType = response.data.data.goodType
465
                     }
535
                     }
466
                   }
536
                   }
467
                 for(let i=0;i<list.length;i++){
537
                 for(let i=0;i<list.length;i++){
538
+                  list[i].projectList = []
468
                   list[i].typeList = []
539
                   list[i].typeList = []
469
                   list[i].typeList = this.typeList
540
                   list[i].typeList = this.typeList
470
                 }
541
                 }
471
               
542
               
472
-                 console.log("list列表",list)
543
+                 for(let i=0;i<list.length;i++){
544
+                   for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
545
+                     for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
546
+                        list[i].projectList.push(list[i].his_prescription_template.his_prescription_info[j].project[z])
547
+                     }
548
+                   }
549
+                 }
550
+                console.log("list列表",list)
473
                  this.list = list 
551
                  this.list = list 
474
                }
552
                }
475
              }
553
              }
544
           partion_type:this.partion_type,
622
           partion_type:this.partion_type,
545
           selected_date:this.query.schedule_date,
623
           selected_date:this.query.schedule_date,
546
         }
624
         }
547
-        // console.log("params2332232wo",params)
548
        getDialysisGoodTotalCount(params).then(response=>{
625
        getDialysisGoodTotalCount(params).then(response=>{
549
           if(response.data.state == 1){
626
           if(response.data.state == 1){
550
             this.startDialogVisible = true
627
             this.startDialogVisible = true
703
        })
780
        })
704
         
781
         
705
       },
782
       },
783
+      toStatistics(){
784
+         var params = {
785
+          schedule_type:this.schedule_type,
786
+          partion_type:this.partion_type,
787
+          selected_date:this.query.schedule_date,
788
+        }
789
+        getHisDialysisGoodCount(params).then(response=>{
790
+          if(response.data.state == 1){
791
+             var list = response.data.data.list
792
+             console.log("list23233223232wode",list)
793
+            this.startHisDialogVisible = true
794
+             var projectList = []
795
+             for(let i=0;i<list.length;i++){
796
+                for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
797
+                  for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
798
+                    projectList.push(list[i].his_prescription_template.his_prescription_info[j].project[z])
799
+                  }
800
+                }
801
+             }
802
+             console.log("projectList",projectList)
803
+             
804
+             if(projectList!=null && projectList.length > 0){
805
+               for(let i=0;i<projectList.length;i++){
806
+                 projectList[i].good_id = 0
807
+                 projectList[i].good_id = projectList[i].good_info.id
808
+               }
809
+             }
810
+             
811
+             let dataInfo = {}
812
+              projectList.forEach((item, index) => {
813
+              let { good_id } = item
814
+              if (!dataInfo[good_id]) {
815
+                dataInfo[good_id] = {
816
+                  good_id:item.good_info.id,
817
+                  child: [],
818
+                  count:0,
819
+                  specification_name:item.good_info.specification_name,
820
+                  good_name:item.good_info.good_name
821
+                }
822
+              }
823
+            })
824
+            let newArr = Object.values(dataInfo)
825
+          
826
+            for(let i=0;i<projectList.length;i++){
827
+              for(let j=0;j<newArr.length;j++){
828
+                 if(projectList[i].good_id == newArr[j].good_id){
829
+                    newArr[j].child.push(projectList[i])
830
+                 }
831
+              }
832
+            }
833
+            
834
+            for(let i=0;i<newArr.length;i++){
835
+              for(let j=0;j<newArr[i].child.length;j++){
836
+                 newArr[i].count += parseInt(newArr[i].child[j].count)
837
+              }
838
+            }
839
+            console.log("newArr32323233223wo",newArr)
840
+            this.tableList = newArr
841
+          }
842
+        })
843
+      },
706
       handleScheduleDateChange(val) {
844
       handleScheduleDateChange(val) {
707
         this.query.schedule_date = val
845
         this.query.schedule_date = val
708
         this.query.page = 1
846
         this.query.page = 1
1455
      }
1593
      }
1456
    
1594
    
1457
     },
1595
     },
1458
-    getStr(good_type_id,arrNew){
1459
-     console.log("good_type_id",good_type_id)
1460
-     console.log("arrNew",arrNew)
1596
+    getStr(good_type_id,arrNew,patient_id){
1597
+      // console.log("ARR233323",arrNew)
1598
+      var arr= []
1599
+      var str = ""
1600
+      if(arrNew!=null && arrNew.length > 0){
1601
+        for(let i=0;i<arrNew.length;i++){
1602
+           arrNew[i].good_type_id = 0
1603
+           arrNew[i].good_type_id = arrNew[i].good_info.good_type_id
1604
+           arrNew[i].good_id = 0
1605
+           arrNew[i].good_id = arrNew[i].good_info.id
1606
+          if(arrNew[i].patient_id == patient_id && arrNew[i].good_info.good_type_id == good_type_id){
1607
+             arr.push(arrNew[i])
1608
+          }
1609
+        }
1610
+      }
1611
+      
1612
+       let dataInfo = {}
1613
+       if(arr!=null && arr.length > 0){
1614
+        arr.forEach((item, index) => {
1615
+          let { good_id } = item
1616
+          if (!dataInfo[good_id]) {
1617
+            dataInfo[good_id] = {
1618
+              good_id:item.good_id,
1619
+              child: [],
1620
+              count:0,
1621
+              specification_name:item.good_info.specification_name
1622
+            }
1623
+          }
1624
+        })
1625
+         let newArr = Object.values(dataInfo)
1626
+         console.log("newArr",newArr)
1627
+          for(let i=0;i<arr.length;i++){
1628
+            for(let j=0;j<newArr.length;j++){
1629
+              if( arr[i].good_info.id == newArr[j].good_id){
1630
+                newArr[j].child.push(arr[i])
1631
+              }
1632
+            }
1633
+          }
1634
+            
1635
+          if(newArr!=null && newArr.length > 0){
1636
+            for(let j=0;j<newArr.length;j++){
1637
+              for(let z=0;z<newArr[j].child.length;z++){
1638
+                  newArr[j].count += parseInt(newArr[j].child[z].count)
1639
+              }
1640
+             }
1641
+            for(let j=0;j<newArr.length;j++){
1642
+              str += newArr[j].specification_name + "*" + newArr[j].count + " "
1643
+            }
1644
+          }
1645
+       }
1646
+    
1647
+      return str
1461
     }
1648
     }
1462
    }
1649
    }
1463
   }
1650
   }

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 9555 "  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 "  >
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

2117
             } else if (schedual.schedule_type == 3) {
2117
             } else if (schedual.schedule_type == 3) {
2118
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2118
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2119
             }
2119
             }
2120
+           }else if(this.$store.getters.xt_user.org.id == 9671 ||this.$store.getters.xt_user.org.id == 10340){
2121
+              if (schedual.schedule_type == 1) {
2122
+              this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
2123
+            } else if (schedual.schedule_type == 2) {
2124
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2125
+            } else if (schedual.schedule_type == 3) {
2126
+              this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2127
+            }
2120
            } else {
2128
            } else {
2121
             if (schedual.schedule_type == 1) {
2129
             if (schedual.schedule_type == 1) {
2122
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
2130
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

+ 55 - 1
src/xt_pages/dialysis/details/dialog/finish_dialog.vue View File

47
           ></el-input>
47
           ></el-input>
48
        </el-form-item>
48
        </el-form-item>
49
 
49
 
50
+        <el-form-item label="宣教知识:" v-if="isShowFiled('宣教知识')">
51
+          <el-select @change="dialysisAfterTeachSelectChange" v-model="form.mission_id">
52
+            <el-option
53
+              v-for="(item, index) in education"
54
+              :label="item.text"
55
+              :value="item.value"
56
+              :key="index"
57
+            ></el-option>
58
+          </el-select>
59
+        </el-form-item>
60
+     
61
+      <el-row :gutter="20">
62
+        <el-col v-if="isShowFiled('宣教知识')">
63
+          <el-form-item>
64
+            <el-input
65
+              type="textarea"
66
+              v-model="form.mission"
67
+              :rows="4"
68
+            ></el-input>
69
+          </el-form-item>
70
+        </el-col>
71
+      </el-row>
72
+
73
+      
74
+
50
         <el-form-item>
75
         <el-form-item>
51
           <el-button v-if="(dialysis_order.id != 0 && dialysis_order.stage == 1)" @click="submit('form')" :loading="loading"
76
           <el-button v-if="(dialysis_order.id != 0 && dialysis_order.stage == 1)" @click="submit('form')" :loading="loading"
52
                      type="primary">执行下机
77
                      type="primary">执行下机
102
           internal_fistula:"",
127
           internal_fistula:"",
103
           catheter:"",
128
           catheter:"",
104
           cruor:"",
129
           cruor:"",
130
+          mission:"",
131
+          mission_id:"",
105
         },
132
         },
106
         internal_fistula: [],
133
         internal_fistula: [],
107
         InnerDialogProps: {
134
         InnerDialogProps: {
118
          internal_fistula: [{ required: true, message: "请选择内瘘" }]
145
          internal_fistula: [{ required: true, message: "请选择内瘘" }]
119
         },
146
         },
120
         required:false,
147
         required:false,
148
+        education:[],
149
+       
121
       }
150
       }
122
     },
151
     },
123
     props: {
152
     props: {
140
       }
169
       }
141
     },
170
     },
142
     created() {
171
     created() {
172
+      this.education = getDataConfig('education', 'education')
143
       this.internal_fistula = getDataConfig('hemodialysis', 'internal_fistula')
173
       this.internal_fistula = getDataConfig('hemodialysis', 'internal_fistula')
144
       this.catheter = getDataConfig('hemodialysis', 'catheter')
174
       this.catheter = getDataConfig('hemodialysis', 'catheter')
145
       this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
175
       this.cruorOptions = getDataConfig('hemodialysis', 'cruor')
157
           this.form.cruor = this.dialysis_order.cruor
187
           this.form.cruor = this.dialysis_order.cruor
158
           this.form.internal_fistula = this.dialysis_order.blood_access_internal_fistula
188
           this.form.internal_fistula = this.dialysis_order.blood_access_internal_fistula
159
           this.form.puncture_point_haematoma = this.dialysis_order.puncture_point_haematoma
189
           this.form.puncture_point_haematoma = this.dialysis_order.puncture_point_haematoma
190
+          this.form.mission = this.dialysis_order.mission
160
         }
191
         }
161
       },
192
       },
162
       patient:{
193
       patient:{
167
       }
198
       }
168
     },
199
     },
169
     methods: {
200
     methods: {
201
+         dialysisAfterTeachSelectChange: function(values) {
202
+          if (this.form.mission == '') {
203
+            this.form.mission = values
204
+          } else {
205
+            if (this.form.mission.indexOf(values) == -1) {
206
+              if (
207
+                this.form.mission
208
+                  .charAt(this.form.mission.length - 1)
209
+                  .indexOf('。') == -1
210
+              ) {
211
+                this.form.mission =
212
+                  this.form.mission + ',' + values
213
+              } else {
214
+                this.form.mission =
215
+                  this.form.mission + values
216
+              }
217
+            }
218
+          }
219
+        },
170
        isShowFiled(name) {
220
        isShowFiled(name) {
171
         var filedList = store.getters.xt_user.fileds
221
         var filedList = store.getters.xt_user.fileds
172
         for (let i = 0; i < filedList.length; i++) {
222
         for (let i = 0; i < filedList.length; i++) {
295
             ParamsQuery["internal_fistula"] = this.form.internal_fistula
345
             ParamsQuery["internal_fistula"] = this.form.internal_fistula
296
             ParamsQuery["catheter"] = this.form.catheter
346
             ParamsQuery["catheter"] = this.form.catheter
297
             ParamsQuery["cruor"] = this.form.cruor
347
             ParamsQuery["cruor"] = this.form.cruor
348
+            ParamsQuery["mission"] = this.form.mission
349
+            ParamsQuery["mission_id"] = this.form.mission_id
298
             if(this.dialysis_order.finish_creator  != this.$store.getters.xt_user.user.id){
350
             if(this.dialysis_order.finish_creator  != this.$store.getters.xt_user.user.id){
299
               ParamsQuery["mode"] = "3"
351
               ParamsQuery["mode"] = "3"
300
             }
352
             }
338
              }
390
              }
339
              this.loading = true
391
              this.loading = true
340
              let mode = "1"
392
              let mode = "1"
341
-            finishDialysis(this.patient_id,this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.end_time, this.form.nurse_id,mode,parseInt(this.form.puncture_point_haematoma),this.form.internal_fistula,this.form.catheter,this.form.cruor).then(rs => {
393
+             console.log("fomr",this.form.mission_id)
394
+            
395
+            finishDialysis(this.patient_id,this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.end_time, this.form.nurse_id,mode,parseInt(this.form.puncture_point_haematoma),this.form.internal_fistula,this.form.catheter,this.form.cruor,this.form.mission,this.form.mission_id).then(rs => {
342
               this.loading = false
396
               this.loading = false
343
               var resp = rs.data
397
               var resp = rs.data
344
               if (resp.state == 1) {
398
               if (resp.state == 1) {

+ 7 - 5
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

712
             align="center"
712
             align="center"
713
             label="累计血容量(ml)"
713
             label="累计血容量(ml)"
714
             width="100"
714
             width="100"
715
-            v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671"
715
+            v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671 && org_id != 10340"
716
           >
716
           >
717
              <template slot-scope="scope">
717
              <template slot-scope="scope">
718
               {{ scope.row.accumulated_blood_volume }}
718
               {{ scope.row.accumulated_blood_volume }}
723
             align="center"
723
             align="center"
724
             label="累计血容量(L)"
724
             label="累计血容量(L)"
725
             width="100"
725
             width="100"
726
-            v-if="isShow('累计血容量') && (template_id == 41  || org_id == 9538 || org_id == 9671)"
726
+            v-if="isShow('累计血容量') && (template_id == 41  || org_id == 9538 || org_id == 9671 || org_id == 10340)"
727
           >
727
           >
728
             <template slot-scope="scope">
728
             <template slot-scope="scope">
729
               {{ scope.row.accumulated_blood_volume }}
729
               {{ scope.row.accumulated_blood_volume }}
1120
                 template_id == 56 ||
1120
                 template_id == 56 ||
1121
                 template_id == 60 ||
1121
                 template_id == 60 ||
1122
                 org_id == 10210 ||
1122
                 org_id == 10210 ||
1123
-                org_id == 9555)
1123
+                org_id == 9555 ||
1124
+                org_id == 10340)
1124
             "
1125
             "
1125
           >
1126
           >
1126
             <el-form-item label="超滤量(ml):">
1127
             <el-form-item label="超滤量(ml):">
1168
               template_id == 56 &&
1169
               template_id == 56 &&
1169
               template_id == 60 &&
1170
               template_id == 60 &&
1170
               org_id !=  10210 &&
1171
               org_id !=  10210 &&
1172
+              org_id !=  10340 &&
1171
               org_id != 9555
1173
               org_id != 9555
1172
             "
1174
             "
1173
           >
1175
           >
1393
             </el-form-item>
1395
             </el-form-item>
1394
           </el-col>
1396
           </el-col>
1395
 
1397
 
1396
-          <el-col :span="8" v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9671 || org_id == 9538)">
1398
+          <el-col :span="8" v-if="isShow('累计血容量') && (template_id == 41 || org_id == 9671 || org_id == 9538 || org_id == 10340)">
1397
             <el-form-item label="累计血容量(L):">
1399
             <el-form-item label="累计血容量(L):">
1398
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1400
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1399
             </el-form-item>
1401
             </el-form-item>
1400
           </el-col>
1402
           </el-col>
1401
 
1403
 
1402
-          <el-col :span="8" v-if="isShow('累计血容量') && (template_id  != 41 && template_id !=9671 && org_id!=9538)">
1404
+          <el-col :span="8" v-if="isShow('累计血容量') && (template_id  != 41 && template_id !=9671 && org_id!=9538 && org_id!=10340)">
1403
             <el-form-item label="累计血容量(ml):">
1405
             <el-form-item label="累计血容量(ml):">
1404
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1406
               <el-input v-model="form.accumulated_blood_volume"></el-input>
1405
             </el-form-item>
1407
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || 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 == 27 || template_id == 28 || 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 == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && 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 !=27 && template_id!=28 && 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 != 39 && 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 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || 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 == 27 || template_id == 28 || 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 == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && 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 !=27 && template_id!=28 && 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 != 39 && 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 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340"  width="76px"> 超滤量(L) </th>
19
           <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 == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || 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)" width="50px"> 超滤率 <br />(ml/h) </th>
19
           <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 == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || 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)" width="50px"> 超滤率 <br />(ml/h) </th>
20
           <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 !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && 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" width="50px"> 超滤率 <br />(L/h) </th>
20
           <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 !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && 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" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
33
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
33
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
34
           <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
34
           <th v-if="isShow('抗凝剂')" width="92px">抗凝剂</th>
35
           <th v-if="isShow('累计血容量')" width="92px">累计血容量 
35
           <th v-if="isShow('累计血容量')" width="92px">累计血容量 
36
-            <span v-if="template_id !=41 && org_id!=9671 && org_id!=9538">(ml)</span>
37
-            <span v-if="template_id == 41 || org_id == 9671 || org_id == 9538">(L)</span>
36
+            <span v-if="template_id !=41 && org_id!=9671 && org_id!=9538 && org_id!=10340">(ml)</span>
37
+            <span v-if="template_id == 41 || org_id == 9671 || org_id == 9538 || org_id == 10340">(L)</span>
38
           </th>
38
           </th>
39
           <th v-if="isShow('血容量')" width="92px">血容量(L)</th>
39
           <th v-if="isShow('血容量')" width="92px">血容量(L)</th>
40
           <th v-if="isShow('血温监测')" width="92px">血温监测</th>
40
           <th v-if="isShow('血温监测')" width="92px">血温监测</th>

+ 6 - 0
src/xt_pages/dialysis/details/dialysisOff.vue View File

20
           <span class="content">{{end_time}}</span>
20
           <span class="content">{{end_time}}</span>
21
         </li>
21
         </li>
22
       </ul>
22
       </ul>
23
+      <ul>
24
+        <li>
25
+          <label>宣教知识 : </label>
26
+          <span class="content">{{this.record.mission}}</span>
27
+        </li>
28
+      </ul>
23
     </div>
29
     </div>
24
     <div class="middleLine"></div>
30
     <div class="middleLine"></div>
25
   </div>
31
   </div>