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

fixed

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