Browse Source

8月15日

XMLWAN 2 years ago
parent
commit
7def5f6da1

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

@@ -363,3 +363,11 @@ export function getDialysisParameterGoodList(params) {
363 363
     params: params
364 364
   })
365 365
 }
366
+
367
+export function saveHisDialysis(params) {
368
+  return request({
369
+    url: '/api/patinet/savehisdialysis',
370
+    method: 'get',
371
+    params: params
372
+  })
373
+}

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

@@ -47,7 +47,7 @@ export function editMonitor(patient_id, schedule_date, data, mode) {
47 47
   })
48 48
 }
49 49
 
50
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing) {
50
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse) {
51 51
   var params = {
52 52
     patient_id: patient_id,
53 53
     date: schedule_date,
@@ -62,7 +62,8 @@ export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_
62 62
     change_nurse: change_nurse,
63 63
     difficult_puncture_nurse: difficult_puncture_nurse,
64 64
     new_fistula_nurse: new_fistula_nurse,
65
-    blood_drawing: blood_drawing
65
+    blood_drawing: blood_drawing,
66
+    quality_nurse_id: quality_nurse
66 67
   }
67 68
   console.log('params', params)
68 69
   return request({

+ 14 - 0
src/router/modules/dialysis.js View File

@@ -87,6 +87,20 @@ export default {
87 87
         noCache: true
88 88
       }
89 89
     },
90
+    {
91
+      path: '/dialysis/consumable/dialysis/print',
92
+      component: () => import('@/xt_pages/dialysis/details/consumable/signPrint'),
93
+      name: '标签打印',
94
+      is_menu: false,
95
+      hidden: true
96
+    },
97
+    {
98
+      path: '/dialysis/consumable/dialysis/parameter/print',
99
+      component: () => import('@/xt_pages/dialysis/details/consumable/dialysisParameterPrint'),
100
+      name: '透析参数打印',
101
+      is_menu: false,
102
+      hidden: true
103
+    },
90 104
     {
91 105
       path: '/dialysis/consumableDrugs_print',
92 106
       component: () => import('@/xt_pages/dialysis/consumableDrugs_print'),

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -111,8 +111,8 @@
111 111
           <label>目标超滤量 : </label>
112 112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
113 113
           
114
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
114
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
116 116
         </li>
117 117
 
118 118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 349 - 50
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

@@ -43,28 +43,13 @@
43 43
         </div>
44 44
       </div>
45 45
       <div>
46
+        <el-button size="small" icon="el-icon-printer" @click="toSett" type="primary" v-if="his_config.is_open == 1">设置</el-button>
46 47
         <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">打印</el-button>
47 48
         <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
48 49
         <el-button size="small" type="primary" @click="statistics">统计表</el-button>
49 50
       </div>
50 51
     </div>
51
-    <!-- <div class="cell clearfix" style="justify-content: space-between;">
52
-      <div style="display:flex;">
53
-        <label class="title"> <span class="name">出库状态</span> : </label>
54
-        <div class="time">
55
-          <ul class>
56
-            <li
57
-              :class="item.id == goodType ? 'active' : ''"
58
-              @click="selectGoodType(item.id)"
59
-              v-for="item in goodList"
60
-              :key="item.id"
61
-            >
62
-              {{ item.name }}
63
-            </li>
64
-          </ul>
65
-        </div>
66
-      </div>
67
-    </div> -->
52
+   
68 53
     <div>
69 54
       <el-table
70 55
         :data="list"
@@ -204,13 +189,50 @@
204 189
       </span>
205 190
     </el-dialog>
206 191
 
192
+
193
+    <el-dialog
194
+      title="设置"
195
+      :visible.sync="startDialogVisibleOne"
196
+      width="60%">
197
+      <span>
198
+        <div v-for="(item,index) in goodTypeList" :key="index">
199
+          <span v-if="index == 0"><el-checkbox v-model="checkedOne" >{{item.type_name}}</el-checkbox></span> 
200
+          <span v-if="index == 1"><el-checkbox v-model="checkedTwo" >{{item.type_name}}</el-checkbox></span> 
201
+          <span v-if="index == 2"><el-checkbox v-model="checkedThree" >{{item.type_name}}</el-checkbox></span> 
202
+          <span v-if="index == 3"><el-checkbox v-model="checkedFour" >{{item.type_name}}</el-checkbox></span> 
203
+          <span v-if="index == 4"><el-checkbox v-model="checkedFive" >{{item.type_name}}</el-checkbox></span> 
204
+          <span v-if="index == 5"><el-checkbox v-model="checkedSix" >{{item.type_name}}</el-checkbox></span> 
205
+          <span v-if="index == 6"><el-checkbox v-model="checkedSeven" >{{item.type_name}}</el-checkbox></span> 
206
+          <span v-if="index == 7"><el-checkbox v-model="checkedEnight" >{{item.type_name}}</el-checkbox></span> 
207
+          <span v-if="index == 8"><el-checkbox v-model="checkedNight" >{{item.type_name}}</el-checkbox></span> 
208
+          <span v-if="index == 9"><el-checkbox v-model="checkedTen" >{{item.type_name}}</el-checkbox></span> 
209
+          <span v-if="index == 10"><el-checkbox v-model="checkedEleven">{{item.type_name}}</el-checkbox></span> 
210
+          <span v-if="index == 11"><el-checkbox v-model="checkedTwenty">{{item.type_name}}</el-checkbox></span>
211
+          <span v-if="index == 12"><el-checkbox v-model="checkedTwentyOne">{{item.type_name}}</el-checkbox></span> 
212
+          <span v-if="index == 13"><el-checkbox v-model="checkedTwentyTwo">{{item.type_name}}</el-checkbox></span> 
213
+          <span v-if="index == 14"><el-checkbox v-model="checkedTwentyThree">{{item.type_name}}</el-checkbox></span> 
214
+          <span v-if="index == 15"><el-checkbox v-model="checkedTwentyFour">{{item.type_name}}</el-checkbox></span> 
215
+          <span v-if="index == 16"><el-checkbox v-model="checkedTwentyFive">{{item.type_name}}</el-checkbox></span> 
216
+          <span v-if="index == 17"><el-checkbox v-model="checkedTwentySix">{{item.type_name}}</el-checkbox></span> 
217
+          <span v-if="index == 18"><el-checkbox v-model="checkedTwentySeven">{{item.type_name}}</el-checkbox></span>
218
+          <span v-if="index == 19"><el-checkbox v-model="checkedTwentyEight">{{item.type_name}}</el-checkbox></span> 
219
+          <span v-if="index == 20"><el-checkbox v-model="checkedTwentyNight">{{item.type_name}}</el-checkbox></span>   
220
+        </div>
221
+        
222
+      </span>
223
+      <span slot="footer" class="dialog-footer">
224
+        <el-button @click="startDialogVisibleOne = false">取 消</el-button>
225
+        <el-button type="primary" @click="saveHisDialysis">确 定</el-button>
226
+      </span>
227
+    </el-dialog>
228
+
207 229
   </div>
208 230
 </template>
209 231
 
210 232
 
211 233
 <script>
212
-  import { GetAllZone,getPatientDialysisSolutionGroupList,getDialysisGoodTotalCount } from '@/api/dialysis'
213
-
234
+  import { GetAllZone,getPatientDialysisSolutionGroupList,getDialysisGoodTotalCount,saveHisDialysis } from '@/api/dialysis'
235
+ import {GetAllGoodType} from '@/api/stock'
214 236
   import { uParseTime } from "@/utils/tools";
215 237
   import { getDataConfig } from '@/utils/data'
216 238
   export default {
@@ -277,6 +299,32 @@
277 299
         tableList:[],
278 300
         schedule_type:0,
279 301
         partion_type:0,
302
+        goodTypeList:[],
303
+        his_config:"",
304
+        startDialogVisibleOne:false,
305
+        type_name:false,
306
+        checkedOne:false,
307
+        checkedTwo:false,
308
+        checkedThree:false,
309
+        checkedFour:false,
310
+        checkedFive:false,
311
+        checkedSix:false,
312
+        checkedSeven:false,
313
+        checkedEnight:false,
314
+        checkedNight:false,
315
+        checkedTen:false,
316
+        checkedEleven:false,
317
+        checkedTwenty:false,
318
+        checkedTwentyOne:false,
319
+        checkedTwentyTwo:false,
320
+        checkedTwentyThree:false,
321
+        checkedTwentyFour:false,
322
+        checkedTwentyFive:false,
323
+        checkedTwentySix:false,
324
+        checkedTwentySeven:false,
325
+        checkedTwentyEight:false,
326
+        checkedTwentyNight:false,
327
+        
280 328
       }
281 329
     },
282 330
     created() {
@@ -312,6 +360,9 @@
312 360
       this.getlist()
313 361
     },
314 362
     methods: {
363
+      exportList(){
364
+
365
+      },
315 366
       open(){
316 367
        this.getlist()
317 368
       },
@@ -319,6 +370,9 @@
319 370
         getPatientDialysisSolutionGroupList(this.query).then(response=>{
320 371
            if(response.data.state == 1){
321 372
              var list = response.data.data.list
373
+             var config = response.data.data.config
374
+             this.his_config = config
375
+           
322 376
              if(list!=null){
323 377
                for(let i=0;i<list.length;i++){
324 378
                  list[i].rowList = []
@@ -562,40 +616,12 @@
562 616
       handleScheduleDateChange(val) {
563 617
         this.query.schedule_date = val
564 618
         this.query.page = 1
565
-       
619
+        this.getlist()
566 620
       },
567 621
       search() {
568 622
         this.query.page = 1
569
-       
623
+        this.getlist()
570 624
       },
571
-
572
-      exportList(){
573
-         import('@/vendor/Export2Excel').then(excel => {
574
-
575
-
576
-
577
-         var arrTwo = []
578
-         for(let i=0;i<this.arrKey.length;i++){
579
-            arrTwo.push('name'+i)
580
-         }
581
-         console.log("arrKey88888",arrTwo)
582
-
583
-         const tHeader = this.good_types
584
-         const filterVal = arrTwo
585
-         console.log("thedad",tHeader)
586
-         console.log("filterval",filterVal)
587
-         console.log("33333",this.arrList)
588
-         const data = this.formatJson(filterVal,this.arrList)
589
-         console.log("data",data)
590
-
591
-         excel.export_json_to_excel({
592
-           header: tHeader,
593
-           data,
594
-           filename: '透析耗材查询'
595
-         })
596
-          this.downloadLoading = false
597
-        })
598
-       },
599 625
       formatJson(filterVal, jsonData) {
600 626
         return jsonData.map(v => filterVal.map(j => v[j]));
601 627
       },
@@ -931,8 +957,281 @@
931 957
         }
932 958
       }
933 959
       return name
960
+    },
961
+    toSett(){
962
+      GetAllGoodType().then(response=>{
963
+        if(response.data.state == 1){
964
+          this.goodTypeList = response.data.data.goodType
965
+          this.startDialogVisibleOne = true
966
+        }
967
+      }) 
968
+    },
969
+    saveHisDialysis(){ 
970
+      var index = 0
971
+      var arr = []
972
+      if(this.checkedOne == true){
973
+         index = 0
974
+      }else{
975
+        index = -1
976
+      }
977
+      for(let i=0;i<this.goodTypeList.length;i++){
978
+        if(index == i){
979
+         arr.push(this.goodTypeList[i].id)
980
+        }
981
+      }
982
+      
983
+     var index_one = 0
984
+     if(this.checkedTwo == true){
985
+        index_one = 1
986
+      }else{
987
+        index_one = -1
988
+      }
989
+      for(let i=0;i<this.goodTypeList.length;i++){
990
+        if(index_one == i){
991
+         arr.push(this.goodTypeList[i].id)
992
+        }
993
+      }
994
+   
995
+    var index_two = 0
996
+    if(this.checkedThree == true){
997
+        index_two = 2
998
+      }else{
999
+        index_two = -1
1000
+      }
1001
+      for(let i=0;i<this.goodTypeList.length;i++){
1002
+        if(index_two == i){
1003
+         arr.push(this.goodTypeList[i].id)
1004
+        }
1005
+      }
1006
+    
1007
+    var index_three = 0
1008
+     if(this.checkedFour == true){
1009
+        index_three = 3
1010
+      }else{
1011
+        index_three = -1
1012
+      }
1013
+      for(let i=0;i<this.goodTypeList.length;i++){
1014
+        if(index_three == i){
1015
+         arr.push(this.goodTypeList[i].id)
1016
+        }
1017
+      }
1018
+     
1019
+     var index_four = 0
1020
+      if(this.checkedFive == true){
1021
+        index_four = 4
1022
+      }else{
1023
+        index_four = -1
1024
+      }
1025
+      for(let i=0;i<this.goodTypeList.length;i++){
1026
+        if(index_four == i){
1027
+         arr.push(this.goodTypeList[i].id)
1028
+        }
1029
+      }
1030
+      
1031
+      var index_five = 0
1032
+      if(this.checkedSix == true){
1033
+        index_five = 5
1034
+      }else{
1035
+        index_five = -1
1036
+      }
1037
+      for(let i=0;i<this.goodTypeList.length;i++){
1038
+        if(index_five == i){
1039
+         arr.push(this.goodTypeList[i].id)
1040
+        }
1041
+      }
1042
+     
1043
+     var index_six = 0
1044
+     if(this.checkedSeven == true){
1045
+        index_six = 6
1046
+      }else{
1047
+        index_six = -1
1048
+      }
1049
+      for(let i=0;i<this.goodTypeList.length;i++){
1050
+        if(index_six == i){
1051
+         arr.push(this.goodTypeList[i].id)
1052
+        }
1053
+      }
1054
+     
1055
+     var index_seven = 0
1056
+      if(this.checkedEnight == true){
1057
+        index_seven = 7
1058
+      }else{
1059
+        index_seven = -1
1060
+      }
1061
+      for(let i=0;i<this.goodTypeList.length;i++){
1062
+        if(index_seven == i){
1063
+         arr.push(this.goodTypeList[i].id)
1064
+        }
1065
+      }
1066
+
1067
+    var index_eight =0
1068
+
1069
+    if(this.checkedNight == true){
1070
+        index_eight = 8
1071
+      }else{
1072
+        index_eight = -1
1073
+      }
1074
+      for(let i=0;i<this.goodTypeList.length;i++){
1075
+        if(index_eight == i){
1076
+         arr.push(this.goodTypeList[i].id)
1077
+        }
1078
+      }
1079
+   
1080
+   var index_night = 0
1081
+    if(this.checkedTen == true){
1082
+        index_night = 9
1083
+      }else{
1084
+        index_night = -1
1085
+      }
1086
+      for(let i=0;i<this.goodTypeList.length;i++){
1087
+        if(index_night == i){
1088
+         arr.push(this.goodTypeList[i].id)
1089
+        }
1090
+      }
1091
+     
1092
+     var index_ten = 0
1093
+     if(this.checkedEleven == true){
1094
+        index_ten = 10
1095
+      }else{
1096
+        index_ten = -1
1097
+      }
1098
+      for(let i=0;i<this.goodTypeList.length;i++){
1099
+        if(index_ten == i){
1100
+         arr.push(this.goodTypeList[i].id)
1101
+        }
1102
+      }
1103
+     
1104
+     var index_eleven =0
1105
+     if(this.checkedTwenty == true){
1106
+        index_eleven = 11
1107
+      }else{
1108
+        index_eleven = -1
1109
+      }
1110
+      for(let i=0;i<this.goodTypeList.length;i++){
1111
+        if(index_eleven == i){
1112
+         arr.push(this.goodTypeList[i].id)
1113
+        }
1114
+      }
1115
+
1116
+    var index_twenty_one = 0
1117
+     if(this.checkedTwentyOne == true){
1118
+        index_twenty_one = 12
1119
+      }else{
1120
+        index_twenty_one = -1
1121
+      }
1122
+      for(let i=0;i<this.goodTypeList.length;i++){
1123
+        if(index_twenty_one == i){
1124
+         arr.push(this.goodTypeList[i].id)
1125
+        }
1126
+      }
1127
+    
1128
+    var index_twenty_two = 0
1129
+     if(this.checkedTwentyTwo == true){
1130
+        index_twenty_two = 13
1131
+      }else{
1132
+        index_twenty_two = -1
1133
+      }
1134
+      for(let i=0;i<this.goodTypeList.length;i++){
1135
+        if(index_twenty_two == i){
1136
+         arr.push(this.goodTypeList[i].id)
1137
+        }
1138
+      }
1139
+    
1140
+     var index_twenty_three = 0
1141
+     if(this.checkedTwentyThree == true){
1142
+        index_twenty_three = 14
1143
+      }else{
1144
+        index_twenty_three = -1
1145
+      }
1146
+      for(let i=0;i<this.goodTypeList.length;i++){
1147
+        if(index_twenty_three == i){
1148
+         arr.push(this.goodTypeList[i].id)
1149
+        }
1150
+      }
1151
+     
1152
+     var index_twenty_four = 0
1153
+      if(this.checkedTwentyFour == true){
1154
+        index_twenty_four = 15
1155
+      }else{
1156
+        index_twenty_four = -1
1157
+      }
1158
+      for(let i=0;i<this.goodTypeList.length;i++){
1159
+        if(index_twenty_four == i){
1160
+         arr.push(this.goodTypeList[i].id)
1161
+        }
1162
+      }
1163
+     
1164
+     var index_twenty_five = 0
1165
+     if(this.checkedTwentyFive == true){
1166
+        index_twenty_five = 16
1167
+      }else{
1168
+        index_twenty_five = -1
1169
+      }
1170
+      for(let i=0;i<this.goodTypeList.length;i++){
1171
+        if(index_twenty_five == i){
1172
+         arr.push(this.goodTypeList[i].id)
1173
+        }
1174
+      }
1175
+     
1176
+     var index_twenty_six = 0
1177
+     if(this.checkedTwentySix == true){
1178
+        index_twenty_six = 17
1179
+      }else{
1180
+        index_twenty_six = -1
1181
+      }
1182
+      for(let i=0;i<this.goodTypeList.length;i++){
1183
+        if(index_twenty_six == i){
1184
+         arr.push(this.goodTypeList[i].id)
1185
+        }
1186
+      }
1187
+
1188
+     var index_twenty_seven = 0
1189
+     if(this.checkedTwentySeven == true){
1190
+        index_twenty_seven = 18
1191
+      }else{
1192
+        index_twenty_seven = -1
1193
+      }
1194
+      for(let i=0;i<this.goodTypeList.length;i++){
1195
+        if(index_twenty_seven == i){
1196
+         arr.push(this.goodTypeList[i].id)
1197
+        }
1198
+      }
1199
+     
1200
+     var index_twenty_eight = 0
1201
+     if(this.checkedTwentyEight == true){
1202
+        index_twenty_eight = 19
1203
+      }else{
1204
+        index_twenty_eight = -1
1205
+      }
1206
+      for(let i=0;i<this.goodTypeList.length;i++){
1207
+        if(index_twenty_eight == i){
1208
+         arr.push(this.goodTypeList[i].id)
1209
+        }
1210
+      }
1211
+     
1212
+     var index_twenty_night =0
1213
+     if(this.checkedTwentyNight == true){
1214
+        index_twenty_night = 20
1215
+      }else{
1216
+        index_twenty_night = -1
1217
+      }
1218
+      for(let i=0;i<this.goodTypeList.length;i++){
1219
+        if(index_twenty_night == i){
1220
+         arr.push(this.goodTypeList[i].id)
1221
+        }
1222
+      }
1223
+      var params = {
1224
+        ids:arr,
1225
+      }
1226
+      saveHisDialysis(params).then(response=>{
1227
+        if(response.data.state == 1){
1228
+           var msg = response.data.data.msg
1229
+           this.startDialogVisibleOne = false
1230
+        }
1231
+      })
1232
+    
934 1233
     }
935
-    }
1234
+   }
936 1235
   }
937 1236
 </script>
938 1237
 

+ 534 - 41
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

@@ -43,7 +43,11 @@
43 43
       </div>
44 44
       <div>
45 45
         <el-button size="small" icon="el-icon-printer" @click="toDialog" type="primary">设置</el-button>
46
+        <el-button size="small" icon="el-icon-printer" @click="toSign" type="primary">标签打印</el-button>
47
+        <el-button size="small" icon="el-icon-printer" @click="printAction" type="primary">标签打印设置</el-button>
48
+        
46 49
         <el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
50
+        <el-button size="small" icon="el-icon-printer" @click="toPrint" type="primary">打印</el-button>
47 51
         <el-button size="small" type="primary" @click="statistics">统计表</el-button>
48 52
       </div>
49 53
     </div>
@@ -59,103 +63,110 @@
59 63
         }"
60 64
       >
61 65
         <el-table-column align="center"  type="selection" width="55">
62
-           <template slot-scope="scope">
63
-             
64
-           </template>
65 66
         </el-table-column>
66 67
         <el-table-column align="center" label="序号" width="55">
67 68
            <template slot-scope="scope">
68 69
              {{scope.$index + 1}}
69 70
            </template>
70 71
         </el-table-column>
71
-         <el-table-column align="center" label="透析机号" width="55">
72
+         <el-table-column align="center" label="透析机号"  v-if="dialysisSett.device_number==1">
72 73
            <template slot-scope="scope">
73
-              {{scope.row.device_number.number}}
74
+             {{scope.row.device_number.zone.name}}  {{scope.row.device_number.number}}
74 75
            </template>
75 76
         </el-table-column>
76
-        <el-table-column align="center" label="姓名" width="55">
77
+        <el-table-column align="center" label="姓名" v-if="dialysisSett.name==1">
77 78
            <template slot-scope="scope">
78 79
             {{scope.row.patient.name}}
79 80
            </template>
80 81
         </el-table-column>
81
-        <el-table-column align="center" label="住院(门诊)号" width="55">
82
+        <el-table-column align="center" label="透析号" v-if="dialysisSett.dialysis_no==1">
82 83
            <template slot-scope="scope">
83
-
84
+            {{scope.row.patient.dialysis_no}}
84 85
            </template>
85 86
         </el-table-column>
86
-        <el-table-column align="center" label="透前体重" width="55">
87
+        <el-table-column align="center" label="住院(门诊)号"  v-if="dialysisSett.admission_number==1">
88
+           <template slot-scope="scope">
89
+             {{scope.row.xt_receive_treatment_asses.admission_number}}
90
+           </template>
91
+        </el-table-column>
92
+        <el-table-column align="center" label="透前体重"  v-if="dialysisSett.weight_befor==1">
87 93
            <template slot-scope="scope">
88 94
              {{scope.row.assessment_befor_dislysis.weight_before}}
89 95
            </template>
90 96
         </el-table-column>
91
-         <el-table-column align="center" label="干体重" width="55">
97
+         <el-table-column align="center" label="干体重" v-if="dialysisSett.dry_weight==1">
92 98
            <template slot-scope="scope">
93 99
             {{scope.row.assessment_befor_dislysis.dry_weight}}
94 100
            </template>
95 101
         </el-table-column>
96
-         <el-table-column align="center" label="透前血压" width="55">
102
+         <el-table-column align="center" label="透前血压"  v-if="dialysisSett.blood_pressure==1">
97 103
            <template slot-scope="scope">
98 104
             <span v-if="scope.row.assessment_befor_dislysis.systolic_blood_pressure>0">{{scope.row.assessment_befor_dislysis.systolic_blood_pressure}}</span>
99 105
             <span v-if="scope.row.assessment_befor_dislysis.diastolic_blood_pressure>0">/{{scope.row.assessment_befor_dislysis.diastolic_blood_pressure}}</span> 
100 106
            </template>
101 107
         </el-table-column>
102
-         <el-table-column align="center" label="目标脱水量" width="55">
108
+         <el-table-column align="center" label="目标脱水量"  v-if="dialysisSett.ultrafiltration_volume==1">
103 109
            <template slot-scope="scope">
104 110
              <span v-if="scope.row.dialysis_prescription.target_ultrafiltration>0">{{scope.row.dialysis_prescription.target_ultrafiltration}}</span>
105 111
            </template>
106 112
         </el-table-column>
107
-        <el-table-column align="center" label="超率总量" width="55">
108
-           <template slot-scope="scope">
109
-
110
-           </template>
111
-        </el-table-column>
112
-        <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)" width="100">
113
+        <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)"  v-if="dialysisSett.anticoagulant==1">
113 114
            <template slot-scope="scope">
