diff --git a/ruoyi-ui/src/api/system/city.js b/ruoyi-ui/src/api/system/city.js
new file mode 100644
index 0000000..e500978
--- /dev/null
+++ b/ruoyi-ui/src/api/system/city.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询城市列表
+export function listCity(query) {
+ return request({
+ url: '/oa/city/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询城市详细
+export function getCity(cityId) {
+ return request({
+ url: `/oa/city/${cityId}`,
+ method: 'get'
+ })
+}
+
+// 新增城市
+export function addCity(data) {
+ return request({
+ url: '/oa/city',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改城市
+export function updateCity(data) {
+ return request({
+ url: '/oa/city',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除城市
+export function delCity(cityIds) {
+ return request({
+ url: `/oa/city/${cityIds}`,
+ method: 'delete'
+ })
+}
\ No newline at end of file
diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js
index c588125..3ebcb51 100644
--- a/ruoyi-ui/src/router/index.js
+++ b/ruoyi-ui/src/router/index.js
@@ -9,6 +9,20 @@ import Layout from "@/layout";
// 公共路由
export const constantRoutes = [
+ {
+ path: "/oa/city",
+ component: Layout,
+ hidden: false,
+ meta: { title: "城市管理", icon: "dashboard" },
+ children: [
+ {
+ path: "index",
+ component: () => import("@/views/oa/city/index"),
+ name: "City",
+ meta: { title: "城市管理", icon: "el-icon-office-building" }
+ }
+ ]
+},
{
path: "/redirect",
component: Layout,
@@ -182,6 +196,7 @@ export const constantRoutes = [
];
export const dynamicRoutes = [
+
{
path: "/system/user-auth",
component: Layout,
@@ -314,6 +329,7 @@ export const dynamicRoutes = [
},
],
},
+
];
let routerPush = Router.prototype.push;
diff --git a/ruoyi-ui/src/views/oa/city/index.vue b/ruoyi-ui/src/views/oa/city/index.vue
new file mode 100644
index 0000000..064f38f
--- /dev/null
+++ b/ruoyi-ui/src/views/oa/city/index.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确 定
+ 取 消
+
+
+
+
+
+
\ No newline at end of file