Browse Source

添加字段

csx 5 years ago
parent
commit
de60d47fb8

+ 1 - 1
build/cdn.json View File

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "1.0.31"
2
+  "version": "1.0.41"
3 3
 }

+ 3 - 5
src/pages/main/dialog/MonitDialog.vue View File

@@ -22,7 +22,7 @@
22 22
                 <th v-if="isShow('血压')" width="72px">血压(mmHg)</th>
23 23
                 <th v-if="isShow('脉搏')" width="80px">脉搏(次/分)</th>
24 24
                 <th v-if="isShow('体温')" width="80px">体温(℃)</th>
25
-                <th v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
25
+                <th v-if="isShow('呼吸频率')" width="110px">呼吸频率(次/分)</th>
26 26
                 <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
27 27
                 <th width="76px">静脉压/动脉压(mmHg)</th>
28 28
                 <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmHg)</th>
@@ -46,7 +46,7 @@
46 46
                 </td>
47 47
                 <td v-if="isShow('脉搏')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
48 48
                 <td v-if="isShow('体温')">{{item.temperature?item.temperature:''}}</td>
49
-                <td v-if="isShow('呼吸')">{{item.breathing_rate?item.breathing_rate:''}}</td>
49
+                <td v-if="isShow('呼吸频率')">{{item.breathing_rate?item.breathing_rate:''}}</td>
50 50
                 <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
51 51
                 <td>
52 52
                   {{item.venous_pressure?item.venous_pressure:''}}/{{item.arterial_pressure?item.arterial_pressure:''}}
@@ -59,8 +59,6 @@
59 59
                 <td v-if="isShow('置换量')">{{item.displacement_quantity?item.displacement_quantity:''}}</td>
60 60
                 <td v-if="isShow('电导度')">{{item.conductivity?item.conductivity:''}}</td>
61 61
                 <td v-if="isShow('置换液流量')">{{item.displacement_flow_quantity?item.displacement_flow_quantity:''}}</td>
62
-
63
-
64 62
                 <td v-if="isShow('病情变化')">{{item.symptom}}</td>
65 63
                 <td v-if="isShow('处理')">{{item.dispose}}</td>
66 64
                 <td v-if="isShow('结果')">{{item.result}}</td>
@@ -690,7 +688,7 @@
690 688
           this.form.conductivity = this.currentRow.conductivity
691 689
         }
692 690
 
693
-        if (this.currentRow.conductivity == 0) {
691
+        if (this.currentRow.displacement_flow_quantity == 0) {
694 692
           this.form.displacement_flow_quantity = ''
695 693
         } else {
696 694
           this.form.displacement_flow_quantity = this.currentRow.displacement_flow_quantity

+ 18 - 1
src/pages/main/dialog/PrescriptionDialog.vue View File

@@ -165,7 +165,7 @@
165 165
             <input type="tel" @focus="inputFocus" id="dtl" v-model="dialysisPrescription.conductivity"/>
166 166
           </div>
167 167
         </div>
168
-        <div class="item" v-if="isShow('透析器/灌流器')&&config.is_open != 1">
168
+        <div class="item" v-if="isShow('透析器/灌流器')">
169 169
           <label class="name" for="dtl">透析器/灌流器</label>
170 170
           <div class="content">
171 171
 
@@ -434,6 +434,14 @@
434 434
           dialyser_sterilised:'',
435 435
           filtryzer:'',
436 436
           target_ktv:'',
437
+          dialyzers:'',
438
+          injector:'',
439
+          bloodlines:'',
440
+          tubing_hemodialysis:'',
441
+          package:'',
442
+          a_liquid:'',
443
+
444
+
437 445
         },
438 446
         anticoagulant: {
439 447
           id: 0,
@@ -964,6 +972,15 @@
964 972
         this.dialysisPrescription.dialyser_sterilised = dialysisPrescription.dialyser_sterilised
965 973
         this.dialysisPrescription.filtryzer = dialysisPrescription.filtryzer
966 974
 
975
+
976
+
977
+        this.dialysisPrescription.dialyzers = dialysisPrescription.dialyzers
978
+        this.dialysisPrescription.injector = dialysisPrescription.injector
979
+        this.dialysisPrescription.bloodlines = dialysisPrescription.bloodlines
980
+        this.dialysisPrescription.tubing_hemodialysis = dialysisPrescription.tubing_hemodialysis
981
+        this.dialysisPrescription.package = dialysisPrescription.package
982
+        this.dialysisPrescription.a_liquid = dialysisPrescription.a_liquid
983
+
967 984
       }
968 985
     },
