diff --git a/openhis-ui-vue3/src/views/basicservices/registrationfee/components/registrationfee.js b/openhis-ui-vue3/src/views/basicservices/registrationfee/components/registrationfee.js index 0033a4c1..3673a44c 100644 --- a/openhis-ui-vue3/src/views/basicservices/registrationfee/components/registrationfee.js +++ b/openhis-ui-vue3/src/views/basicservices/registrationfee/components/registrationfee.js @@ -56,7 +56,7 @@ export function deptTreeSelect(queryParams) { // 查询地点树形数据 export function locationTreeSelect(queryParams) { return request({ - url: '/basedatamanage/organization/organization', + url: '/basedatamanage/cabinet-location/cabinet-location', method: 'get', param: queryParams }) diff --git a/openhis-ui-vue3/src/views/basicservices/registrationfee/index.vue b/openhis-ui-vue3/src/views/basicservices/registrationfee/index.vue index f0e88875..358ad06c 100644 --- a/openhis-ui-vue3/src/views/basicservices/registrationfee/index.vue +++ b/openhis-ui-vue3/src/views/basicservices/registrationfee/index.vue @@ -63,28 +63,6 @@ >添加 - - + - + { if (valid) { if (form.value.id != undefined) { @@ -687,6 +668,7 @@ function submitForm() { editRegistrationfee(transformFormEditParam).then((response) => { proxy.$modal.msgSuccess("修改成功"); open.value = false; + reset(); getList(); }); } else { @@ -694,6 +676,7 @@ function submitForm() { const transformedData = transformFormData(form); console.log(transformedData, "transformedData"); addRegistrationfee(transformedData).then((response) => { + reset(); proxy.$modal.msgSuccess("新增成功"); open.value = false; getList(); @@ -749,6 +732,7 @@ const transformFormData = (form) => { description, ybType, title, + comment, } = form.value; return { @@ -764,6 +748,7 @@ const transformFormData = (form) => { contact, appointmentRequiredFlag, extraDetails, + comment, }, chargeItemDefinitionFormData: { id, @@ -799,6 +784,7 @@ const transformFormEditData = (form) => { description, ybType, title, + comment, } = form.value; return { @@ -814,11 +800,13 @@ const transformFormEditData = (form) => { contact, appointmentRequiredFlag, extraDetails, + comment, }, }; }; getregistrationfeeTypeList(); getDeptTree(); +getLocationTree(); getList();