|
@@ -650,7 +650,7 @@
|
650
|
650
|
v-if="
|
651
|
651
|
(dialysisOrder &&
|
652
|
652
|
monitor.operate_time ==
|
653
|
|
- dialysisOrder.start_time)&&(org_id!=10414) && (org_id!=10683)
|
|
653
|
+ dialysisOrder.start_time)
|
654
|
654
|
"
|
655
|
655
|
>【开始透析】 <span>引血100ml/min</span>
|
656
|
656
|
</template>
|
|
@@ -1911,85 +1911,6 @@ export default {
|
1911
|
1911
|
this.doctor_advices[index]['isShow'] = 2
|
1912
|
1912
|
}
|
1913
|
1913
|
|
1914
|
|
- // if (this.doctor_advices.length > 0) {
|
1915
|
|
- // var group = this.newAdviceGroupObject()
|
1916
|
|
- // var initGroupBlock = function(group, advice) {
|
1917
|
|
- // group.group_no = advice.groupno
|
1918
|
|
- // }
|
1919
|
|
- // for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
|
1920
|
|
- // var new_advice_index = 0
|
1921
|
|
-
|
1922
|
|
- // if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
|
1923
|
|
- // new_advice_index = index + this.doctor_advices[index].children.length + 1
|
1924
|
|
-
|
1925
|
|
- // var doctor_advice = {
|
1926
|
|
- // delivery_way: this.doctor_advices[index].delivery_way,
|
1927
|
|
- // execution_frequency: this.doctor_advices[index].execution_frequency,
|
1928
|
|
- // groupno: this.doctor_advices[index].groupno,
|
1929
|
|
- // id: this.doctor_advices[index].id,
|
1930
|
|
- // parent_id: this.doctor_advices[index].parent_id,
|
1931
|
|
- // children: this.doctor_advices[index].children,
|
1932
|
|
- // remark: this.doctor_advices[index].remark,
|
1933
|
|
- // execution_staff: this.doctor_advices[index].execution_staff,
|
1934
|
|
- // checker: this.doctor_advices[index].checker,
|
1935
|
|
- // execution_time: this.doctor_advices[index].execution_time,
|
1936
|
|
- // advice_doctor: this.doctor_advices[index].advice_doctor
|
1937
|
|
-
|
1938
|
|
- // }
|
1939
|
|
- // doctor_advice['isShow'] = 1
|
1940
|
|
- // this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
|
1941
|
|
- // // this.doctor_advices.push(doctor_advice)
|
1942
|
|
- // }
|
1943
|
|
- // }
|
1944
|
|
-
|
1945
|
|
- // for (let index = 0; index < this.doctor_advices.length; index++) {
|
1946
|
|
- // const advice = this.doctor_advices[index]
|
1947
|
|
- // if (advice.groupno == 0) {
|
1948
|
|
- // // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
|
1949
|
|
- // if (advice.parent_id > 0) {
|
1950
|
|
- // if (this.advice_groups.length > 0) {
|
1951
|
|
- // var parent_group = this.advice_groups[
|
1952
|
|
- // this.advice_groups.length - 1
|
1953
|
|
- // ]
|
1954
|
|
- // if (parent_group.advices.length > 0) {
|
1955
|
|
- // if (parent_group.advices[0].id == advice.parent_id) {
|
1956
|
|
- // parent_group.advices.push(advice)
|
1957
|
|
- // }
|
1958
|
|
- // }
|
1959
|
|
- // }
|
1960
|
|
- // continue
|
1961
|
|
- // } else {
|
1962
|
|
- // if (group.group_no > 0) {
|
1963
|
|
- // this.advice_groups.push(group)
|
1964
|
|
- // group = this.newAdviceGroupObject()
|
1965
|
|
- // }
|
1966
|
|
-
|
1967
|
|
- // initGroupBlock(group, advice)
|
1968
|
|
- // group.advices.push(advice)
|
1969
|
|
- // this.advice_groups.push(group)
|
1970
|
|
- // group = this.newAdviceGroupObject()
|
1971
|
|
- // continue
|
1972
|
|
- // }
|
1973
|
|
- // }
|
1974
|
|
-
|
1975
|
|
- // if (group.group_no > 0 && group.group_no != advice.groupno) {
|
1976
|
|
- // this.advice_groups.push(group)
|
1977
|
|
- // group = this.newAdviceGroupObject()
|
1978
|
|
- // }
|
1979
|
|
- // if (group.group_no == 0) {
|
1980
|
|
- // initGroupBlock(group, advice)
|
1981
|
|
- // }
|
1982
|
|
- // if (group.group_no == advice.groupno) {
|
1983
|
|
- // group.advices.push(advice)
|
1984
|
|
- // }
|
1985
|
|
- // }
|
1986
|
|
-
|
1987
|
|
- // if (group.group_no > 0) {
|
1988
|
|
- // // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
|
1989
|
|
- // this.advice_groups.push(group)
|
1990
|
|
- // }
|
1991
|
|
- // }
|
1992
|
|
-
|
1993
|
1914
|
if (this.doctor_advices.length <= 6) {
|
1994
|
1915
|
var nl = 6
|
1995
|
1916
|
this.print_length = 6
|
|
@@ -1997,7 +1918,7 @@ export default {
|
1997
|
1918
|
for (let index = 0; index < nl; index++) {
|
1998
|
1919
|
if (
|
1999
|
1920
|
this.doctor_advices[index] == undefined ||
|
2000
|
|
- this.doctor_advices[index].length <= 0
|
|
1921
|
+ this.doctor_advices[index].length <= 0
|
2001
|
1922
|
) {
|
2002
|
1923
|
this.doctor_advices.push([])
|
2003
|
1924
|
} else {
|
|
@@ -2006,7 +1927,7 @@ export default {
|
2006
|
1927
|
}
|
2007
|
1928
|
}
|
2008
|
1929
|
this.totollength = this.doctor_advices.length + this.monitors.length
|
2009
|
|
- console.log(this.advice_groups)
|
|
1930
|
+ console.log('1234567',this.doctor_advices)
|
2010
|
1931
|
|
2011
|
1932
|
} else {
|
2012
|
1933
|
this.loading = false
|
|
@@ -2093,11 +2014,9 @@ export default {
|
2093
|
2014
|
},
|
2094
|
2015
|
getshouji(id){
|
2095
|
2016
|
const options = this.anticoagulantsConfit
|
2096
|
|
- console.log('anticoagulantsConfit11111',id,options[id].shouji_unit);
|
2097
|
2017
|
if(id != 0){
|
2098
|
2018
|
for(let i in options){
|
2099
|
2019
|
if(id == options[i].id){
|
2100
|
|
- console.log('anticoagulantsConfit11111',id);
|
2101
|
2020
|
return options[i].shouji_unit
|
2102
|
2021
|
}
|
2103
|
2022
|
}
|