Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 3 months ago
parent
commit
4f3316a7f2

+ 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 = "/";

+ 0 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

2437
                 </td>
2437
                 </td>
2438
               </tr>
2438
               </tr>
2439
 
2439
 
2440
-
2441
               <tr v-if="org_id ==10206">
2440
               <tr v-if="org_id ==10206">
2442
                 <td style="padding: 0; position: relative" colspan="2">
2441
                 <td style="padding: 0; position: relative" colspan="2">
2443
                   <table class="inside_table">
2442
                   <table class="inside_table">

+ 33 - 32
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue View File

149
             <div class="inline_block" style="margin-right:30px;">
149
             <div class="inline_block" style="margin-right:30px;">
150
               透析液配方
150
               透析液配方
151
               <div class="inline_block under_line" style="width:150px;text-align: center;">
151
               <div class="inline_block under_line" style="width:150px;text-align: center;">
152
-                  {{ prescription.dialysate_formulation_name ? prescription.dialysate_formulation_name : ''}}
152
+                  {{ prescription.dialysate_formulation_name ? prescription.dialysate_formulation_name : '/'}}
153
               </div>
153
               </div>
154
             </div>
154
             </div>
155
         </div>
155
         </div>
156
         <div class="row">
156
         <div class="row">
157
           血管通路部位
157
           血管通路部位
158
           <div class="inline_block under_line" style="width:200px;text-align: center;">
158
           <div class="inline_block under_line" style="width:200px;text-align: center;">
159
-            {{ predialysis.blood_access_part_id }}
159
+            {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id :'/'  }}
160
           </div>
160
           </div>
161
 
161
 
162
           血管通路
162
           血管通路
190
         <div class="row">
190
         <div class="row">
191
           导管
191
           导管
192
           <div class="inline_block under_line" style="width:200px;text-align: center;">
192
           <div class="inline_block under_line" style="width:200px;text-align: center;">
193
-            {{ predialysis.catheter ? predialysis.catheter : "" }}
193
+            {{ predialysis.catheter ? predialysis.catheter : "/" }}
194
           </div>
194
           </div>
195
           内瘘
195
           内瘘
196
           <div class="inline_block under_line" style="width:200px;text-align: center;">
196
           <div class="inline_block under_line" style="width:200px;text-align: center;">
197
-            {{ predialysis.internal_fistula ? predialysis.internal_fistula : "" }}
197
+            {{ predialysis.internal_fistula ? predialysis.internal_fistula : "/" }}
198
           </div>
198
           </div>
199
         </div>
199
         </div>
200
         <div class="row">
200
         <div class="row">
212
             <div class="inline_block">
212
             <div class="inline_block">
213
               剂量:首次
213
               剂量:首次
214
               <div class="inline_block" style="width:50px;text-align:center">
214
               <div class="inline_block" style="width:50px;text-align:center">
215
-                  {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}
215
+                  {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "/" }}
216
               </div>
216
               </div>
217
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
217
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
218
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
218
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
225
             <div class="inline_block">
225
             <div class="inline_block">
226
               追加
226
               追加
227
               <div class="inline_block" style="width:50px;text-align:center">
227
               <div class="inline_block" style="width:50px;text-align:center">
