|
@@ -540,6 +540,9 @@
|
540
|
540
|
{value: 18, label: "预防接种"},
|
541
|
541
|
{value: 19, label: "门诊输血"},
|
542
|
542
|
{value: 91, label: "新冠肺炎门诊"},
|
|
543
|
+ {value: 1111, label: "精一"},
|
|
544
|
+ {value: 1112, label: "精二"},
|
|
545
|
+
|
543
|
546
|
],
|
544
|
547
|
|
545
|
548
|
isLastOrNextVisible: false,
|
|
@@ -1951,36 +1954,11 @@
|
1951
|
1954
|
this.doctorValue = info.doctor_id
|
1952
|
1955
|
this.departmentValue = info.departments
|
1953
|
1956
|
} else {
|
1954
|
|
- if (hisPatientInfo.doctor != 0 && hisPatientInfo.department != 0) {
|
1955
|
|
- this.doctorValue = hisPatientInfo.doctor
|
1956
|
|
- this.departmentValue = hisPatientInfo.department
|
1957
|
|
- } else {
|
1958
|
|
- if (admin_info.user_type == 2) {
|
1959
|
|
- this.doctorValue = admin_info.admin_user_id
|
1960
|
|
- if (admin_info.department_id == 0) {
|
1961
|
|
- if (this.department.length > 0) {
|
1962
|
|
- if (department && department.length > 0) {
|
1963
|
|
- this.departmentValue = department[0].id
|
1964
|
|
-
|
1965
|
|
- } else {
|
1966
|
|
-
|
1967
|
|
- this.departmentValue = ''
|
|
1957
|
+ this.doctorValue = this.doctors[0].id
|
|
1958
|
+ this.departmentValue = this.department[0].id
|
1968
|
1959
|
|
1969
|
|
- }
|
1970
|
|
- } else {
|
1971
|
|
- this.departmentValue = ''
|
1972
|
|
- }
|
1973
|
|
- } else {
|
1974
|
|
- this.departmentValue = admin_info.department_id
|
1975
|
|
- }
|
1976
|
|
- } else {
|
1977
|
|
- this.doctorValue = doctors[0].admin_user_id
|
1978
|
|
- }
|
1979
|
|
- if (this.doctorValue == 0) {
|
1980
|
|
- this.doctorValue = ''
|
1981
|
|
- }
|
1982
|
|
- }
|
1983
|
1960
|
}
|
|
1961
|
+
|
1984
|
1962
|
if (info.register_type == 0) {
|
1985
|
1963
|
for (let i = 0; i < this.register.length; i++) {
|
1986
|
1964
|
this.register_type = this.register[0].value
|
|
@@ -1990,7 +1968,6 @@
|
1990
|
1968
|
}
|
1991
|
1969
|
this.diagnose = []
|
1992
|
1970
|
|
1993
|
|
-
|
1994
|
1971
|
if(info.id == 0){
|
1995
|
1972
|
if(last_info.diagnosis.length == 0){
|
1996
|
1973
|
this.diagnose = []
|
|
@@ -2008,7 +1985,6 @@
|
2008
|
1985
|
this.diagnose.push(parseInt(info.diagnosis.split(",")[i]))
|
2009
|
1986
|
|
2010
|
1987
|
}
|
2011
|
|
- // this.diagnose = info.diagnosis.split(",")
|
2012
|
1988
|
|
2013
|
1989
|
}
|
2014
|
1990
|
|
|
@@ -2827,12 +2803,16 @@
|
2827
|
2803
|
})
|
2828
|
2804
|
},
|
2829
|
2805
|
selectTeam(row) {
|
|
2806
|
+ console.log(row)
|
2830
|
2807
|
var arr = []
|
2831
|
2808
|
for (let i = 0; i < row.length; i++) {
|
2832
|
2809
|
arr.push(row[i].item_id)
|
2833
|
2810
|
}
|
|
2811
|
+ console.log(arr)
|
2834
|
2812
|
var ids = arr.join(',')
|
|
2813
|
+ console.log(ids)
|
2835
|
2814
|
var strArr = ids.split(',')
|
|
2815
|
+ console.log(strArr)
|
2836
|
2816
|
var res = []//接收不重复的数据
|
2837
|
2817
|
|
2838
|
2818
|
for (var i = 0; i < strArr.length; i++) {
|
|
@@ -2848,6 +2828,7 @@
|
2848
|
2828
|
res.push(strArr[i])
|
2849
|
2829
|
}
|
2850
|
2830
|
}
|
|
2831
|
+ console.log(res)
|
2851
|
2832
|
var idstr = res.join(',')
|
2852
|
2833
|
const params = {
|
2853
|
2834
|
project_id: idstr
|
|
@@ -3266,4 +3247,4 @@
|
3266
|
3247
|
height: 15px;
|
3267
|
3248
|
}
|
3268
|
3249
|
|
3269
|
|
-</style>
|
|
3250
|
+</style>
|