114 115
              <span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
115 116
              <span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
116 117
              <span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
117
-             <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji > 0">(scope.row.dialysis_prescription.anticoagulant_shouji)</span>
118
-             <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi > 0">(scope.row.dialysis_prescription.anticoagulant_weichi)</span>
119
-             <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang > 0">(scope.row.dialysis_prescription.anticoagulant_zongliang)</span>
118
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji > 0">({{scope.row.dialysis_prescription.anticoagulant_shouji}})</span>
119
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi > 0">({{scope.row.dialysis_prescription.anticoagulant_weichi}})</span>
120
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang > 0">({{scope.row.dialysis_prescription.anticoagulant_zongliang}})</span>
120 121
            </template>
121 122
         </el-table-column>
122 123
 
123
-        <el-table-column align="center" label="透析时长" width="100">
124
+        <el-table-column align="center" label="透析时长" v-if="dialysisSett.dialysis_time ==1">
124 125
            <template slot-scope="scope">
125
-             <span v-if="scope.row.dialysis_duration >0">{{scope.row.dialysis_duration}}</span>
126
+             <span v-if="scope.row.dialysis_duration_hour >0">{{scope.row.dialysis_duration_hour}}时</span>
127
+             <span v-if="scope.row.dialysis_duration_minute >0">{{scope.row.dialysis_duration_minute}}分</span>
126 128
            </template>
