提交 50b9b74f 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

fixed

上级 9fc14fe5
......@@ -5,7 +5,7 @@
:visible.sync="showAddPatientTime"
v-if="showThisPage"
:before-close="clickClose"
width="33%"
width="35%"
center>
<div class="finish-content">
<el-form
......
......@@ -197,9 +197,9 @@
this.newHasSelectedList = this.newHasSelectedList.concat(newAddPatientList);
if(this.newHasSelectedList.length > this.hasSelectedList.length) {
this.showAddPatientTime = true;
if(showNames.length>4) {
if(showNames.length>5) {
const le = showNames.length
showNames = showNames.slice(0,4)
showNames = showNames.slice(0,5)
showNames = `${showNames.join('、')}${le}人`
} else {
showNames = showNames.join('、')
......
......@@ -352,9 +352,9 @@
planPatientsIdList.push(item.fuPlanPatientId)
});
console.log(patientIds)
if(patientNames.length>4) {
if(patientNames.length>5) {
const le = patientNames.length
patientNames = patientNames.slice(0,4)
patientNames = patientNames.slice(0,5)
patientNames = `${patientNames.join('、')}${le}人`
} else {
patientNames = patientNames.join('、')
......@@ -409,9 +409,9 @@
patientIds.push(item.patientId)
patientNames.push(item.nickname)
})
if(patientNames.length>4) {
if(patientNames.length>5) {
const le = patientNames.length
patientNames = patientNames.slice(0,4)
patientNames = patientNames.slice(0,5)
patientNames = `${patientNames.join('、')}${le}人`
} else {
patientNames = patientNames.join('、')
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册