|
|
@@ -76,58 +76,63 @@
|
|
|
></el-pagination>
|
|
|
</el-main>
|
|
|
<el-drawer v-model="xiangXiYiZhuXinXiDrawer" direction="ltr" size="700" title="患者医嘱的详细信息">
|
|
|
- <div style="margin-left: 20px">
|
|
|
- <el-tag type="success" effect="dark"> 住院号:{{ lingShiQueFeiShuJu.inpatientNo }}</el-tag>
|
|
|
- <el-tag type="warning" effect="dark"> 姓名:{{ lingShiQueFeiShuJu.name }}</el-tag>
|
|
|
- <el-tag type="success" effect="dark"> 性别:{{ cptSex(lingShiQueFeiShuJu.sex) }}</el-tag>
|
|
|
- <el-tag type="warning" effect="dark"> 床号{{ lingShiQueFeiShuJu.bedNo }}</el-tag>
|
|
|
- <el-tag type="success" effect="dark"> 医保身份:{{ lingShiQueFeiShuJu.responceTypeName }}</el-tag>
|
|
|
- <el-tag type="warning" effect="dark"> 病区:{{ lingShiQueFeiShuJu.wardName }}</el-tag>
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
- <el-button type="success" @click="baoCunYiZhuQueFeiClick" icon="el-icon-upload" :disabled="queryTerm.liShi === 1">保存</el-button>
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
- <el-button type="danger" @click="xiangXiYiZhuXinXiDrawer = false">关闭</el-button>
|
|
|
+ <div style="margin: auto 20px auto 20px">
|
|
|
+ <el-descriptions title="患者信息" border>
|
|
|
+ <template #extra>
|
|
|
+ <el-button type="success" @click="baoCunYiZhuQueFeiClick" icon="el-icon-upload" :disabled="queryTerm.liShi === 1">保存</el-button>
|
|
|
+ </template>
|
|
|
+ <el-descriptions-item label="住院号">{{ lingShiQueFeiShuJu.inpatientNo }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="姓名">{{ lingShiQueFeiShuJu.name }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="性别">{{ cptSex(lingShiQueFeiShuJu.sex) }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="床号">{{ lingShiQueFeiShuJu.bedNo }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="医保身份">{{ lingShiQueFeiShuJu.responceTypeName }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="病区">{{ lingShiQueFeiShuJu.wardName }}</el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
<el-table
|
|
|
:data="lingShiQueFeiShuJu.list.slice((lingShiQueFeiShuJu.currentPage - 1) * lingShiQueFeiShuJu.pageSize, lingShiQueFeiShuJu.currentPage * lingShiQueFeiShuJu.pageSize)"
|
|
|
highlight-current-row
|
|
|
stripe
|
|
|
:height="winHeight / 1.3"
|
|
|
>
|
|
|
- <el-table-column prop="actOrderNo" label="医嘱号"> </el-table-column>
|
|
|
- <el-table-column prop="occTime" label="医嘱日期" width="80"></el-table-column>
|
|
|
- <el-table-column prop="chargeCode" label="项目编码"></el-table-column>
|
|
|
- <el-table-column prop="chargeName" label="项目名称"></el-table-column>
|
|
|
- <el-table-column prop="docotrName" label="医生"></el-table-column>
|
|
|
- <el-table-column prop="orderCount" label="数量"></el-table-column>
|
|
|
- <el-table-column prop="chargeFee" label="单价"></el-table-column>
|
|
|
- <el-table-column label="金额">
|
|
|
- <template #default="scope">
|
|
|
- {{ (scope.row.chargeFee * scope.row.orderCount).toFixed(2) }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="opIdName" label="操作人" v-if="queryTerm.liShi === 1"></el-table-column>
|
|
|
- <el-table-column prop="opDate" label="操作时间" v-if="queryTerm.liShi === 1"></el-table-column>
|
|
|
- <el-table-column label="操作" :width="queryTerm.liShi === 0 ? 230 : 50">
|
|
|
- <template #default="scope">
|
|
|
- <el-radio-group
|
|
|
- v-if="queryTerm.liShi === 0"
|
|
|
- v-model="scope.row.chargeStatus"
|
|
|
- :fill="scope.row.chargeStatus === '1' ? '#67C23A' : scope.row.chargeStatus === '2' ? '#F56C6C' : '#909399'"
|
|
|
- >
|
|
|
- <el-radio-button label="1">确认</el-radio-button>
|
|
|
- <el-radio-button label="2">取消</el-radio-button>
|
|
|
- <el-radio-button label="3">不操作</el-radio-button>
|
|
|
- </el-radio-group>
|
|
|
- <span v-else v-html="yiZhuZhuangTai(scope.row.chargeStatus)"> </span>
|
|
|
- </template>
|
|
|
+ <el-table-column label="医嘱信息">
|
|
|
+ <el-table-column prop="actOrderNo" label="医嘱号"> </el-table-column>
|
|
|
+ <el-table-column prop="occTime" label="医嘱日期" width="80"></el-table-column>
|
|
|
+ <el-table-column prop="chargeCode" label="项目编码"></el-table-column>
|
|
|
+ <el-table-column prop="chargeName" label="项目名称"></el-table-column>
|
|
|
+ <el-table-column prop="docotrName" label="医生"></el-table-column>
|
|
|
+ <el-table-column prop="orderCount" label="数量"></el-table-column>
|
|
|
+ <el-table-column prop="chargeFee" label="单价"></el-table-column>
|
|
|
+ <el-table-column label="金额">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ (scope.row.chargeFee * scope.row.orderCount).toFixed(2) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="opIdName" label="操作人" v-if="queryTerm.liShi === 1"></el-table-column>
|
|
|
+ <el-table-column prop="opDate" label="操作时间" v-if="queryTerm.liShi === 1"></el-table-column>
|
|
|
+ <el-table-column label="操作" :width="queryTerm.liShi === 0 ? 230 : 50">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-radio-group
|
|
|
+ v-if="queryTerm.liShi === 0"
|
|
|
+ v-model="scope.row.chargeStatus"
|
|
|
+ :fill="scope.row.chargeStatus === '1' ? '#67C23A' : scope.row.chargeStatus === '2' ? '#F56C6C' : '#909399'"
|
|
|
+ >
|
|
|
+ <el-radio-button label="1">确认</el-radio-button>
|
|
|
+ <el-radio-button label="2">取消</el-radio-button>
|
|
|
+ <el-radio-button label="3">不操作</el-radio-button>
|
|
|
+ </el-radio-group>
|
|
|
+ <span v-else v-html="yiZhuZhuangTai(scope.row.chargeStatus)"> </span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<el-pagination
|
|
|
background
|
|
|
@current-change="lingShiFanYe"
|
|
|
+ @size-change="handleSizeChange"
|
|
|
:current-page="lingShiQueFeiShuJu.currentPage"
|
|
|
:page-size="lingShiQueFeiShuJu.pageSize"
|
|
|
- layout=" prev, pager, next,total"
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ :page-sizes="[8, 20, 30, 100]"
|
|
|
:total="lingShiQueFeiShuJu.total"
|
|
|
style="margin-top: 5px"
|
|
|
:pager-count="5"
|
|
|
@@ -351,6 +356,10 @@ export default {
|
|
|
lingShiQueFeiShuJu.value.currentPage = val
|
|
|
}
|
|
|
|
|
|
+ const handleSizeChange = (val) => {
|
|
|
+ lingShiQueFeiShuJu.value.pageSize = val
|
|
|
+ }
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
getWard().then((res) => {
|
|
|
wardData.value = res
|
|
|
@@ -384,6 +393,7 @@ export default {
|
|
|
yiZhuZhuangTai,
|
|
|
chaoZuoZhiNan,
|
|
|
xiangXiYiZhuXinXiDrawer,
|
|
|
+ handleSizeChange,
|
|
|
}
|
|
|
},
|
|
|
}
|