127 129
         </el-table-column>
128 130
 
129
-       <el-table-column align="center" label="设备型号" width="100">
131
+       <el-table-column align="center" label="设备型号"  v-if="dialysisSett.device_type==1">
130 132
            <template slot-scope="scope">
131
-             <span></span>
133
+             <span>{{scope.row.assessment_befor_dislysis.machine_type}}</span>
132 134
            </template>
133 135
         </el-table-column>
134 136
 
135
-        <el-table-column align="center" label="透析器/灌流器" width="100">
137
+        <el-table-column align="center" label="透析器/灌流器"  v-if="dialysisSett.dialyzer_perfusion_apparatus == 1">
136 138
            <template slot-scope="scope">
137 139
              <span>{{scope.row.dialysis_prescription.dialyzer_perfusion_apparatus}}</span>
140
+           </template>
141
+        </el-table-column>
142
+
143
+        <el-table-column align="center" label="透析器"  v-if="dialysisSett.dialysis_dialyszers == 1">
144
+           <template slot-scope="scope">
138 145
              <span>{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
146
+           </template>
147
+        </el-table-column>
148
+
149
+         <el-table-column align="center" label="灌流器"  v-if="dialysisSett.dialysis_irrigation ==1">
150
+           <template slot-scope="scope">
139 151
              <span>{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
140 152
            </template>
141 153
         </el-table-column>
142 154
 
143
-       
144 155
 
145
-        <el-table-column align="center" label="置换总量" width="100">
156
+        <el-table-column align="center" label="置换总量" v-if="dialysisSett.displace_liqui_value==1">
146 157
            <template slot-scope="scope">
147 158
              <span>{{scope.row.dialysis_prescription.replacement_total}}</span>
148 159
            </template>
149 160
         </el-table-column>
150 161
        
151 162
 
152
-        <el-table-column align="center" label="钾" width="100">
163
+        <el-table-column align="center" label="钾"  v-if="dialysisSett.kalium==1">
153 164
            <template slot-scope="scope">
154 165
              <span>{{scope.row.dialysis_prescription.kalium}}</span>
155 166
            </template>
156 167
         </el-table-column>
157 168
 
158
-        <el-table-column align="center" label="钠" width="100">
169
+        <el-table-column align="center" label="钠" v-if="dialysisSett.sodium==1">
159 170
            <template slot-scope="scope">
160 171
              <span>{{scope.row.dialysis_prescription.sodium}}</span>
161 172
            </template>
@@ -163,31 +174,31 @@
163 174
 
164 175
 
165 176
 
166
-        <el-table-column align="center" label="钙" width="100">
177
+        <el-table-column align="center" label="钙" v-if="dialysisSett.calcium==1">
167 178
            <template slot-scope="scope">
168 179
              <span>{{scope.row.dialysis_prescription.calcium}}</span>
169 180
            </template>
170 181
         </el-table-column>
171 182
 
172
-        <el-table-column align="center" label="碳酸氢盐" width="100">
183
+        <el-table-column align="center" label="碳酸氢盐"  v-if="dialysisSett.bicarbonate == 1">
173 184
            <template slot-scope="scope">
174 185
               <span>{{scope.row.dialysis_prescription.bicarbonate}}</span>
175 186
            </template>
176 187
         </el-table-column>
177 188
 
178
-        <el-table-column align="center" label="血管通路" width="100">
189
+        <el-table-column align="center" label="血管通路" v-if="dialysisSett.blood_access==1">
179 190
            <template slot-scope="scope">
180 191
              <span>{{getBloodAccessOption(scope.row.dialysis_prescription.blood_access)}}</span>
181 192
            </template>
182 193
         </el-table-column>
183 194
 
184
-       <el-table-column align="center" label="封管液" width="100">
195
+       <el-table-column align="center" label="封管液" v-if="dialysisSett.sealing_fluid_dispose == 1">
185 196
            <template slot-scope="scope">
186
-             
197
+             {{scope.row.xt_assesment_after_dislysis.sealing_fluid_dispose}}
187 198
            </template>
188 199
         </el-table-column>
189 200
 
190
-        <el-table-column align="center" label="葡萄糖" width="100">
201
+        <el-table-column align="center" label="葡萄糖"  v-if="dialysisSett.glucose==1">
191 202
            <template slot-scope="scope">
192 203
              {{scope.row.dialysis_prescription.amylaceum}}
193 204
            </template>
@@ -214,13 +225,19 @@
214 225
            <el-checkbox v-model="sealing_fluid_dispose" label="封管液"></el-checkbox>
215 226
            <el-checkbox v-model="mode_id" label="透析模式"></el-checkbox>
216 227
            <el-checkbox v-model="dialysis_time" label="透析时长"></el-checkbox>
228
+         
217 229
            <el-checkbox v-model="dialysis_dialyszers" label="透析器"></el-checkbox>
218 230
            <el-checkbox v-model="dialysis_irrigation" label="灌流器"></el-checkbox>
219
-           <el-checkbox v-model="gaijiliang" label="钙"></el-checkbox>
220 231
            <el-checkbox v-model="kalium" label="钾"></el-checkbox>
221 232
            <el-checkbox v-model="displace_liqui_value" label="置换总量"></el-checkbox>
222 233
            <el-checkbox v-model="bicarbonate" label="碳酸氢根"></el-checkbox>
223 234
            <el-checkbox v-model="glucose" label="葡萄糖"></el-checkbox>
235
+
236
+           <el-checkbox v-model="dialyzer_perfusion_apparatus" label="透析器/灌流器"></el-checkbox>
237
+           <el-checkbox v-model="displace_liqui_part" label="置换液"></el-checkbox>
238
+           <el-checkbox v-model="sodium" label="钠"></el-checkbox>
239
+           <el-checkbox v-model="calcium" label="钙"></el-checkbox>
240
+           <el-checkbox v-model="blood_access" label="血管通路"></el-checkbox>
224 241
         </span>
225 242
         <span slot="footer" class="dialog-footer">
226 243
           <el-button @click="dialogVisible = false">取 消</el-button>
@@ -228,6 +245,59 @@
228 245
        </span>
229 246
       </el-dialog>
230 247
 
248
+
249
+  <el-dialog
250
+    title="打印设置"
251
+    :visible.sync="dialogVisibleOne"
252
+    width="30%"
253
+    >
254
+     <span>
255
+       <ul>
256
+         <li>
257
+          <el-checkbox v-model="prescription_status">透析处方状态</el-checkbox>
258
+         </li>
259
+         <li>
260
+          <el-checkbox v-model="week">星期</el-checkbox>
261
+         </li>
262
+         <li>
263
+          <el-checkbox v-model="name">姓名</el-checkbox>
264
+         </li>
265
+         <li>
266
+          <el-checkbox v-model="zone_name">分区</el-checkbox>
267
+         </li>
268
+         <li>
269
+          <el-checkbox v-model="classes">班次</el-checkbox>
270
+         </li>
271
+         <li>
272
+          <el-checkbox v-model="number">机号</el-checkbox>
273
+         </li>
274
+         <li>
275
+          <el-checkbox v-model="mode">透析模式</el-checkbox>
276
+         </li>
277
+         <li>
278
+          <el-checkbox v-model="dialyzers">透析器</el-checkbox>
279
+         </li>
280
+         <li>
281
+          <el-checkbox v-model="perfusion_apparatus">灌流器</el-checkbox>
282
+         </li>
283
+         <li>
284
+          <el-checkbox v-model="anticoagulant">抗凝剂(商品名称)</el-checkbox>
285
+         </li>
286
+         <li>
287
+          <el-checkbox v-model="anticoagulant_zongliang">总量</el-checkbox>
288
+         </li>
289
+         <li>
290
+          <el-checkbox v-model="doctor_advice">长期医嘱</el-checkbox>
291
+         </li>
292
+       </ul>
293
+
294
+     </span>
295
+            <span slot="footer" class="dialog-footer">
296
+      <el-button @click="dialogVisibleOne = false">取 消</el-button>
297
+      <el-button type="primary" @click="saveRemindPrint">保 存</el-button>
298
+     </span>
299
+    </el-dialog>
300
+
231 301
     </div>
232 302
 
233 303
     <el-pagination
@@ -316,6 +386,7 @@
316 386
 <script>
317 387
   import { GetAllZone,saveDialysisSetting,getDialysisSetting,getDialysisParameter,getDialysisParameterGoodList } from '@/api/dialysis'
318 388
   import { uParseTime } from "@/utils/tools";
389
+  import {getRemindPrintList,saveRemindPrint} from '@/api/schedule'
319 390
   import { getDataConfig } from '@/utils/data'
320 391
   import store from "@/store";
321 392
   export default {
@@ -392,11 +463,32 @@
392 463
         displace_liqui_value:false,
393 464
         bicarbonate:false,
394 465
         glucose:false,
466
+        dialyzer_perfusion_apparatus:false,
467
+        sodium:false,
468
+        calcium:false,
469
+        blood_access:false,
470
+        displace_liqui_part:false,
395 471
         blood_access_option:[],
396 472
         startdialogVisible:false,
397
-        schedule_type:"",
398
-        partion_type:"",
473
+
474
+        schedule_type:0,
475
+        partion_type:0,
399 476
         tableList:[],
477
+        dialysisSett:{},
478
+
479
+        dialogVisibleOne: false,
480
+        prescription_status: false,
481
+        week: false,
482
+        name: false,
483
+        zone_name: false,
484
+        classes: false,
485
+        number: false,
486
+        mode: false,
487
+        dialyzers: false,
488
+        perfusion_apparatus: false,
489
+        anticoagulant: false,
490
+        anticoagulant_zongliang: false,
491
+        doctor_advice: false,
400 492
       }
401 493
     },
402 494
     created() {
@@ -444,6 +536,8 @@
444 536
               var list = response.data.data.list
445 537
               this.list = list
446 538
               this.total = response.data.data.total
539
+              this.dialysisSett = response.data.data.dialysisSett
540
+              console.log("设置",this.dialysisSett)
447 541
             }
448 542
         }) 
