|
|
@ -36,23 +36,16 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="120px"> |
|
|
|
<el-table-column label="准备工作" prop="preparation" header-align="center" align="center" width="160px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div> |
|
|
|
<div v-if="showPreparation(scope.row.preparation,'医嘱已开')" :class="{active_check:showPreparation(scope.row.preparation,'医嘱已开')}"> |
|
|
|
医嘱已开 |
|
|
|
</div> |
|
|
|
<div v-if="showPreparation(scope.row.preparation,'散瞳')" :class="{active_check:showPreparation(scope.row.preparation,'散瞳')}"> |
|
|
|
散瞳 |
|
|
|
</div> |
|
|
|
<div v-if="showPreparation(scope.row.preparation,'表麻')" :class="{active_check:showPreparation(scope.row.preparation,'表麻')}"> |
|
|
|
表麻 |
|
|
|
</div> |
|
|
|
<div v-if="showPreparation(scope.row.preparation,'全身检查完成')" :class="{active_check:showPreparation(scope.row.preparation,'全身检查完成')}"> |
|
|
|
全身检查完成 |
|
|
|
</div> |
|
|
|
<div v-if="showPreparation(scope.row.preparation,'缩瞳')" :class="{active_check_red:showPreparation(scope.row.preparation,'缩瞳')}"> |
|
|
|
缩瞳 |
|
|
|
<div v-if="scope.row.preparation"> |
|
|
|
<div |
|
|
|
v-for="item in scope.row.preparation.split(',')" |
|
|
|
:key="item" |
|
|
|
:class="item==='缩瞳'?'active_check_red':'active_check'" |
|
|
|
class="readyItem" |
|
|
|
> |
|
|
|
{{ item }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -74,13 +67,7 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" class-name="hidden" header-align="center" align="center" width="200px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span class="call" @click="editOpera(scope.row)">{{ scope.row.appointDate ? "改约":"预约" }}</span> |
|
|
|
<span class="cancel" @click="cancelClick(scope.row)">取消</span> |
|
|
|
<span class="call" @click="checkPatientDetail(scope.row)">患者360</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="备注" prop="remark" header-align="center" align="center" width="240px" /> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -138,4 +125,7 @@ export default { |
|
|
|
padding: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
.readyItem:not(:last-child){ |
|
|
|
border-bottom: 1px dashed #cccccc; |
|
|
|
} |
|
|
|
</style> |
|
|
|