|
@@ -116,7 +116,10 @@
|
116
|
116
|
</div>
|
117
|
117
|
<div class="inline_block" style="margin-left: 10px;">
|
118
|
118
|
诊断:
|
119
|
|
- <div class="under_line" style="width: 640px;text-align: left;word-wrap: break-word;white-space: inherit;" >
|
|
119
|
+ <div
|
|
120
|
+ class="under_line"
|
|
121
|
+ style="width: 640px;text-align: left;word-wrap: break-word;white-space: inherit;"
|
|
122
|
+ >
|
120
|
123
|
{{ patientInfo.diagnose }}
|
121
|
124
|
</div>
|
122
|
125
|
</div>
|
|
@@ -1056,6 +1059,7 @@
|
1056
|
1059
|
<td style="font-size: 16px" width="10%">时间</td>
|
1057
|
1060
|
</tr>
|
1058
|
1061
|
<!-- <template v-for="group in doctor_advices" > -->
|
|
1062
|
+
|
1059
|
1063
|
<tr
|
1060
|
1064
|
v-for="(advice, advice_index) in doctor_advices"
|
1061
|
1065
|
:key="advice_index"
|
|
@@ -1909,34 +1913,34 @@ export default {
|
1909
|
1913
|
nutrition_arr: [],
|
1910
|
1914
|
|
1911
|
1915
|
crumbs: [
|
1912
|
|
- { path: false, name: '透析管理' },
|
1913
|
|
- { path: false, name: '打印单' }
|
|
1916
|
+ { path: false, name: "透析管理" },
|
|
1917
|
+ { path: false, name: "打印单" }
|
1914
|
1918
|
],
|
1915
|
1919
|
operators: [],
|
1916
|
1920
|
adminUser: [],
|
1917
|
1921
|
check: {},
|
1918
|
|
- xtdate: '',
|
|
1922
|
+ xtdate: "",
|
1919
|
1923
|
dialysisOrder: {
|
1920
|
1924
|
DeviceNumber: []
|
1921
|
1925
|
},
|
1922
|
1926
|
displaceLiquiPartOptions: [],
|
1923
|
1927
|
operatorMaps: {},
|
1924
|
1928
|
complications: [
|
1925
|
|
- '低血压',
|
1926
|
|
- '高血压',
|
1927
|
|
- '心律失常',
|
1928
|
|
- '头晕',
|
1929
|
|
- '头痛',
|
1930
|
|
- '呕吐',
|
1931
|
|
- '抽搐',
|
1932
|
|
- '出血',
|
1933
|
|
- '心衰',
|
1934
|
|
- '腹痛'
|
|
1929
|
+ "低血压",
|
|
1930
|
+ "高血压",
|
|
1931
|
+ "心律失常",
|
|
1932
|
+ "头晕",
|
|
1933
|
+ "头痛",
|
|
1934
|
+ "呕吐",
|
|
1935
|
+ "抽搐",
|
|
1936
|
+ "出血",
|
|
1937
|
+ "心衰",
|
|
1938
|
+ "腹痛"
|
1935
|
1939
|
],
|
1936
|
1940
|
jilurow: 0,
|
1937
|
1941
|
advice_jilurow: 0,
|
1938
|
1942
|
loading: false,
|
1939
|
|
- orgname: '',
|
|
1943
|
+ orgname: "",
|
1940
|
1944
|
patientInfo_gender_1: false,
|
1941
|
1945
|
patientInfo_gender_2: false,
|
1942
|
1946
|
patientInfo_source_2: false,
|
|
@@ -1949,30 +1953,30 @@ export default {
|
1949
|
1953
|
dialysateFormulationOptions: {},
|
1950
|
1954
|
totollength: 0,
|
1951
|
1955
|
queryParams: {
|
1952
|
|
- xtdate: '',
|
1953
|
|
- xtno: ''
|
|
1956
|
+ xtdate: "",
|
|
1957
|
+ xtno: ""
|
1954
|
1958
|
},
|
1955
|
1959
|
patientInfo: {
|
1956
|
|
- birth: '',
|
1957
|
|
- age: '',
|
|
1960
|
+ birth: "",
|
|
1961
|
+ age: "",
|
1958
|
1962
|
DialysisSchedule: {
|
1959
|
|
- device_number: { number: '' },
|
1960
|
|
- device_zone: { name: '' }
|
|
1963
|
+ device_number: { number: "" },
|
|
1964
|
+ device_zone: { name: "" }
|
1961
|
1965
|
},
|
1962
|
1966
|
gender: 0
|
1963
|
1967
|
},
|
1964
|
1968
|
predialysis: {
|
1965
|
|
- score: '',
|
1966
|
|
- internal_fistula: '',
|
1967
|
|
- internal_fistula_skin: '',
|
1968
|
|
- catheter: '',
|
1969
|
|
- blood_access_part_opera_name: ''
|
|
1969
|
+ score: "",
|
|
1970
|
+ internal_fistula: "",
|
|
1971
|
+ internal_fistula_skin: "",
|
|
1972
|
+ catheter: "",
|
|
1973
|
+ blood_access_part_opera_name: ""
|
1970
|
1974
|
},
|
1971
|
1975
|
afterdialysis: {
|
1972
|
|
- complications_index: ''
|
|
1976
|
+ complications_index: ""
|
1973
|
1977
|
},
|
1974
|
1978
|
prescription: {
|
1975
|
|
- dialysate_formulation_name: '',
|
|
1979
|
+ dialysate_formulation_name: "",
|
1976
|
1980
|
device: {}
|
1977
|
1981
|
},
|
1978
|
1982
|
advices: [],
|
|
@@ -1993,110 +1997,110 @@ export default {
|
1993
|
1997
|
|
1994
|
1998
|
AlPanel: {
|
1995
|
1999
|
id: 0,
|
1996
|
|
- name: '',
|
|
2000
|
+ name: "",
|
1997
|
2001
|
type: 1,
|
1998
|
2002
|
shouji: 2,
|
1999
|
2003
|
weichi: 2,
|
2000
|
2004
|
zongliang: 2,
|
2001
|
2005
|
gaimingcheng: -1,
|
2002
|
2006
|
gaijiliang: -1,
|
2003
|
|
- shouji_unit: 'mg',
|
2004
|
|
- weichi_unit: 'mg/h',
|
2005
|
|
- zongliang_unit: 'mg',
|
2006
|
|
- gaimingcheng_unit: '',
|
2007
|
|
- gaijiliang_unit: ''
|
|
2007
|
+ shouji_unit: "mg",
|
|
2008
|
+ weichi_unit: "mg/h",
|
|
2009
|
+ zongliang_unit: "mg",
|
|
2010
|
+ gaimingcheng_unit: "",
|
|
2011
|
+ gaijiliang_unit: ""
|
2008
|
2012
|
}
|
2009
|
|
- }
|
|
2013
|
+ };
|
2010
|
2014
|
},
|
2011
|
2015
|
methods: {
|
2012
|
2016
|
getDisplaceLiquiPart: function(val) {
|
2013
|
|
- let displace_liqui_part_name = '/'
|
2014
|
|
- const displace_liqui_part = this.displaceLiquiPartOptions
|
|
2017
|
+ let displace_liqui_part_name = "/";
|
|
2018
|
+ const displace_liqui_part = this.displaceLiquiPartOptions;
|
2015
|
2019
|
for (let i = 0; i < displace_liqui_part.length; i++) {
|
2016
|
2020
|
if (displace_liqui_part[i].id == val) {
|
2017
|
|
- displace_liqui_part_name = displace_liqui_part[i].name
|
|
2021
|
+ displace_liqui_part_name = displace_liqui_part[i].name;
|
2018
|
2022
|
}
|
2019
|
2023
|
}
|
2020
|
|
- return displace_liqui_part_name
|
|
2024
|
+ return displace_liqui_part_name;
|
2021
|
2025
|
},
|
2022
|
2026
|
replacementWaysById: function(val) {
|
2023
|
|
- let replacementWaysname = '/'
|
|
2027
|
+ let replacementWaysname = "/";
|
2024
|
2028
|
// let vascular_access = getDataConfig('hemodialysis', 'vascular_access')
|
2025
|
2029
|
|
2026
|
2030
|
for (let i = 0; i < this.replacementWays.length; i++) {
|
2027
|
2031
|
if (this.replacementWays[i].id == val) {
|
2028
|
|
- replacementWaysname = this.replacementWays[i].name
|
|
2032
|
+ replacementWaysname = this.replacementWays[i].name;
|
2029
|
2033
|
}
|
2030
|
2034
|
}
|
2031
|
|
- return replacementWaysname
|
|
2035
|
+ return replacementWaysname;
|
2032
|
2036
|
},
|
2033
|
2037
|
QueryPartById: function(val) {
|
2034
|
|
- let vascular_access_part_name = '/'
|
2035
|
|
- const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
|
|
2038
|
+ let vascular_access_part_name = "/";
|
|
2039
|
+ const vascular_access = getDataConfig("hemodialysis", "vascular_access");
|
2036
|
2040
|
|
2037
|
2041
|
for (let i = 0; i < vascular_access.length; i++) {
|
2038
|
2042
|
if (vascular_access[i].id == val) {
|
2039
|
|
- vascular_access_part_name = vascular_access[i].name
|
|
2043
|
+ vascular_access_part_name = vascular_access[i].name;
|
2040
|
2044
|
}
|
2041
|
2045
|
}
|
2042
|
|
- return vascular_access_part_name
|
|
2046
|
+ return vascular_access_part_name;
|
2043
|
2047
|
},
|
2044
|
2048
|
getAdminUser(id) {
|
2045
|
2049
|
if (id == 0) {
|
2046
|
|
- return ''
|
|
2050
|
+ return "";
|
2047
|
2051
|
}
|
2048
|
2052
|
if (id == undefined) {
|
2049
|
|
- return ''
|
|
2053
|
+ return "";
|
2050
|
2054
|
}
|
2051
|
2055
|
for (let i = 0; i < this.adminUser.length; i++) {
|
2052
|
2056
|
if (this.adminUser[i].id == id) {
|
2053
|
|
- return this.adminUser[i].name
|
|
2057
|
+ return this.adminUser[i].name;
|
2054
|
2058
|
}
|
2055
|
2059
|
}
|
2056
|
2060
|
},
|
2057
|
2061
|
getTime(value, temp) {
|
2058
|
2062
|
if (value == 0) {
|
2059
|
|
- return ''
|
|
2063
|
+ return "";
|
2060
|
2064
|
}
|
2061
|
2065
|
if (value != undefined) {
|
2062
|
|
- return uParseTime(value, temp)
|
|
2066
|
+ return uParseTime(value, temp);
|
2063
|
2067
|
}
|
2064
|
|
- return ''
|
|
2068
|
+ return "";
|
2065
|
2069
|
},
|
2066
|
2070
|
getUnit: function(val) {
|
2067
|
2071
|
switch (val) {
|
2068
|
2072
|
case 1:
|
2069
|
|
- return 'g'
|
2070
|
|
- break
|
|
2073
|
+ return "g";
|
|
2074
|
+ break;
|
2071
|
2075
|
case 2:
|
2072
|
|
- return 'ml'
|
2073
|
|
- break
|
|
2076
|
+ return "ml";
|
|
2077
|
+ break;
|
2074
|
2078
|
}
|
2075
|
2079
|
},
|
2076
|
2080
|
printThisPage() {
|
2077
|
|
- var ptime = Math.round(new Date().getTime() / 1000)
|
2078
|
|
- this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
|
|
2081
|
+ var ptime = Math.round(new Date().getTime() / 1000);
|
|
2082
|
+ this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
|
2079
|
2083
|
|
2080
|
2084
|
const style =
|
2081
|
|
- '@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;}'
|
|
2085
|
+ '@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;}';
|
2082
|
2086
|
|
2083
|
2087
|
if (this.org_template_info.template_id == 1) {
|
2084
|
2088
|
printJS({
|
2085
|
|
- printable: 'dialysis-print-box',
|
2086
|
|
- type: 'html',
|
|
2089
|
+ printable: "dialysis-print-box",
|
|
2090
|
+ type: "html",
|
2087
|
2091
|
style: style,
|
2088
|
2092
|
scanStyles: false
|
2089
|
|
- })
|
|
2093
|
+ });
|
2090
|
2094
|
} else if (
|
2091
|
2095
|
this.org_template_info.template_id == 2 ||
|
2092
|
2096
|
this.org_template_info.template_id == 0
|
2093
|
2097
|
) {
|
2094
|
2098
|
printJS({
|
2095
|
|
- printable: 'dialysis-print-box-1',
|
2096
|
|
- type: 'html',
|
|
2099
|
+ printable: "dialysis-print-box-1",
|
|
2100
|
+ type: "html",
|
2097
|
2101
|
style: style,
|
2098
|
2102
|
scanStyles: false
|
2099
|
|
- })
|
|
2103
|
+ });
|
2100
|
2104
|
}
|
2101
|
2105
|
},
|
2102
|
2106
|
getNumber() {
|
|
@@ -2104,119 +2108,119 @@ export default {
|
2104
|
2108
|
return (
|
2105
|
2109
|
this.patientInfo.DialysisSchedule.device_zone.name +
|
2106
|
2110
|
this.dialysisOrder.DeviceNumber.number
|
2107
|
|
- )
|
|
2111
|
+ );
|
2108
|
2112
|
} else {
|
2109
|
2113
|
return (
|
2110
|
2114
|
this.patientInfo.DialysisSchedule.device_zone.name +
|
2111
|
2115
|
this.patientInfo.DialysisSchedule.device_number.number
|
2112
|
|
- )
|
|
2116
|
+ );
|
2113
|
2117
|
}
|
2114
|
2118
|
},
|
2115
|
2119
|
|
2116
|
2120
|
getXuserName(id) {
|
2117
|
2121
|
if (id <= 0) {
|
2118
|
|
- return ''
|
|
2122
|
+ return "";
|
2119
|
2123
|
}
|
2120
|
|
- var name = ''
|
2121
|
|
- if (this.users == null || typeof this.users.length === 'undefined') {
|
2122
|
|
- return name
|
|
2124
|
+ var name = "";
|
|
2125
|
+ if (this.users == null || typeof this.users.length === "undefined") {
|
|
2126
|
+ return name;
|
2123
|
2127
|
}
|
2124
|
|
- var leng = this.users.length
|
|
2128
|
+ var leng = this.users.length;
|
2125
|
2129
|
if (leng == 0) {
|
2126
|
|
- return name
|
|
2130
|
+ return name;
|
2127
|
2131
|
}
|
2128
|
2132
|
for (let index = 0; index < leng; index++) {
|
2129
|
2133
|
if (this.users[index].id == id) {
|
2130
|
|
- name = this.users[index].name
|
2131
|
|
- break
|
|
2134
|
+ name = this.users[index].name;
|
|
2135
|
+ break;
|
2132
|
2136
|
}
|
2133
|
2137
|
}
|
2134
|
|
- return name
|
|
2138
|
+ return name;
|
2135
|
2139
|
},
|
2136
|
2140
|
setAdminUserES(id) {
|
2137
|
2141
|
if (id == 0) {
|
2138
|
|
- return ''
|
|
2142
|
+ return "";
|
2139
|
2143
|
}
|
2140
|
2144
|
if (id in this.operatorMaps) {
|
2141
|
|
- return this.operatorMaps[id].url
|
|
2145
|
+ return this.operatorMaps[id].url;
|
2142
|
2146
|
} else {
|
2143
|
|
- return ''
|
|
2147
|
+ return "";
|
2144
|
2148
|
}
|
2145
|
2149
|
},
|
2146
|
2150
|
modeName(mode_id) {
|
2147
|
|
- return typeof this.modeOptions[mode_id] !== 'undefined' &&
|
2148
|
|
- typeof this.modeOptions[mode_id].name !== 'undefined'
|
|
2151
|
+ return typeof this.modeOptions[mode_id] !== "undefined" &&
|
|
2152
|
+ typeof this.modeOptions[mode_id].name !== "undefined"
|
2149
|
2153
|
? this.modeOptions[mode_id].name
|
2150
|
|
- : ''
|
|
2154
|
+ : "";
|
2151
|
2155
|
},
|
2152
|
2156
|
getDialysisRecord() {
|
2153
|
|
- this.loading = true
|
|
2157
|
+ this.loading = true;
|
2154
|
2158
|
|
2155
|
2159
|
// getDialysisRecord(this.queryParams).then(response => {
|
2156
|
|
- var response = this.childResponse
|
|
2160
|
+ var response = this.childResponse;
|
2157
|
2161
|
if (response.data.state == 1) {
|
2158
|
|
- this.adminUser = response.data.data.users
|
|
2162
|
+ this.adminUser = response.data.data.users;
|
2159
|
2163
|
|
2160
|
|
- this.users = response.data.data.users
|
2161
|
|
- this.patientInfo = response.data.data.patientInfo
|
|
2164
|
+ this.users = response.data.data.users;
|
|
2165
|
+ this.patientInfo = response.data.data.patientInfo;
|
2162
|
2166
|
|
2163
|
2167
|
this.patientInfo.birth = uParseTime(
|
2164
|
2168
|
this.patientInfo.birthday,
|
2165
|
|
- '{y}-{m}-{d}'
|
2166
|
|
- )
|
|
2169
|
+ "{y}-{m}-{d}"
|
|
2170
|
+ );
|
2167
|
2171
|
// this.patientInfo.age = jsGetAge(this.patientInfo.birth, '-')
|
2168
|
2172
|
if (response.data.data.patientInfo.first_dialysis_date != 0) {
|
2169
|
2173
|
this.patientInfo.first_dialysis_date = uParseTime(
|
2170
|
2174
|
response.data.data.patientInfo.first_dialysis_date,
|
2171
|
|
- '{y}-{m}-{d}'
|
2172
|
|
- )
|
|
2175
|
+ "{y}-{m}-{d}"
|
|
2176
|
+ );
|
2173
|
2177
|
} else {
|
2174
|
|
- this.patientInfo.first_dialysis_date = ''
|
|
2178
|
+ this.patientInfo.first_dialysis_date = "";
|
2175
|
2179
|
}
|
2176
|
|
- this.check = response.data.data.check
|
2177
|
|
- this.xtdate = response.data.data.xtdate
|
2178
|
|
- this.predialysis = response.data.data.PredialysisEvaluation
|
|
2180
|
+ this.check = response.data.data.check;
|
|
2181
|
+ this.xtdate = response.data.data.xtdate;
|
|
2182
|
+ this.predialysis = response.data.data.PredialysisEvaluation;
|
2179
|
2183
|
this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
|
2180
|
2184
|
this.predialysis.blood_access_part_opera_id
|
2181
|
|
- )
|
2182
|
|
- this.afterdialysis = response.data.data.AssessmentAfterDislysis
|
2183
|
|
- this.operators = response.data.data.operators
|
|
2185
|
+ );
|
|
2186
|
+ this.afterdialysis = response.data.data.AssessmentAfterDislysis;
|
|
2187
|
+ this.operators = response.data.data.operators;
|
2184
|
2188
|
this.dialysisOrder =
|
2185
|
2189
|
response.data.data.dialysisOrder === null
|
2186
|
2190
|
? null
|
2187
|
|
- : response.data.data.dialysisOrder
|
|
2191
|
+ : response.data.data.dialysisOrder;
|
2188
|
2192
|
|
2189
|
2193
|
if (this.operators.length > 0) {
|
2190
|
|
- var operatorsLen = this.operators.length
|
|
2194
|
+ var operatorsLen = this.operators.length;
|
2191
|
2195
|
for (var index = 0; index < operatorsLen; index++) {
|
2192
|
2196
|
this.$set(
|
2193
|
2197
|
this.operatorMaps,
|
2194
|
2198
|
this.operators[index].creator,
|
2195
|
2199
|
this.operators[index]
|
2196
|
|
- )
|
|
2200
|
+ );
|
2197
|
2201
|
}
|
2198
|
2202
|
}
|
2199
|
2203
|
|
2200
|
|
- this.afterdialysis.txqnx = -1
|
2201
|
|
- if (this.afterdialysis.cruor.indexOf('0度') > -1) {
|
2202
|
|
- this.afterdialysis.txqnx = 0
|
|
2204
|
+ this.afterdialysis.txqnx = -1;
|
|
2205
|
+ if (this.afterdialysis.cruor.indexOf("0度") > -1) {
|
|
2206
|
+ this.afterdialysis.txqnx = 0;
|
2203
|
2207
|
}
|
2204
|
|
- if (this.afterdialysis.cruor.indexOf('Ⅰ度') > -1) {
|
2205
|
|
- this.afterdialysis.txqnx = 1
|
|
2208
|
+ if (this.afterdialysis.cruor.indexOf("Ⅰ度") > -1) {
|
|
2209
|
+ this.afterdialysis.txqnx = 1;
|
2206
|
2210
|
}
|
2207
|
|
- if (this.afterdialysis.cruor.indexOf('Ⅱ度') > -1) {
|
2208
|
|
- this.afterdialysis.txqnx = 2
|
|
2211
|
+ if (this.afterdialysis.cruor.indexOf("Ⅱ度") > -1) {
|
|
2212
|
+ this.afterdialysis.txqnx = 2;
|
2209
|
2213
|
}
|
2210
|
|
- if (this.afterdialysis.cruor.indexOf('Ⅲ度') > -1) {
|
2211
|
|
- this.afterdialysis.txqnx = 3
|
|
2214
|
+ if (this.afterdialysis.cruor.indexOf("Ⅲ度") > -1) {
|
|
2215
|
+ this.afterdialysis.txqnx = 3;
|
2212
|
2216
|
}
|
2213
|
2217
|
|
2214
|
2218
|
this.afterdialysis.complications = this.afterdialysis.complication.split(
|
2215
|
|
- ','
|
2216
|
|
- )
|
2217
|
|
- this.afterdialysis.complications_other = []
|
2218
|
|
- this.afterdialysis.complications_index = []
|
2219
|
|
- var acllen = this.afterdialysis.complications.length
|
|
2219
|
+ ","
|
|
2220
|
+ );
|
|
2221
|
+ this.afterdialysis.complications_other = [];
|
|
2222
|
+ this.afterdialysis.complications_index = [];
|
|
2223
|
+ var acllen = this.afterdialysis.complications.length;
|
2220
|
2224
|
for (let index = 0; index < acllen; index++) {
|
2221
|
2225
|
if (
|
2222
|
2226
|
this.complications.indexOf(
|
|
@@ -2225,7 +2229,7 @@ export default {
|
2225
|
2229
|
) {
|
2226
|
2230
|
this.afterdialysis.complications_index.push(
|
2227
|
2231
|
this.afterdialysis.complications[index]
|
2228
|
|
- )
|
|
2232
|
+ );
|
2229
|
2233
|
} else if (
|
2230
|
2234
|
this.complications.indexOf(
|
2231
|
2235
|
this.afterdialysis.complications[index]
|
|
@@ -2236,35 +2240,35 @@ export default {
|
2236
|
2240
|
) {
|
2237
|
2241
|
this.afterdialysis.complications_other.push(
|
2238
|
2242
|
this.afterdialysis.complications[index]
|
2239
|
|
- )
|
|
2243
|
+ );
|
2240
|
2244
|
}
|
2241
|
2245
|
}
|
2242
|
2246
|
this.afterdialysis.complications_other = this.afterdialysis.complications_other.join(
|
2243
|
|
- ','
|
2244
|
|
- )
|
|
2247
|
+ ","
|
|
2248
|
+ );
|
2245
|
2249
|
|
2246
|
|
- this.prescription = response.data.data.dialysisPrescription
|
|
2250
|
+ this.prescription = response.data.data.dialysisPrescription;
|
2247
|
2251
|
|
2248
|
2252
|
this.receiverTreatmentAccess =
|
2249
|
|
- response.data.data.receiverTreatmentAccess
|
2250
|
|
- this.prescription.mode = this.modeName(this.prescription.mode_id)
|
2251
|
|
- var rwLen = this.replacementWays.length
|
2252
|
|
- this.prescription.replacement = ''
|
|
2253
|
+ response.data.data.receiverTreatmentAccess;
|
|
2254
|
+ this.prescription.mode = this.modeName(this.prescription.mode_id);
|
|
2255
|
+ var rwLen = this.replacementWays.length;
|
|
2256
|
+ this.prescription.replacement = "";
|
2253
|
2257
|
for (let index = 0; index < rwLen; index++) {
|
2254
|
2258
|
if (
|
2255
|
2259
|
this.replacementWays[index].id == this.prescription.replacement_way
|
2256
|
2260
|
) {
|
2257
|
|
- this.prescription.replacement = this.replacementWays[index].name
|
2258
|
|
- break
|
|
2261
|
+ this.prescription.replacement = this.replacementWays[index].name;
|
|
2262
|
+ break;
|
2259
|
2263
|
}
|
2260
|
2264
|
}
|
2261
|
2265
|
|
2262
|
2266
|
this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
|
2263
|
2267
|
this.prescription.dialysate_formulation
|
2264
|
|
- )
|
|
2268
|
+ );
|
2265
|
2269
|
|
2266
|
|
- var paLen = this.perfusionApparatus.length
|
2267
|
|
- this.prescription.perfusion_apparatus_name = ''
|
|
2270
|
+ var paLen = this.perfusionApparatus.length;
|
|
2271
|
+ this.prescription.perfusion_apparatus_name = "";
|
2268
|
2272
|
for (let index = 0; index < paLen; index++) {
|
2269
|
2273
|
if (
|
2270
|
2274
|
this.perfusionApparatus[index].id ==
|
|
@@ -2272,123 +2276,122 @@ export default {
|
2272
|
2276
|
) {
|
2273
|
2277
|
this.prescription.perfusion_apparatus_name = this.perfusionApparatus[
|
2274
|
2278
|
index
|
2275
|
|
- ].name
|
2276
|
|
- break
|
|
2279
|
+ ].name;
|
|
2280
|
+ break;
|
2277
|
2281
|
}
|
2278
|
2282
|
}
|
2279
|
2283
|
|
2280
|
|
- var acLen = this.anticoagulantsConfit.length
|
2281
|
|
- var thisALID = this.prescription.anticoagulant
|
2282
|
|
- this.prescription.anticoagulant_name = ''
|
|
2284
|
+ var acLen = this.anticoagulantsConfit.length;
|
|
2285
|
+ var thisALID = this.prescription.anticoagulant;
|
|
2286
|
+ this.prescription.anticoagulant_name = "";
|
2283
|
2287
|
|
2284
|
2288
|
if (
|
2285
|
|
- typeof this.anticoagulantsConfit[thisALID] !== 'undefined' &&
|
|
2289
|
+ typeof this.anticoagulantsConfit[thisALID] !== "undefined" &&
|
2286
|
2290
|
this.anticoagulantsConfit[thisALID] != null
|
2287
|
2291
|
) {
|
2288
|
2292
|
this.prescription.anticoagulant_name = this.anticoagulantsConfit[
|
2289
|
2293
|
thisALID
|
2290
|
|
- ].name
|
2291
|
|
- this.AlPanel = this.anticoagulantsConfit[thisALID]
|
|
2294
|
+ ].name;
|
|
2295
|
+ this.AlPanel = this.anticoagulantsConfit[thisALID];
|
2292
|
2296
|
}
|
2293
|
2297
|
|
2294
|
|
- this.advices = response.data.data.advices
|
2295
|
|
- this.monitors = response.data.data.monitors
|
2296
|
|
- this.summary = response.data.data.summary
|
2297
|
|
- this.org_template_info = response.data.data.org_template_info
|
|
2298
|
+ this.advices = response.data.data.advices;
|
|
2299
|
+ this.monitors = response.data.data.monitors;
|
|
2300
|
+ this.summary = response.data.data.summary;
|
|
2301
|
+ this.org_template_info = response.data.data.org_template_info;
|
2298
|
2302
|
|
2299
|
2303
|
if (this.monitors.length <= 6) {
|
2300
|
|
- var nl = 6
|
2301
|
|
- this.print_length = 6
|
|
2304
|
+ var nl = 6;
|
|
2305
|
+ this.print_length = 6;
|
2302
|
2306
|
|
2303
|
2307
|
for (let index = 0; index < nl; index++) {
|
2304
|
2308
|
if (
|
2305
|
2309
|
this.monitors[index] == undefined ||
|
2306
|
2310
|
this.monitors[index].length <= 0
|
2307
|
2311
|
) {
|
2308
|
|
- this.monitors2.push([])
|
|
2312
|
+ this.monitors2.push([]);
|
2309
|
2313
|
} else {
|
2310
|
|
- continue
|
|
2314
|
+ continue;
|
2311
|
2315
|
}
|
2312
|
2316
|
}
|
2313
|
2317
|
}
|
2314
|
2318
|
|
2315
|
|
- var tempmonitorflag = true
|
|
2319
|
+ var tempmonitorflag = true;
|
2316
|
2320
|
for (let index = 0; index < this.monitors.length; index++) {
|
2317
|
|
- const monitor = this.monitors[index]
|
2318
|
|
- this.monitors[index].end = ''
|
|
2321
|
+ const monitor = this.monitors[index];
|
|
2322
|
+ this.monitors[index].end = "";
|
2319
|
2323
|
if (Object.keys(monitor).length > 0 && index > 1) {
|
2320
|
2324
|
if (monitor.operate_time == this.dialysisOrder.end_time) {
|
2321
|
|
- this.monitors[index].end = '【结束透析】'
|
2322
|
|
- tempmonitorflag = false
|
|
2325
|
+ this.monitors[index].end = "【结束透析】";
|
|
2326
|
+ tempmonitorflag = false;
|
2323
|
2327
|
}
|
2324
|
2328
|
if (tempmonitorflag && index == this.monitors.length - 1) {
|
2325
|
|
- this.monitors[index].end = '【结束透析】'
|
|
2329
|
+ this.monitors[index].end = "【结束透析】";
|
2326
|
2330
|
}
|
2327
|
2331
|
}
|
2328
|
2332
|
}
|
2329
|
2333
|
|
2330
|
|
- this.jilurow = this.monitors.length + 1
|
|
2334
|
+ this.jilurow = this.monitors.length + 1;
|
2331
|
2335
|
|
2332
|
|
- this.advice_jilurow = this.advices.length + 1
|
|
2336
|
+ this.advice_jilurow = this.advices.length + 1;
|
2333
|
2337
|
|
2334
|
|
- var childMap = {}
|
|
2338
|
+ var childMap = {};
|
2335
|
2339
|
for (const index in this.advices) {
|
2336
|
2340
|
if (this.advices[index].parent_id == 0) {
|
2337
|
|
- continue
|
|
2341
|
+ continue;
|
2338
|
2342
|
}
|
2339
|
2343
|
if (!(this.advices[index].parent_id in childMap)) {
|
2340
|
|
- childMap[this.advices[index].parent_id] = []
|
|
2344
|
+ childMap[this.advices[index].parent_id] = [];
|
2341
|
2345
|
}
|
2342
|
|
- childMap[this.advices[index].parent_id].push(this.advices[index])
|
|
2346
|
+ childMap[this.advices[index].parent_id].push(this.advices[index]);
|
2343
|
2347
|
}
|
2344
|
2348
|
|
2345
|
|
- var advices = []
|
|
2349
|
+ var advices = [];
|
2346
|
2350
|
for (const index in this.advices) {
|
2347
|
2351
|
if (this.advices[index].parent_id > 0) {
|
2348
|
|
- continue
|
|
2352
|
+ continue;
|
2349
|
2353
|
}
|
2350
|
|
- var item = this.advices[index]
|
|
2354
|
+ var item = this.advices[index];
|
2351
|
2355
|
if (item.id in childMap) {
|
2352
|
|
- item.children = childMap[item.id]
|
|
2356
|
+ item.children = childMap[item.id];
|
2353
|
2357
|
} else {
|
2354
|
|
- item.children = []
|
|
2358
|
+ item.children = [];
|
2355
|
2359
|
}
|
2356
|
|
- advices.push(item)
|
|
2360
|
+ advices.push(item);
|
2357
|
2361
|
}
|
2358
|
2362
|
|
2359
|
|
- var leftAdvice = []
|
2360
|
|
- var rightAdvice = []
|
2361
|
|
- var adlen = advices.length
|
|
2363
|
+ var leftAdvice = [];
|
|
2364
|
+ var rightAdvice = [];
|
|
2365
|
+ var adlen = advices.length;
|
2362
|
2366
|
|
2363
|
|
- var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
|
|
2367
|
+ var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
|
2364
|
2368
|
for (var i = 0; i < halfLen; i++) {
|
2365
|
|
- leftAdvice.push(advices[i])
|
2366
|
|
- rightAdvice.push(advices[i + halfLen])
|
|
2369
|
+ leftAdvice.push(advices[i]);
|
|
2370
|
+ rightAdvice.push(advices[i + halfLen]);
|
2367
|
2371
|
}
|
2368
|
2372
|
if (halfLen < 5) {
|
2369
|
|
- var nl = 5 - leftAdvice.length
|
|
2373
|
+ var nl = 5 - leftAdvice.length;
|
2370
|
2374
|
for (let index = 0; index < nl; index++) {
|
2371
|
|
- leftAdvice.push([])
|
|
2375
|
+ leftAdvice.push([]);
|
2372
|
2376
|
}
|
2373
|
|
- var nl = 5 - rightAdvice.length
|
|
2377
|
+ var nl = 5 - rightAdvice.length;
|
2374
|
2378
|
for (let index = 0; index < nl; index++) {
|
2375
|
|
- rightAdvice.push([])
|
|
2379
|
+ rightAdvice.push([]);
|
2376
|
2380
|
}
|
2377
|
2381
|
}
|
2378
|
2382
|
|
2379
|
|
- this.advices = []
|
|
2383
|
+ this.advices = [];
|
2380
|
2384
|
for (var i = 0; i < halfLen; i++) {
|
2381
|
|
- var item = []
|
2382
|
|
- item.push(leftAdvice[i])
|
2383
|
|
- item.push(rightAdvice[i])
|
2384
|
|
- this.advices.push(item)
|
|
2385
|
+ var item = [];
|
|
2386
|
+ item.push(leftAdvice[i]);
|
|
2387
|
+ item.push(rightAdvice[i]);
|
|
2388
|
+ this.advices.push(item);
|
2385
|
2389
|
}
|
2386
|
|
- this.loading = false
|
|
2390
|
+ this.loading = false;
|
2387
|
2391
|
this.doctor_advices =
|
2388
|
|
- response.data.data.advices == null ? [] : response.data.data.advices
|
2389
|
|
-
|
|
2392
|
+ response.data.data.advices == null ? [] : response.data.data.advices;
|
2390
|
2393
|
for (let index = 0; index < this.doctor_advices.length; index++) {
|
2391
|
|
- this.doctor_advices[index]['isShow'] = 2
|
|
2394
|
+ this.doctor_advices[index]["isShow"] = 2;
|
2392
|
2395
|
}
|
2393
|
2396
|
|
2394
|
2397
|
// if (this.doctor_advices.length > 0) {
|
|
@@ -2470,57 +2473,57 @@ export default {
|
2470
|
2473
|
// }
|
2471
|
2474
|
// }
|
2472
|
2475
|
if (this.doctor_advices.length <= 6) {
|
2473
|
|
- var nl = 6
|
2474
|
|
- this.print_length = 6
|
|
2476
|
+ var nl = 6;
|
|
2477
|
+ this.print_length = 6;
|
2475
|
2478
|
|
2476
|
2479
|
for (let index = 0; index < nl; index++) {
|
2477
|
2480
|
if (
|
2478
|
2481
|
this.doctor_advices[index] == undefined ||
|
2479
|
2482
|
this.doctor_advices[index].length <= 0
|
2480
|
2483
|
) {
|
2481
|
|
- this.doctor_advices.push([])
|
|
2484
|
+ this.doctor_advices.push([]);
|
2482
|
2485
|
} else {
|
2483
|
|
- continue
|
|
2486
|
+ continue;
|
2484
|
2487
|
}
|
2485
|
2488
|
}
|
2486
|
2489
|
}
|
2487
|
2490
|
|
2488
|
|
- this.totollength = this.doctor_advices.length + this.monitors.length
|
|
2491
|
+ this.totollength = this.doctor_advices.length + this.monitors.length;
|
2489
|
2492
|
if (this.totollength > 18) {
|
2490
|
|
- var temp_advice_length = 17 - this.monitors.length
|
2491
|
|
- var doctor_advices_1 = []
|
2492
|
|
- var doctor_advices_2 = []
|
|
2493
|
+ var temp_advice_length = 17 - this.monitors.length;
|
|
2494
|
+ var doctor_advices_1 = [];
|
|
2495
|
+ var doctor_advices_2 = [];
|
2493
|
2496
|
for (let index = 0; index < this.doctor_advices.length; index++) {
|
2494
|
|
- const element = this.doctor_advices[index]
|
|
2497
|
+ const element = this.doctor_advices[index];
|
2495
|
2498
|
if (temp_advice_length > index) {
|
2496
|
|
- doctor_advices_1.push(element)
|
|
2499
|
+ doctor_advices_1.push(element);
|
2497
|
2500
|
} else {
|
2498
|
|
- doctor_advices_2.push(element)
|
|
2501
|
+ doctor_advices_2.push(element);
|
2499
|
2502
|
}
|
2500
|
2503
|
}
|
2501
|
|
- this.doctor_advices = doctor_advices_1
|
2502
|
|
- this.doctor_advices_2 = doctor_advices_2
|
|
2504
|
+ this.doctor_advices = doctor_advices_1;
|
|
2505
|
+ this.doctor_advices_2 = doctor_advices_2;
|
2503
|
2506
|
}
|
2504
|
|
- console.log(this.advice_groups)
|
|
2507
|
+ console.log(this.advice_groups);
|
2505
|
2508
|
} else {
|
2506
|
|
- this.loading = false
|
2507
|
|
- this.$message.error('请求数据失败')
|
2508
|
|
- return false
|
|
2509
|
+ this.loading = false;
|
|
2510
|
+ this.$message.error("请求数据失败");
|
|
2511
|
+ return false;
|
2509
|
2512
|
}
|
2510
|
2513
|
// })
|
2511
|
2514
|
},
|
2512
|
2515
|
|
2513
|
2516
|
bloodAccessParOperaName(id) {
|
2514
|
2517
|
if (id in this.bloodAccessParOpera) {
|
2515
|
|
- return this.bloodAccessParOpera[id].name
|
|
2518
|
+ return this.bloodAccessParOpera[id].name;
|
2516
|
2519
|
}
|
2517
|
|
- return ''
|
|
2520
|
+ return "";
|
2518
|
2521
|
},
|
2519
|
2522
|
dialysateFormulationName(id) {
|
2520
|
2523
|
if (id in this.dialysateFormulationOptions) {
|
2521
|
|
- return this.dialysateFormulationOptions[id].name
|
|
2524
|
+ return this.dialysateFormulationOptions[id].name;
|
2522
|
2525
|
}
|
2523
|
|
- return ''
|
|
2526
|
+ return "";
|
2524
|
2527
|
},
|
2525
|
2528
|
getAge: function(val) {
|
2526
|
2529
|
if (
|
|
@@ -2528,12 +2531,12 @@ export default {
|
2528
|
2531
|
this.org_template_info.template_id == 0
|
2529
|
2532
|
) {
|
2530
|
2533
|
if (val.age == 0) {
|
2531
|
|
- return jsGetAge(val.birth, '-')
|
|
2534
|
+ return jsGetAge(val.birth, "-");
|
2532
|
2535
|
} else {
|
2533
|
|
- return val.age
|
|
2536
|
+ return val.age;
|
2534
|
2537
|
}
|
2535
|
2538
|
} else {
|
2536
|
|
- return jsGetAge(val.birth, '-')
|
|
2539
|
+ return jsGetAge(val.birth, "-");
|
2537
|
2540
|
}
|
2538
|
2541
|
},
|
2539
|
2542
|
newAdviceGroupObject: function() {
|
|
@@ -2548,52 +2551,52 @@ export default {
|
2548
|
2551
|
// exec_time: 0,
|
2549
|
2552
|
// checker: 0,
|
2550
|
2553
|
}
|
2551
|
|
- )
|
|
2554
|
+ );
|
2552
|
2555
|
},
|
2553
|
2556
|
getFloat: function(x) {
|
2554
|
2557
|
if (x == 0) {
|
2555
|
|
- return '/'
|
|
2558
|
+ return "/";
|
2556
|
2559
|
}
|
2557
|
|
- if (x != '.') {
|
2558
|
|
- var f = Math.round(x * 100) / 100
|
2559
|
|
- var s = f.toString()
|
2560
|
|
- var rs = s.indexOf('.')
|
|
2560
|
+ if (x != ".") {
|
|
2561
|
+ var f = Math.round(x * 100) / 100;
|
|
2562
|
+ var s = f.toString();
|
|
2563
|
+ var rs = s.indexOf(".");
|
2561
|
2564
|
if (rs <= 0) {
|
2562
|
|
- rs = s.length
|
2563
|
|
- s += '.'
|
|
2565
|
+ rs = s.length;
|
|
2566
|
+ s += ".";
|
2564
|
2567
|
}
|
2565
|
2568
|
while (s.length <= rs + 1) {
|
2566
|
|
- s += '0'
|
|
2569
|
+ s += "0";
|
2567
|
2570
|
}
|
2568
|
|
- return s
|
|
2571
|
+ return s;
|
2569
|
2572
|
} else {
|
2570
|
|
- return '0.0'
|
|
2573
|
+ return "0.0";
|
2571
|
2574
|
}
|
2572
|
2575
|
}
|
2573
|
2576
|
},
|
2574
|
2577
|
watch: {
|
2575
|
|
- 'patientInfo.gender': function() {
|
|
2578
|
+ "patientInfo.gender": function() {
|
2576
|
2579
|
if (this.patientInfo.gender == 1) {
|
2577
|
|
- this.patientInfo_gender_1 = true
|
2578
|
|
- this.patientInfo_gender_2 = false
|
|
2580
|
+ this.patientInfo_gender_1 = true;
|
|
2581
|
+ this.patientInfo_gender_2 = false;
|
2579
|
2582
|
} else if (this.patientInfo.gender == 2) {
|
2580
|
|
- this.patientInfo_gender_2 = true
|
2581
|
|
- this.patientInfo_gender_1 = false
|
|
2583
|
+ this.patientInfo_gender_2 = true;
|
|
2584
|
+ this.patientInfo_gender_1 = false;
|
2582
|
2585
|
} else {
|
2583
|
|
- this.patientInfo_gender_2 = false
|
2584
|
|
- this.patientInfo_gender_1 = false
|
|
2586
|
+ this.patientInfo_gender_2 = false;
|
|
2587
|
+ this.patientInfo_gender_1 = false;
|
2585
|
2588
|
}
|
2586
|
2589
|
},
|
2587
|
|
- 'patientInfo.source': function() {
|
|
2590
|
+ "patientInfo.source": function() {
|
2588
|
2591
|
if (this.patientInfo.source == 1) {
|
2589
|
|
- this.patientInfo_source_1 = true
|
2590
|
|
- this.patientInfo_source_2 = false
|
|
2592
|
+ this.patientInfo_source_1 = true;
|
|
2593
|
+ this.patientInfo_source_2 = false;
|
2591
|
2594
|
} else if (this.patientInfo.source == 2) {
|
2592
|
|
- this.patientInfo_source_2 = true
|
2593
|
|
- this.patientInfo_source_1 = false
|
|
2595
|
+ this.patientInfo_source_2 = true;
|
|
2596
|
+ this.patientInfo_source_1 = false;
|
2594
|
2597
|
} else {
|
2595
|
|
- this.patientInfo_source_2 = false
|
2596
|
|
- this.patientInfo_source_1 = false
|
|
2598
|
+ this.patientInfo_source_2 = false;
|
|
2599
|
+ this.patientInfo_source_1 = false;
|
2597
|
2600
|
}
|
2598
|
2601
|
}
|
2599
|
2602
|
},
|
|
@@ -2613,57 +2616,57 @@ export default {
|
2613
|
2616
|
var xtuser = this.$store.getters.xt_user
|
2614
|
2617
|
this.orgname = xtuser.org.org_name
|
2615
|
2618
|
// this.orgname = "遂溪方济医院";
|
2616
|
|
- this.modeOptions = this.$store.getters.treatment_mode
|
2617
|
|
- this.replacementWays = this.$store.getters.replacement_ways
|
2618
|
|
- this.perfusionApparatus = this.$store.getters.perfusion_apparatus
|
2619
|
|
- this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
|
2620
|
|
- this.displaceLiquiPartOptions = this.$store.getters.displace_liqui
|
|
2619
|
+ this.modeOptions = this.$store.getters.treatment_mode;
|
|
2620
|
+ this.replacementWays = this.$store.getters.replacement_ways;
|
|
2621
|
+ this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
|
|
2622
|
+ this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
|
|
2623
|
+ this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
|
2621
|
2624
|
|
2622
|
|
- this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
|
|
2625
|
+ this.blood_access_part = getDataConfig("hemodialysis", "vascular_access");
|
2623
|
2626
|
this.blood_access_part_opera = getDataConfig(
|
2624
|
|
- 'hemodialysis',
|
2625
|
|
- 'vascular_access_desc'
|
2626
|
|
- )
|
|
2627
|
+ "hemodialysis",
|
|
2628
|
+ "vascular_access_desc"
|
|
2629
|
+ );
|
2627
|
2630
|
|
2628
|
2631
|
// this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
|
2629
|
2632
|
|
2630
|
2633
|
var bloodAccessParOpera = getDataConfig(
|
2631
|
|
- 'hemodialysis',
|
2632
|
|
- 'vascular_access_desc'
|
2633
|
|
- )
|
|
2634
|
+ "hemodialysis",
|
|
2635
|
+ "vascular_access_desc"
|
|
2636
|
+ );
|
2634
|
2637
|
for (var key in bloodAccessParOpera) {
|
2635
|
2638
|
this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
|
2636
|
|
- bloodAccessParOpera[key]
|
|
2639
|
+ bloodAccessParOpera[key];
|
2637
|
2640
|
}
|
2638
|
2641
|
|
2639
|
2642
|
var dialysateFormulationOptions = getDataConfig(
|
2640
|
|
- 'hemodialysis',
|
2641
|
|
- 'dialysate_formulation'
|
2642
|
|
- )
|
|
2643
|
+ "hemodialysis",
|
|
2644
|
+ "dialysate_formulation"
|
|
2645
|
+ );
|
2643
|
2646
|
for (var key in dialysateFormulationOptions) {
|
2644
|
2647
|
this.dialysateFormulationOptions[dialysateFormulationOptions[key].id] =
|
2645
|
|
- dialysateFormulationOptions[key]
|
|
2648
|
+ dialysateFormulationOptions[key];
|
2646
|
2649
|
}
|
2647
|
2650
|
|
2648
|
|
- const xtdate = this.$route.query && this.$route.query.xtdate
|
2649
|
|
- console.log('xtdate', xtdate)
|
2650
|
|
- const xtno = this.$route.query && this.$route.query.xtno
|
2651
|
|
- console.log('xtno', xtno)
|
|
2651
|
+ const xtdate = this.$route.query && this.$route.query.xtdate;
|
|
2652
|
+ console.log("xtdate", xtdate);
|
|
2653
|
+ const xtno = this.$route.query && this.$route.query.xtno;
|
|
2654
|
+ console.log("xtno", xtno);
|
2652
|
2655
|
if (
|
2653
|
|
- typeof xtdate === 'string' &&
|
|
2656
|
+ typeof xtdate === "string" &&
|
2654
|
2657
|
xtdate.length > 0 &&
|
2655
|
|
- typeof xtno === 'string' &&
|
|
2658
|
+ typeof xtno === "string" &&
|
2656
|
2659
|
xtno.length > 0
|
2657
|
2660
|
) {
|
2658
|
|
- this.queryParams.xtdate = xtdate
|
2659
|
|
- this.queryParams.xtno = xtno
|
2660
|
|
- this.getDialysisRecord()
|
|
2661
|
+ this.queryParams.xtdate = xtdate;
|
|
2662
|
+ this.queryParams.xtno = xtno;
|
|
2663
|
+ this.getDialysisRecord();
|
2661
|
2664
|
} else {
|
2662
|
|
- this.$message.error('参数不齐')
|
2663
|
|
- return false
|
|
2665
|
+ this.$message.error("参数不齐");
|
|
2666
|
+ return false;
|
2664
|
2667
|
}
|
2665
|
2668
|
}
|
2666
|
|
-}
|
|
2669
|
+};
|
2667
|
2670
|
</script>
|
2668
|
2671
|
|
2669
|
2672
|
<style>
|