diff --git a/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue b/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue
index 72f004a8..ca8f5005 100644
--- a/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue
+++ b/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue
@@ -34,14 +34,15 @@
-->
-
+
@@ -52,18 +53,7 @@
-->
-
-
-
-
-
+
@@ -88,6 +78,18 @@
/>
+
+
+
+
+
@@ -103,8 +105,15 @@
-
-
+
+
+
+
@@ -121,6 +130,11 @@
+
+
+
+
+
@@ -131,51 +145,33 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -215,36 +211,81 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -374,6 +415,10 @@ const props = defineProps({
type: Object,
required: false,
},
+ currentCategoryEnum: {
+ type: String,
+ required: true,
+ },
});
// 显示弹框
@@ -385,6 +430,7 @@ function show() {
title.value = props.title;
deviceCategories.value = props.deviceCategories;
statusFlagOptions.value = props.statusFlagOptions;
+ form.value.categoryEnum = props.currentCategoryEnum;
console.log(props, "22222", title.value, props.deviceCategories);
getDeptTree();
getLocationTree();
@@ -453,6 +499,11 @@ function reset() {
allergenFlag: undefined, // 过敏标记
orgId: undefined, // 科室ID
locationId: undefined, // 地点ID
+ ybType: undefined, // 医保类型
+ minimalFee: undefined, // 最小收费
+ purchasePrice: undefined, // 购入价
+ retailPrice: undefined, // 零售价
+ maximumRetailPrice: undefined, // 最高零售价
};
proxy.resetForm("medicationRef");
}
diff --git a/openhis-ui-vue3/src/views/catalog/device/index.vue b/openhis-ui-vue3/src/views/catalog/device/index.vue
index fefa434c..89fe1490 100644
--- a/openhis-ui-vue3/src/views/catalog/device/index.vue
+++ b/openhis-ui-vue3/src/views/catalog/device/index.vue
@@ -383,6 +383,7 @@
ref="deviceRef"
:title="title"
:item="currentData"
+ :currentCategoryEnum="currentCategoryEnum"
:deviceCategories="deviceCategories"
:statusFlagOptions="statusFlagOptions"
@submit="getList()"
@@ -430,6 +431,7 @@ const exeOrganizations = ref(undefined);
const currentData = ref({});
// 使用 ref 定义当前查看器材数据
const viewData = ref({});
+const currentCategoryEnum = ref("");
const data = reactive({
form: {},
@@ -481,6 +483,7 @@ function getList() {
/** 节点单击事件 */
function handleNodeClick(data) {
queryParams.value.categoryEnum = data.value;
+ currentCategoryEnum.value = data.value;
handleQuery();
}
/** 搜索按钮操作 */
@@ -549,6 +552,9 @@ function importTemplate() {
/** 打开新增弹窗 */
function openAddDevice() {
+ if (!currentCategoryEnum.value) {
+ return proxy.$modal.msgError("请选择器材目录分类");
+ }
console.log("打开新增弹窗");
title.value = "新增";
nextTick(() => {
diff --git a/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue b/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue
index 2d758422..5ad00e29 100644
--- a/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue
+++ b/openhis-ui-vue3/src/views/catalog/diagnosistreatment/components/diagnosisTreatmentDialog.vue
@@ -21,101 +21,213 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+ clearable
+ :disabled="form.id != undefined"
+ >
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -142,41 +254,54 @@
-
+ getList();
+ });
+ // console.log(viewData.value, "currentData");
+ // // 确保子组件已经接收到最新的 props
+ // nextTick(() => {
+ // proxy.$refs["diagnosisTreatmentViewRef"].edit();
+ // });
+ // proxy.$refs["diagnosisTreatmentRef"].edit();
+}
+
+getDiseaseTreatmentList();
+getList();
+
+.el-form--inline .el-form-item {
+ display: inline-flex;
+ vertical-align: middle;
+ margin-right: 10px !important;
+}
+
\ No newline at end of file
diff --git a/openhis-ui-vue3/src/views/catalog/disease/index.vue b/openhis-ui-vue3/src/views/catalog/disease/index.vue
index 219c153e..44aafc86 100644
--- a/openhis-ui-vue3/src/views/catalog/disease/index.vue
+++ b/openhis-ui-vue3/src/views/catalog/disease/index.vue
@@ -197,13 +197,13 @@
label="医保对码标志"
align="center"
key="ybMatchFlag"
- prop="ybMatchFlag"
+ prop="ybMatchFlag_enumText"
/>
-
+
-
+
@@ -310,7 +306,19 @@
-
+
+
+
+
@@ -405,9 +413,9 @@
:disabled="form.id != undefined"
>
@@ -663,6 +671,7 @@