修改
This commit is contained in:
parent
8f26cde3ab
commit
be31891e22
@ -4,26 +4,11 @@
|
||||
<div @click="handleAuthRole(item, index)" class="cards">
|
||||
<div class="carditem">
|
||||
<div class="top">
|
||||
<img
|
||||
v-if="item.sex == 'FEMALE'"
|
||||
src="../../../assets/manage/nvtouxiang.png"
|
||||
alt=""
|
||||
class="img"
|
||||
@click="handleAuth(item, index)"
|
||||
/>
|
||||
<img
|
||||
v-if="item.sex == 'MALE'"
|
||||
src="../../../assets/manage/touxiang.png"
|
||||
alt=""
|
||||
class="img"
|
||||
@click="handleAuth(item, index)"
|
||||
/>
|
||||
<el-tooltip
|
||||
class="name"
|
||||
effect="dark"
|
||||
:content="item.patientName"
|
||||
placement="top"
|
||||
>
|
||||
<img v-if="item.sex == 'FEMALE'" src="../../../assets/manage/nvtouxiang.png" alt="" class="img"
|
||||
@click="handleAuth(item, index)" />
|
||||
<img v-if="item.sex == 'MALE'" src="../../../assets/manage/touxiang.png" alt="" class="img"
|
||||
@click="handleAuth(item, index)" />
|
||||
<el-tooltip class="name" effect="dark" :content="item.patientName" placement="top">
|
||||
<span @click="handleAuth(item, index)">
|
||||
{{ item.patientName }}
|
||||
</span>
|
||||
@ -33,20 +18,10 @@
|
||||
{{ item.sex == "FEMALE" ? "女" : "" }}
|
||||
<span style="padding: 0 1px">|</span>
|
||||
<span v-if="item.age"> {{ item.age }}岁 </span>
|
||||
<span class="zy" v-if="item.patientType == 'IN_HOSPITAL_PATIENT'"
|
||||
>在院</span
|
||||
>
|
||||
<span class="cy" v-if="item.patientType == 'DISCHARGED_PATIENT'"
|
||||
>出院</span
|
||||
>
|
||||
<span
|
||||
class="yzy"
|
||||
v-if="item.patientType == 'PRE_HOSPITALIZED_PATIENT'"
|
||||
>预住院</span
|
||||
>
|
||||
<span class="mz" v-if="item.patientType == 'OUTPATIENT'"
|
||||
>门诊</span
|
||||
>
|
||||
<span class="zy" v-if="item.patientType == 'IN_HOSPITAL_PATIENT'">在院</span>
|
||||
<span class="cy" v-if="item.patientType == 'DISCHARGED_PATIENT'">出院</span>
|
||||
<span class="yzy" v-if="item.patientType == 'PRE_HOSPITALIZED_PATIENT'">预住院</span>
|
||||
<span class="mz" v-if="item.patientType == 'OUTPATIENT'">门诊</span>
|
||||
<!-- <span class="mz" v-if="item.patientType == 'CONTRACTED_PATIENT'">签约</span> -->
|
||||
</div>
|
||||
<div class="diagnosis">诊断名称:{{ item.mainDiagnosis }}</div>
|
||||
@ -61,31 +36,16 @@
|
||||
<div class="formitem">就诊时间:{{ item.visitDate }}</div>
|
||||
<div class="formitem flex">
|
||||
<span> 康复计划执行率:</span>
|
||||
<el-progress
|
||||
v-if="item.taskExecuteRate == 0 || item.taskExecuteRate == null"
|
||||
:percentage="0"
|
||||
></el-progress>
|
||||
<el-progress
|
||||
v-else
|
||||
:percentage="item.taskExecuteRate"
|
||||
></el-progress>
|
||||
<span style="flex: 0.1"
|
||||
>({{ item.taskExecuteNum }}/{{ item.taskNum }})</span
|
||||
>
|
||||
<el-progress v-if="item.taskExecuteRate == 0 || item.taskExecuteRate == null"
|
||||
:percentage="0"></el-progress>
|
||||
<el-progress v-else :percentage="item.taskExecuteRate"></el-progress>
|
||||
<span style="flex: 0.1">({{ item.taskExecuteNum }}/{{ item.taskNum }})</span>
|
||||
</div>
|
||||
<div class="formitem flex">
|
||||
<span> 康复计划完成率: </span>
|
||||
<el-progress
|
||||
v-if="item.taskFinishRate == 0 || item.taskFinishRate == null"
|
||||
:percentage="0"
|
||||
></el-progress>
|
||||
<el-progress
|
||||
v-else
|
||||
:percentage="item.taskFinishRate"
|
||||
></el-progress>
|
||||
<span style="flex: 0.1"
|
||||
>({{ item.taskFinishNum }}/{{ item.taskNum }})</span
|
||||
>
|
||||
<el-progress v-if="item.taskFinishRate == 0 || item.taskFinishRate == null" :percentage="0"></el-progress>
|
||||
<el-progress v-else :percentage="item.taskFinishRate"></el-progress>
|
||||
<span style="flex: 0.1">({{ item.taskFinishNum }}/{{ item.taskNum }})</span>
|
||||
</div>
|
||||
<div class="formitem">下次任务:</div>
|
||||
</div>
|
||||
@ -114,7 +74,7 @@ export default {
|
||||
isDoubleClicked: false,
|
||||
};
|
||||
},
|
||||
mounted() {},
|
||||
mounted() { },
|
||||
methods: {
|
||||
// 单机头像和姓名进入详情
|
||||
handleAuth(item, index) {
|
||||
@ -201,10 +161,13 @@ export default {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
z-index: 9999;
|
||||
border: 2px solid #fff;
|
||||
}
|
||||
|
||||
.cards:hover {
|
||||
border: 2px solid #1890ff;
|
||||
}
|
||||
|
||||
.cardlist {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@ -338,6 +301,7 @@ export default {
|
||||
overflow: hidden;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.diagnosi {
|
||||
position: absolute;
|
||||
color: #756a5e;
|
||||
@ -352,6 +316,7 @@ export default {
|
||||
overflow: hidden;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.formitembutton {
|
||||
position: absolute;
|
||||
color: #756a5e;
|
||||
@ -366,6 +331,7 @@ export default {
|
||||
overflow: hidden;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.formitembutton:hover {
|
||||
color: #2d56fb;
|
||||
border-bottom: 1px solid #2d56fb;
|
||||
@ -378,9 +344,12 @@ export default {
|
||||
left: 70px;
|
||||
top: 16px;
|
||||
width: 76px;
|
||||
white-space: nowrap; /* 确保文本在一行内显示 */
|
||||
overflow: hidden; /* 超出容器部分隐藏 */
|
||||
text-overflow: ellipsis; /* 超出部分显示省略号 */
|
||||
white-space: nowrap;
|
||||
/* 确保文本在一行内显示 */
|
||||
overflow: hidden;
|
||||
/* 超出容器部分隐藏 */
|
||||
text-overflow: ellipsis;
|
||||
/* 超出部分显示省略号 */
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
@ -465,4 +465,5 @@ export default {
|
||||
.app-container {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@ -736,7 +736,6 @@ export default {
|
||||
|
||||
::v-deep .el-table__fixed,
|
||||
::v-deep .el-table__fixed-right {
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.card-table {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user