Browse Source

11月19 打印单

yq1 3 days ago
parent
commit
2d4674407a
1 changed files with 280 additions and 268 deletions
  1. 280 268
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue

+ 280 - 268
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue View File

1714
       },
1714
       },
1715
       org_id: 0,
1715
       org_id: 0,
1716
       projectsOne: [],
1716
       projectsOne: [],
1717
+      new_date:(Date.parse(new Date())/1000),
1717
       checkDate:[{value:'this.predialysis.temperature',label:'透前体温未填'},
1718
       checkDate:[{value:'this.predialysis.temperature',label:'透前体温未填'},
1718
                   {value:'this.predialysis.pulse_frequency',label:'透前脉搏未填'}],
1719
                   {value:'this.predialysis.pulse_frequency',label:'透前脉搏未填'}],
1719
     };
1720
     };
1805
     },
1806
     },
1806
 
1807
 
1807
     checkData() {
1808
     checkData() {
1809
+      console.log('new_date',this.new_date);
1810
+      
1808
       var checkDate =[]
1811
       var checkDate =[]
1809
       var monearr = []
1812
       var monearr = []
1810
-      if (this.predialysis.temperature == '') {
1811
-        const obj = "透前体温"
1812
-        checkDate.push(obj)
1813
-      } if (this.predialysis.pulse_frequency == "") {
1814
-        const obj1 = "透前脉搏"
1815
-        checkDate.push(obj1)
1816
-      } if (this.predialysis.breathing_rate == "") {
1817
-         const obj2 = "透前呼吸频率"
1818
-         checkDate.push(obj2)
1819
-      } if (
1820
-        this.predialysis.systolic_blood_pressure == 0 ||
1821
-        this.predialysis.diastolic_blood_pressure == 0
1822
-      ) {
1823
-        const obj3 = "透前血压"
1824
-        checkDate.push(obj3)
1825
-      } if (this.predialysis.symptom_before_dialysis == "") {
1826
-        const obj5 = "透前症状"
1827
-        checkDate.push(obj5)
1828
-      } if (this.predialysis.internal_fistula == "" || this.predialysis.catheter == "") {
1829
-        const obj6 = "透前内瘘,导管"
1830
-        checkDate.push(obj6)
1831
-      } if (this.predialysis.complication == "" ) {
1832
-        const obj7 = "合并症"
1833
-        checkDate.push(obj7)
1834
-      } if (this.predialysis.dry_weight == '' ) {
1835
-        const obj8 = "干体重"
1836
-        checkDate.push(obj8)
1837
-      } if ( this. predialysis.weight_before == '') {
1838
-        const obj9 = "透前体重"
1839
-        checkDate.push(obj9)
1840
-      } if (this.afterdialysis.temperature == '') {
1841
-        const obj10 = "透后体温"
1842
-        checkDate.push(obj10)
1843
-      } if (this.afterdialysis.pulse_frequency == "") {
1844
-        const obj11 = "透后脉搏"
1845
-        checkDate.push(obj11)
1846
-      } if (this.afterdialysis.breathing_rate == "") {
1847
-        const obj12 = "透后呼吸频率"
1848
-        checkDate.push(obj12)
1849
-      } if (
1850
-        this.afterdialysis.systolic_blood_pressure == 0 ||
1851
-        this.afterdialysis.diastolic_blood_pressure == 0
1852
-      ) {
1853
-        const obj13 = "透后血压"
1854
-        checkDate.push(obj13)
1855
-      } if (this.afterdialysis.cruor == "") {
1856
-        const obj14 = "凝血"
1857
-        checkDate.push(obj14)
1858
-      } if (this.afterdialysis.symptom_after_dialysis == "") {
1859
-        const obj15 = "透后症状"
1860
-        checkDate.push(obj15)
1861
-      } if (this.afterdialysis.internal_fistula == "" || this.afterdialysis.catheter == "") {
1862
-        const obj16 = "透后内瘘,导管"
1863
-        checkDate.push(obj16)
1864
-      }  if (this.afterdialysis.complication == 0) {
1865
-        const obj17 = "并发症"
1866
-        checkDate.push(obj17)
1867
-      } if (this.afterdialysis.actual_displacement == 0 &&
1868
-        (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)) {
1869
-        const obj18 = "实际置换量"
1870
-        checkDate.push(obj18)
1871
-      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1872
-        const obj19 = "实际超滤量"
1873
-        checkDate.push(obj19)
1874
-      } if (this.afterdialysis.weight_after == 0) {
1875
-        const obj20 = "透后体重"
1876
-        checkDate.push(obj20)
1877
-      }
1878
-      if (this.afterdialysis.weight_loss == 0) {
1879
-        const obj21 = "体重减少"
1880
-        checkDate.push(obj21)
1881
-      }
1882
-      if (this.prescription.target_ultrafiltration == 0) {
1883
-        const obj22 = "处方脱水量"
1884
-        checkDate.push(obj22)
1885
-      } if (this.afterdialysis.actual_ultrafiltration == 0) {
1886
-        const obj23 = "超滤总量"
1887
-        checkDate.push(obj23)
1888
-      } if (this.prescription.dialysis_duration_hour == 0) {
1889
-        const obj24 = "透析时长"
1890
-        checkDate.push(obj24)
1891
-      } if (this.prescription.mode == '') {
1892
-        const obj25 = "透析方式"
1893
-        checkDate.push(obj25)
1894
-      } if (this.prescription.displace_liqui_part == '' &&
1895
-      (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1896
-        const obj26 = "置换方式"
1897
-        checkDate.push(obj26)
1898
-      } if (this.prescription.displace_liqui_value == 0 &&
1899
-      (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1900
-        const obj27 = "置换总量"
1901
-        checkDate.push(obj27)
1902
-      } if (this.predialysis.blood_access_part_opera_name == ''){
1903
-        const obj28 = "血管通路"
1904
-        checkDate.push(obj28)
1905
-      } if (this.prescription.blood_flow_volume == 0) {
1906
-        const obj29 = "血流量"
1907
-        checkDate.push(obj29)
1908
-      } if (
1909
-        this.prescription.dialysis_irrigation == '' &&
1910
-        this.prescription.dialysis_dialyszers == '' &&
1911
-        this.prescription.dialysis_strainer == ''
1912
-      ){
1913
-        const obj30 = "透析器"
1914
-        checkDate.push(obj30)
1915
-      } 
1916
-      // if (this.predialysis.machine_type == 0) {
1917
-      //   const obj31 = "透析机型"
1918
-      //   checkDate.push(obj31)
1919
-      // } 
1920
-      if ( this.dialysisOrder !=undefined && this.dialysisOrder.DeviceNumber.number == 0) {
1921
-        const obj32 = "机号"
1922
-        checkDate.push(obj32)
1923
-      } if (this.prescription.anticoagulant_name == 0) {
1924
-        const obj33 = "抗凝剂"
1925
-        checkDate.push(obj33)
1926
-      } if (this.prescription.anticoagulant_shouji == 0 &&
1927
-        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
1928
-      ) {
1929
-        const obj34 = "首剂"
1930
-        checkDate.push(obj34)
1931
-      }
1813
+      if(this.dialysisOrder != undefined && this.dialysisOrder.end_time > this.new_date){
1932
 
1814
 
1933
-      if (this.prescription.anticoagulant_zongliang == 0 &&
1934
-        this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && this.prescription.anticoagulant != 5
1935
-      ) {
1936
-        const obj36 = "总量"
1937
-        checkDate.push(obj36)
1938
-      } if (this.prescription.calcium == 0) {
1939
-        const obj37 = "钙"
1940
-        checkDate.push(obj37)
1941
-      } if (this.prescription.sodium == 0) {
1942
-        const obj38 = "钠"
1943
-        checkDate.push(obj38)
1944
-      } if (this.prescription.kalium == 0) {
1945
-        const obj39 = "钾"
1946
-        checkDate.push(obj39)
1947
-      } if (this.prescription.bicarbonate == 0) {
1948
-        const obj40 = "碳酸氢根"
1949
-        checkDate.push(obj40)
1950
-      } if (this.prescription.dialysate_flow == 0) {
1951
-        const obj41 = "透析液流量"
1952
-        checkDate.push(obj41)
1953
-      } if (
1954
-        this.prescription.anticoagulant_gaimingcheng == "" &&
1955
-        this.prescription.anticoagulant == 5
1956
-      ) {
1957
-        const obj42 = "钙名称"
1958
-        checkDate.push(obj42)
1959
-      } if (
1960
-        this.prescription.anticoagulant_gaijiliang == "" &&
1961
-        this.prescription.anticoagulant == 5
1962
-      ) {
1963
-        const obj43 = "钙剂量"
1964
-        checkDate.push(obj43)
1965
-      } if (
1966
-        this.afterdialysis.actual_treatment_hour == 0 &&
1967
-        this.afterdialysis.actual_treatment_minute == 0
1968
-      ) {
1969
-        const obj44 = "实际治疗时间"
1970
-        checkDate.push(obj44)
1971
-      } if (this.summary.mission == 0) {
1972
-        const obj45 = "透后宣教"
1973
-        checkDate.push(obj45)
1974
-      } if (this.summary.dialysis_summary == "") {
1975
-        const obj46 = "透析小结"
1976
-        checkDate.push(obj46)
1977
-      } if (
1978
-        this.dialysisOrder == null ||
1979
-        this.dialysisOrder.puncture_nurse == 0
1980
-      ) {
1981
-        const obj47 = "穿刺护士"
1982
-        checkDate.push(obj47)
1983
-      } if (
1984
-        this.dialysisOrder == null ||
1985
-        this.dialysisOrder.start_nurse == 0
1986
-      ) {
1987
-        const obj48 = "治疗护士"
1988
-        checkDate.push(obj48)
1989
-      } if (this.dialysisOrder == null && this.check.creater == 0) {
1990
-        const obj49 = "核对人员"
1991
-        checkDate.push(obj49)
1992
-      } else if (
1993
-        this.dialysisOrder != null &&
1994
-        this.dialysisOrder.start_nurse == this.check.modifier &&
1995
-        this.check.creater == 0
1996
-      ) {
1997
-        const obj49 = "核对人员"
1998
-        checkDate.push(obj49)
1999
-      } else if (
2000
-        this.dialysisOrder != null &&
2001
-        this.dialysisOrder.start_nurse == this.check.creater &&
2002
-        this.check.modifier == 0
2003
-      ) {
2004
-        const obj49 = "核对人员"
2005
-        checkDate.push(obj49)
2006
-      } else if (
2007
-        this.dialysisOrder != null &&
2008
-        this.dialysisOrder.start_nurse != this.check.creater &&
2009
-        this.dialysisOrder.start_nurse != this.check.modifier &&
2010
-        this.check.creater == 0
2011
-      ) {
2012
-        const obj49 = "核对人员"
2013
-        checkDate.push(obj49)
2014
-      } if (
2015
-        this.dialysisOrder == null ||
2016
-        this.dialysisOrder.finish_nurse == 0
2017
-      ) {
2018
-        const obj50 = "下机护士"
2019
-        checkDate.push(obj50)
2020
-      } if (this.prescription.creater == 0) {
2021
-        const obj51 = "治疗医生"
2022
-        checkDate.push(obj51)
2023
-      }
2024
-      if(this.tableAdvice.length > 0){
2025
-        this.tableAdvice.map((item) =>{
2026
-          if(item.id > 0 && (item.created_time || item.start_time)){
2027
-            if(item.execution_staff ==0 || item.checker ==0){
2028
-              const obj52 = '执行人员,核对人员'
2029
-              checkDate.push(obj52)
1815
+        
1816
+        if (this.predialysis.temperature == '') {
1817
+          const obj = "透前体温"
1818
+          checkDate.push(obj)
1819
+        } if (this.predialysis.pulse_frequency == "") {
1820
+          const obj1 = "透前脉搏"
1821
+          checkDate.push(obj1)
1822
+        } if (this.predialysis.breathing_rate == "") {
1823
+          const obj2 = "透前呼吸频率"
1824
+          checkDate.push(obj2)
1825
+        } if (
1826
+          this.predialysis.systolic_blood_pressure == 0 ||
1827
+          this.predialysis.diastolic_blood_pressure == 0
1828
+        ) {
1829
+          const obj3 = "透前血压"
1830
+          checkDate.push(obj3)
1831
+        } if (this.predialysis.symptom_before_dialysis == "") {
1832
+          const obj5 = "透前症状"
1833
+          checkDate.push(obj5)
1834
+        } if (this.predialysis.internal_fistula == "" || this.predialysis.catheter == "") {
1835
+          const obj6 = "透前内瘘,导管"
1836
+          checkDate.push(obj6)
1837
+        } if (this.predialysis.complication == "" ) {
1838
+          const obj7 = "合并症"
1839
+          checkDate.push(obj7)
1840
+        } if (this.predialysis.dry_weight == '' ) {
1841
+          const obj8 = "干体重"
1842
+          checkDate.push(obj8)
1843
+        } if ( this. predialysis.weight_before == '') {
1844
+          const obj9 = "透前体重"
1845
+          checkDate.push(obj9)
1846
+        } if (this.afterdialysis.temperature == '') {
1847
+          const obj10 = "透后体温"
1848
+          checkDate.push(obj10)
1849
+        } if (this.afterdialysis.pulse_frequency == "") {
1850
+          const obj11 = "透后脉搏"
1851
+          checkDate.push(obj11)
1852
+        } if (this.afterdialysis.breathing_rate == "") {
1853
+          const obj12 = "透后呼吸频率"
1854
+          checkDate.push(obj12)
1855
+        } if (
1856
+          this.afterdialysis.systolic_blood_pressure == 0 ||
1857
+          this.afterdialysis.diastolic_blood_pressure == 0
1858
+        ) {
1859
+          const obj13 = "透后血压"
1860
+          checkDate.push(obj13)
1861
+        } if (this.afterdialysis.cruor == "") {
1862
+          const obj14 = "凝血"
1863
+          checkDate.push(obj14)
1864
+        } if (this.afterdialysis.symptom_after_dialysis == "") {
1865
+          const obj15 = "透后症状"
1866
+          checkDate.push(obj15)
1867
+        } if (this.afterdialysis.internal_fistula == "" || this.afterdialysis.catheter == "") {
1868
+          const obj16 = "透后内瘘,导管"
1869
+          checkDate.push(obj16)
1870
+        }  if (this.afterdialysis.complication == 0) {
1871
+          const obj17 = "并发症"
1872
+          checkDate.push(obj17)
1873
+        } if (this.afterdialysis.actual_displacement == 0 &&
1874
+          (this.prescription.mode_id ==2 || this.prescription.mode_id ==12)) {
1875
+          const obj18 = "实际置换量"
1876
+          checkDate.push(obj18)
1877
+        } if (this.afterdialysis.actual_ultrafiltration == 0) {
1878
+          const obj19 = "实际超滤量"
1879
+          checkDate.push(obj19)
1880
+        } if (this.afterdialysis.weight_after == 0) {
1881
+          const obj20 = "透后体重"
1882
+          checkDate.push(obj20)
1883
+        }
1884
+        if (this.afterdialysis.weight_loss == 0) {
1885
+          const obj21 = "体重减少"
1886
+          checkDate.push(obj21)
1887
+        }
1888
+        if (this.prescription.target_ultrafiltration == 0) {
1889
+          const obj22 = "处方脱水量"
1890
+          checkDate.push(obj22)
1891
+        } if (this.afterdialysis.actual_ultrafiltration == 0) {
1892
+          const obj23 = "超滤总量"
1893
+          checkDate.push(obj23)
1894
+        } if (this.prescription.dialysis_duration_hour == 0) {
1895
+          const obj24 = "透析时长"
1896
+          checkDate.push(obj24)
1897
+        } if (this.prescription.mode == '') {
1898
+          const obj25 = "透析方式"
1899
+          checkDate.push(obj25)
1900
+        } if (this.prescription.displace_liqui_part == '' &&
1901
+        (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1902
+          const obj26 = "置换方式"
1903
+          checkDate.push(obj26)
1904
+        } if (this.prescription.displace_liqui_value == 0 &&
1905
+        (this.prescription.mode_id ==2 ||this.prescription.mode_id ==12)) {
1906
+          const obj27 = "置换总量"
1907
+          checkDate.push(obj27)
1908
+        } if (this.predialysis.blood_access_part_opera_name == ''){
1909
+          const obj28 = "血管通路"
1910
+          checkDate.push(obj28)
1911
+        } if (this.prescription.blood_flow_volume == 0) {
1912
+          const obj29 = "血流量"
1913
+          checkDate.push(obj29)
1914
+        } if (
1915
+          this.prescription.dialysis_irrigation == '' &&
1916
+          this.prescription.dialysis_dialyszers == '' &&
1917
+          this.prescription.dialysis_strainer == ''
1918
+        ){
1919
+          const obj30 = "透析器"
1920
+          checkDate.push(obj30)
1921
+        } 
1922
+        // if (this.predialysis.machine_type == 0) {
1923
+        //   const obj31 = "透析机型"
1924
+        //   checkDate.push(obj31)
1925
+        // } 
1926
+        if ( this.dialysisOrder !=undefined && this.dialysisOrder.DeviceNumber.number == 0) {
1927
+          const obj32 = "机号"
1928
+          checkDate.push(obj32)
1929
+        } if (this.prescription.anticoagulant_name == 0) {
1930
+          const obj33 = "抗凝剂"
1931
+          checkDate.push(obj33)
1932
+        } if (this.prescription.anticoagulant_shouji == 0 &&
1933
+          this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !=''
1934
+        ) {
1935
+          const obj34 = "首剂"
1936
+          checkDate.push(obj34)
1937
+        }
1938
+
1939
+        if (this.prescription.anticoagulant_zongliang == 0 &&
1940
+          this.prescription.anticoagulant !=1 && this.prescription.anticoagulant !='' && this.prescription.anticoagulant != 5
1941
+        ) {
1942
+          const obj36 = "总量"
1943
+          checkDate.push(obj36)
1944
+        } if (this.prescription.calcium == 0) {
1945
+          const obj37 = "钙"
1946
+          checkDate.push(obj37)
1947
+        } if (this.prescription.sodium == 0) {
1948
+          const obj38 = "钠"
1949
+          checkDate.push(obj38)
1950
+        } if (this.prescription.kalium == 0) {
1951
+          const obj39 = "钾"
1952
+          checkDate.push(obj39)
1953
+        } if (this.prescription.bicarbonate == 0) {
1954
+          const obj40 = "碳酸氢根"
1955
+          checkDate.push(obj40)
1956
+        } if (this.prescription.dialysate_flow == 0) {
1957
+          const obj41 = "透析液流量"
1958
+          checkDate.push(obj41)
1959
+        } if (
1960
+          this.prescription.anticoagulant_gaimingcheng == "" &&
1961
+          this.prescription.anticoagulant == 5
1962
+        ) {
1963
+          const obj42 = "钙名称"
1964
+          checkDate.push(obj42)
1965
+        } if (
1966
+          this.prescription.anticoagulant_gaijiliang == "" &&
1967
+          this.prescription.anticoagulant == 5
1968
+        ) {
1969
+          const obj43 = "钙剂量"
1970
+          checkDate.push(obj43)
1971
+        } if (
1972
+          this.afterdialysis.actual_treatment_hour == 0 &&
1973
+          this.afterdialysis.actual_treatment_minute == 0
1974
+        ) {
1975
+          const obj44 = "实际治疗时间"
1976
+          checkDate.push(obj44)
1977
+        } if (this.summary.mission == 0) {
1978
+          const obj45 = "透后宣教"
1979
+          checkDate.push(obj45)
1980
+        } if (this.summary.dialysis_summary == "") {
1981
+          const obj46 = "透析小结"
1982
+          checkDate.push(obj46)
1983
+        } if (
1984
+          this.dialysisOrder == null ||
1985
+          this.dialysisOrder.puncture_nurse == 0
1986
+        ) {
1987
+          const obj47 = "穿刺护士"
1988
+          checkDate.push(obj47)
1989
+        } if (
1990
+          this.dialysisOrder == null ||
1991
+          this.dialysisOrder.start_nurse == 0
1992
+        ) {
1993
+          const obj48 = "治疗护士"
1994
+          checkDate.push(obj48)
1995
+        } if (this.dialysisOrder == null && this.check.creater == 0) {
1996
+          const obj49 = "核对人员"
1997
+          checkDate.push(obj49)
1998
+        } else if (
1999
+          this.dialysisOrder != null &&
2000
+          this.dialysisOrder.start_nurse == this.check.modifier &&
2001
+          this.check.creater == 0
2002
+        ) {
2003
+          const obj49 = "核对人员"
2004
+          checkDate.push(obj49)
2005
+        } else if (
2006
+          this.dialysisOrder != null &&
2007
+          this.dialysisOrder.start_nurse == this.check.creater &&
2008
+          this.check.modifier == 0
2009
+        ) {
2010
+          const obj49 = "核对人员"
2011
+          checkDate.push(obj49)
2012
+        } else if (
2013
+          this.dialysisOrder != null &&
2014
+          this.dialysisOrder.start_nurse != this.check.creater &&
2015
+          this.dialysisOrder.start_nurse != this.check.modifier &&
2016
+          this.check.creater == 0
2017
+        ) {
2018
+          const obj49 = "核对人员"
2019
+          checkDate.push(obj49)
2020
+        } if (
2021
+          this.dialysisOrder == null ||
2022
+          this.dialysisOrder.finish_nurse == 0
2023
+        ) {
2024
+          const obj50 = "下机护士"
2025
+          checkDate.push(obj50)
2026
+        } if (this.prescription.creater == 0) {
2027
+          const obj51 = "治疗医生"
2028
+          checkDate.push(obj51)
2029
+        }
2030
+        if(this.tableAdvice.length > 0){
2031
+          this.tableAdvice.map((item) =>{
2032
+            if(item.id > 0 && (item.created_time || item.start_time)){
2033
+              if(item.execution_staff ==0 || item.checker ==0){
2034
+                const obj52 = '执行人员,核对人员'
2035
+                checkDate.push(obj52)
2036
+              }
2037
+            }
2038
+          })
2039
+        }
2040
+        if(this.monitors.length >0){
2041
+
2042
+          for(let i in this.monitors){
2043
+            if(this.monitors[i].blood_flow_volume ==0){
2044
+              const obj55 = '监测第'+((i*1)+1)+'行血流量'
2045
+              monearr.push(obj55)
2046
+            } if(this.monitors[i].venous_pressure ==0 ||
2047
+                this.monitors[i].transmembrane_pressure ==0
2048
+            ){
2049
+              const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
2050
+              monearr.push(obj56)
2051
+            } if(this.monitors[i].ultrafiltration_rate ==0){
2052
+              const obj57 = '监测第'+((i*1)+1)+'行超滤率'
2053
+              monearr.push(obj57)
2054
+            } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
2055
+              const obj53 = '监测第'+((i*1)+1)+'行超滤量'
2056
+              monearr.push(obj53)
2057
+            } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
2058
+            ){
2059
+              const obj58 = '监测第'+((i*1)+1)+'行置换率'
2060
+              monearr.push(obj58)
2061
+            } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
2062
+              const obj54 = '监测第'+((i*1)+1)+'行置换量'
2063
+              monearr.push(obj54)
2064
+            }  if(this.monitors[i].sodium_concentration ==0 ){
2065
+              // this.monitors[i].temperature == 0
2066
+              const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
2067
+              monearr.push(obj59)
2068
+            } if(this.monitors[i].pulse_frequency ==0){
2069
+              const obj60 = '监测第'+((i*1)+1)+'行脉搏'
2070
+              monearr.push(obj60)
2071
+            } if(this.monitors[i].breathing_rate ==0){
2072
+              const obj61 = '监测第'+((i*1)+1)+'行呼吸'
2073
+              monearr.push(obj61)
2074
+            } if(this.monitors[i].systolic_blood_pressure ==0 ||
2075
+                  this.monitors.diastolic_blood_pressure==0){
2076
+              const obj62 = '监测第'+((i*1)+1)+'行血压'
2077
+              monearr.push(obj62)
2030
             }
2078
             }
2031
-          }
2032
-        })
2033
-      }
2034
-      if(this.monitors.length >0){
2035
-
2036
-        for(let i in this.monitors){
2037
-          if(this.monitors[i].blood_flow_volume ==0){
2038
-            const obj55 = '监测第'+((i*1)+1)+'行血流量'
2039
-            monearr.push(obj55)
2040
-          } if(this.monitors[i].venous_pressure ==0 ||
2041
-               this.monitors[i].transmembrane_pressure ==0
2042
-          ){
2043
-            const obj56 = '监测第'+((i*1)+1)+'行静脉压/跨膜压'
2044
-            monearr.push(obj56)
2045
-          } if(this.monitors[i].ultrafiltration_rate ==0){
2046
-            const obj57 = '监测第'+((i*1)+1)+'行超滤率'
2047
-            monearr.push(obj57)
2048
-          } if(this.monitors[i].ultrafiltration_volume == 0 && i !=0){
2049
-            const obj53 = '监测第'+((i*1)+1)+'行超滤量'
2050
-            monearr.push(obj53)
2051
-          } if(this.monitors[i].replacement_rate ==0 && this.prescription.mode =='HDF'
2052
-          ){
2053
-            const obj58 = '监测第'+((i*1)+1)+'行置换率'
2054
-            monearr.push(obj58)
2055
-          } if(this.monitors[i].displacement_quantity == 0 && this.prescription.mode =='HDF'&& i !=0){
2056
-            const obj54 = '监测第'+((i*1)+1)+'行置换量'
2057
-            monearr.push(obj54)
2058
-          }  if(this.monitors[i].sodium_concentration ==0 ){
2059
-            // this.monitors[i].temperature == 0
2060
-            const obj59 = '监测第'+((i*1)+1)+'行钠浓度/温度'
2061
-            monearr.push(obj59)
2062
-          } if(this.monitors[i].pulse_frequency ==0){
2063
-            const obj60 = '监测第'+((i*1)+1)+'行脉搏'
2064
-            monearr.push(obj60)
2065
-          } if(this.monitors[i].breathing_rate ==0){
2066
-            const obj61 = '监测第'+((i*1)+1)+'行呼吸'
2067
-            monearr.push(obj61)
2068
-          } if(this.monitors[i].systolic_blood_pressure ==0 ||
2069
-                this.monitors.diastolic_blood_pressure==0){
2070
-            const obj62 = '监测第'+((i*1)+1)+'行血压'
2071
-            monearr.push(obj62)
2072
-          }
2073
 
2079
 
2080
+          }
2074
         }
2081
         }
2075
-      }
2076
-      if(monearr.length>0){
2077
-       checkDate =checkDate.concat(monearr)
2078
-        console.log('1111',checkDate.concat(monearr));
2079
-      }
2080
-      console.log('monearr监测',checkDate,monearr);
2082
+        if(monearr.length>0){
2083
+        checkDate =checkDate.concat(monearr)
2084
+          console.log('1111',checkDate.concat(monearr));
2085
+        }
2086
+        console.log('monearr监测',checkDate,monearr);
2081
 
2087
 
2082
-      this.getcheckData(checkDate)
2088
+        this.getcheckData(checkDate)
2089
+      }else{
2090
+        this.$message({
2091
+          message:'该患者已下机',
2092
+          type:'success'
2093
+        })
2094
+      }
2083
     },
2095
     },
2084
     getDisplaceLiquiPart: function (val) {
2096
     getDisplaceLiquiPart: function (val) {
2085
       let displace_liqui_part_name = "/";
2097
       let displace_liqui_part_name = "/";