diff --git a/openhis-ui-vue3/package.json b/openhis-ui-vue3/package.json
index a820a230..f4535a66 100644
--- a/openhis-ui-vue3/package.json
+++ b/openhis-ui-vue3/package.json
@@ -21,6 +21,7 @@
"@vueuse/core": "10.6.1",
"axios": "0.27.2",
"echarts": "5.4.3",
+ "element-china-area-data": "^6.1.0",
"element-plus": "2.4.3",
"file-saver": "2.0.5",
"fuse.js": "6.6.2",
@@ -28,7 +29,10 @@
"jsencrypt": "3.3.2",
"nprogress": "0.2.0",
"pinia": "2.1.7",
+ "province-city-china": "^8.5.8",
+ "v-region": "^3.3.0",
"vue": "3.3.9",
+ "vue-area-linkage": "^5.1.0",
"vue-cropper": "1.1.1",
"vue-router": "4.2.5"
},
@@ -37,9 +41,9 @@
"@vue/compiler-sfc": "3.3.9",
"sass": "1.69.5",
"unplugin-auto-import": "0.17.1",
+ "unplugin-vue-setup-extend-plus": "1.0.0",
"vite": "5.0.4",
"vite-plugin-compression": "0.5.1",
- "vite-plugin-svg-icons": "2.0.1",
- "unplugin-vue-setup-extend-plus": "1.0.0"
+ "vite-plugin-svg-icons": "2.0.1"
}
}
diff --git a/openhis-ui-vue3/src/views/patientManagement/patientManagement/component/api.js b/openhis-ui-vue3/src/views/patientManagement/patientManagement/component/api.js
index 7a8185de..fdf0df89 100644
--- a/openhis-ui-vue3/src/views/patientManagement/patientManagement/component/api.js
+++ b/openhis-ui-vue3/src/views/patientManagement/patientManagement/component/api.js
@@ -44,4 +44,22 @@ export function listfamilyrelationshiptype() {
})
}
+// 新增
+export function addPatient(data) {
+ return request({
+ url: '/patientmanage/information/patient-information',
+ method: 'post',
+ data: data
+ })
+}
+
+// 查询菜单列表
+export function listPatient(query) {
+ return request({
+ url: '/patientmanage/information/patient-information-page',
+ method: 'get',
+ params: query
+ })
+ }
+
diff --git a/openhis-ui-vue3/src/views/patientManagement/patientManagement/index.vue b/openhis-ui-vue3/src/views/patientManagement/patientManagement/index.vue
index 9e03aeeb..0dca1f2d 100644
--- a/openhis-ui-vue3/src/views/patientManagement/patientManagement/index.vue
+++ b/openhis-ui-vue3/src/views/patientManagement/patientManagement/index.vue
@@ -22,24 +22,29 @@
-
+
-
+
-
-
+
+
+
+
+
+
+
+
修改
- 查看
- 删除
+ 查看
@@ -51,29 +56,29 @@
-
+
-
+
-
+
-
+
-
+
{{ item.info }}
@@ -82,7 +87,7 @@
-
+
{{ dict.label }}
@@ -93,7 +98,7 @@
-
+
@@ -101,24 +106,24 @@
-
+
-
+
-
+
-
+
@@ -126,19 +131,19 @@
-
+
-
+
-
+
@@ -146,26 +151,33 @@
-
+
-
+
+
+
+ {{ data.name }}
+ ({{ data.children.length }})
+
+
-
+
-
+
@@ -173,7 +185,7 @@
-
+
@@ -183,7 +195,7 @@
-
+
@@ -191,7 +203,8 @@
-
+
@@ -208,15 +221,18 @@