449 543
       },
@@ -537,6 +631,20 @@
537 631
             this.startdialogVisible = true
538 632
             var list = response.data.data.list
539 633
             console.log("list232323223222wid",list)
634
+            var total = 0
635
+            var total_one = 0
636
+            var total_two = 0
637
+            var total_three = 0
638
+            var total_four = 0
639
+            var total_five = 0
640
+            var total_six = 0
641
+            var total_seven =0
642
+            var total_eight = 0
643
+            var total_night =0
644
+            var total_ten = 0
645
+            var total_elven = 0
646
+            var total_twenty = 0
647
+          
540 648
             if(list!=null && list.length>0){
541 649
               for(let i=0;i<list.length;i++){
542 650
                  list[i].dialysis_dialyszers_arr = []
@@ -551,6 +659,45 @@
551 659
                  if(list[i].dialysis_prescription.dialysis_irrigation!=""){
552 660
                    list[i].dialysis_irrigation_arr = list[i].dialysis_prescription.dialysis_irrigation.split(",")
553 661
                  }
662
+                 if(list[i].dialysis_prescription.anticoagulant == 1){
663
+                     total += list[i].dialysis_prescription.anticoagulant_zongliang 
664
+                 }
665
+                 if(list[i].dialysis_prescription.anticoagulant == 2){
666
+                     total_one += list[i].dialysis_prescription.anticoagulant_zongliang 
667
+                 }
668
+                if(list[i].dialysis_prescription.anticoagulant == 3){
669
+                     total_two += list[i].dialysis_prescription.anticoagulant_zongliang 
670
+                 }
671
+                 if(list[i].dialysis_prescription.anticoagulant == 4){
672
+                     total_three += list[i].dialysis_prescription.anticoagulant_zongliang 
673
+                 }
674
+                if(list[i].dialysis_prescription.anticoagulant == 5){
675
+                     total_four += list[i].dialysis_prescription.anticoagulant_zongliang 
676
+                 }
677
+                  if(list[i].dialysis_prescription.anticoagulant == 6){
678
+                     total_five += list[i].dialysis_prescription.anticoagulant_zongliang 
679
+                 }
680
+                  if(list[i].dialysis_prescription.anticoagulant == 7){
681
+                     total_six += list[i].dialysis_prescription.anticoagulant_zongliang 
682
+                 }
683
+                  if(list[i].dialysis_prescription.anticoagulant == 8){
684
+                     total_seven += list[i].dialysis_prescription.anticoagulant_zongliang 
685
+                 }
686
+                 if(list[i].dialysis_prescription.anticoagulant == 9){
687
+                     total_eight += list[i].dialysis_prescription.anticoagulant_zongliang 
688
+                 }
689
+                  if(list[i].dialysis_prescription.anticoagulant == 10){
690
+                     total_night += list[i].dialysis_prescription.anticoagulant_zongliang 
691
+                 }
692
+                  if(list[i].dialysis_prescription.anticoagulant == 11){
693
+                     total_ten+= list[i].dialysis_prescription.anticoagulant_zongliang 
694
+                 }
695
+                  if(list[i].dialysis_prescription.anticoagulant == 12){
696
+                     total_elven+= list[i].dialysis_prescription.anticoagulant_zongliang 
697
+                 }
698
+                   if(list[i].dialysis_prescription.anticoagulant == 13){
699
+                     total_twenty+= list[i].dialysis_prescription.anticoagulant_zongliang 
700
+                 }
554 701
               }
555 702
             }
