fix: 修复多模块Bug及功能优化

修复药品汇总、医嘱套餐、转科管理、用药汇总、处方列表、用户管理等多个模块的问题
This commit is contained in:
Ranyunqiao
2026-05-06 10:42:57 +08:00
parent 8a2f7965bd
commit d3c4b612e4
12 changed files with 84 additions and 16 deletions

View File

@@ -267,7 +267,7 @@
/>
</el-select>
</template>
<span v-else>{{ scope.row.methodCode }}</span>
<span v-else>{{ scope.row.methodCode_dictText || scope.row.methodCode }}</span>
</template>
<span v-else>{{ '-' }}</span>
</template>
@@ -597,6 +597,13 @@ function handleEdit(tab, row) {
groupId: item.groupId,
groupOrder: item.groupOrder,
therapyEnum: item.therapyEnum != null ? String(item.therapyEnum) : '1',
// 医嘱类型(药品=1没有则按表名推断
adviceType:
item.adviceType !== undefined
? item.adviceType
: item.orderDefinitionTable === 'med_medication_definition'
? 1
: undefined,
};
});
prescriptionList.value.unshift({