969 986
     created() {

+ 205 - 9
src/pages/main/dialog/subMenu/multipleSubMenu.vue View File

@@ -7,55 +7,116 @@
7 7
         <span class="success" @click="success()">完成</span>
8 8
       </div>
9 9
       <div class="DialogContent" id="dialogTop">
10
-        <div class="item" value="item" @click="itemClick(83,'niprocart')" ref="niprocart" v-if="isShow('血液透析干粉')">
10
+        <div class="item" value="item" @click="itemClick(1,'niprocart')" ref="niprocart" v-if="isShow('血液透析干粉')">
11 11
           <label class="name">血液透析干粉</label>
12 12
           <div class="content">
13 13
             <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.niprocart)}}</span>
14 14
             <span class="iconfont">&#xe6f9;</span>
15 15
           </div>
16 16
         </div>
17
-        <div class="item" value="item" @click="itemClick(80,'jms')" ref="jms" v-if="isShow('一次性使用动静脉穿刺针')">
17
+        <div class="item" value="item" @click="itemClick(2,'jms')" ref="jms" v-if="isShow('一次性使用动静脉穿刺针')">
18 18
           <label class="name">一次性使用动静脉穿刺针</label>
19 19
           <div class="content">
20 20
             <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.jms)}}</span>
21 21
             <span class="iconfont">&#xe6f9;</span>
22 22
           </div>
23 23
         </div>
24
-        <div class="item" value="item" @click="itemClick(81,'fistula_needle_set')" ref="fistula_needle_set"  v-if="isShow('内瘘管翼状针')">
24
+        <div class="item" value="item" @click="itemClick(3,'fistula_needle_set')" ref="fistula_needle_set"  v-if="isShow('内瘘管翼状针')">
25 25
           <label class="name">内瘘管翼状针</label>
26 26
           <div class="content">
27 27
             <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.fistula_needle_set)}}</span>
28 28
             <span class="iconfont">&#xe6f9;</span>
29 29
           </div>
30 30
         </div>
31
-        <div class="item" value="item" @click="itemClick(82,'fistula_needle_set_16')" ref="fistula_needle_set_16" v-if="isShow('内瘘管翼状针16G')">
31
+        <div class="item" value="item" @click="itemClick(4,'fistula_needle_set_16')" ref="fistula_needle_set_16" v-if="isShow('内瘘管翼状针16G')">
32 32
           <label class="name">内瘘管翼状针16G</label>
33 33
           <div class="content">
34 34
             <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.fistula_needle_set_16)}}</span>
35 35
             <span class="iconfont">&#xe6f9;</span>
36 36
           </div>
37 37
         </div>
38
-        <div class="item" value="item" @click="itemClick(85,'hemoperfusion')" ref="hemoperfusion" v-if="isShow('一次性使用血液灌流器')">
38
+        <div class="item" value="item" @click="itemClick(5,'hemoperfusion')" ref="hemoperfusion" v-if="isShow('一次性使用血液灌流器')">
39 39
           <label class="name">一次性使用血液灌流器</label>
40 40
           <div class="content">
41 41
             <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.hemoperfusion)}}</span>
42 42
             <span class="iconfont">&#xe6f9;</span>
43 43
           </div>
44 44
         </div>
