|
@@ -151,7 +151,7 @@ export default {
|
151
|
151
|
if(response.data.data.is_prescription_advice == 1){
|
152
|
152
|
this.is_open_prescription_xt_his = true
|
153
|
153
|
}else{
|
154
|
|
- this.is_open_advice_xt_his = false
|
|
154
|
+ this.is_open_prescription_xt_his = false
|
155
|
155
|
}
|
156
|
156
|
|
157
|
157
|
} else {
|
|
@@ -359,16 +359,17 @@ export default {
|
359
|
359
|
})
|
360
|
360
|
},
|
361
|
361
|
changeFuncSeven(){
|
362
|
|
- var is_open_prescription_xt_his = 2
|
363
|
|
- if(this.is_open_advice_xt_his == false){
|
|
362
|
+ var is_open_prescription_xt_his = 0
|
|
363
|
+ if(this.is_open_prescription_xt_his == false){
|
364
|
364
|
is_open_prescription_xt_his = 2
|
365
|
365
|
}
|
366
|
|
- if(this.is_open_advice_xt_his == true){
|
367
|
|
- is_open_prescription_xt_his = 2
|
|
366
|
+ if(this.is_open_prescription_xt_his == true){
|
|
367
|
+ is_open_prescription_xt_his = 1
|
368
|
368
|
}
|
369
|
369
|
var params = {
|
370
|
370
|
is_open_prescription_xt_his:is_open_prescription_xt_his,
|
371
|
371
|
}
|
|
372
|
+ console.log("param22332323232",params)
|
372
|
373
|
changePrescriptionConfig(params).then(response=>{
|
373
|
374
|
if(response.data.state == 1){
|
374
|
375
|
var msg = response.data.data.msg
|