Merge remote-tracking branch 'origin/赵云' into 赵云 - resolve conflicts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
赵云
2026-05-11 11:05:31 +08:00
4 changed files with 16 additions and 5 deletions

View File

@@ -132,6 +132,10 @@ function onCancel() {
// 批量添加
async function onConfirm() {
if (!props.organizationId) {
proxy.$message.error('请先在左侧选择科室');
return;
}
if (!formEl) return;
formEl.value.validate(async (valid) => {
if (!valid) return;

View File

@@ -366,6 +366,10 @@ function handleBlur(row, index) {
// 编辑或 保存当前行
function openSaveImplementDepartment(row) {
if (!organizationId.value) {
proxy.$message.error('请先在左侧选择科室');
return;
}
const params = {
// 科室id
organizationId: organizationId.value,
@@ -452,13 +456,12 @@ function handleNodeClick(res, node) {
// 实际的节点点击处理逻辑
function continueHandleNodeClick(node) {
// 新增按钮是否 disable
isAddDisable.value = false;
// 检查节点是否有子节点
if (node.data.children && node.data.children.length > 0) {
// proxy.$message.warning("不能选择父节点");
return;
}
// 新增按钮是否 disable
isAddDisable.value = false;
// 选中科室id
organizationId.value = node.data.id;
// 获取 右侧 table 信息

View File

@@ -1404,6 +1404,10 @@ async function handleChargeCharge(row) {
// 关闭计费弹窗
function closeChargeDialog() {
// 先关闭子组件中所有悬浮的字典弹窗,避免主弹窗关闭后残留
if (prescriptionRef.value && prescriptionRef.value.closeAllPopovers) {
prescriptionRef.value.closeAllPopovers()
}
showChargeDialog.value = false
chargePatientInfo.value = {}
chargeSurgeryInfo.value = {}