45
-        <div class="item" value="item" @click="itemClick(84,'dialyser_sterilised')" ref="dialyser_sterilised" v-if="isShow('空心纤维血液透析器')">
45
+        <div class="item" value="item" @click="itemClick(6,'dialyser_sterilised')" ref="dialyser_sterilised" v-if="isShow('空心纤维血液透析器')">
46 46
           <label class="name">空心纤维血液透析器</label>
47 47
           <div class="content">
48 48
             <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.dialyser_sterilised)}}</span>
49 49
             <span class="iconfont">&#xe6f9;</span>
50 50
           </div>
51 51
         </div>
52
-        <div class="item" value="item" @click="itemClick(79,'filtryzer')" ref="filtryzer" v-if="isShow('中空纤维透析器')">
52
+        <div class="item" value="item" @click="itemClick(7,'filtryzer')" ref="filtryzer" v-if="isShow('中空纤维透析器')">
53 53
           <label class="name">中空纤维透析器</label>
54 54
           <div class="content">
55 55
             <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.filtryzer)}}</span>
56 56
             <span class="iconfont">&#xe6f9;</span>
57 57
           </div>
58 58
         </div>
59
+
60
+        <div class="item" value="item" @click="itemClick(8,'dialyzers')" ref="dialyzers" v-if="isShow('透析器')">
61
+          <label class="name">透析器</label>
62
+          <div class="content">
63
+            <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.dialyzers)}}</span>
64
+            <span class="iconfont">&#xe6f9;</span>
65
+          </div>
66
+        </div>
67
+
68
+
69
+        <div class="item" value="item" @click="itemClick(9,'injector')" ref="injector" v-if="isShow('注射器')">
70
+          <label class="name">注射器</label>
71
+          <div class="content">
72
+            <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.injector)}}</span>
73
+            <span class="iconfont">&#xe6f9;</span>
74
+          </div>
75
+        </div>
76
+
77
+
78
+
79
+        <div class="item" value="item" @click="itemClick(10,'bloodlines')" ref="bloodlines" v-if="isShow('体外循环血路管')">
80
+          <label class="name">体外循环血路管</label>
81
+          <div class="content">
82
+            <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.bloodlines)}}</span>
83
+            <span class="iconfont">&#xe6f9;</span>
84
+          </div>
85
+        </div>
86
+
87
+
88
+        <div class="item" value="item" @click="itemClick(11,'tubing_hemodialysis')" ref="tubing_hemodialysis" v-if="isShow('血液净化补液管路(置换管)')">
89
+          <label class="name">血液净化补液管路(置换管)</label>
90
+          <div class="content">
91
+            <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.tubing_hemodialysis)}}</span>
92
+            <span class="iconfont">&#xe6f9;</span>
93
+          </div>
94
+        </div>
95
+
96
+
97
+
98
+        <div class="item" value="item" @click="itemClick(12,'package')" ref="package" v-if="isShow('护理包')">
99
+        <label class="name">护理包</label>
100
+        <div class="content">
101
+          <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.package)}}</span>
102
+          <span class="iconfont">&#xe6f9;</span>
103
+        </div>
104
+      </div>
105
+
106
+
107
+        <div class="item" value="item" @click="itemClick(13,'a_liquid')" ref="a_liquid" v-if="isShow('A液')">
108
+          <label class="name">A液</label>
109
+          <div class="content">
110
+            <span class="text" id="knjaa">{{getValue(this.dialysisPrescription.a_liquid)}}</span>
111
+            <span class="iconfont">&#xe6f9;</span>
112
+          </div>
113
+        </div>
114
+
115
+
116
+
117
+
118
+
119
+
59 120
       </div>
60 121
     </div>
61 122
     <new-check-box-sub-menu :show="is_show" v-on:menu-cancle="menuCancle" v-on:menu-comfirm="menuComfirm"
@@ -107,8 +168,8 @@
107 168
       }, closeDialog () {
108 169
         this.$emit('menu-cancel-two')
109 170
       },
