|
@@ -797,7 +797,7 @@
|
|
|
margin-right: 12px;
|
|
|
"
|
|
|
>
|
|
|
- {{filterNewHaveOrNot(patient.supplement.hadEcmo)}}
|
|
|
+ {{filterYesOrNo(patient.supplement.hadEcmo)}}
|
|
|
</span>
|
|
|
模式:
|
|
|
<span
|
|
@@ -1189,6 +1189,19 @@ function filterNewHaveOrNot(val) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+function filterYesOrNo(val) {
|
|
|
+ if (!val) {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ if (val === 1) {
|
|
|
+ return '是'
|
|
|
+ } else if (val === 2) {
|
|
|
+ return '否'
|
|
|
+ } else {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
function filterIcuName(val) {
|
|
|
if (!val) {
|
|
|
return ''
|