diff --git a/src/api/modules/accountNumber.js b/src/api/modules/accountNumber.js
new file mode 100644
index 0000000..7582da7
--- /dev/null
+++ b/src/api/modules/accountNumber.js
@@ -0,0 +1,36 @@
+import $http from "@/utils/httpRequest.js";
+//账号管理
+export const accountNumber = {
+ //账号列表
+ accountPage: (data) => {
+ return $http.request({
+ url: `/merchant-api/unify/account/page`,
+ method: "get",
+ params: data,
+ });
+ },
+ //添加账号
+ addAccount: (data) => {
+ return $http.request({
+ url: `/merchant-api/unify/account/add`,
+ method: "post",
+ data: data,
+ });
+ },
+ //编辑账号
+ updateAccount: (data) => {
+ return $http.request({
+ url: `/merchant-api/unify/account/update`,
+ method: "post",
+ data: data,
+ });
+ },
+ //删除账号
+ deleteAccount: (data) => {
+ return $http.request({
+ url: `/merchant-api/unify/account/delete`,
+ method: "post",
+ data: data,
+ });
+ },
+};
diff --git a/src/router/full-routers.js b/src/router/full-routers.js
index c33b6ae..23e8475 100644
--- a/src/router/full-routers.js
+++ b/src/router/full-routers.js
@@ -130,6 +130,19 @@ export default {
open: null,
list: [],
},
+ {
+ menuId: getUUID(),
+ parentId: 0,
+ parentName: null,
+ name: "账号管理",
+ url: "operation-management/accountNumber/index",
+ perms: "",
+ type: 1,
+ elIcon: "el-icon-menu",
+ orderNum: 0,
+ open: null,
+ list: [],
+ },
{
menuId: getUUID(),
parentId: 0,
diff --git a/src/utils/index.js b/src/utils/index.js
index b6b4ed7..ea77797 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -169,7 +169,8 @@ export function getMenu(role) {
"ogistics-fare",
"logistics-fare/logistics-template/index",
"bank-card/index",
- "operation-management/total-order/index"
+ "operation-management/total-order/index",
+ "operation-management/accountNumber/index",
];
} else if (role == "ROLE_BRAND_MANAGER") {
return [
@@ -185,6 +186,7 @@ export function getMenu(role) {
"brand/config/index",
"local-course/resources",
"wallet/index",
+ "operation-management/accountNumber/index",
];
} else if (role == "ROLE_AGENT") {
return [
@@ -198,6 +200,7 @@ export function getMenu(role) {
"datacenter/order-analysis/index",
"local-course/resources",
"wallet/index",
+ "operation-management/accountNumber/index",
];
}
}
diff --git a/src/views/modules/operation-management/accountNumber/index.vue b/src/views/modules/operation-management/accountNumber/index.vue
new file mode 100644
index 0000000..23eda99
--- /dev/null
+++ b/src/views/modules/operation-management/accountNumber/index.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+ 添加
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/operation-management/accountNumber/popup/add-or-update.vue b/src/views/modules/operation-management/accountNumber/popup/add-or-update.vue
new file mode 100644
index 0000000..53d6321
--- /dev/null
+++ b/src/views/modules/operation-management/accountNumber/popup/add-or-update.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file