228
-                  {{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}
228
+                  {{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "/" }}
229
               </div>
229
               </div>
230
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
230
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
231
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
231
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
238
             <div class="inline_block">
238
             <div class="inline_block">
239
               总量
239
               总量
240
               <div class="inline_block" style="width:50px;text-align:center">
240
               <div class="inline_block" style="width:50px;text-align:center">
241
-                  {{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : ""}}
241
+                  {{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/"}}
242
               </div>
242
               </div>
243
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
243
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
244
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
244
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
254
             <div class="inline_block" style="margin-right:30px;">
254
             <div class="inline_block" style="margin-right:30px;">
255
                 干体重
255
                 干体重
256
                 <div class="inline_block under_line" style="width:100px;">
256
                 <div class="inline_block under_line" style="width:100px;">
257
-                    {{ predialysis.dry_weight ? predialysis.dry_weight : " " }}
257
+                    {{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}
258
                 </div>kg
258
                 </div>kg
259
             </div>
259
             </div>
260
             <div class="inline_block" style="margin-right:30px;">
260
             <div class="inline_block" style="margin-right:30px;">
261
                 净化前体重
261
                 净化前体重
262
                 <div class="inline_block under_line" style="width:100px;">
262
                 <div class="inline_block under_line" style="width:100px;">
263
-                    {{ predialysis.weight_before ? predialysis.weight_before : " " }}
263
+                    {{ predialysis.weight_before ? predialysis.weight_before : "/" }}
264
                 </div>kg
264
                 </div>kg
265
             </div>
265
             </div>
266
             <div class="inline_block" style="margin-right:30px;">
266
             <div class="inline_block" style="margin-right:30px;">
267
                 预设脱水
267
                 预设脱水
268
                 <div class="inline_block under_line" style="width:100px;">
268
                 <div class="inline_block under_line" style="width:100px;">
269
-                    {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : ' ' }}
269
+                    {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : '/' }}
270
                 </div>ml
270
                 </div>ml
271
             </div>
271
             </div>
272
         </div>
272
         </div>
283
             <div class="inline_block" style="margin-right:30px;">
283
             <div class="inline_block" style="margin-right:30px;">
284
                 净化后体重
284
                 净化后体重
285
                 <div class="inline_block under_line" style="width:100px;">
285
                 <div class="inline_block under_line" style="width:100px;">
286
-                    {{ afterdialysis.weight_after ? parseFloat(afterdialysis.weight_after).toFixed(1) : " " }}
286
+                    {{ afterdialysis.weight_after ? parseFloat(afterdialysis.weight_after).toFixed(1) : "/" }}
287
                 </div>kg
287
                 </div>kg
288
             </div>
288
             </div>
289
             <div class="inline_block" style="margin-right:30px;">
289
             <div class="inline_block" style="margin-right:30px;">
290
                 实际脱水
290
                 实际脱水
291
                 <div class="inline_block under_line" style="width:100px;">
291
                 <div class="inline_block under_line" style="width:100px;">
292
-                    {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : " " }}
292
+                    {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
293
                 </div>ml
293
                 </div>ml
294
             </div>
294
             </div>
295
             <div class="inline_block" style="margin-right:30px;" v-if="org_id!=10727">
295
             <div class="inline_block" style="margin-right:30px;" v-if="org_id!=10727">
296
                 电导度
296
                 电导度
297
                 <div class="inline_block under_line" style="width:100px;">
297
                 <div class="inline_block under_line" style="width:100px;">
298
-                    {{ prescription.conductivity ? prescription.conductivity : " " }}
298
+                    {{ prescription.conductivity ? prescription.conductivity : "/" }}
299
                 </div>mS/m
299
                 </div>mS/m
300
             </div>
300
             </div>
301
         </div>
301
         </div>
305
             <div class="inline_block" style="margin-right:30px;">
305
             <div class="inline_block" style="margin-right:30px;">
306
               体温
306
               体温
307
               <div class="inline_block" style="width:50px;text-align:center">
307
               <div class="inline_block" style="width:50px;text-align:center">
308
-                {{ predialysis.temperature ? predialysis.temperature : "" }}
308
+                {{ predialysis.temperature ? predialysis.temperature : "/" }}
309
               </div>℃
309
               </div>℃
310
             </div>
310
             </div>
311
             <div class="inline_block" style="margin-right:30px;">
311
             <div class="inline_block" style="margin-right:30px;">
312
               血压
312
               血压
313
               <div class="inline_block" style="width:100px;text-align:center">
313
               <div class="inline_block" style="width:100px;text-align:center">
314
-                {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "" }}/
315
-                {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "" }}
314
+                {{ predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/" }}/
315
+                {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : "/" }}
316
               </div>mmHg
316
               </div>mmHg
317
             </div>
317
             </div>
318
             <div class="inline_block" style="margin-right:30px;">
318
             <div class="inline_block" style="margin-right:30px;">
319
               脉搏
319
               脉搏
320
               <div class="inline_block" style="width:50px;text-align:center">
320
               <div class="inline_block" style="width:50px;text-align:center">
321
-                {{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "" }}
321
+                {{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "/" }}
322
               </div>次/分
322
               </div>次/分
323
             </div>
323
             </div>
324
             入室方式
324
             入室方式
325
             <div class="inline_block under_line" style="width:80px;text-align: center;margin-right:30px;">
325
             <div class="inline_block under_line" style="width:80px;text-align: center;margin-right:30px;">
326
-              {{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : "" }}
326
+              {{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : "/" }}
327
             </div>
327
             </div>
328
             透析频次(次/周)
328
             透析频次(次/周)
329
             <div class="inline_block under_line" style="width:80px;text-align: center;">
329
             <div class="inline_block under_line" style="width:80px;text-align: center;">
330
-              {{ predialysis.dialysis_count ? predialysis.dialysis_count : "" }}
330
+              {{ predialysis.dialysis_count ? predialysis.dialysis_count : "/" }}
331
             </div>
331
             </div>
332
           </div>
332
           </div>
333
         </div>
333
         </div>
334
         <div class="row">
334
         <div class="row">
335
           透析前症状
335
           透析前症状
336
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
336
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
337
-            {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "" }}
337
+            {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "/" }}
338
           </div>
