|
@@ -25,6 +25,22 @@
|
25
|
25
|
<el-switch v-model="is_open_xt_his" @change="changeFuncOne"></el-switch>
|
26
|
26
|
</p>
|
27
|
27
|
</div>
|
|
28
|
+
|
|
29
|
+ <div class="configBox">
|
|
30
|
+ <p style="font-size:18px;font-weight:bold">血压数据自动获取</p>
|
|
31
|
+ <p style="font-size:14px;margin-top:5px;color:#333;">在联机的状态下,开启透析监测-血压数据自动获取功能后,则不需要手动输入,数据会自动上传到监测中</p>
|
|
32
|
+ <p style="margin-top:20px;">透析监测-血压数据自动获取:
|
|
33
|
+ <el-switch v-model="is_open_monitor" @change="changeFuncTwo"></el-switch>
|
|
34
|
+ </p>
|
|
35
|
+ </div>
|
|
36
|
+
|
|
37
|
+ <div class="configBox">
|
|
38
|
+ <p style="font-size:18px;font-weight:bold">透析机数据自动获取</p>
|
|
39
|
+ <p style="font-size:14px;margin-top:5px;color:#333;">在联机的状态下,开启透析监测-透析机数据自动获取功能后,则不需要手动输入,数据会自动上传到监测中</p>
|
|
40
|
+ <p style="margin-top:20px;">透析监测-血压数据自动获取:
|
|
41
|
+ <el-switch v-model="is_open_order" @change="changeFuncThree"></el-switch>
|
|
42
|
+ </p>
|
|
43
|
+ </div>
|
28
|
44
|
<!--<div class="configBox">-->
|
29
|
45
|
<!--<p>药品,耗材出库</p>-->
|
30
|
46
|
<!--<p style="font-size:14px;margin-top:5px;">开启药品,耗材出库自动扣减则医生开完医嘱或处方可直接出库,不开启则由发药动作或出库按钮手动出库</p>-->
|
|
@@ -62,7 +78,7 @@
|
62
|
78
|
|
63
|
79
|
<script>
|
64
|
80
|
import BreadCrumb from "@/xt_pages/components/bread-crumb";
|
65
|
|
-import { getAllIsOpenInit,postXtHisIsOpen } from '@/api/config'
|
|
81
|
+import { getAllIsOpenInit,postXtHisIsOpen,postMonitorIsOpen } from '@/api/config'
|
66
|
82
|
|
67
|
83
|
export default {
|
68
|
84
|
name: "printTemplate",
|
|
@@ -76,6 +92,8 @@ export default {
|
76
|
92
|
],
|
77
|
93
|
value:false,
|
78
|
94
|
is_open_xt_his:false,
|
|
95
|
+ is_open_monitor:false,
|
|
96
|
+ is_open_order:false,
|
79
|
97
|
};
|
80
|
98
|
},
|
81
|
99
|
methods: {
|
|
@@ -126,9 +144,18 @@ export default {
|
126
|
144
|
}
|
127
|
145
|
)
|
128
|
146
|
}
|
|
147
|
+ },
|
129
|
148
|
|
|
149
|
+ changeFuncTwo(){
|
|
150
|
+
|
|
151
|
+ let params = {
|
|
152
|
+ is_open:this.is_open_monitor
|
|
153
|
+ }
|
|
154
|
+ postMonitorIsOpen(params).then(response=>{
|
|
155
|
+ if(response.data.state == 1){
|
130
|
156
|
|
131
|
|
-
|
|
157
|
+ }
|
|
158
|
+ })
|
132
|
159
|
}
|
133
|
160
|
|
134
|
161
|
},
|