This commit is contained in:
2024-03-08 10:07:12 +08:00
parent 8579dca38e
commit d3f5ee2b2c

View File

@ -124,6 +124,7 @@
</el-row>
<el-table v-loading="loading" :data="patientInfoList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" align="center" />
<el-table-column label="住院号" align="center" prop="admissionNumber" />
<el-table-column label="姓名" align="center" prop="patientName" />
<el-table-column label="电话" align="center" prop="patientPhone" width='120' />
@ -169,12 +170,14 @@
<el-table-column label="手术名称" align="center" prop="surgicalName" />
<!-- <el-table-column label="出院方式" align="center" prop="dischargeMethod" /> -->
<el-table-column label="患者来源" align="center" prop="patientSource">
<template slot-scope="scope">
<dict-tag :options="dict.type.patient_source" :value="scope.row.patientSource" />
</template>
</el-table-column>
<el-table-column label="住址" align="center" prop="address" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="handleAuthRole(scope.row)">详情</el-button>
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
@ -272,8 +275,8 @@
<el-input v-model="form.surgicalName" placeholder="请输入手术名称" style="width:200px" />
</el-form-item>
<el-form-item label="入院时间" prop="admissionDate">
<el-date-picker clearable v-model="form.admissionDate" type="date" value-format="yyyy-MM-dd" style="width:200px"
placeholder="请选择入院时间">
<el-date-picker clearable v-model="form.admissionDate" type="date" value-format="yyyy-MM-dd"
style="width:200px" placeholder="请选择入院时间">
</el-date-picker>
</el-form-item>
<el-form-item label="病历内容">
@ -368,6 +371,7 @@
</el-dialog>
</div>
</template>
<script>
import { listPatientInfo, getPatientInfo, delPatientInfo, addPatientInfo, updatePatientInfo } from "@/api/manage/patientInfo";
import { getAge } from "@/utils/age";
@ -755,6 +759,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
.title {
font-size: 16px;