diff --git a/public/config.json b/public/config.json
index adb61bf..7f05b28 100644
--- a/public/config.json
+++ b/public/config.json
@@ -1,7 +1,7 @@
{
"UDI_SYNC_SERVER_IP": "http://127.0.0.1:9991/",
- "BASE_URL": "http://127.0.0.1:9991",
- "SERVER_IP": "http://127.0.0.1:9991",
+ "BASE_URL": "http://127.0.0.1:9992",
+ "SERVER_IP": "http://127.0.0.1:9992",
"WEBSOCKET_URL": "ws://127.0.0.1:9991/UDI_WMS_MC/api/websocket/",
"hosp_name": "平和县医院"
}
diff --git a/src/api/auth/platform.js b/src/api/auth/platform.js
new file mode 100644
index 0000000..855c154
--- /dev/null
+++ b/src/api/auth/platform.js
@@ -0,0 +1,91 @@
+import axios from "../../utils/axios";
+
+export function getPlatform(query) {
+ return axios({
+ url: "/udiwms/platform/list",
+ method: "get",
+ params: query
+ });
+}
+
+export function updatePlatform(data) {
+ return axios({
+ url: "/udiwms/platform/update",
+ method: "post",
+ data: data
+ });
+}
+
+export function deletePlatform(data) {
+ return axios({
+ url: "/udiwms/platform/remove",
+ method: "post",
+ data: data
+ });
+}
+
+export function linkPlatform(query) {
+ return axios({
+ url: "/udiwms/platform/link",
+ method: "post",
+ data: query
+ });
+}
+
+//查询往来单位和自助平台关联数据
+export function getLinkPlatformList(query) {
+ return axios({
+ url: "/udiwms/platform/getLinkPlatformList",
+ method: "get",
+ params: query
+ });
+}
+
+//解绑往来单位字典和自助平台
+export function unbindPlatform(query) {
+ return axios({
+ url: "/udiwms/platform/unbind",
+ method: "post",
+ params: query
+ });
+}
+
+export function getTargetActions(query) {
+ return axios({
+ url: "/udiwms/platform/getTargetActions",
+ method: "get",
+ params: query
+ });
+}
+
+export function getTargetInv(query) {
+ return axios({
+ url: "/udiwms/platform/getTargetInv",
+ method: "get",
+ params: query
+ });
+}
+
+export function getTargetSubInv(query) {
+ return axios({
+ url: "/udiwms/platform/getTargetSubInv",
+ method: "get",
+ params: query
+ });
+}
+
+export function testPlatformConnection(query) {
+ return axios({
+ url: "/udiwms/platform/testPlatformConnection",
+ method: "get",
+ params: query
+ })
+}
+
+export function testUserInfo(data) {
+ return axios({
+ url: "/udiwms/platform/testUserInfo",
+ method: "post",
+ data: data
+ });
+}
diff --git a/src/router/index.js b/src/router/index.js
index 8f08423..c8579af 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -157,6 +157,8 @@ import purPlan from "../views/purchase/purPlan";
import purPlanAudit from "../views/purchase/purPlanAudit";
import purPlanSearch from "../views/purchase/purPlanSearch";
+import platform from "../views/userManage/platform";
+
// Vue.use(VueRouter);
@@ -449,7 +451,15 @@ export const asyncRouterMap = [
},
]
},
-
+ {
+ path: "platform",
+ component: platform,
+ name: "医院自助平台",
+ icon: "",
+ meta: {
+ authRule: ["userManage/platform"]
+ }
+ },
// {
// path: "bussinessType",
diff --git a/src/views/userManage/platform.vue b/src/views/userManage/platform.vue
new file mode 100644
index 0000000..7a47fd9
--- /dev/null
+++ b/src/views/userManage/platform.vue
@@ -0,0 +1,293 @@
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+ 添加自助平台信息
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+ 删除
+
+ 测试连通
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+