提交 03538aad 编写于 作者: xingli.wu's avatar xingli.wu

Merge branch 'feature/xinglee' into 'release'

fix: chage age to ageStr

See merge request com.pica.cloud.education.frontend/pica.cloud.web-education-admin!508
......@@ -24,7 +24,7 @@
<div><p class="title">身份证:</p><p class="info">{{patientInfo.idNo | emptyFilter}}</p></div>
</div>
<div class="item">
<div><p class="title">出生日期:</p><p class="info">{{birthTimeDisplay | emptyFilter}}{{(patientInfo.age || patientInfo.age == 0) ? `、${patientInfo.age}` : ''}}</p></div>
<div><p class="title">出生日期:</p><p class="info">{{birthTimeDisplay | emptyFilter}}{{(patientInfo.ageStr || patientInfo.ageStr == 0) ? `、${patientInfo.ageStr}` : ''}}</p></div>
<div><p class="title">性别:</p><p class="info">{{patientInfo.sex | sexFileter}}</p></div>
</div>
<div class="item">
......
......@@ -105,12 +105,12 @@
</template>
</el-table-column>
<el-table-column
prop="age"
prop="ageStr"
label="年龄"
width="80"
align="center">
<template slot-scope="scope">
<span v-if="scope.row.age || (scope.row.age==0)">{{scope.row.age}}</span>
<span v-if="scope.row.ageStr || (scope.row.ageStr==0)">{{scope.row.ageStr}}</span>
<span v-else>-</span>
</template>
</el-table-column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册