110
-      itemClick (type_id, name) {
111
-        getWarehouseGoodInfo(type_id).then(response => {
171
+      itemClick (type, name) {
172
+        getWarehouseGoodInfo(type).then(response => {
112 173
           if (response.data.state == 0) {
113 174
             Toast.fail(response.data.msg)
114 175
             return false
@@ -222,6 +283,89 @@
222 283
                 this.propForm.selectId = this.dialysisPrescription.filtryzer
223 284
                 this.propForm.click_ref = 'filtryzer'
224 285
                 break
286
+
287
+
288
+              case 'dialyzers':
289
+                this.propForm.type = 8
290
+                this.is_show = true
291
+                this.visibility = false
292
+                this.propForm.title = '透析器'
293
+                this.propForm.list = []
294
+                this.propForm.optionList = []
295
+                this.propForm.optionList = goodInfoArray
296
+                this.propForm.isMultiple = 1
297
+                this.propForm.selectId = this.dialysisPrescription.dialyzers
298
+                this.propForm.click_ref = 'dialyzers'
299
+                break
300
+
301
+
302
+              case 'injector':
303
+                this.propForm.type = 9
304
+                this.is_show = true
305
+                this.visibility = false
306
+                this.propForm.title = '注射器'
307
+                this.propForm.list = []
308
+                this.propForm.optionList = []
309
+                this.propForm.optionList = goodInfoArray
310
+                this.propForm.isMultiple = 1
311
+                this.propForm.selectId = this.dialysisPrescription.injector
312
+                this.propForm.click_ref = 'injector'
313
+                break
314
+
315
+
316
+              case 'bloodlines':
317
+                this.propForm.type = 10
318
+                this.is_show = true
319
+                this.visibility = false
320
+                this.propForm.title = '体外循环血路管'
321
+                this.propForm.list = []
322
+                this.propForm.optionList = []
323
+                this.propForm.optionList = goodInfoArray
324
+                this.propForm.isMultiple = 1
325
+                this.propForm.selectId = this.dialysisPrescription.bloodlines
326
+                this.propForm.click_ref = 'bloodlines'
327
+                break
328
+
329
+
330
+              case 'tubing_hemodialysis':
331
+                this.propForm.type = 11
332
+                this.is_show = true
333
+                this.visibility = false
334
+                this.propForm.title = '血液净化补液管路(置换管)'
335
+                this.propForm.list = []
336
+                this.propForm.optionList = []
337
+                this.propForm.optionList = goodInfoArray
338
+                this.propForm.isMultiple = 1
339
+                this.propForm.selectId = this.dialysisPrescription.tubing_hemodialysis
340
+                this.propForm.click_ref = 'tubing_hemodialysis'
341
+                break
342
+
343
+
344
+              case 'package':
345
+                this.propForm.type = 12
346
+                this.is_show = true
347
+                this.visibility = false
348
+                this.propForm.title = '护理包'
349
+                this.propForm.list = []
350
+                this.propForm.optionList = []
351
+                this.propForm.optionList = goodInfoArray
352
+                this.propForm.isMultiple = 1
353
+                this.propForm.selectId = this.dialysisPrescription.package
354
+                this.propForm.click_ref = 'package'
355
+                break
356
+
357
+              case 'a_liquid':
358
+                this.propForm.type = 13
359
+                this.is_show = true
360
+                this.visibility = false
361
+                this.propForm.title = 'A液'
362
+                this.propForm.list = []
363
+                this.propForm.optionList = []
364
+                this.propForm.optionList = goodInfoArray
365
+                this.propForm.isMultiple = 1
366
+                this.propForm.selectId = this.dialysisPrescription.a_liquid
367
+                this.propForm.click_ref = 'a_liquid'
368
+                break
225 369
             }
226 370
           }
227 371
         })
@@ -300,6 +444,58 @@
300 444
               this.dialysisPrescription.filtryzer = 0
301 445
             }
302 446
             break
447
+
448
+
449
+          case 8:
450
+            if (val.selectId != -2) {
451
+              this.dialysisPrescription.dialyzers = val.selectId
452
+            }else{
453
+              this.dialysisPrescription.dialyzers = 0
454
+            }
455
+            break
456
+
457
+          case 9:
458
+            if (val.selectId != -2) {
459
+              this.dialysisPrescription.injector = val.selectId
460
+            }else{
461
+              this.dialysisPrescription.injector = 0
462
+            }
463
+            break
464
+
465
+
466
+          case 10:
467
+            if (val.selectId != -2) {
468
+              this.dialysisPrescription.bloodlines = val.selectId
469
+            }else{
470
+              this.dialysisPrescription.bloodlines = 0
471
+            }
472
+            break
473
+
474
+
475
+          case 11:
476
+            if (val.selectId != -2) {
477
+              this.dialysisPrescription.tubing_hemodialysis = val.selectId
478
+            }else{
479
+              this.dialysisPrescription.tubing_hemodialysis = 0
480
+            }
481
+            break
482
+
483
+          case 12:
484
+            if (val.selectId != -2) {
485
+              this.dialysisPrescription.package = val.selectId
486
+            }else{
487
+              this.dialysisPrescription.package = 0
488
+            }
489
+            break
490
+
491
+
492
+          case 13:
493
+            if (val.selectId != -2) {
494
+              this.dialysisPrescription.a_liquid = val.selectId
495
+            }else{
496
+              this.dialysisPrescription.a_liquid = 0
497
+            }
498
+            break
303 499
         }
304 500
       }, isShow(name){
305 501
         var filedList = this.$store.getters.user.fileds

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

@@ -469,7 +469,7 @@
469 469
           monitor.conductivity
470 470
         this.monitor_records[monitor_index].displacement_flow_quantity =
471 471
           monitor.displacement_flow_quantity
472
-        this.monitor_records.sort((a, b) => b.operate_time - a.operate_time)
472
+        this.monitor_records.sort((a, b) =>a.operate_time - b.operate_time )
473 473
 
474 474
         // if (monitor_index >= 0) {
475 475
         //   var record = this.monitor_records[monitor_index]

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

@@ -19,7 +19,6 @@
19 19
           <th v-if="isShow('置换量')"  width="92px">置换量(L)</th>
20 20
           <th v-if="isShow('电导度')"  width="92px">电导度(mS/m)</th>
21 21
           <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
22
-
23 22
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
24 23
           <th v-if="isShow('处理')" width="92px">处理</th>
25 24
           <th v-if="isShow('结果')" width="92px">结果</th>
@@ -27,9 +26,10 @@
27 26
         <tr v-for="(item,index) in tableDate" :key="index" :value="item.value">
28 27
           <td v-if="isShow('监测时间')">{{parseTime(item.operate_time, "{y}-{m}-{d} {h}:{i}")}}</td>
29 28
           <td v-if="isShow('体温')">{{item.temperature?item.temperature:''}}</td>
29
+          <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
30
+
30 31
           <td v-if="isShow('脉搏')">{{item.pulse_frequency?item.pulse_frequency:''}}</td>
31 32
           <td v-if="isShow('呼吸频率')">{{item.breathing_rate?item.breathing_rate:''}}</td>
32
-          <td v-if="isShow('血压')">{{item.systolic_blood_pressure?item.systolic_blood_pressure:''}}/{{item.diastolic_blood_pressure?item.diastolic_blood_pressure:''}}</td>
33 33
           <td>{{item.venous_pressure?item.venous_pressure:''}}/{{item.arterial_pressure?item.arterial_pressure:''}}</td>
34 34
           <td v-if="isShow('血流量')">{{item.blood_flow_volume?item.blood_flow_volume:''}}</td>
35 35
           <td v-if="isShow('跨膜压')">{{item.transmembrane_pressure?item.transmembrane_pressure:''}}</td>