556 703
             var dialysisDialyszersArr = []
@@ -626,7 +773,82 @@
626 773
               Arr.push(a);
627 774
             }
628 775
             console.log("newa",Arr)
629
-            this.tableList = Arr
776
+           console.log("total_one",total_one)
777
+           var  objArr = {name:"抗凝剂",specification_name:"无肝素",count:0}
778
+           objArr.count = total
779
+           var objArrOne = {name:"抗凝剂",specification_name:"普通肝素",count:0}
780
+            objArrOne.count = total_one
781
+           var objArrTwo = {name:"抗凝剂",specification_name:"低分子肝素",count:0}
782
+            objArrTwo.count = total_two
783
+           var objArrThree = {name:"抗凝剂",specification_name:"阿加曲班",count:0}
784
+            objArrThree.count = total_three
785
+           var objArrFour = {name:"抗凝剂",specification_name:"枸橼酸钠",count:0}
786
+            objArrFour.count = total_four
787
+           var objArrFive = {name:"抗凝剂",specification_name:"低分子肝素钙",count:0}
788
+            objArrFive.count = total_five
789
+           var objArrSix = {name:"抗凝剂",specification_name:"低分子肝素钠",count:0}
790
+            objArrSix.count = total_six
791
+           var objArrSeven = {name:"抗凝剂",specification_name:"依诺肝素",count:0}
792
+            objArrSeven.count = total_seven
793
+           var objArrEight = {name:"抗凝剂",specification_name:"达肝素",count:0}
794
+            objArrSeven.count = total_eight
795
+           var objArrNight = {name:"抗凝剂",specification_name:"体外抗凝",count:0}
796
+            objArrNight.count = total_eight
797
+           var objArrTen = {name:"抗凝剂",specification_name:"那屈肝素",count:0}
798
+            objArrTen.count = total_ten
799
+           var objArrEleven = {name:"抗凝剂",specification_name:"无抗凝剂",count:0}
800
+            objArrEleven.count = total_elven
801
+           var objArrTwenty = {name:"抗凝剂",specification_name:"那屈肝素钙",count:0}
802
+            objArrTwenty.count = total_twenty
803
+             console.log("objArrOne",objArrOne.count)
804
+              if(parseInt(objArr.count) > 0){
805
+                this.tableList.push(objArr)
806
+              }
807
+              console.log("objArrOne",parseInt(objArrOne.count))
808
+             if(parseInt(objArrOne.count) > 0){
809
+                console.log("j你了了呃呃呃呃呃呃")
810
+                this.tableList.push(objArrOne)
811
+              }
812
+              if(parseInt(objArrTwo).count > 0){
813
+                this.tableList.push(objArrTwo)
814
+              }
815
+               if(parseInt(objArrThree).count > 0){
816
+                this.tableList.push(objArrThree)
817
+              }
818
+               if(parseInt(objArrFour.count) > 0){
819
+                this.tableList.push(objArrFour)
820
+              }
821
+               if(parseInt(objArrFive.count) > 0){
822
+                this.tableList.push(objArrFive)
823
+              }
824
+               if(parseInt(objArrSix.count) > 0){
825
+                this.tableList.push(objArrSix)
826
+              }
827
+               if(parseInt(objArrSeven.count) > 0){
828
+                this.tableList.push(objArrSeven)
829
+              }
830
+               if(parseInt(objArrEight.count) > 0){
831
+                this.tableList.push(objArrEight)
832
+              }
833
+               if(parseInt(objArrNight.count) > 0){
834
+                this.tableList.push(objArrNight)
835
+              }
836
+               if(parseInt(objArrTen.count) > 0){
837
+                this.tableList.push(objArrTen)
838
+              }
839
+               if(parseInt(objArrEleven.count) > 0){
840
+                this.tableList.push(objArrEleven)
841
+              }
842
+               if(parseInt(objArrTwenty).count > 0){
843
+                this.tableList.push(objArrTwenty)
844
+              }
845
+              
846
+            
847
+            if(Arr.length >0){
848
+              for(let i=0;i<Arr.length;i++){
849
+                 this.tableList.push(Arr[i])
850
+              }
851
+            }
630 852
            }
631 853
         })
632 854
       },
@@ -789,6 +1011,31 @@
789 1011
             }else{
790 1012
               this.glucose = false
791 1013
             }
1014
+            if(dialysisSett.sodium == 1){
1015
+               this.sodium = true
1016
+            }else{
1017
+              this.sodium = false
1018
+            }
1019
+            if(dialysisSett.calcium == 1){
1020
+              this.calcium = true
1021
+            }else{
1022
+              this.calcium = false
1023
+            }
1024
+            if(dialysisSett.blood_access == 1){
1025
+              this.blood_access = true
1026
+            }else{
1027
+              this.blood_access = false
1028
+            }
1029
+            if(dialysisSett.dialyzer_perfusion_apparatus == 1){
1030
+               this.dialyzer_perfusion_apparatus = true
1031
+            }else{
1032
+              this.dialyzer_perfusion_apparatus = false
1033
+            }
1034
+            if(dialysisSett.displace_liqui_part == 1){
1035
+              this.displace_liqui_part = true
1036
+            }else{
1037
+              this.displace_liqui_part = false
1038
+            }
792 1039
           }
