|
@@ -309,7 +309,7 @@
|
309
|
309
|
内瘘:
|
310
|
310
|
<div
|
311
|
311
|
class="under_line"
|
312
|
|
- style="width: 150px;text-align: center"
|
|
312
|
+ style="width: 170px;text-align: center;white-space: normal;"
|
313
|
313
|
>
|
314
|
314
|
{{
|
315
|
315
|
predialysis.internal_fistula
|
|
@@ -1112,17 +1112,12 @@
|
1112
|
1112
|
</div>
|
1113
|
1113
|
</div>
|
1114
|
1114
|
</div>
|
1115
|
|
- <div class="row">
|
|
1115
|
+ <div class="row" style="margin-bottom:10px;">
|
1116
|
1116
|
<div class="inline_block">
|
1117
|
1117
|
入科方式:
|
1118
|
1118
|
<!--<check-box v-for="item, index in nutrition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.nutrition == item.id?true:false"></check-box>-->
|
1119
|
1119
|
|
1120
|
|
- <div
|
1121
|
|
- v-for="item,index in way_arr"
|
1122
|
|
- class="under_line"
|
1123
|
|
- v-if="receiverTreatmentAccess.way == item.id"
|
1124
|
|
- style="width: 180px;text-align: left"
|
1125
|
|
- >{{item.name}}</div>
|
|
1120
|
+ <div v-for="(item,index) in way_arr" class="under_line" v-if="receiverTreatmentAccess.way == item.id" style="width: 180px;text-align: left" >{{item.name}}</div>
|
1126
|
1121
|
<!--<div-->
|
1127
|
1122
|
<!--class="under_line"-->
|
1128
|
1123
|
<!--v-if="receiverTreatmentAccess.way == 0"-->
|
|
@@ -1161,7 +1156,7 @@
|
1161
|
1156
|
诊断:
|
1162
|
1157
|
<div
|
1163
|
1158
|
class="under_line"
|
1164
|
|
- style="width: 640px;text-align: left;word-break: break-all;word-wrap: break-word;display: inline-block;white-space: pre-wrap;"
|
|
1159
|
+ style="width: 640px;text-align: left;word-break: break-all;word-wrap: break-word;display: inline-block;"
|
1165
|
1160
|
>
|
1166
|
1161
|
{{ patientInfo.diagnose }}
|
1167
|
1162
|
</div>
|
|
@@ -1383,7 +1378,7 @@
|
1383
|
1378
|
</div>
|
1384
|
1379
|
</div>
|
1385
|
1380
|
<div class="row" style="padding: 2px 0;line-height:23px;display:flex;" >
|
1386
|
|
- <div class="inline_block" style="flex:2;">
|
|
1381
|
+ <div class="inline_block" style="flex:2.5;">
|
1387
|
1382
|
凝血程度:
|
1388
|
1383
|
<div
|
1389
|
1384
|
class="under_line"
|
|
@@ -1392,11 +1387,11 @@
|
1392
|
1387
|
{{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
|
1393
|
1388
|
</div>
|
1394
|
1389
|
</div>
|
1395
|
|
- <div class="inline_block" style="flex:1;">
|
|
1390
|
+ <div class="inline_block" style="flex:2;">
|
1396
|
1391
|
内瘘:
|
1397
|
1392
|
<div
|
1398
|
1393
|
class="under_line"
|
1399
|
|
- style="width: 70px;text-align: center"
|
|
1394
|
+ style="width: 170px;text-align: center;white-space: normal;"
|
1400
|
1395
|
>
|
1401
|
1396
|
{{
|
1402
|
1397
|
afterdialysis.internal_fistula
|
|
@@ -1405,7 +1400,7 @@
|
1405
|
1400
|
}}
|
1406
|
1401
|
</div>
|
1407
|
1402
|
</div>
|
1408
|
|
- <div class="inline_block" style="flex:3;">
|
|
1403
|
+ <div class="inline_block" style="flex:4;">
|
1409
|
1404
|
导管:
|
1410
|
1405
|
<div
|
1411
|
1406
|
class="under_line"
|
|
@@ -1778,34 +1773,34 @@ export default {
|
1778
|
1773
|
nutrition_arr: [],
|
1779
|
1774
|
|
1780
|
1775
|
crumbs: [
|
1781
|
|
- { path: false, name: "透析管理" },
|
1782
|
|
- { path: false, name: "打印单" }
|
|
1776
|
+ { path: false, name: '透析管理' },
|
|
1777
|
+ { path: false, name: '打印单' }
|
1783
|
1778
|
],
|
1784
|
1779
|
operators: [],
|
1785
|
1780
|
adminUser: [],
|
1786
|
1781
|
check: {},
|
1787
|
|
- xtdate: "",
|
|
1782
|
+ xtdate: '',
|
1788
|
1783
|
dialysisOrder: {
|
1789
|
1784
|
DeviceNumber: []
|
1790
|
1785
|
},
|
1791
|
1786
|
displaceLiquiPartOptions: [],
|
1792
|
1787
|
operatorMaps: {},
|
1793
|
1788
|
complications: [
|
1794
|
|
- "低血压",
|
1795
|
|
- "高血压",
|
1796
|
|
- "心律失常",
|
1797
|
|
- "头晕",
|
1798
|
|
- "头痛",
|
1799
|
|
- "呕吐",
|
1800
|
|
- "抽搐",
|
1801
|
|
- "出血",
|
1802
|
|
- "心衰",
|
1803
|
|
- "腹痛"
|
|
1789
|
+ '低血压',
|
|
1790
|
+ '高血压',
|
|
1791
|
+ '心律失常',
|
|
1792
|
+ '头晕',
|
|
1793
|
+ '头痛',
|
|
1794
|
+ '呕吐',
|
|
1795
|
+ '抽搐',
|
|
1796
|
+ '出血',
|
|
1797
|
+ '心衰',
|
|
1798
|
+ '腹痛'
|
1804
|
1799
|
],
|
1805
|
1800
|
jilurow: 0,
|
1806
|
1801
|
advice_jilurow: 0,
|
1807
|
1802
|
loading: false,
|
1808
|
|
- orgname: "",
|
|
1803
|
+ orgname: '',
|
1809
|
1804
|
patientInfo_gender_1: false,
|
1810
|
1805
|
patientInfo_gender_2: false,
|
1811
|
1806
|
patientInfo_source_2: false,
|
|
@@ -1818,30 +1813,30 @@ export default {
|
1818
|
1813
|
dialysateFormulationOptions: {},
|
1819
|
1814
|
totollength: 0,
|
1820
|
1815
|
queryParams: {
|
1821
|
|
- xtdate: "",
|
1822
|
|
- xtno: ""
|
|
1816
|
+ xtdate: '',
|
|
1817
|
+ xtno: ''
|
1823
|
1818
|
},
|
1824
|
1819
|
patientInfo: {
|
1825
|
|
- birth: "",
|
1826
|
|
- age: "",
|
|
1820
|
+ birth: '',
|
|
1821
|
+ age: '',
|
1827
|
1822
|
DialysisSchedule: {
|
1828
|
|
- device_number: { number: "" },
|
1829
|
|
- device_zone: { name: "" }
|
|
1823
|
+ device_number: { number: '' },
|
|
1824
|
+ device_zone: { name: '' }
|
1830
|
1825
|
},
|
1831
|
1826
|
gender: 0
|
1832
|
1827
|
},
|
1833
|
1828
|
predialysis: {
|
1834
|
|
- score: "",
|
1835
|
|
- internal_fistula: "",
|
1836
|
|
- internal_fistula_skin: "",
|
1837
|
|
- catheter: "",
|
1838
|
|
- blood_access_part_opera_name: ""
|
|
1829
|
+ score: '',
|
|
1830
|
+ internal_fistula: '',
|
|
1831
|
+ internal_fistula_skin: '',
|
|
1832
|
+ catheter: '',
|
|
1833
|
+ blood_access_part_opera_name: ''
|
1839
|
1834
|
},
|
1840
|
1835
|
afterdialysis: {
|
1841
|
|
- complications_index: ""
|
|
1836
|
+ complications_index: ''
|
1842
|
1837
|
},
|
1843
|
1838
|
prescription: {
|
1844
|
|
- dialysate_formulation_name: "",
|
|
1839
|
+ dialysate_formulation_name: '',
|
1845
|
1840
|
device: {}
|
1846
|
1841
|
},
|
1847
|
1842
|
advices: [],
|
|
@@ -1862,110 +1857,110 @@ export default {
|
1862
|
1857
|
|
1863
|
1858
|
AlPanel: {
|
1864
|
1859
|
id: 0,
|
1865
|
|
- name: "",
|
|
1860
|
+ name: '',
|
1866
|
1861
|
type: 1,
|
1867
|
1862
|
shouji: 2,
|
1868
|
1863
|
weichi: 2,
|
1869
|
1864
|
zongliang: 2,
|
1870
|
1865
|
gaimingcheng: -1,
|
1871
|
1866
|
gaijiliang: -1,
|
1872
|
|
- shouji_unit: "mg",
|
1873
|
|
- weichi_unit: "mg/h",
|
1874
|
|
- zongliang_unit: "mg",
|
1875
|
|
- gaimingcheng_unit: "",
|
1876
|
|
- gaijiliang_unit: ""
|
|
1867
|
+ shouji_unit: 'mg',
|
|
1868
|
+ weichi_unit: 'mg/h',
|
|
1869
|
+ zongliang_unit: 'mg',
|
|
1870
|
+ gaimingcheng_unit: '',
|
|
1871
|
+ gaijiliang_unit: ''
|
1877
|
1872
|
}
|
1878
|
|
- };
|
|
1873
|
+ }
|
1879
|
1874
|
},
|
1880
|
1875
|
methods: {
|
1881
|
1876
|
getDisplaceLiquiPart: function(val) {
|
1882
|
|
- let displace_liqui_part_name = "/";
|
1883
|
|
- const displace_liqui_part = this.displaceLiquiPartOptions;
|
|
1877
|
+ let displace_liqui_part_name = '/'
|
|
1878
|
+ const displace_liqui_part = this.displaceLiquiPartOptions
|
1884
|
1879
|
for (let i = 0; i < displace_liqui_part.length; i++) {
|
1885
|
1880
|
if (displace_liqui_part[i].id == val) {
|
1886
|
|
- displace_liqui_part_name = displace_liqui_part[i].name;
|
|
1881
|
+ displace_liqui_part_name = displace_liqui_part[i].name
|
1887
|
1882
|
}
|
1888
|
1883
|
}
|
1889
|
|
- return displace_liqui_part_name;
|
|
1884
|
+ return displace_liqui_part_name
|
1890
|
1885
|
},
|
1891
|
1886
|
replacementWaysById: function(val) {
|
1892
|
|
- let replacementWaysname = "/";
|
|
1887
|
+ let replacementWaysname = '/'
|
1893
|
1888
|
// let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
|
1894
|
1889
|
|
1895
|
1890
|
for (let i = 0; i < this.replacementWays.length; i++) {
|
1896
|
1891
|
if (this.replacementWays[i].id == val) {
|
1897
|
|
- replacementWaysname = this.replacementWays[i].name;
|
|
1892
|
+ replacementWaysname = this.replacementWays[i].name
|
1898
|
1893
|
}
|
1899
|
1894
|
}
|
1900
|
|
- return replacementWaysname;
|
|
1895
|
+ return replacementWaysname
|
1901
|
1896
|
},
|
1902
|
1897
|
QueryPartById: function(val) {
|
1903
|
|
- let vascular_access_part_name = "/";
|
1904
|
|
- const vascular_access = getDataConfig("hemodialysis", "vascular_access");
|
|
1898
|
+ let vascular_access_part_name = '/'
|
|
1899
|
+ const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
|
1905
|
1900
|
|
1906
|
1901
|
for (let i = 0; i < vascular_access.length; i++) {
|
1907
|
1902
|
if (vascular_access[i].id == val) {
|
1908
|
|
- vascular_access_part_name = vascular_access[i].name;
|
|
1903
|
+ vascular_access_part_name = vascular_access[i].name
|
1909
|
1904
|
}
|
1910
|
1905
|
}
|
1911
|
|
- return vascular_access_part_name;
|
|
1906
|
+ return vascular_access_part_name
|
1912
|
1907
|
},
|
1913
|
1908
|
getAdminUser(id) {
|
1914
|
1909
|
if (id == 0) {
|
1915
|
|
- return "";
|
|
1910
|
+ return ''
|
1916
|
1911
|
}
|
1917
|
1912
|
if (id == undefined) {
|
1918
|
|
- return "";
|
|
1913
|
+ return ''
|
1919
|
1914
|
}
|
1920
|
1915
|
for (let i = 0; i < this.adminUser.length; i++) {
|
1921
|
1916
|
if (this.adminUser[i].id == id) {
|
1922
|
|
- return this.adminUser[i].name;
|
|
1917
|
+ return this.adminUser[i].name
|
1923
|
1918
|
}
|
1924
|
1919
|
}
|
1925
|
1920
|
},
|
1926
|
1921
|
getTime(value, temp) {
|
1927
|
1922
|
if (value == 0) {
|
1928
|
|
- return "";
|
|
1923
|
+ return ''
|
1929
|
1924
|
}
|
1930
|
1925
|
if (value != undefined) {
|
1931
|
|
- return uParseTime(value, temp);
|
|
1926
|
+ return uParseTime(value, temp)
|
1932
|
1927
|
}
|
1933
|
|
- return "";
|
|
1928
|
+ return ''
|
1934
|
1929
|
},
|
1935
|
1930
|
getUnit: function(val) {
|
1936
|
1931
|
switch (val) {
|
1937
|
1932
|
case 1:
|
1938
|
|
- return "g";
|
1939
|
|
- break;
|
|
1933
|
+ return 'g'
|
|
1934
|
+ break
|
1940
|
1935
|
case 2:
|
1941
|
|
- return "ml";
|
1942
|
|
- break;
|
|
1936
|
+ return 'ml'
|
|
1937
|
+ break
|
1943
|
1938
|
}
|
1944
|
1939
|
},
|
1945
|
1940
|
printThisPage() {
|
1946
|
|
- var ptime = Math.round(new Date().getTime() / 1000);
|
1947
|
|
- this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
|
|
1941
|
+ var ptime = Math.round(new Date().getTime() / 1000)
|
|
1942
|
+ this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
|
1948
|
1943
|
|
1949
|
1944
|
const style =
|
1950
|
|
- '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
|
|
1945
|
+ '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:left;border-collapse:collapse;font-size:14px} .dialysis-print-order .under_line {display: inline-block;border-bottom: 1px solid #999;text-align:left;white-space: nowrap;width: 50%;} .dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
|
1951
|
1946
|
|
1952
|
1947
|
if (this.org_template_info.template_id == 1) {
|
1953
|
1948
|
printJS({
|
1954
|
|
- printable: "dialysis-print-box",
|
1955
|
|
- type: "html",
|
|
1949
|
+ printable: 'dialysis-print-box',
|
|
1950
|
+ type: 'html',
|
1956
|
1951
|
style: style,
|
1957
|
1952
|
scanStyles: false
|
1958
|
|
- });
|
|
1953
|
+ })
|
1959
|
1954
|
} else if (
|
1960
|
1955
|
this.org_template_info.template_id == 2 ||
|
1961
|
1956
|
this.org_template_info.template_id == 0
|
1962
|
1957
|
) {
|
1963
|
1958
|
printJS({
|
1964
|
|
- printable: "dialysis-print-box-1",
|
1965
|
|
- type: "html",
|
|
1959
|
+ printable: 'dialysis-print-box-1',
|
|
1960
|
+ type: 'html',
|
1966
|
1961
|
style: style,
|
1967
|
1962
|
scanStyles: false
|
1968
|
|
- });
|
|
1963
|
+ })
|
1969
|
1964
|
}
|
1970
|
1965
|
},
|
1971
|
1966
|
getNumber() {
|
|
@@ -1973,119 +1968,119 @@ export default {
|
1973
|
1968
|
return (
|
1974
|
1969
|
this.patientInfo.DialysisSchedule.device_zone.name +
|
1975
|
1970
|
this.dialysisOrder.DeviceNumber.number
|
1976
|
|
- );
|
|
1971
|
+ )
|
1977
|
1972
|
} else {
|
1978
|
1973
|
return (
|
1979
|
1974
|
this.patientInfo.DialysisSchedule.device_zone.name +
|
1980
|
1975
|
this.patientInfo.DialysisSchedule.device_number.number
|
1981
|
|
- );
|
|
1976
|
+ )
|
1982
|
1977
|
}
|
1983
|
1978
|
},
|
1984
|
1979
|
|
1985
|
1980
|
getXuserName(id) {
|
1986
|
1981
|
if (id <= 0) {
|
1987
|
|
- return "";
|
|
1982
|
+ return ''
|
1988
|
1983
|
}
|
1989
|
|
- var name = "";
|
1990
|
|
- if (this.users == null || typeof this.users.length === "undefined") {
|
1991
|
|
- return name;
|
|
1984
|
+ var name = ''
|
|
1985
|
+ if (this.users == null || typeof this.users.length === 'undefined') {
|
|
1986
|
+ return name
|
1992
|
1987
|
}
|
1993
|
|
- var leng = this.users.length;
|
|
1988
|
+ var leng = this.users.length
|
1994
|
1989
|
if (leng == 0) {
|
1995
|
|
- return name;
|
|
1990
|
+ return name
|
1996
|
1991
|
}
|
1997
|
1992
|
for (let index = 0; index < leng; index++) {
|
1998
|
1993
|
if (this.users[index].id == id) {
|
1999
|
|
- name = this.users[index].name;
|
2000
|
|
- break;
|
|
1994
|
+ name = this.users[index].name
|
|
1995
|
+ break
|
2001
|
1996
|
}
|
2002
|
1997
|
}
|
2003
|
|
- return name;
|
|
1998
|
+ return name
|
2004
|
1999
|
},
|
2005
|
2000
|
setAdminUserES(id) {
|
2006
|
2001
|
if (id == 0) {
|
2007
|
|
- return "";
|
|
2002
|
+ return ''
|
2008
|
2003
|
}
|
2009
|
2004
|
if (id in this.operatorMaps) {
|
2010
|
|
- return this.operatorMaps[id].url;
|
|
2005
|
+ return this.operatorMaps[id].url
|
2011
|
2006
|
} else {
|
2012
|
|
- return "";
|
|
2007
|
+ return ''
|
2013
|
2008
|
}
|
2014
|
2009
|
},
|
2015
|
2010
|
modeName(mode_id) {
|
2016
|
|
- return typeof this.modeOptions[mode_id] !== "undefined" &&
|
2017
|
|
- typeof this.modeOptions[mode_id].name !== "undefined"
|
|
2011
|
+ return typeof this.modeOptions[mode_id] !== 'undefined' &&
|
|
2012
|
+ typeof this.modeOptions[mode_id].name !== 'undefined'
|
2018
|
2013
|
? this.modeOptions[mode_id].name
|
2019
|
|
- : "";
|
|
2014
|
+ : ''
|
2020
|
2015
|
},
|
2021
|
2016
|
getDialysisRecord() {
|
2022
|
|
- this.loading = true;
|
|
2017
|
+ this.loading = true
|
2023
|
2018
|
|
2024
|
2019
|
// getDialysisRecord(this.queryParams).then(response => {
|
2025
|
|
- var response = this.childResponse;
|
|
2020
|
+ var response = this.childResponse
|
2026
|
2021
|
if (response.data.state == 1) {
|
2027
|
|
- this.adminUser = response.data.data.users;
|
|
2022
|
+ this.adminUser = response.data.data.users
|
2028
|
2023
|
|
2029
|
|
- this.users = response.data.data.users;
|
2030
|
|
- this.patientInfo = response.data.data.patientInfo;
|
|
2024
|
+ this.users = response.data.data.users
|
|
2025
|
+ this.patientInfo = response.data.data.patientInfo
|
2031
|
2026
|
|
2032
|
2027
|
this.patientInfo.birth = uParseTime(
|
2033
|
2028
|
this.patientInfo.birthday,
|
2034
|
|
- "{y}-{m}-{d}"
|
2035
|
|
- );
|
|
2029
|
+ '{y}-{m}-{d}'
|
|
2030
|
+ )
|
2036
|
2031
|
// this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
|
2037
|
2032
|
if (response.data.data.patientInfo.first_dialysis_date != 0) {
|
2038
|
2033
|
this.patientInfo.first_dialysis_date = uParseTime(
|
2039
|
2034
|
response.data.data.patientInfo.first_dialysis_date,
|
2040
|
|
- "{y}-{m}-{d}"
|
2041
|
|
- );
|
|
2035
|
+ '{y}-{m}-{d}'
|
|
2036
|
+ )
|
2042
|
2037
|
} else {
|
2043
|
|
- this.patientInfo.first_dialysis_date = "";
|
|
2038
|
+ this.patientInfo.first_dialysis_date = ''
|
2044
|
2039
|
}
|
2045
|
|
- this.check = response.data.data.check;
|
2046
|
|
- this.xtdate = response.data.data.xtdate;
|
2047
|
|
- this.predialysis = response.data.data.PredialysisEvaluation;
|
|
2040
|
+ this.check = response.data.data.check
|
|
2041
|
+ this.xtdate = response.data.data.xtdate
|
|
2042
|
+ this.predialysis = response.data.data.PredialysisEvaluation
|
2048
|
2043
|
this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
|
2049
|
2044
|
this.predialysis.blood_access_part_opera_id
|
2050
|
|
- );
|
2051
|
|
- this.afterdialysis = response.data.data.AssessmentAfterDislysis;
|
2052
|
|
- this.operators = response.data.data.operators;
|
|
2045
|
+ )
|
|
2046
|
+ this.afterdialysis = response.data.data.AssessmentAfterDislysis
|
|
2047
|
+ this.operators = response.data.data.operators
|
2053
|
2048
|
this.dialysisOrder =
|
2054
|
2049
|
response.data.data.dialysisOrder === null
|
2055
|
2050
|
? null
|
2056
|
|
- : response.data.data.dialysisOrder;
|
|
2051
|
+ : response.data.data.dialysisOrder
|
2057
|
2052
|
|
2058
|
2053
|
if (this.operators.length > 0) {
|
2059
|
|
- var operatorsLen = this.operators.length;
|
|
2054
|
+ var operatorsLen = this.operators.length
|
2060
|
2055
|
for (var index = 0; index < operatorsLen; index++) {
|
2061
|
2056
|
this.$set(
|
2062
|
2057
|
this.operatorMaps,
|
2063
|
2058
|
this.operators[index].creator,
|
2064
|
2059
|
this.operators[index]
|
2065
|
|
- );
|
|
2060
|
+ )
|
2066
|
2061
|
}
|
2067
|
2062
|
}
|
2068
|
2063
|
|
2069
|
|
- this.afterdialysis.txqnx = -1;
|
2070
|
|
- if (this.afterdialysis.cruor.indexOf("0度") > -1) {
|
2071
|
|
- this.afterdialysis.txqnx = 0;
|
|
2064
|
+ this.afterdialysis.txqnx = -1
|
|
2065
|
+ if (this.afterdialysis.cruor.indexOf('0度') > -1) {
|
|
2066
|
+ this.afterdialysis.txqnx = 0
|
2072
|
2067
|
}
|
2073
|
|
- if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
|
2074
|
|
- this.afterdialysis.txqnx = 1;
|
|
2068
|
+ if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
|
|
2069
|
+ this.afterdialysis.txqnx = 1
|
2075
|
2070
|
}
|
2076
|
|
- if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
|
2077
|
|
- this.afterdialysis.txqnx = 2;
|
|
2071
|
+ if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
|
|
2072
|
+ this.afterdialysis.txqnx = 2
|
2078
|
2073
|
}
|
2079
|
|
- if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
|
2080
|
|
- this.afterdialysis.txqnx = 3;
|
|
2074
|
+ if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
|
|
2075
|
+ this.afterdialysis.txqnx = 3
|
2081
|
2076
|
}
|
2082
|
2077
|
|
2083
|
2078
|
this.afterdialysis.complications = this.afterdialysis.complication.split(
|
2084
|
|
- ","
|
2085
|
|
- );
|
2086
|
|
- this.afterdialysis.complications_other = [];
|
2087
|
|
- this.afterdialysis.complications_index = [];
|
2088
|
|
- var acllen = this.afterdialysis.complications.length;
|
|
2079
|
+ ','
|
|
2080
|
+ )
|
|
2081
|
+ this.afterdialysis.complications_other = []
|
|
2082
|
+ this.afterdialysis.complications_index = []
|
|
2083
|
+ var acllen = this.afterdialysis.complications.length
|
2089
|
2084
|
for (let index = 0; index < acllen; index++) {
|
2090
|
2085
|
if (
|
2091
|
2086
|
this.complications.indexOf(
|
|
@@ -2094,7 +2089,7 @@ export default {
|
2094
|
2089
|
) {
|
2095
|
2090
|
this.afterdialysis.complications_index.push(
|
2096
|
2091
|
this.afterdialysis.complications[index]
|
2097
|
|
- );
|
|
2092
|
+ )
|
2098
|
2093
|
} else if (
|
2099
|
2094
|
this.complications.indexOf(
|
2100
|
2095
|
this.afterdialysis.complications[index]
|
|
@@ -2105,35 +2100,35 @@ export default {
|
2105
|
2100
|
) {
|
2106
|
2101
|
this.afterdialysis.complications_other.push(
|
2107
|
2102
|
this.afterdialysis.complications[index]
|
2108
|
|
- );
|
|
2103
|
+ )
|
2109
|
2104
|
}
|
2110
|
2105
|
}
|
2111
|
2106
|
this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
|
2112
|
|
- ","
|
2113
|
|
- );
|
|
2107
|
+ ','
|
|
2108
|
+ )
|
2114
|
2109
|
|
2115
|
|
- this.prescription = response.data.data.dialysisPrescription;
|
|
2110
|
+ this.prescription = response.data.data.dialysisPrescription
|
2116
|
2111
|
|
2117
|
2112
|
this.receiverTreatmentAccess =
|
2118
|
|
- response.data.data.receiverTreatmentAccess;
|
2119
|
|
- this.prescription.mode = this.modeName(this.prescription.mode_id);
|
2120
|
|
- var rwLen = this.replacementWays.length;
|
2121
|
|
- this.prescription.replacement = "";
|
|
2113
|
+ response.data.data.receiverTreatmentAccess
|
|
2114
|
+ this.prescription.mode = this.modeName(this.prescription.mode_id)
|
|
2115
|
+ var rwLen = this.replacementWays.length
|
|
2116
|
+ this.prescription.replacement = ''
|
2122
|
2117
|
for (let index = 0; index < rwLen; index++) {
|
2123
|
2118
|
if (
|
2124
|
2119
|
this.replacementWays[index].id == this.prescription.replacement_way
|
2125
|
2120
|
) {
|
2126
|
|
- this.prescription.replacement = this.replacementWays[index].name;
|
2127
|
|
- break;
|
|
2121
|
+ this.prescription.replacement = this.replacementWays[index].name
|
|
2122
|
+ break
|
2128
|
2123
|
}
|
2129
|
2124
|
}
|
2130
|
2125
|
|
2131
|
2126
|
this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
|
2132
|
2127
|
this.prescription.dialysate_formulation
|
2133
|
|
- );
|
|
2128
|
+ )
|
2134
|
2129
|
|
2135
|
|
- var paLen = this.perfusionApparatus.length;
|
2136
|
|
- this.prescription.perfusion_apparatus_name = "";
|
|
2130
|
+ var paLen = this.perfusionApparatus.length
|
|
2131
|
+ this.prescription.perfusion_apparatus_name = ''
|
2137
|
2132
|
for (let index = 0; index < paLen; index++) {
|
2138
|
2133
|
if (
|
2139
|
2134
|
this.perfusionApparatus[index].id ==
|
|
@@ -2141,122 +2136,122 @@ export default {
|
2141
|
2136
|
) {
|
2142
|
2137
|
this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
|
2143
|
2138
|
index
|
2144
|
|
- ].name;
|
2145
|
|
- break;
|
|
2139
|
+ ].name
|
|
2140
|
+ break
|
2146
|
2141
|
}
|
2147
|
2142
|
}
|
2148
|
2143
|
|
2149
|
|
- var acLen = this.anticoagulantsConfit.length;
|
2150
|
|
- var thisALID = this.prescription.anticoagulant;
|
2151
|
|
- this.prescription.anticoagulant_name = "";
|
|
2144
|
+ var acLen = this.anticoagulantsConfit.length
|
|
2145
|
+ var thisALID = this.prescription.anticoagulant
|
|
2146
|
+ this.prescription.anticoagulant_name = ''
|
2152
|
2147
|
|
2153
|
2148
|
if (
|
2154
|
|
- typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
|
|
2149
|
+ typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
|
2155
|
2150
|
this.anticoagulantsConfit[thisALID] != null
|
2156
|
2151
|
) {
|
2157
|
2152
|
this.prescription.anticoagulant_name = this.anticoagulantsConfit[
|
2158
|
2153
|
thisALID
|
2159
|
|
- ].name;
|
2160
|
|
- this.AlPanel = this.anticoagulantsConfit[thisALID];
|
|
2154
|
+ ].name
|
|
2155
|
+ this.AlPanel = this.anticoagulantsConfit[thisALID]
|
2161
|
2156
|
}
|
2162
|
2157
|
|
2163
|
|
- this.advices = response.data.data.advices;
|
2164
|
|
- this.monitors = response.data.data.monitors;
|
2165
|
|
- this.summary = response.data.data.summary;
|
2166
|
|
- this.org_template_info = response.data.data.org_template_info;
|
|
2158
|
+ this.advices = response.data.data.advices
|
|
2159
|
+ this.monitors = response.data.data.monitors
|
|
2160
|
+ this.summary = response.data.data.summary
|
|
2161
|
+ this.org_template_info = response.data.data.org_template_info
|
2167
|
2162
|
|
2168
|
2163
|
if (this.monitors.length <= 6) {
|
2169
|
|
- var nl = 6;
|
2170
|
|
- this.print_length = 6;
|
|
2164
|
+ var nl = 6
|
|
2165
|
+ this.print_length = 6
|
2171
|
2166
|
|
2172
|
2167
|
for (let index = 0; index < nl; index++) {
|
2173
|
2168
|
if (
|
2174
|
2169
|
this.monitors[index] == undefined ||
|
2175
|
2170
|
this.monitors[index].length <= 0
|
2176
|
2171
|
) {
|
2177
|
|
- this.monitors2.push([]);
|
|
2172
|
+ this.monitors2.push([])
|
2178
|
2173
|
} else {
|
2179
|
|
- continue;
|
|
2174
|
+ continue
|
2180
|
2175
|
}
|
2181
|
2176
|
}
|
2182
|
2177
|
}
|
2183
|
2178
|
|
2184
|
|
- var tempmonitorflag = true;
|
|
2179
|
+ var tempmonitorflag = true
|
2185
|
2180
|
for (let index = 0; index < this.monitors.length; index++) {
|
2186
|
|
- const monitor = this.monitors[index];
|
2187
|
|
- this.monitors[index].end = "";
|
|
2181
|
+ const monitor = this.monitors[index]
|
|
2182
|
+ this.monitors[index].end = ''
|
2188
|
2183
|
if (Object.keys(monitor).length > 0 && index > 1) {
|
2189
|
2184
|
if (monitor.operate_time == this.dialysisOrder.end_time) {
|
2190
|
|
- this.monitors[index].end = "【结束透析】";
|
2191
|
|
- tempmonitorflag = false;
|
|
2185
|
+ this.monitors[index].end = '【结束透析】'
|
|
2186
|
+ tempmonitorflag = false
|
2192
|
2187
|
}
|
2193
|
2188
|
if (tempmonitorflag && index == this.monitors.length - 1) {
|
2194
|
|
- this.monitors[index].end = "【结束透析】";
|
|
2189
|
+ this.monitors[index].end = '【结束透析】'
|
2195
|
2190
|
}
|
2196
|
2191
|
}
|
2197
|
2192
|
}
|
2198
|
2193
|
|
2199
|
|
- this.jilurow = this.monitors.length + 1;
|
|
2194
|
+ this.jilurow = this.monitors.length + 1
|
2200
|
2195
|
|
2201
|
|
- this.advice_jilurow = this.advices.length + 1;
|
|
2196
|
+ this.advice_jilurow = this.advices.length + 1
|
2202
|
2197
|
|
2203
|
|
- var childMap = {};
|
|
2198
|
+ var childMap = {}
|
2204
|
2199
|
for (const index in this.advices) {
|
2205
|
2200
|
if (this.advices[index].parent_id == 0) {
|
2206
|
|
- continue;
|
|
2201
|
+ continue
|
2207
|
2202
|
}
|
2208
|
2203
|
if (!(this.advices[index].parent_id in childMap)) {
|
2209
|
|
- childMap[this.advices[index].parent_id] = [];
|
|
2204
|
+ childMap[this.advices[index].parent_id] = []
|
2210
|
2205
|
}
|
2211
|
|
- childMap[this.advices[index].parent_id].push(this.advices[index]);
|
|
2206
|
+ childMap[this.advices[index].parent_id].push(this.advices[index])
|
2212
|
2207
|
}
|
2213
|
2208
|
|
2214
|
|
- var advices = [];
|
|
2209
|
+ var advices = []
|
2215
|
2210
|
for (const index in this.advices) {
|
2216
|
2211
|
if (this.advices[index].parent_id > 0) {
|
2217
|
|
- continue;
|
|
2212
|
+ continue
|
2218
|
2213
|
}
|
2219
|
|
- var item = this.advices[index];
|
|
2214
|
+ var item = this.advices[index]
|
2220
|
2215
|
if (item.id in childMap) {
|
2221
|
|
- item.children = childMap[item.id];
|
|
2216
|
+ item.children = childMap[item.id]
|
2222
|
2217
|
} else {
|
2223
|
|
- item.children = [];
|
|
2218
|
+ item.children = []
|
2224
|
2219
|
}
|
2225
|
|
- advices.push(item);
|
|
2220
|
+ advices.push(item)
|
2226
|
2221
|
}
|
2227
|
2222
|
|
2228
|
|
- var leftAdvice = [];
|
2229
|
|
- var rightAdvice = [];
|
2230
|
|
- var adlen = advices.length;
|
|
2223
|
+ var leftAdvice = []
|
|
2224
|
+ var rightAdvice = []
|
|
2225
|
+ var adlen = advices.length
|
2231
|
2226
|
|
2232
|
|
- var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
|
|
2227
|
+ var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
|
2233
|
2228
|
for (var i = 0; i < halfLen; i++) {
|
2234
|
|
- leftAdvice.push(advices[i]);
|
2235
|
|
- rightAdvice.push(advices[i + halfLen]);
|
|
2229
|
+ leftAdvice.push(advices[i])
|
|
2230
|
+ rightAdvice.push(advices[i + halfLen])
|
2236
|
2231
|
}
|
2237
|
2232
|
if (halfLen < 5) {
|
2238
|
|
- var nl = 5 - leftAdvice.length;
|
|
2233
|
+ var nl = 5 - leftAdvice.length
|
2239
|
2234
|
for (let index = 0; index < nl; index++) {
|
2240
|
|
- leftAdvice.push([]);
|
|
2235
|
+ leftAdvice.push([])
|
2241
|
2236
|
}
|
2242
|
|
- var nl = 5 - rightAdvice.length;
|
|
2237
|
+ var nl = 5 - rightAdvice.length
|
2243
|
2238
|
for (let index = 0; index < nl; index++) {
|
2244
|
|
- rightAdvice.push([]);
|
|
2239
|
+ rightAdvice.push([])
|
2245
|
2240
|
}
|
2246
|
2241
|
}
|
2247
|
2242
|
|
2248
|
|
- this.advices = [];
|
|
2243
|
+ this.advices = []
|
2249
|
2244
|
for (var i = 0; i < halfLen; i++) {
|
2250
|
|
- var item = [];
|
2251
|
|
- item.push(leftAdvice[i]);
|
2252
|
|
- item.push(rightAdvice[i]);
|
2253
|
|
- this.advices.push(item);
|
|
2245
|
+ var item = []
|
|
2246
|
+ item.push(leftAdvice[i])
|
|
2247
|
+ item.push(rightAdvice[i])
|
|
2248
|
+ this.advices.push(item)
|
2254
|
2249
|
}
|
2255
|
|
- this.loading = false;
|
|
2250
|
+ this.loading = false
|
2256
|
2251
|
this.doctor_advices =
|
2257
|
|
- response.data.data.advices == null ? [] : response.data.data.advices;
|
|
2252
|
+ response.data.data.advices == null ? [] : response.data.data.advices
|
2258
|
2253
|
for (let index = 0; index < this.doctor_advices.length; index++) {
|
2259
|
|
- this.doctor_advices[index]["isShow"] = 2;
|
|
2254
|
+ this.doctor_advices[index]['isShow'] = 2
|
2260
|
2255
|
}
|
2261
|
2256
|
|
2262
|
2257
|
// if (this.doctor_advices.length > 0) {
|
|
@@ -2338,57 +2333,57 @@ export default {
|
2338
|
2333
|
// }
|
2339
|
2334
|
// }
|
2340
|
2335
|
if (this.doctor_advices.length <= 6) {
|
2341
|
|
- var nl = 6;
|
2342
|
|
- this.print_length = 6;
|
|
2336
|
+ var nl = 6
|
|
2337
|
+ this.print_length = 6
|
2343
|
2338
|
|
2344
|
2339
|
for (let index = 0; index < nl; index++) {
|
2345
|
2340
|
if (
|
2346
|
2341
|
this.doctor_advices[index] == undefined ||
|
2347
|
2342
|
this.doctor_advices[index].length <= 0
|
2348
|
2343
|
) {
|
2349
|
|
- this.doctor_advices.push([]);
|
|
2344
|
+ this.doctor_advices.push([])
|
2350
|
2345
|
} else {
|
2351
|
|
- continue;
|
|
2346
|
+ continue
|
2352
|
2347
|
}
|
2353
|
2348
|
}
|
2354
|
2349
|
}
|
2355
|
2350
|
|
2356
|
|
- this.totollength = this.doctor_advices.length + this.monitors.length;
|
|
2351
|
+ this.totollength = this.doctor_advices.length + this.monitors.length
|
2357
|
2352
|
if (this.totollength > 18) {
|
2358
|
|
- var temp_advice_length = 17 - this.monitors.length;
|
2359
|
|
- var doctor_advices_1 = [];
|
2360
|
|
- var doctor_advices_2 = [];
|
|
2353
|
+ var temp_advice_length = 17 - this.monitors.length
|
|
2354
|
+ var doctor_advices_1 = []
|
|
2355
|
+ var doctor_advices_2 = []
|
2361
|
2356
|
for (let index = 0; index < this.doctor_advices.length; index++) {
|
2362
|
|
- const element = this.doctor_advices[index];
|
|
2357
|
+ const element = this.doctor_advices[index]
|
2363
|
2358
|
if (temp_advice_length > index) {
|
2364
|
|
- doctor_advices_1.push(element);
|
|
2359
|
+ doctor_advices_1.push(element)
|
2365
|
2360
|
} else {
|
2366
|
|
- doctor_advices_2.push(element);
|
|
2361
|
+ doctor_advices_2.push(element)
|
2367
|
2362
|
}
|
2368
|
2363
|
}
|
2369
|
|
- this.doctor_advices = doctor_advices_1;
|
2370
|
|
- this.doctor_advices_2 = doctor_advices_2;
|
|
2364
|
+ this.doctor_advices = doctor_advices_1
|
|
2365
|
+ this.doctor_advices_2 = doctor_advices_2
|
2371
|
2366
|
}
|
2372
|
|
- console.log(this.advice_groups);
|
|
2367
|
+ console.log(this.advice_groups)
|
2373
|
2368
|
} else {
|
2374
|
|
- this.loading = false;
|
2375
|
|
- this.$message.error("请求数据失败");
|
2376
|
|
- return false;
|
|
2369
|
+ this.loading = false
|
|
2370
|
+ this.$message.error('请求数据失败')
|
|
2371
|
+ return false
|
2377
|
2372
|
}
|
2378
|
2373
|
// })
|
2379
|
2374
|
},
|
2380
|
2375
|
|
2381
|
2376
|
bloodAccessParOperaName(id) {
|
2382
|
2377
|
if (id in this.bloodAccessParOpera) {
|
2383
|
|
- return this.bloodAccessParOpera[id].name;
|
|
2378
|
+ return this.bloodAccessParOpera[id].name
|
2384
|
2379
|
}
|
2385
|
|
- return "";
|
|
2380
|
+ return ''
|
2386
|
2381
|
},
|
2387
|
2382
|
dialysateFormulationName(id) {
|
2388
|
2383
|
if (id in this.dialysateFormulationOptions) {
|
2389
|
|
- return this.dialysateFormulationOptions[id].name;
|
|
2384
|
+ return this.dialysateFormulationOptions[id].name
|
2390
|
2385
|
}
|
2391
|
|
- return "";
|
|
2386
|
+ return ''
|
2392
|
2387
|
},
|
2393
|
2388
|
getAge: function(val) {
|
2394
|
2389
|
if (
|
|
@@ -2396,12 +2391,12 @@ export default {
|
2396
|
2391
|
this.org_template_info.template_id == 0
|
2397
|
2392
|
) {
|
2398
|
2393
|
if (val.age == 0) {
|
2399
|
|
- return jsGetAge(val.birth, "-");
|
|
2394
|
+ return jsGetAge(val.birth, '-')
|
2400
|
2395
|
} else {
|
2401
|
|
- return val.age;
|
|
2396
|
+ return val.age
|
2402
|
2397
|
}
|
2403
|
2398
|
} else {
|
2404
|
|
- return jsGetAge(val.birth, "-");
|
|
2399
|
+ return jsGetAge(val.birth, '-')
|
2405
|
2400
|
}
|
2406
|
2401
|
},
|
2407
|
2402
|
newAdviceGroupObject: function() {
|
|
@@ -2416,57 +2411,56 @@ export default {
|
2416
|
2411
|
// exec_time: 0,
|
2417
|
2412
|
// checker: 0,
|
2418
|
2413
|
}
|
2419
|
|
- );
|
|
2414
|
+ )
|
2420
|
2415
|
},
|
2421
|
2416
|
getFloat: function(x) {
|
2422
|
2417
|
if (x == 0) {
|
2423
|
|
- return "/";
|
|
2418
|
+ return '/'
|
2424
|
2419
|
}
|
2425
|
|
- if (x != ".") {
|
2426
|
|
- var f = Math.round(x * 100) / 100;
|
2427
|
|
- var s = f.toString();
|
2428
|
|
- var rs = s.indexOf(".");
|
|
2420
|
+ if (x != '.') {
|
|
2421
|
+ var f = Math.round(x * 100) / 100
|
|
2422
|
+ var s = f.toString()
|
|
2423
|
+ var rs = s.indexOf('.')
|
2429
|
2424
|
if (rs <= 0) {
|
2430
|
|
- rs = s.length;
|
2431
|
|
- s += ".";
|
|
2425
|
+ rs = s.length
|
|
2426
|
+ s += '.'
|
2432
|
2427
|
}
|
2433
|
2428
|
while (s.length <= rs + 1) {
|
2434
|
|
- s += "0";
|
|
2429
|
+ s += '0'
|
2435
|
2430
|
}
|
2436
|
|
- return s;
|
|
2431
|
+ return s
|
2437
|
2432
|
} else {
|
2438
|
|
- return "0.0";
|
|
2433
|
+ return '0.0'
|
2439
|
2434
|
}
|
2440
|
2435
|
}
|
2441
|
2436
|
},
|
2442
|
2437
|
watch: {
|
2443
|
|
- "patientInfo.gender": function() {
|
|
2438
|
+ 'patientInfo.gender': function() {
|
2444
|
2439
|
if (this.patientInfo.gender == 1) {
|
2445
|
|
- this.patientInfo_gender_1 = true;
|
2446
|
|
- this.patientInfo_gender_2 = false;
|
|
2440
|
+ this.patientInfo_gender_1 = true
|
|
2441
|
+ this.patientInfo_gender_2 = false
|
2447
|
2442
|
} else if (this.patientInfo.gender == 2) {
|
2448
|
|
- this.patientInfo_gender_2 = true;
|
2449
|
|
- this.patientInfo_gender_1 = false;
|
|
2443
|
+ this.patientInfo_gender_2 = true
|
|
2444
|
+ this.patientInfo_gender_1 = false
|
2450
|
2445
|
} else {
|
2451
|
|
- this.patientInfo_gender_2 = false;
|
2452
|
|
- this.patientInfo_gender_1 = false;
|
|
2446
|
+ this.patientInfo_gender_2 = false
|
|
2447
|
+ this.patientInfo_gender_1 = false
|
2453
|
2448
|
}
|
2454
|
2449
|
},
|
2455
|
|
- "patientInfo.source": function() {
|
|
2450
|
+ 'patientInfo.source': function() {
|
2456
|
2451
|
if (this.patientInfo.source == 1) {
|
2457
|
|
- this.patientInfo_source_1 = true;
|
2458
|
|
- this.patientInfo_source_2 = false;
|
|
2452
|
+ this.patientInfo_source_1 = true
|
|
2453
|
+ this.patientInfo_source_2 = false
|
2459
|
2454
|
} else if (this.patientInfo.source == 2) {
|
2460
|
|
- this.patientInfo_source_2 = true;
|
2461
|
|
- this.patientInfo_source_1 = false;
|
|
2455
|
+ this.patientInfo_source_2 = true
|
|
2456
|
+ this.patientInfo_source_1 = false
|
2462
|
2457
|
} else {
|
2463
|
|
- this.patientInfo_source_2 = false;
|
2464
|
|
- this.patientInfo_source_1 = false;
|
|
2458
|
+ this.patientInfo_source_2 = false
|
|
2459
|
+ this.patientInfo_source_1 = false
|
2465
|
2460
|
}
|
2466
|
2461
|
}
|
2467
|
2462
|
},
|
2468
|
2463
|
created() {
|
2469
|
|
-
|
2470
|
2464
|
this.way_arr = getDataConfig('hemodialysis', 'way')
|
2471
|
2465
|
this.consciousness_arr = getDataConfig('hemodialysis', 'consciousness')
|
2472
|
2466
|
this.appetite_arr = getDataConfig('hemodialysis', 'appetite')
|
|
@@ -2476,62 +2470,60 @@ export default {
|
2476
|
2470
|
this.intake_arr = getDataConfig('hemodialysis', 'intake')
|
2477
|
2471
|
this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
|
2478
|
2472
|
|
2479
|
|
-
|
2480
|
|
-
|
2481
|
2473
|
var xtuser = this.$store.getters.xt_user
|
2482
|
2474
|
this.orgname = xtuser.org.org_name
|
2483
|
2475
|
// this.orgname = "遂溪方济医院";
|
2484
|
|
- this.modeOptions = this.$store.getters.treatment_mode;
|
2485
|
|
- this.replacementWays = this.$store.getters.replacement_ways;
|
2486
|
|
- this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
|
2487
|
|
- this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
|
2488
|
|
- this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
|
|
2476
|
+ this.modeOptions = this.$store.getters.treatment_mode
|
|
2477
|
+ this.replacementWays = this.$store.getters.replacement_ways
|
|
2478
|
+ this.perfusionApparatus = this.$store.getters.perfusion_apparatus
|
|
2479
|
+ this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
|
|
2480
|
+ this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
|
2489
|
2481
|
|
2490
|
|
- this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
|
|
2482
|
+ this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
|
2491
|
2483
|
this.blood_access_part_opera = getDataConfig(
|
2492
|
|
- "hemodialysis",
|
2493
|
|
- "vascular_access_desc"
|
2494
|
|
- );
|
|
2484
|
+ 'hemodialysis',
|
|
2485
|
+ 'vascular_access_desc'
|
|
2486
|
+ )
|
2495
|
2487
|
|
2496
|
2488
|
// this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
|
2497
|
2489
|
|
2498
|
2490
|
var bloodAccessParOpera = getDataConfig(
|
2499
|
|
- "hemodialysis",
|
2500
|
|
- "vascular_access_desc"
|
2501
|
|
- );
|
|
2491
|
+ 'hemodialysis',
|
|
2492
|
+ 'vascular_access_desc'
|
|
2493
|
+ )
|
2502
|
2494
|
for (var key in bloodAccessParOpera) {
|
2503
|
2495
|
this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
|
2504
|
|
- bloodAccessParOpera[key];
|
|
2496
|
+ bloodAccessParOpera[key]
|
2505
|
2497
|
}
|
2506
|
2498
|
|
2507
|
2499
|
var dialysateFormulationOptions = getDataConfig(
|
2508
|
|
- "hemodialysis",
|
2509
|
|
- "dialysate_formulation"
|
2510
|
|
- );
|
|
2500
|
+ 'hemodialysis',
|
|
2501
|
+ 'dialysate_formulation'
|
|
2502
|
+ )
|
2511
|
2503
|
for (var key in dialysateFormulationOptions) {
|
2512
|
2504
|
this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
|
2513
|
|
- dialysateFormulationOptions[key];
|
|
2505
|
+ dialysateFormulationOptions[key]
|
2514
|
2506
|
}
|
2515
|
2507
|
|
2516
|
|
- const xtdate = this.$route.query && this.$route.query.xtdate;
|
2517
|
|
- console.log("xtdate", xtdate);
|
2518
|
|
- const xtno = this.$route.query && this.$route.query.xtno;
|
2519
|
|
- console.log("xtno", xtno);
|
|
2508
|
+ const xtdate = this.$route.query && this.$route.query.xtdate
|
|
2509
|
+ console.log('xtdate', xtdate)
|
|
2510
|
+ const xtno = this.$route.query && this.$route.query.xtno
|
|
2511
|
+ console.log('xtno', xtno)
|
2520
|
2512
|
if (
|
2521
|
|
- typeof xtdate === "string" &&
|
|
2513
|
+ typeof xtdate === 'string' &&
|
2522
|
2514
|
xtdate.length > 0 &&
|
2523
|
|
- typeof xtno === "string" &&
|
|
2515
|
+ typeof xtno === 'string' &&
|
2524
|
2516
|
xtno.length > 0
|
2525
|
2517
|
) {
|
2526
|
|
- this.queryParams.xtdate = xtdate;
|
2527
|
|
- this.queryParams.xtno = xtno;
|
2528
|
|
- this.getDialysisRecord();
|
|
2518
|
+ this.queryParams.xtdate = xtdate
|
|
2519
|
+ this.queryParams.xtno = xtno
|
|
2520
|
+ this.getDialysisRecord()
|
2529
|
2521
|
} else {
|
2530
|
|
- this.$message.error("参数不齐");
|
2531
|
|
- return false;
|
|
2522
|
+ this.$message.error('参数不齐')
|
|
2523
|
+ return false
|
2532
|
2524
|
}
|
2533
|
2525
|
}
|
2534
|
|
-};
|
|
2526
|
+}
|
2535
|
2527
|
</script>
|
2536
|
2528
|
|
2537
|
2529
|
<style>
|