This commit is contained in:
anxin
2025-03-10 15:19:37 +08:00
2 changed files with 141 additions and 32 deletions

View File

@@ -63,13 +63,14 @@ export function getHealthcareMetadata(query) {
}) })
} }
// // 门诊挂号查询 // 门诊挂号查询
// export function getOutpatientRegistrationCategory() { export function getOutpatientRegistrationCurrent(query) {
// return request({ return request({
// url: '/outpatient-service/registerinformation-init', url: '/outpatient-service/register/current-day-encounter',
// method: 'get' method: 'get',
// }) params: query
// } })
}
// 新增门诊挂号信息 // 新增门诊挂号信息
export function addOutpatientRegistration(data) { export function addOutpatientRegistration(data) {

View File

@@ -507,6 +507,116 @@
</el-card> </el-card>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="24" class="card-box">
<el-card>
<template #header>
<span style="vertical-align: middle">当日已挂号</span></template
>
<el-table v-loading="loading" :data="outpatientRegistrationList">
<!-- <el-table-column
label="租户ID"
align="center"
key="tenantId"
prop="tenantId"
/>
<el-table-column
label="就诊ID"
align="center"
key="encounterId"
prop="encounterId"
/>
<el-table-column
label="科室ID"
align="center"
key="organizationId"
prop="organizationId"
:show-overflow-tooltip="true"
/> -->
<el-table-column
label="科室名称"
align="center"
key="organizationName"
prop="organizationName"
:show-overflow-tooltip="true"
/>
<el-table-column
label="挂号类型 "
align="center"
key="healthcareName"
prop="healthcareName"
:show-overflow-tooltip="true"
/>
<!-- <el-table-column
label="专家账号"
align="center"
key="practitionerUserId"
prop="practitionerUserId"
/> -->
<el-table-column
label="专家"
align="center"
key="practitionerName"
prop="practitionerName"
/>
<el-table-column
label="费用性质"
align="center"
key="contractName"
prop="contractName"
/>
<!-- <el-table-column
label="患者id"
align="center"
key="patientId"
prop="patientId"
/> -->
<el-table-column
label="患者姓名"
align="center"
key="patientName"
prop="patientName"
width="120"
/>
<el-table-column
label="患者性别"
align="center"
key="genderEnum_enumText"
prop="genderEnum_enumText"
/>
<el-table-column
label="证件号"
align="center"
key="idCard"
prop="idCard"
/>
<el-table-column
label="就诊状态"
align="center"
key="statusEnum_enumText"
prop="statusEnum_enumText"
/>
<el-table-column
label="挂号日期/时间"
align="center"
key="registerTime"
prop="registerTime"
>
<template #default="scope">
<span>{{ parseTime(scope.row.registerTime) }}</span>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total > 0"
:total="total"
v-model:page="queryParams.pageNo"
v-model:limit="queryParams.pageSize"
@pagination="getList"
/>
</el-card>
</el-col>
</el-row>
<patient-info-dialog <patient-info-dialog
ref="patientInfoRef" ref="patientInfoRef"
:patientInfoData="patientInfoList" :patientInfoData="patientInfoList"
@@ -526,7 +636,8 @@ import {
getLocationTree, getLocationTree,
getPractitionerMetadata, getPractitionerMetadata,
getHealthcareMetadata, getHealthcareMetadata,
addOutpatientRegistration addOutpatientRegistration,
getOutpatientRegistrationCurrent,
} from "./components/outpatientregistration"; } from "./components/outpatientregistration";
import patientInfoDialog from "./components/patientInfoDialog"; import patientInfoDialog from "./components/patientInfoDialog";
import PatientAddDialog from "./components/patientAddDialog"; import PatientAddDialog from "./components/patientAddDialog";
@@ -568,10 +679,10 @@ const data = reactive({
queryParams: { queryParams: {
pageNo: 1, pageNo: 1,
pageSize: 50, pageSize: 50,
searchKey: undefined, // 品名/商品名/英文品名/编码/拼音 // searchKey: undefined, // 品名/商品名/英文品名/编码/拼音
statusEnum: undefined, // 状态(包括 1预置2启用3停用 // statusEnum: undefined, // 状态(包括 1预置2启用3停用
ybMatchFlag: undefined, // 是否医保匹配(包括 10 // ybMatchFlag: undefined, // 是否医保匹配(包括 10
status: undefined, // 状态(包括 1预置2启用3停用 // status: undefined, // 状态(包括 1预置2启用3停用
}, },
rules: { rules: {
// name: [{ required: true, message: "名称不能为空", trigger: "blur" }], // name: [{ required: true, message: "名称不能为空", trigger: "blur" }],
@@ -652,12 +763,16 @@ function setchargeItem() {
} }
/** 查询患者信息 */ /** 查询患者信息 */
function getList() { function getList() {
// loading.value = true; loading.value = true;
// getOutpatientRegistrationList(queryParams.value).then((res) => { getOutpatientRegistrationCurrent(queryParams.value).then((res) => {
// loading.value = false; loading.value = false;
// outpatientRegistrationList.value = res.data.records; outpatientRegistrationList.value = res.data.records;
// total.value = res.data.total; console.log(
// }); outpatientRegistrationList.value,
"outpatientRegistrationList.value"
);
total.value = res.data.total;
});
} }
/** 查询费用性质 */ /** 查询费用性质 */
@@ -667,12 +782,12 @@ function getContract() {
}); });
} }
/** 查询诊断信息 */ // /** 查询诊断信息 */
function getConditionDefinition() { // function getConditionDefinition() {
getConditionDefinitionMetadata().then((response) => { // getConditionDefinitionMetadata().then((response) => {
console.log("getConditionDefinitionMetadata", "response", response.data); // console.log("getConditionDefinitionMetadata", "response", response.data);
}); // });
} // }
/** 查询就诊位置 */ /** 查询就诊位置 */
function getLocationInfo() { function getLocationInfo() {
@@ -766,11 +881,6 @@ function reset() {
}; };
proxy.resetForm("outpatientRegistrationRef"); proxy.resetForm("outpatientRegistrationRef");
} }
/** 取消按钮 */
function cancel() {
open.value = false;
reset();
}
/** 新增按钮操作 */ /** 新增按钮操作 */
function handleAdd() { function handleAdd() {
@@ -819,10 +929,8 @@ function transformFormData(form) {
getInitData(); getInitData();
getList(); getList();
getContract(); getContract();
getConditionDefinition(); // getConditionDefinition();
getLocationInfo(); getLocationInfo();
// getPractitioner();
// getHealthcare();
</script> </script>
<style scoped> <style scoped>
.el-form--inline .el-form-item { .el-form--inline .el-form-item {