From 3bb5a52bceaa56b6c927d21a8d0590f2529d685c Mon Sep 17 00:00:00 2001
From: coderxqt <335614092@qq.com>
Date: Tue, 31 Mar 2026 17:03:01 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=AF=BC=E5=85=A5=E8=8F=9C?=
=?UTF-8?q?=E5=8D=95=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 4 +-
.env.production | 4 +-
.env.staging | 4 +-
package.json | 1 +
src/api/system/externalImport.js | 44 ++
src/views/manage/dataImport/index.vue | 572 ++++++++++++++++++++++++++
6 files changed, 623 insertions(+), 6 deletions(-)
create mode 100644 src/api/system/externalImport.js
create mode 100644 src/views/manage/dataImport/index.vue
diff --git a/.env.development b/.env.development
index 16e1cdd..01a6bb8 100644
--- a/.env.development
+++ b/.env.development
@@ -6,10 +6,10 @@ ENV = 'development'
# 新医路院后患者管理平台/开发环境
# VUE_APP_BASE_API = 'http://192.168.20.37:19090'
-# VUE_APP_BASE_API = 'http://8.131.93.145:54011'
+# VUE_APP_BASE_API = 'http://8.131.93.145:54098'
# VUE_APP_BASE_API = 'http://192.168.0.95:9090'
# VUE_APP_BASE_API = 'https://1608.xinelu.cn'
-VUE_APP_BASE_API = 'http://192.168.124.7:19090'
+VUE_APP_BASE_API = 'http://192.168.124.10:19090'
# 路由懒加载
diff --git a/.env.production b/.env.production
index 2cd947e..2d50130 100644
--- a/.env.production
+++ b/.env.production
@@ -6,8 +6,8 @@ ENV = 'production'
# 新医路院后患者管理平台/生产环境
# VUE_APP_BASE_API = 'http://192.168.20.37:19090'
-# VUE_APP_BASE_API = 'http://8.131.93.145:54011'
+# VUE_APP_BASE_API = 'http://8.131.93.145:54098'
# VUE_APP_BASE_API = 'http://192.168.0.95:9090'
# VUE_APP_BASE_API = 'https://1608.xinelu.cn'
-VUE_APP_BASE_API = 'http://192.168.124.7:19090'
+VUE_APP_BASE_API = 'http://192.168.124.10:19090'
diff --git a/.env.staging b/.env.staging
index 7745f57..bce8dce 100644
--- a/.env.staging
+++ b/.env.staging
@@ -8,7 +8,7 @@ ENV = 'staging'
# 新医路院后患者管理平台/测试环境
# VUE_APP_BASE_API = 'http://192.168.20.37:19090'
-# VUE_APP_BASE_API = 'http://8.131.93.145:54011'
+# VUE_APP_BASE_API = 'http://8.131.93.145:54098'
# VUE_APP_BASE_API = 'http://192.168.0.95:9090'
# VUE_APP_BASE_API = 'https://1608.xinelu.cn'
-VUE_APP_BASE_API = 'http://192.168.124.7:19090'
+VUE_APP_BASE_API = 'http://192.168.124.10:19090'
diff --git a/package.json b/package.json
index acd8ed3..5dcd52f 100644
--- a/package.json
+++ b/package.json
@@ -74,6 +74,7 @@
"vuex": "3.6.0"
},
"devDependencies": {
+ "@types/js-cookie": "^3.0.6",
"@vue/cli-plugin-babel": "4.4.6",
"@vue/cli-plugin-eslint": "4.4.6",
"@vue/cli-service": "4.4.6",
diff --git a/src/api/system/externalImport.js b/src/api/system/externalImport.js
new file mode 100644
index 0000000..ab027fe
--- /dev/null
+++ b/src/api/system/externalImport.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询外部数据导入列表
+export function listExternalImport(query) {
+ return request({
+ url: '/system/externalImport/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询外部数据导入详细
+export function getExternalImport(id) {
+ return request({
+ url: '/system/externalImport/' + id,
+ method: 'get'
+ })
+}
+
+// 新增外部数据导入
+export function addExternalImport(data) {
+ return request({
+ url: '/system/externalImport',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改外部数据导入
+export function updateExternalImport(data) {
+ return request({
+ url: '/system/externalImport',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除外部数据导入
+export function delExternalImport(id) {
+ return request({
+ url: '/system/externalImport/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/views/manage/dataImport/index.vue b/src/views/manage/dataImport/index.vue
new file mode 100644
index 0000000..e8d5653
--- /dev/null
+++ b/src/views/manage/dataImport/index.vue
@@ -0,0 +1,572 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.visitMethod === "1" ? "门诊" : "住院" }}
+
+
+
+
+ {{ parseTime(scope.row.visitDate, "{y}-{m}-{d}") }}
+
+
+
+
+ {{ parseTime(scope.row.admissionTime, "{y}-{m}-{d}") }}
+
+
+
+
+ {{ parseTime(scope.row.dischargeTime, "{y}-{m}-{d}") }}
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.dataGetTime, "{y}-{m}-{d}") }}
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+