添加驳回标识

debug
zdnpc 2 years ago
parent 677af90f97
commit 4682e95c58
  1. 1
      src/views/medical-record/medical-record-apply.vue
  2. 17
      src/views/medical-record/medical-record-history.vue

@ -1,3 +1,4 @@
<!-- 蒙自市人民医院 -->
<template> <template>
<div class="ptint-reserve"> <div class="ptint-reserve">
<select-patient-date :show-code="false" <select-patient-date :show-code="false"

@ -1,3 +1,4 @@
<!-- 蒙自市人民医院 -->
<template> <template>
<div class="history"> <div class="history">
<select-patient-date :show-code="false" <select-patient-date :show-code="false"
@ -12,7 +13,7 @@
<div class="record_item"> <div class="record_item">
<div style="height: 50px;margin-right: 40px;padding: 8px 8px 0px;"> <div style="height: 50px;margin-right: 40px;padding: 8px 8px 0px;">
<div style="margin: 5px 0;"> <div style="margin: 5px 0;">
<span style="color: var(--text-c);">申请时间</span>{{ dateUto(item.applyTime) }} <span style="color: var(--text-c);">申请时间</span>{{ format(item.applyTime, 'yyyy-MM-dd hh:mm') }}
</div> </div>
<div style="margin: 5px 0;"> <div style="margin: 5px 0;">
<span style="color: var(--text-c);"> </span>{{ item.applyName }} <span style="color: var(--text-c);"> </span>{{ item.applyName }}
@ -22,6 +23,7 @@
<div><span style="color: var(--text-c);line-height: 20px;"> </span>{{ item.treatId }}</div> <div><span style="color: var(--text-c);line-height: 20px;"> </span>{{ item.treatId }}</div>
<div><span style="color: var(--text-c);line-height: 20px;">联系电话</span>{{ item.phone}}</div> <div><span style="color: var(--text-c);line-height: 20px;">联系电话</span>{{ item.phone}}</div>
<div><span style="color: var(--text-c);line-height: 20px;">&emsp;&emsp;</span>{{ item.use }}</div> <div><span style="color: var(--text-c);line-height: 20px;">&emsp;&emsp;</span>{{ item.use }}</div>
<div v-if="item.rejectTime"><span style="color: var(--text-c);line-height: 20px;">驳回时间</span>{{ format(item.rejectTime, 'yyyy-MM-dd hh:mm') }}</div>
<!-- <div><span style="color: var(--text-c);line-height: 20px;">住院科室</span>{{ item.deptName }}</div> --> <!-- <div><span style="color: var(--text-c);line-height: 20px;">住院科室</span>{{ item.deptName }}</div> -->
<!-- <div><span style="color: var(--text-c);line-height: 20px;">获取方式</span>{{ item.baBorrowGetway === 0?'自提': item.baBorrowGetway === 1?'邮寄': ''}}</div> --> <!-- <div><span style="color: var(--text-c);line-height: 20px;">获取方式</span>{{ item.baBorrowGetway === 0?'自提': item.baBorrowGetway === 1?'邮寄': ''}}</div> -->
<!-- <div><span style="color: var(--text-c);line-height: 20px;">&emsp;&emsp;</span>{{ item.baBorrowAddress }}</div> --> <!-- <div><span style="color: var(--text-c);line-height: 20px;">&emsp;&emsp;</span>{{ item.baBorrowAddress }}</div> -->
@ -63,10 +65,10 @@
class="recipe_tag">待审核</div> class="recipe_tag">待审核</div>
<div v-else-if="item.baBorrowIsApproved" <div v-else-if="item.baBorrowIsApproved"
class="recipe_tag" class="recipe_tag"
style="background-color: var(--color-primary);color: #fff;">已审核</div> style="background-color: var(--color-primary);color: #fff;">已审核</div> -->
<div v-else-if="!item.baBorrowIsApproved" <div v-if="item.rejecter && item.rejectTime"
class="recipe_tag" class="recipe_tag"
style="background-color: var(--color-danger);color: #fff;"> </div> --> style="background-color: var(--color-danger);color: #fff;"> </div>
</div> </div>
</section> </section>
</section> </section>
@ -158,17 +160,12 @@ export default {
}) })
} }
function dateUto(time) {
const date = new Date(time)
return format(date, 'yyyy-MM-dd hh:mm')
}
return { return {
state, state,
toPay, toPay,
getSetup, getSetup,
onImagePreview, onImagePreview,
dateUto format
} }
} }

Loading…
Cancel
Save