793 1040
      
794 1041
         }
@@ -818,6 +1065,49 @@
818 1065
        var displace_liqui_value_set =0
819 1066
        var bicarbonate_set =0
820 1067
        var glucose_set = 0
1068
+       var sodium_set = 0
1069
+       var calcium_set =0
1070
+       var blood_access_set =0
1071
+       var dialyzer_perfusion_apparatus_set =0
1072
+       var displace_liqui_part_set =0
1073
+       
1074
+       if(this.sodium == false){
1075
+         sodium_set = 2
1076
+       }
1077
+       if(this.sodium == true){
1078
+         sodium_set = 1
1079
+       }
1080
+
1081
+       if(this.calcium ==false){
1082
+         calcium_set = 2
1083
+       }
1084
+       if(this.calcium == true){
1085
+          calcium_set = 1
1086
+       }
1087
+
1088
+      if(this.blood_access ==false){
1089
+         blood_access_set = 2
1090
+       }
1091
+       if(this.blood_access == true){
1092
+          blood_access_set = 1
1093
+       }
1094
+
1095
+       if(this.dialyzer_perfusion_apparatus == false){
1096
+         dialyzer_perfusion_apparatus_set = 2
1097
+       }
1098
+       if(this.dialyzer_perfusion_apparatus == true){
1099
+         dialyzer_perfusion_apparatus_set =1
1100
+       }
1101
+
1102
+       if(this.displace_liqui_part == false){
1103
+          displace_liqui_part_set = 2
1104
+       }
1105
+       
1106
+       if(this.displace_liqui_part == true){
1107
+          displace_liqui_part_set = 1
1108
+       }
1109
+    
1110
+
821 1111
        if(this.device_number == false){
822 1112
           device_number_set = 2
823 1113
         }
@@ -973,6 +1263,11 @@
973 1263
           displace_liqui_value_set:displace_liqui_value_set,
974 1264
           bicarbonate_set:bicarbonate_set,
975 1265
           glucose_set:glucose_set,
1266
+          sodium_set:sodium_set,
1267
+          calcium_set:calcium_set,
1268
+          blood_access_set:blood_access_set,
1269
+          dialyzer_perfusion_apparatus_set:dialyzer_perfusion_apparatus_set,
1270
+          displace_liqui_part_set:displace_liqui_part_set,
976 1271
         }
977 1272
         console.log("patam223232332",params)
978 1273
        saveDialysisSetting(params).then(response=>{
@@ -980,6 +1275,7 @@
980 1275
            var dialysisSetting = response.data.data.dialysisSetting
981 1276
            this.$message.success("保存成功!")
982 1277
            this.dialogVisible = false
1278
+           this.getlist()
983 1279
          }
984 1280
        })
985 1281
      },
@@ -1034,7 +1330,204 @@
1034 1330
          }
1035 1331
        }
1036 1332
        return name
1037
-     }
1333
+     },
1334
+     toSign(){
1335
+       this.$router.push({path: '/dialysis/consumable/dialysis/print?schedule_type='+this.query.schedule_type+"&partion_id="+this.query.partition_id+"&schedule_date="+this.query.schedule_date+"&keyword="+this.query.keywords+"&page="+this.query.page+"&limit="+this.query.limit})
1336
+     },
1337
+     printAction(){
1338
+      this.getRemindPrintList()
1339
+      this.dialogVisibleOne = true
1340
+
1341
+     },
1342
+    getRemindPrintList() {
1343
+        getRemindPrintList().then(response => {
1344
+          if (response.data.state == 1) {
1345
+            var list = response.data.data.list
1346
+            console.log('list222332', list)
1347
+            if (list.anticoagulant == 1) {
1348
+              console.log('进来22222')
1349
+              this.anticoagulant = true
1350
+            }
1351
+            if (list.anticoagulant == 2) {
1352
+              this.anticoagulant = false
1353
+            }
1354
+            if (list.anticoagulant_zongliang == 1) {
1355
+              this.anticoagulant_zongliang = true
1356
+            }
1357
+            if (list.anticoagulant_zongliang == 2) {
1358
+              this.anticoagulant_zongliang = false
1359
+            }
1360
+            if (list.classes == 1) {
1361
+              this.classes = true
1362
+            }
1363
+            if (list.classes == 2) {
1364
+              this.classes = false
1365
+            }
1366
+            if (list.dialyzers == 1) {
1367
+              this.dialyzers = true
1368
+            }
1369
+            if (list.dialyzers == 2) {
1370
+              this.dialyzers = false
1371
+            }
1372
+            if (list.doctor_advice == 1) {
1373
+              this.doctor_advice = true
1374
+            }
1375
+            if (list.doctor_advice == 2) {
1376
+              this.doctor_advice = false
1377
+            }
1378
+            if (list.name == 1) {
1379
+              this.name = true
1380
+            }
1381
+            if (list.name == 2) {
1382
+              this.name = false
1383
+            }
1384
+            if (list.number == 1) {
1385
+              this.number = true
1386
+            }
1387
+            if (list.number == 2) {
1388
+              this.number = false
1389
+            }
1390
+            if (list.perfusion_apparatus == 1) {
1391
+              this.perfusion_apparatus = true
1392
+            }
1393
+            if (list.perfusion_apparatus == 2) {
1394
+              this.perfusion_apparatus = false
1395
+            }
1396
+            if (list.prescription_status == 1) {
1397
+              this.prescription_status = true
1398
+            }
1399
+            if (list.prescription_status == 2) {
1400
+              this.prescription_status = false
1401
+            }
1402
+            if (list.week == 1) {
1403
+              this.week = true
1404
+            }
1405
+            if (list.week == 2) {
1406
+              this.week = false
1407
+            }
1408
+            if (list.zone == 1) {
1409
+              this.zone_name = true
1410
+            }
1411
+            if (list.zone == 2) {
1412
+              this.zone_name = false
1413
+            }
1414
+            if (list.mode == 1) {
1415
+              this.mode = true
1416
+            }
1417
+            if (list.mode == 2) {
1418
+              this.mode = false
1419
+            }
1420
+            this.form.id = list.id
1421
+          }
1422
+        })
1423
+      },
1424
+    
1425
+      saveRemindPrint() {
1426
+       
1427
+
1428
+        if (this.perfusion_apparatus == true) {
1429
+          console.log('3333')
1430
+          this.form.perfusion_apparatus = 1
1431
+        }
1432
+        if (this.perfusion_apparatus == false) {
1433
+          this.form.perfusion_apparatus = 2
1434
+        }
1435
+        if (this.prescription_status == true) {
1436
+          this.form.prescription_status = 1
1437
+        }
1438
+        if (this.prescription_status == false) {
1439
+          this.form.prescription_status = 2
1440
+        }
1441
+        if (this.week == true) {
1442
+          this.form.week = 1
1443
+        }
1444
+        if (this.week == false) {
1445
+          this.form.week = 2
1446
+        }
1447
+        if (this.name == true) {
1448
+          this.form.name = 1
1449
+        }
1450
+        if (this.name == false) {
1451
+          this.form.name = 2
1452
+        }
1453
+        if (this.zone_name == true) {
1454
+          this.form.zone = 1
1455
+        }
1456
+        if (this.zone_name == false) {
1457
+          this.form.zone = 2
1458
+        }
1459
+        if (this.classes == true) {
1460
+          this.form.classes = 1
1461
+        }
1462
+        if (this.classes == false) {
1463
+          this.form.classes = 2
1464
+        }
1465
+        if (this.number == true) {
1466
+          this.form.number = 1
1467
+        }
1468
+        if (this.number == false) {
1469
+          this.form.number = 2
1470
+        }
1471
+        if (this.mode == true) {
1472
+          this.form.mode = 1
1473
+        }
1474
+        if (this.mode == false) {
1475
+          this.form.mode = 2
1476
+        }
1477
+        if (this.dialyzers == true) {
1478
+          this.form.dialyzers = 1
1479
+        }
1480
+        if (this.dialyzers == false) {
1481
+          this.form.dialyzers = 2
1482
+        }
1483
+
1484
+        if (this.anticoagulant == true) {
1485
+          this.form.anticoagulant = 1
1486
+        }
1487
+        if (this.anticoagulant == false) {
1488
+          this.form.anticoagulant = 2
1489
+        }
1490
+        if (this.anticoagulant_zongliang == true) {
1491
+          this.form.anticoagulant_zongliang = 1
1492
+        }
1493
+        if (this.anticoagulant_zongliang == false) {
1494
+          this.form.anticoagulant_zongliang = 2
1495
+        }
1496
+        if (this.doctor_advice == true) {
1497
+          this.form.doctor_advice = 1
1498
+        }
1499
+        if (this.doctor_advice == false) {
1500
+          this.form.doctor_advice = 2
1501
+        }
1502
+        console.log('555555555', this.form.prescription_status)
1503
+        var params = {
1504
+          id: this.form.id,
1505
+          prescription_status: this.form.prescription_status,
1506
+          week: this.form.week,
1507
+          name: this.form.name,
1508
+          zone: this.form.zone,
1509
+          classes: this.form.classes,
1510
+          number: this.form.number,
1511
+          mode: this.form.mode,
1512
+          dialyzers: this.form.dialyzers,
1513
+          perfusion_apparatus: this.form.perfusion_apparatus,
1514
+          anticoagulant: this.form.anticoagulant,
1515
+          anticoagulant_zongliang: this.form.anticoagulant_zongliang,
1516
+          doctor_advice: this.form.doctor_advice
1517
+        }
1518
+        console.log('params', params)
1519
+        saveRemindPrint(params).then(response => {
1520
+          if (response.data.state == 1) {
1521
+            var settting = response.data.data.setting
1522
+            this.$message.success('保存成功')
1523
+            this.dialogVisibleOne = false
1524
+            this.getRemindPrintList()
1525
+          }
1526
+        })
1527
+      },
1528
+      toPrint(){
1529
+        this.$router.push({path: '/dialysis/consumable/dialysis/parameter/print?schedule_type='+this.query.schedule_type+"&partion_id="+this.query.partition_id+"&schedule_date="+this.query.schedule_date+"&keyword="+this.query.keywords+"&page="+this.query.page+"&limit="+this.query.limit})
1530
+      }
1038 1531
     }