338
           </div>
339
           水肿
339
           水肿
340
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
340
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
341
-            {{ predialysis.edema ? predialysis.edema : "" }}
341
+            {{ predialysis.edema ? predialysis.edema : "/" }}
342
           </div>
342
           </div>
343
           出血
343
           出血
344
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:15px;">
344
           <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:15px;">
350
           <div v-if="org_id !=10727 " style="display: inline-block;width: 280px;">
350
           <div v-if="org_id !=10727 " style="display: inline-block;width: 280px;">
351
             跌倒风险预防措施
351
             跌倒风险预防措施
352
             <div class="inline_block under_line" style="width:100px;text-align: center;">
352
             <div class="inline_block under_line" style="width:100px;text-align: center;">
353
-              {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
353
+              {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '/' }}
354
             </div>
354
             </div>
355
           </div>
355
           </div>
356
           
356
           
520
                       <td width="70" style="text-align:left;border:none;">
520
                       <td width="70" style="text-align:left;border:none;">
521
                         <div>
521
                         <div>
522
                           <span class="under_line" style="width:50px;display:inline-block;">
522
                           <span class="under_line" style="width:50px;display:inline-block;">
523
-                            {{ afterdialysis.temperature ? afterdialysis.temperature : "" }}
523
+                            {{ afterdialysis.temperature ? afterdialysis.temperature : "/" }}
524
                           </span>℃
524
                           </span>℃
525
                         </div>
525
                         </div>
526
                       </td>
526
                       </td>
528
                       <td width="120" style="text-align:left;border:none;line-height: 30px;">
528
                       <td width="120" style="text-align:left;border:none;line-height: 30px;">
529
                         <div>
529
                         <div>
530
                           <span class="under_line" style="width:100px;display:inline-block">
530
                           <span class="under_line" style="width:100px;display:inline-block">
531
-                            {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
532
-                            {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "" }}
531
+                            {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "/" }}/
532
+                            {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "/" }}
533
                           </span>mmHg
533
                           </span>mmHg
534
                         </div>
534
                         </div>
535
                       </td>
535
                       </td>
537
                       <td width="70" style="text-align:left;border:none;">
537
                       <td width="70" style="text-align:left;border:none;">
538
                         <div>
538
                         <div>
539
                           <span class="under_line" style="width:50px;display:inline-block">
539
                           <span class="under_line" style="width:50px;display:inline-block">
540
-                            {{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "" }}
540
+                            {{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "/" }}
541
                           </span>次/分
541
                           </span>次/分
542
                         </div>
542
                         </div>
543
                       </td>
543
                       </td>
567
                       <td width="120" style="text-align:left;border:none;">
567
                       <td width="120" style="text-align:left;border:none;">
568
                         <div>
568
                         <div>
569
                           <span class="under_line" style="width:100px;display:inline-block">
569
                           <span class="under_line" style="width:100px;display:inline-block">
570
-                            {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
570
+                            {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "/" }}
571
                           </span>
571
                           </span>
572
                         </div>
572
                         </div>
573
                       </td>
