diff --git a/src/api/model/system.ts b/src/api/model/system.ts
index a4997bf..b492bd2 100644
--- a/src/api/model/system.ts
+++ b/src/api/model/system.ts
@@ -1,6 +1,20 @@
import http from "@/utils/request"
export default {
+ account: {
+ list: async function(data={}){
+ return await http.get("account/list", data);
+ },
+ add: async function(data={}){
+ return await http.post("account/add", data);
+ },
+ edit: async function(data={}){
+ return await http.put("account/edit", data);
+ },
+ del: async function(data={}){
+ return await http.delete("account/del", data);
+ },
+ },
menu: {
list: async function(data={}){
return await http.get("menu/list", data);
@@ -55,4 +69,21 @@ export default {
return await http.get("role/option", data);
},
},
+ post: {
+ list: async function (data = {}) {
+ return await http.get("post/list", data);
+ },
+ add: async function (data = {}) {
+ return await http.post("post/add", data);
+ },
+ edit: async function (data = {}) {
+ return await http.put("post/edit", data);
+ },
+ del: async function (data = {}) {
+ return await http.delete("post/del", data);
+ },
+ option: async function (data = {}) {
+ return await http.get("post/option", data);
+ },
+ },
}
diff --git a/src/assets/icons/Filter.vue b/src/assets/icons/Filter.vue
new file mode 100644
index 0000000..44f8918
--- /dev/null
+++ b/src/assets/icons/Filter.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/assets/icons/Role.vue b/src/assets/icons/Role.vue
index 8da19ad..3a17a30 100644
--- a/src/assets/icons/Role.vue
+++ b/src/assets/icons/Role.vue
@@ -1,3 +1,3 @@
-
+
diff --git a/src/views/system/account/index.vue b/src/views/system/account/index.vue
new file mode 100644
index 0000000..3c31ba8
--- /dev/null
+++ b/src/views/system/account/index.vue
@@ -0,0 +1,149 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row.roles.map(item=>item.role_name).toString()}}
+
+
+
+
+
+
+ 查看
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/account/save.vue b/src/views/system/account/save.vue
new file mode 100644
index 0000000..2becbcc
--- /dev/null
+++ b/src/views/system/account/save.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 保 存
+
+
+
+
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
new file mode 100644
index 0000000..9255803
--- /dev/null
+++ b/src/views/system/dept/index.vue
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 启用
+ 停用
+
+
+
+
+
+
+
+ 查看
+
+ 编辑
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/dept/save.vue b/src/views/system/dept/save.vue
new file mode 100644
index 0000000..634479c
--- /dev/null
+++ b/src/views/system/dept/save.vue
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 保 存
+
+
+
+
+
+
+
diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
new file mode 100644
index 0000000..dcab7b1
--- /dev/null
+++ b/src/views/system/post/index.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 启用
+ 停用
+
+
+
+
+
+
+
+ 查看
+
+ 编辑
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/post/save.vue b/src/views/system/post/save.vue
new file mode 100644
index 0000000..0cdfdb7
--- /dev/null
+++ b/src/views/system/post/save.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取 消
+ 保 存
+
+
+
+
+