1039 1532
   }
1040 1533
 </script>

+ 13 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

@@ -26,6 +26,12 @@
26 26
             <el-option v-for="(admin, index) in adminRoles" :key="index" :value="admin.id" :label="admin.name"></el-option>
27 27
           </el-select>
28 28
         </el-form-item>
29
+        
30
+        <el-form-item label="质控护士"  v-if="isShowFiled('质控护士')">
31
+          <el-select v-model="form.quality_nurse_id" placeholder="请选择质控护士">
32
+            <el-option v-for="(admin, index) in adminRoles" :key="index" :value="admin.id" :label="admin.name"></el-option>
33
+          </el-select>
34
+        </el-form-item>
29 35
 
30 36
         <el-form-item label="换药护士"  v-if="isShowFiled('换药护士')">
31 37
           <el-select v-model="form.change_nurse" placeholder="换药护士">
@@ -53,6 +59,8 @@
53 59
         </el-form-item>
54 60
 
55 61
 
62
+
63
+
56 64
         <el-form-item label="引血(ml/min)" v-if="isShowFiled('引血')">
57 65
           <el-input type="number" v-model="form.blood_drawing" style="width:200px;"></el-input>
58 66
         </el-form-item>
@@ -114,6 +122,7 @@
114 122
           change_nurse:"",
115 123
           difficult_puncture_nurse:"",
116 124
           new_fistula_nurse:"",
125
+          quality_nurse_id:"",
117 126
         },
118 127
         schedual_type: 0,
119 128
         schedules_type: [
@@ -195,7 +204,7 @@
195 204
         this.form.change_nurse = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id : this.dialysis_order.change_nurse
196 205
         this.form.difficult_puncture_nurse = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id:this.dialysis_order.difficult_puncture_nurse
197 206
         this.form.new_fistula_nurse = this.dialysis_order.id ==0?this.$store.getters.xt_user.user.id:this.dialysis_order.new_fistula_nurse
198
-
207
+        this.form.quality_nurse_id = this.dialysis_order.id == 0?this.$store.getters.xt_user.user.id:this.dialysis_order.quality_nurse_id
199 208
         var nowDate = new Date()
200 209
         var nowYear = nowDate.getFullYear()
201 210
         var nowMonth = nowDate.getMonth() + 1
@@ -372,7 +381,8 @@
372 381
         this.loading = true
373 382
         let mode = '1'
374 383
         var blood_drawing =  this.form.blood_drawing.toString()
375
-        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing).then(rs => {
384
+        console.log("质控护士",this.form.quality_nurse_id)
385
+        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing,this.form.quality_nurse_id).then(rs => {
376 386
           this.loading = false
377 387
           var resp = rs.data
378 388
           if (resp.state == 1) {
@@ -407,6 +417,7 @@
407 417
         ParamsQuery['difficult_puncture_nurse'] = this.form.difficult_puncture_nurse
408 418
         ParamsQuery['new_fistula_nurse'] = this.form.new_fistula_nurse
409 419
         ParamsQuery["blood_drawing"] = this.form.blood_drawing
420
+        ParamsQuery["quality_nurse"] = this.form.quality_nurse_id
410 421
         ParamsQuery['mode'] = "2"
411 422
         if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
412 423
           ParamsQuery['mode'] = "3"

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

@@ -82,7 +82,7 @@
82 82
                     </el-col>
83 83
 
84 84
                     <el-col :span="8"
85
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395)">
85
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60)">
86 86
                         <el-form-item label="目标超滤量(ml):">
87 87
                             <el-input
88 88
                                     type="number"
@@ -93,7 +93,7 @@
93 93
 
94 94
 
95 95
                     <el-col :span="8"
96
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395">
96
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60">
97 97
                         <el-form-item label="目标超滤量(L):">
98 98
                             <el-input
99 99
                                     type="number"

+ 10 - 0
src/xt_pages/dialysis/details/dialysisComputer.vue View File

@@ -39,6 +39,10 @@
39 39
           <label>新开瘘护士 : </label>
40 40
           <span class="content">{{ new_fistula_nurse }}</span>
41 41
         </li>
42
+        <li v-if="isShow('质控护士')">
43
+          <label>质控护士 : </label>
44
+          <span class="content">{{ quality_nurse_id }}</span>
45
+        </li>
42 46
         <li>
43 47
           <label>状态 : </label>
44 48
           <span class="content">{{ stage }}</span>
@@ -162,6 +166,12 @@
162 166
           return '-'
163 167
         }
164 168
         return this.admin_map[this.record.new_fistula_nurse] == null ? '' : this.admin_map[this.record.new_fistula_nurse].name
169
+      },
170
+      quality_nurse_id:function(){
171
+        if (this.record.id == 0) {
172
+          return '-'
173
+        }
174
+        return this.admin_map[this.record.quality_nurse_id] == null ? '' : this.admin_map[this.record.quality_nurse_id].name
165 175
       }
166 176
     },
167 177
     methods: {

+ 24 - 16
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

@@ -587,15 +587,15 @@
587 587
               <label-box showValue="压疮" :isChecked="predialysis.skin == 8 ? true : false"></label-box>
588 588
               <label-box showValue="皮下淤血" :isChecked="predialysis.skin == 9 ? true : false"></label-box> -->
589 589
 
590
-              <label-box showValue="完整" :isChecked="predialysis.skin.indexOf('完整') >-1 ? true : false"></label-box>
591
-              <label-box showValue="干燥" :isChecked="predialysis.skin.indexOf('干燥') >-1? true : false"></label-box>
592
-              <label-box showValue="瘙痒" :isChecked="predialysis.skin.indexOf('瘙痒') >-1 ? true : false"></label-box>
593
-              <label-box showValue="菲薄" :isChecked="predialysis.skin.indexOf('菲薄') >-1 ? true : false"></label-box>/
594
-              <label-box showValue="水肿" :isChecked="predialysis.skin.indexOf('水肿') >-1? true : false"></label-box>
595
-              <label-box showValue="皮疹" :isChecked="predialysis.skin.indexOf('皮疹') >-1? true : false"></label-box>
596
-              <label-box showValue="出血点" :isChecked="predialysis.skin.indexOf('出血点') >-1 ? true : false"></label-box>
597
-              <label-box showValue="压疮" :isChecked="predialysis.skin.indexOf('压疮') >-1 ? true : false"></label-box>
598
-              <label-box showValue="皮下淤血" :isChecked="predialysis.skin.indexOf('皮下淤血') >-1 ? true : false"></label-box>
590
+              <label-box showValue="完整" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('完整') >-1 ? true : false"></label-box>
591
+              <label-box showValue="干燥" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('干燥') >-1? true : false"></label-box>
592
+              <label-box showValue="瘙痒" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('瘙痒') >-1 ? true : false"></label-box>
593
+              <label-box showValue="菲薄" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('菲薄') >-1 ? true : false"></label-box>/
594
+              <label-box showValue="水肿" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('水肿') >-1? true : false"></label-box>
595
+              <label-box showValue="皮疹" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('皮疹') >-1? true : false"></label-box>
596
+              <label-box showValue="出血点" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('出血点') >-1 ? true : false"></label-box>
597
+              <label-box showValue="压疮" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('压疮') >-1 ? true : false"></label-box>
598
+              <label-box showValue="皮下淤血" :isChecked="predialysis.skin!=''&&predialysis.skin.indexOf('皮下淤血') >-1 ? true : false"></label-box>
599 599
             </td>
600 600
           </tr>
601 601
           <tr>
@@ -1067,7 +1067,16 @@
1067 1067
               </span>
1068 1068
             </td>-->
1069 1069
             <td style="text-align:left;" colspan="6">
1070
-              <span style="display:inline-block;margin-left:15px;">质控护士签名:</span>
1070
+              <span style="display:inline-block;margin-left:15px;">质控护士签名:
1071
+                <span v-if="setAdminUserES(dialysisOrder.quality_nurse_id) == ''">
1072
+                    {{getAdminUser(dialysisOrder.quality_nurse_id)}}
1073
+                </span>
1074
+              <span
1075
+                v-else style="align-items:center;justify-content:space-around;height:36px;"
1076
+              >
1077
+                <img style="height:30px;" :src="setAdminUserES(dialysisOrder.quality_nurse_id)" alt srcset />
1078
+              </span>
1079
+              </span>
1071 1080
             </td>
1072 1081
           </tr>
1073 1082
         </table>
@@ -1261,7 +1270,8 @@ export default {
1261 1270
       vascularAccess: [],
1262 1271
       nursing_record: '',
1263 1272
       special_record: '',
1264
-      newTableAdvice: []
1273
+      newTableAdvice: [],
1274
+      qualityNurse:{}
1265 1275
     }
1266 1276
   },
