From fdfccae82b6a16b0f24a8878142efd7e32a20b59 Mon Sep 17 00:00:00 2001
From: anthonyywj2 <353682448@qq.com>
Date: Fri, 13 May 2022 21:16:31 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E7=B9=BC=E6=9C=8D=E5=8B=99=E5=84=AA?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
SP_SYNC_CLIENT/config.json | 7 +-
SP_SYNC_CLIENT/index.html | 2 +-
public/config.json | 7 +-
src/api/sync/spBasicStatus.js | 17 +
src/router/index.js | 142 ++++----
src/views/sync/SpBasicFolder.vue | 211 +++++++++++
src/views/sync/SpBasicStatus.vue | 225 ++++++++++++
.../userManage/param/systemParamConfig.vue | 333 ++++++++++--------
8 files changed, 720 insertions(+), 224 deletions(-)
create mode 100644 src/api/sync/spBasicStatus.js
create mode 100644 src/views/sync/SpBasicFolder.vue
create mode 100644 src/views/sync/SpBasicStatus.vue
diff --git a/SP_SYNC_CLIENT/config.json b/SP_SYNC_CLIENT/config.json
index 3d7e5be..7133be3 100644
--- a/SP_SYNC_CLIENT/config.json
+++ b/SP_SYNC_CLIENT/config.json
@@ -1,7 +1,4 @@
{
-
- "BASE_URL":"http://192.168.0.109:9989",
- "SERVER_IP": "http://192.168.0.109:9989/"
-
-
+ "BASE_URL":"http://139.159.180.173:80/SP_SYNC_SERVER/",
+ "SERVER_IP": "http://139.159.180.173:80/"
}
diff --git a/SP_SYNC_CLIENT/index.html b/SP_SYNC_CLIENT/index.html
index 8313450..d8ef9c6 100644
--- a/SP_SYNC_CLIENT/index.html
+++ b/SP_SYNC_CLIENT/index.html
@@ -1 +1 @@
-
UDI管理系统数据同步ga('create', 'UA-110990780-1', 'auto'); ga('send', 'pageview'); window.addEventListener('hashchange', function () { ga('set', 'page', window.location.href); ga('send', 'pageview'); });
\ No newline at end of file
+UDI管理系统数据同步ga('create', 'UA-110990780-1', 'auto'); ga('send', 'pageview'); window.addEventListener('hashchange', function () { ga('set', 'page', window.location.href); ga('send', 'pageview'); });
\ No newline at end of file
diff --git a/public/config.json b/public/config.json
index 3d7e5be..0c525df 100644
--- a/public/config.json
+++ b/public/config.json
@@ -1,7 +1,4 @@
{
-
- "BASE_URL":"http://192.168.0.109:9989",
- "SERVER_IP": "http://192.168.0.109:9989/"
-
-
+ "BASE_URL":"http://127.0.0.1:9989",
+ "SERVER_IP": "http://127.0.0.1:8080/"
}
diff --git a/src/api/sync/spBasicStatus.js b/src/api/sync/spBasicStatus.js
new file mode 100644
index 0000000..9082ad5
--- /dev/null
+++ b/src/api/sync/spBasicStatus.js
@@ -0,0 +1,17 @@
+import axios from "../../utils/axios";
+
+export function filterStatusList(query) {
+ return axios({
+ url: "/spssync/basic/udiinfo/getStatus",
+ method: "get",
+ params: query
+ });
+}
+
+export function deleteLog(query) {
+ return axios({
+ url: "/spssync/basic/udiinfo/deleteByStatus",
+ method: "post",
+ data: query
+ });
+}
diff --git a/src/router/index.js b/src/router/index.js
index 17f399c..f88859a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -27,6 +27,9 @@ import udiInfoUpload from "../views/sync/SpUdiInfoUpload.vue";
import spOrderStatus from "../views/sync/SpOrderStatus";
import spOrderFloder from "../views/sync/SpOrderFloder";
+import SpBasicStatus from "../views/sync/SpBasicStatus";
+import SpBasicFolder from "../views/sync/SpBasicFolder";
+
const err401 = r =>
require.ensure([], () => r(require("../views/error/err401.vue")), "home");
@@ -203,90 +206,107 @@ export const asyncRouterMap = [
},
]
},
- {
- path: "/udisync",
- redirect: "/udisync/udiInfoImport",
- component: Home,
- icon: "tongyong",
- name: "UDI管理系统数据",
- hidden: false,
- noDropdown: false,
- meta: {
- authRule: ["udisync"]
- },
- children: [
- {
- path: "udiInfoImport",
- name: "医疗器械信息",
- component: udiInfoImport,
- meta: {
- authRule: ["udisync/udiInfoImport"]
- }
- },
- {
- path: "corpImport",
- name: "往来单位信息",
- component: corpImport,
- meta: {
- authRule: ["udisync/corpImport"]
- }
- },
- {
- path: "thrProductsImport",
- name: "第三方产品信息",
- component: thrProductsImport,
- meta: {
- authRule: ["udisync/thrProductsImport"]
- }
- },
- {
- path: "thrOrderImport",
- name: "第三方业务单据",
- component: thrOrderImport,
- meta: {
- authRule: ["udisync/thrOrderImport"]
- }
- },
-
- ]
- },
+ // {
+ // path: "/udisync",
+ // redirect: "/udisync/udiInfoImport",
+ // component: Home,
+ // icon: "tongyong",
+ // name: "数据同步",
+ // hidden: false,
+ // noDropdown: false,
+ // meta: {
+ // authRule: ["udisync"]
+ // },
+ // children: [
+ // {
+ // path: "udiInfoImport",
+ // name: "医疗器械信息",
+ // component: udiInfoImport,
+ // meta: {
+ // authRule: ["udisync/udiInfoImport"]
+ // }
+ // },
+ // {
+ // path: "corpImport",
+ // name: "往来单位信息",
+ // component: corpImport,
+ // meta: {
+ // authRule: ["udisync/corpImport"]
+ // }
+ // },
+ // {
+ // path: "thrProductsImport",
+ // name: "第三方产品信息",
+ // component: thrProductsImport,
+ // meta: {
+ // authRule: ["udisync/thrProductsImport"]
+ // }
+ // },
+ // {
+ // path: "thrOrderImport",
+ // name: "第三方业务单据",
+ // component: thrOrderImport,
+ // meta: {
+ // authRule: ["udisync/thrOrderImport"]
+ // }
+ // },
+ //
+ // ]
+ // },
{
path: "/spsync",
redirect: "/spsync/udiInfoUpload",
component: Home,
icon: "tongyong",
- name: "UDI自助平台数据",
+ name: "数据同步",
hidden: false,
noDropdown: false,
meta: {
authRule: ["spsync"]
},
children: [
- {
- path: "udiInfoUpload",
- name: "医疗器械信息",
- component: udiInfoUpload,
- meta: {
- authRule: ["spsync/udiInfoUpload"]
- }
- },
+ // {
+ // path: "udiInfoUpload",
+ // name: "医疗器械信息",
+ // component: udiInfoUpload,
+ // meta: {
+ // authRule: ["spsync/udiInfoUpload"]
+ // }
+ // },
{
path: "spOrderStatus",
- name: "订单更新记录",
+ name: "扫码单据更新记录",
component: spOrderStatus,
meta: {
authRule: ["spsync/orderStatus"]
}
},
+ // {
+ // path: "spOrderFloder",
+ // name: "扫码单据文件记录",
+ // component: spOrderFloder,
+ // meta: {
+ // authRule: ["spsync/spOrderFloder"]
+ // }
+ // },
+
{
- path: "spOrderFloder",
- name: "订单文件记录",
- component: spOrderFloder,
+ path: "SpBasicStatus",
+ name: "基础信息更新记录",
+ component: SpBasicStatus,
meta: {
- authRule: ["spsync/spOrderFloder"]
+ authRule: ["spsync/orderStatus"]
}
},
+ // {
+ // path: "SpBasicFolder",
+ // name: "基础信息文件记录",
+ // component: SpBasicFolder,
+ // meta: {
+ // authRule: ["spsync/spOrderFloder"]
+ // }
+ // },
]
},
diff --git a/src/views/sync/SpBasicFolder.vue b/src/views/sync/SpBasicFolder.vue
new file mode 100644
index 0000000..b9e1672
--- /dev/null
+++ b/src/views/sync/SpBasicFolder.vue
@@ -0,0 +1,211 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ status[scope.row.status] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sync/SpBasicStatus.vue b/src/views/sync/SpBasicStatus.vue
new file mode 100644
index 0000000..f4cf612
--- /dev/null
+++ b/src/views/sync/SpBasicStatus.vue
@@ -0,0 +1,225 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ status[scope.row.status] }}
+
+
+
+
+
+
+
+ {{ type[scope.row.status] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/userManage/param/systemParamConfig.vue b/src/views/userManage/param/systemParamConfig.vue
index 13ed83b..f2dfbc5 100644
--- a/src/views/userManage/param/systemParamConfig.vue
+++ b/src/views/userManage/param/systemParamConfig.vue
@@ -57,7 +57,7 @@
>
-
+