diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js
index 3222fd71..ecce93a8 100644
--- a/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js
+++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/components/outpatientregistration.js
@@ -63,13 +63,14 @@ export function getHealthcareMetadata(query) {
})
}
-// // 门诊挂号查询
-// export function getOutpatientRegistrationCategory() {
-// return request({
-// url: '/outpatient-service/registerinformation-init',
-// method: 'get'
-// })
-// }
+// 门诊挂号查询
+export function getOutpatientRegistrationCurrent(query) {
+ return request({
+ url: '/outpatient-service/register/current-day-encounter',
+ method: 'get',
+ params: query
+ })
+}
// 新增门诊挂号信息
export function addOutpatientRegistration(data) {
diff --git a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue
index b9ea39d8..18dfa3c0 100644
--- a/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue
+++ b/openhis-ui-vue3/src/views/charge/outpatientregistration/index.vue
@@ -507,6 +507,116 @@
+
+
+
+
+ 当日已挂号
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.registerTime) }}
+
+
+
+
+
+
+
{
- // loading.value = false;
- // outpatientRegistrationList.value = res.data.records;
- // total.value = res.data.total;
- // });
+ loading.value = true;
+ getOutpatientRegistrationCurrent(queryParams.value).then((res) => {
+ loading.value = false;
+ outpatientRegistrationList.value = res.data.records;
+ console.log(
+ outpatientRegistrationList.value,
+ "outpatientRegistrationList.value"
+ );
+ total.value = res.data.total;
+ });
}
/** 查询费用性质 */
@@ -667,12 +782,12 @@ function getContract() {
});
}
-/** 查询诊断信息 */
-function getConditionDefinition() {
- getConditionDefinitionMetadata().then((response) => {
- console.log("getConditionDefinitionMetadata", "response", response.data);
- });
-}
+// /** 查询诊断信息 */
+// function getConditionDefinition() {
+// getConditionDefinitionMetadata().then((response) => {
+// console.log("getConditionDefinitionMetadata", "response", response.data);
+// });
+// }
/** 查询就诊位置 */
function getLocationInfo() {
@@ -766,11 +881,6 @@ function reset() {
};
proxy.resetForm("outpatientRegistrationRef");
}
-/** 取消按钮 */
-function cancel() {
- open.value = false;
- reset();
-}
/** 新增按钮操作 */
function handleAdd() {
@@ -819,10 +929,8 @@ function transformFormData(form) {
getInitData();
getList();
getContract();
-getConditionDefinition();
+// getConditionDefinition();
getLocationInfo();
-// getPractitioner();
-// getHealthcare();