|
@@ -1634,7 +1634,6 @@ export default {
|
1634
|
1634
|
|
1635
|
1635
|
}
|
1636
|
1636
|
this.isloading = true
|
1637
|
|
- console.log('param32323232323323223233232332', params)
|
1638
|
1637
|
getPatientInfo(params).then(response => {
|
1639
|
1638
|
if (response.data.state == 0) {
|
1640
|
1639
|
this.$message.error(response.data.msg)
|
|
@@ -1855,8 +1854,7 @@ export default {
|
1855
|
1854
|
preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
|
1856
|
1855
|
}
|
1857
|
1856
|
}
|
1858
|
|
- console.log('is_medicine')
|
1859
|
|
- console.log(is_medicine)
|
|
1857
|
+
|
1860
|
1858
|
|
1861
|
1859
|
let index = i + 1
|
1862
|
1860
|
let obj = {
|
|
@@ -2027,11 +2025,12 @@ export default {
|
2027
|
2025
|
obj.med_type = ''
|
2028
|
2026
|
|
2029
|
2027
|
} else {
|
2030
|
|
-
|
2031
|
2028
|
obj.med_type = parseInt(prescription.med_type)
|
2032
|
2029
|
}
|
|
2030
|
+
|
|
2031
|
+
|
2033
|
2032
|
if (obj.med_type == 0 || obj.med_type == '') {
|
2034
|
|
- if (this.org_id != 10206) {
|
|
2033
|
+ if (this.org_id != 10206 && this.org_id != 0) {
|
2035
|
2034
|
obj.med_type = 14
|
2036
|
2035
|
} else {
|
2037
|
2036
|
obj.med_type = 1
|
|
@@ -2055,6 +2054,10 @@ export default {
|
2055
|
2054
|
}
|
2056
|
2055
|
if (this.org_id != 10206) {
|
2057
|
2056
|
obj.med_type = 14
|
|
2057
|
+ }else{
|
|
2058
|
+
|
|
2059
|
+ obj.med_type = 1
|
|
2060
|
+
|
2058
|
2061
|
}
|
2059
|
2062
|
this.prescriptions.push(obj)
|
2060
|
2063
|
|
|
@@ -4215,7 +4218,7 @@ export default {
|
4215
|
4218
|
med_type: ''
|
4216
|
4219
|
|
4217
|
4220
|
}
|
4218
|
|
- if (this.org_id != 10206) {
|
|
4221
|
+ if (this.org_id != 10206 && this.org_id != 0) {
|
4219
|
4222
|
if (prescription.med_type == 0 || prescription.med_type == '') {
|
4220
|
4223
|
|
4221
|
4224
|
obj.med_type = ''
|
|
@@ -4230,9 +4233,10 @@ export default {
|
4230
|
4233
|
|
4231
|
4234
|
}
|
4232
|
4235
|
}else{
|
4233
|
|
-
|
4234
|
|
- obj.med_type = prescription.med_type
|
4235
|
|
-
|
|
4236
|
+ obj.med_type = parseInt(prescription.med_type)
|
|
4237
|
+ if (obj.med_type == 0 || obj.med_type == '') {
|
|
4238
|
+ obj.med_type = 1
|
|
4239
|
+ }
|
4236
|
4240
|
}
|
4237
|
4241
|
this.prescriptions.push(obj)
|
4238
|
4242
|
}
|
|
@@ -4252,7 +4256,7 @@ export default {
|
4252
|
4256
|
if (this.org_id != 10206) {
|
4253
|
4257
|
obj.med_type = 14
|
4254
|
4258
|
}else{
|
4255
|
|
- obj.med_type = "1"
|
|
4259
|
+ obj.med_type = 1
|
4256
|
4260
|
}
|
4257
|
4261
|
|
4258
|
4262
|
this.prescriptions.push(obj)
|
|
@@ -4921,9 +4925,13 @@ export default {
|
4921
|
4925
|
med_type: ''
|
4922
|
4926
|
|
4923
|
4927
|
}
|
4924
|
|
- if (this.org_id != 10206) {
|
|
4928
|
+ if (this.org_id != 10206 && this.org_id != 0) {
|
4925
|
4929
|
|
4926
|
4930
|
obj.med_type = 14
|
|
4931
|
+ }else{
|
|
4932
|
+
|
|
4933
|
+ obj.med_type = 1
|
|
4934
|
+
|
4927
|
4935
|
}
|
4928
|
4936
|
|
4929
|
4937
|
this.prescriptions.push(obj)
|