573
                       </td>
576
                         <div>
576
                         <div>
577
                           <span class="under_line" style="width:120px;display:inline-block">
577
                           <span class="under_line" style="width:120px;display:inline-block">
578
                             <span v-if='afterdialysis.is_eat == 1'>有</span>
578
                             <span v-if='afterdialysis.is_eat == 1'>有</span>
579
-                            <span v-if='afterdialysis.is_eat == 2'>无</span>
579
+                            <span v-else-if='afterdialysis.is_eat == 2'>无</span>
580
+                            <span v-else>/</span>
580
                           </span>
581
                           </span>
581
                         </div>
582
                         </div>
582
                       </td>
583
                       </td>
635
                       <td width="150" colspan="3" style="text-align:left;border:none;">
636
                       <td width="150" colspan="3" style="text-align:left;border:none;">
636
                         <div>
637
                         <div>
637
                           <span class="under_line" style="width:150px;display:inline-block;">
638
                           <span class="under_line" style="width:150px;display:inline-block;">
638
-                            {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
639
+                            {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
639
                           </span>
640
                           </span>
640
                         </div>
641
                         </div>
641
                       </td>
642
                       </td>
672
           <tr style="line-height:25px;text-align:left;border:none;">
673
           <tr style="line-height:25px;text-align:left;border:none;">
673
             <td style="padding-left:5px;border:none">
674
             <td style="padding-left:5px;border:none">
674
                 <div style="padding-bottom:10px;">
675
                 <div style="padding-bottom:10px;">
675
-                  透析小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
676
+                  透析小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "/" }}
676
                 </div>
677
                 </div>
677
             </td>
678
             </td>
678
           </tr>
679
           </tr>
679
           <tr style="line-height:25px;text-align:left;border:none;">
680
           <tr style="line-height:25px;text-align:left;border:none;">
680
             <td style="padding-left:5px;border:none">
681
             <td style="padding-left:5px;border:none">
681
                 <div style="padding-bottom:10px;">
682
                 <div style="padding-bottom:10px;">
682
-                  病情记录:{{ summary.special_record ? summary.special_record : "" }}
683
+                  病情记录:{{ summary.special_record ? summary.special_record : "/" }}
683
                 </div>
684
                 </div>
684
             </td>
685
             </td>
685
           </tr>
686
           </tr>
1186
     },
1187
     },
1187
     setAdminUserES(id) {
1188
     setAdminUserES(id) {
1188
       if (id == 0) {
1189
       if (id == 0) {
1189
-        return ''
1190
+        return '/'
1190
       }
1191
       }
1191
       if (id in this.operatorMaps) {
1192
       if (id in this.operatorMaps) {
1192
         return this.operatorMaps[id].url
1193
         return this.operatorMaps[id].url

+ 2 - 2
src/xt_pages/user/Informed/Informedconsent.vue View File

211
                 {date:'血液灌流治疗知情同意书',value:'8'},{date:'自带药物代为注射告知知情同意书',value:'9'},{date:'深静脉透析导管置入术知情同意书',value:'10'},
211
                 {date:'血液灌流治疗知情同意书',value:'8'},{date:'自带药物代为注射告知知情同意书',value:'9'},{date:'深静脉透析导管置入术知情同意书',value:'10'},
212
                 {date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
212
                 {date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
213
                 {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'16'},
213
                 {date:'治疗处理方案知情同意书',value:'14'},{date:'危重病人知情同意书',value:'16'},
214
-                {date:'疾病诊断证明书',value:'17'},{date:'无肝素血液透析风险知情同意书',value:'18'},
215
-                {date:'连续肾脏替代治疗(CRRT)治疗知情同意书',value:'19'},{date:'患方要求终止治疗及风险、责任承担承诺书',value:'20'},
214
+                // {date:'疾病诊断证明书',value:'17'},{date:'无肝素血液透析风险知情同意书',value:'18'},
215
+                // {date:'连续肾脏替代治疗(CRRT)治疗知情同意书',value:'19'},{date:'患方要求终止治疗及风险、责任承担承诺书',value:'20'},
216
       ],
216
       ],
217
 
217
 
218
       face_show:true,
218
       face_show:true,