diff --git a/src/api/auth/platform.js b/src/api/auth/platform.js
new file mode 100644
index 0000000..0c867fc
--- /dev/null
+++ b/src/api/auth/platform.js
@@ -0,0 +1,29 @@
+import axios from "../../utils/axios";
+
+export function getPlatform(query) {
+ return axios({
+ url: "/udims/platform/list",
+ method: "get",
+ params: query
+ });
+}
+
+export function updatePlatform(data) {
+ console.log(JSON.stringify(data));
+ return axios({
+ url: "/udims/platform/update",
+ method: "post",
+ data: data
+ });
+}
+
+export function deletePlatform(data) {
+ return axios({
+ url: "/udims/platform/remove",
+ method: "post",
+ data: data
+ });
+}
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 9c3b1fb..b987ca1 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -18,6 +18,7 @@ import registerManage from "../views/userManage/registerManage.vue";
import userAccountManage from "../views/userManage/userAccountManage.vue";
import customerManage from "../views/userManage/customerManage.vue";
import customerInfo from "../views/userManage/customerInfo.vue";
+import platform from "../views/userManage/platform.vue";
//菜单管理
import unit from "../views/warehouse/unit.vue";
@@ -248,7 +249,15 @@ export const asyncRouterMap = [
authRule: ["admin/customerManage"]
}
},
-
+ {
+ path: "platform",
+ component: platform,
+ name: "自助平台列表",
+ icon: "",
+ meta: {
+ authRule: ["admin/platform"]
+ }
+ },
]
},
diff --git a/src/views/userManage/platform.vue b/src/views/userManage/platform.vue
new file mode 100644
index 0000000..8be39aa
--- /dev/null
+++ b/src/views/userManage/platform.vue
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 添加自助平台信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file