浏览代码

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

28169 3 个月前
父节点
当前提交
4f3316a7f2

+ 280 - 268
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue 查看文件

@@ -1714,6 +1714,7 @@ export default {
1714 1714
       },
1715 1715
       org_id: 0,
1716 1716
       projectsOne: [],
1717
+      new_date:(Date.parse(new Date())/1000),
1717 1718
       checkDate:[{value:'this.predialysis.temperature',label:'透前体温未填'},
1718 1719
                   {value:'this.predialysis.pulse_frequency',label:'透前脉搏未填'}],
1719 1720
     };
@@ -1805,281 +1806,292 @@ export default {
1805 1806
     },
1806 1807
 
1807 1808
     checkData() {
1809
+      console.log('new_date',this.new_date);
1810
+      
1808 1811
       var checkDate =[]
1809 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 2096
     getDisplaceLiquiPart: function (val) {
2085 2097
       let displace_liqui_part_name = "/";

+ 0 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

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

+ 33 - 32
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue 查看文件

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

+ 2 - 2
src/xt_pages/user/Informed/Informedconsent.vue 查看文件

@@ -211,8 +211,8 @@ export default {
211 211
                 {date:'血液灌流治疗知情同意书',value:'8'},{date:'自带药物代为注射告知知情同意书',value:'9'},{date:'深静脉透析导管置入术知情同意书',value:'10'},
212 212
                 {date:'血液透析(滤过)治疗知情同意书',value:'12'},{date:'门诊血液透析治疗病历首页',value:'13'},
213 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 218
       face_show:true,