1267 1277
   methods: {
@@ -1620,8 +1630,7 @@ export default {
1620 1630
           this.actual_treatment_hour = afterdialysis.actual_treatment_hour
1621 1631
           this.actual_treatment_minute = afterdialysis.actual_treatment_minute
1622 1632
           this.systolic_blood_pressure = afterdialysis.systolic_blood_pressure
1623
-          this.diastolic_blood_pressure =
1624
-            afterdialysis.diastolic_blood_pressure
1633
+          this.diastolic_blood_pressure = afterdialysis.diastolic_blood_pressure
1625 1634
           this.afterdialysis = afterdialysis
1626 1635
           // eslint-disable-next-line no-unused-vars
1627 1636
           var doctoradvce = response.data.data.doctorAdvice
@@ -1834,7 +1843,7 @@ export default {
1834 1843
           // console.log('下机护士', finish_nurse)
1835 1844
           this.finshForm.url = finish_nurse.url
1836 1845
           this.finshForm.finish_nurse = finish_nurse.user_name
1837
-
1846
+        
1838 1847
           var doctorname = response.data.data.DoctorName
1839 1848
           // console.log('医师签名', doctorname)
1840 1849
           this.doctorForm.doctor = doctorname.user_name
@@ -1847,8 +1856,7 @@ export default {
1847 1856
           this.prescription_dewatering = dialysisway.prescription_dewatering
1848 1857
           this.blood_flow_volume = dialysisway.blood_flow_volume
1849 1858
           this.dialysate_flow = dialysisway.dialysate_flow
1850
-          this.dialyzer_perfusion_apparatus =
1851
-            dialysisway.dialyzer_perfusion_apparatus
1859
+          this.dialyzer_perfusion_apparatus =dialysisway.dialyzer_perfusion_apparatus
1852 1860
           this.dialysate_formulation = dialysisway.dialysate_formulation
1853 1861
           this.blood_access = dialysisway.blood_access
1854 1862
           this.displace_liqui = dialysisway.displace_liqui

+ 3 - 3
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue View File

@@ -52,7 +52,7 @@
52 52
           <el-button  type="primary" icon="el-icon-search" @click="seach">搜索</el-button>
53 53
          </div>
54 54
          <div>
55
-          <el-button  type="primary" @click="toOverCount">调试</el-button>
55
+          <!-- <el-button  type="primary" @click="toOverCount">调试</el-button> -->
56 56
            <el-button  type="primary" @click="toPrint">打印</el-button>
57 57
            <el-button  type="primary" @click="exportList">导出</el-button>
58 58
          </div>
@@ -198,7 +198,7 @@ export default {
198 198
      loading:false,
199 199
      pickerOptions:{ //禁用当前日期之前的日期
200 200
            disabledDate(v) {
201
-            return v.getTime() < 1667232000000
201
+            return v.getTime() < 1667491200000
202 202
           },
203 203
       },
204 204
     }
@@ -1016,7 +1016,7 @@ export default {
1016 1016
   },
1017 1017
    open(){
1018 1018
    
1019
-    this.start_time = moment().year(2022).month(10).date(1).format('YYYY-MM-DD')
1019
+    this.start_time = moment().year(2022).month(10).date(4).format('YYYY-MM-DD')
1020 1020
     this.end_time = moment(new Date()).add('year',0).format("YYYY-MM-DD")
1021 1021
     this.houseList= []
1022 1022
     this.drugTypeList = []

+ 4 - 4
src/xt_pages/stock/drugs/drugNewQuery.vue View File

@@ -10,13 +10,13 @@
10 10
               <DrugQuery></DrugQuery>
11 11
             </el-tab-pane>
12 12
           
13
-           <el-tab-pane label="进销存查询" name="second">
13
+           <!-- <el-tab-pane label="进销存查询" name="second">
14 14
               <PurchaseDrugQuery ref="mychild"></PurchaseDrugQuery>
15
-            </el-tab-pane> 
15
+            </el-tab-pane>  -->
16 16
 
17
-             <!-- <el-tab-pane label="进销存查询" name="five">
17
+             <el-tab-pane label="进销存查询" name="five">
18 18
                <PurchaseNewDrugQuery ref="mychildfive"></PurchaseNewDrugQuery>
19
-            </el-tab-pane> -->
19
+            </el-tab-pane>
20 20
         
21 21
             <el-tab-pane label="有效期查询" name="third">
22 22
                 <ExpiryDateDrugQuery ref="mychildOne"></ExpiryDateDrugQuery>

+ 3 - 3
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

@@ -53,7 +53,7 @@
53 53
           <el-button  type="primary" icon="el-icon-search" @click="seach">搜索</el-button>
54 54
          </div>
55 55
          <div>
56
-          <el-button type="primary" size="small" @click="toOverCount">调试</el-button>
56
+          <!-- <el-button type="primary" size="small" @click="toOverCount">调试</el-button> -->
57 57
            <el-button type="primary" size="small" @click="toPrint">打印</el-button>
58 58
            <el-button type="primary" size="small" @click="exportList">导出</el-button>
59 59
          </div>
@@ -202,7 +202,7 @@ export default {
202 202
      loading:false,
203 203
      pickerOptions:{ //禁用当前日期之前的日期
204 204
            disabledDate(v) {
205
-            return v.getTime() < 1667232000000
205
+            return v.getTime() < 1667491200000
206 206
           },
207 207
       },
208 208
     }
@@ -682,7 +682,7 @@ export default {
682 682
     }
683 683
    },
684 684
    open(){
685
-    this.start_time = moment().year(2022).month(10).date(1).format('YYYY-MM-DD')
685
+    this.start_time = moment().year(2022).month(10).date(4).format('YYYY-MM-DD')
686 686
     this.end_time = moment(new Date()).add('year',0).format("YYYY-MM-DD")
687 687
     this.houseList = []
688 688
     this.goodTypeList= []

+ 4 - 4
src/xt_pages/stock/stockNewQuery.vue View File

@@ -10,13 +10,13 @@
10 10
               <GoodNewQuery></GoodNewQuery>
11 11
             </el-tab-pane>
12 12
           
13
-            <el-tab-pane label="进销存查询" name="second">
13
+            <!-- <el-tab-pane label="进销存查询" name="second">
14 14
                <PurchaseStockQuery ref="mychild"></PurchaseStockQuery>
15
-            </el-tab-pane>
16
-<!-- 
15
+            </el-tab-pane> -->
16
+
17 17
              <el-tab-pane label="进销存查询" name="five">
18 18
                <PurchaseNewStockQuery ref="mychildfive"></PurchaseNewStockQuery>
19
-            </el-tab-pane> -->
19
+            </el-tab-pane>
20 20
          
21 21
             <el-tab-pane label="有效期查询" name="third">
22 22
                 <expiryDateQuery ref="mychildone"></expiryDateQuery>

+ 5 - 5
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -309,11 +309,11 @@
309 309
             </el-table-column>
310 310
         </el-table>
311 311
 
312
-        <el-dialog
313
-                title="打印设置"
314
-                :visible.sync="dialogVisible"
315
-                width="30%"
316
-        >
312
+    <el-dialog
313
+            title="打印设置"
314
+            :visible.sync="dialogVisible"
315
+            width="30%"
316
+    >
317 317
      <span>
318 318
        <ul>
319 319
          <li>