songxy 4 месяцев назад
Родитель
Сommit
241fccde3d

+ 19 - 0
client/src/api/system/area/index.ts

@@ -0,0 +1,19 @@
+import request from '@/config/axios'
+
+// 获得地区树
+export const getAreaTree = async () => {
+  return await request.get({ url: '/system/area/tree' })
+}
+
+export const getChildrenArea = async (id: number) => {
+  return await request.get({ url: '/system/area/get-children?id=' + id })
+}
+
+export const getAreaListByIds = async (ids) => {
+  return await request.get({ url: '/system/area/get-by-ids?ids=' + ids })
+}
+
+// 获得 IP 对应的地区名
+export const getAreaByIp = async (ip: string) => {
+  return await request.get({ url: '/system/area/get-by-ip?ip=' + ip })
+}

BIN
client/src/assets/imgs/RuiAn/loginBj.png


BIN
client/src/assets/imgs/RuiAn/logo_icon.png


+ 0 - 12
client/src/router/modules/remaining.ts

@@ -95,18 +95,6 @@ const remainingRouter: AppRouteRecordRaw[] = [
       hidden: true
     },
     children: [
-      {
-        path: 'profile',
-        component: () => import('@/views/Profile/Index.vue'),
-        name: 'Profile',
-        meta: {
-          canTo: true,
-          hidden: true,
-          noTagsView: false,
-          icon: 'ep:user',
-          title: t('common.profile')
-        }
-      },
       {
         path: 'notify-message',
         component: () => import('@/views/system/notify/my/index.vue'),

+ 4 - 2
client/src/views/Login/OALogin.vue

@@ -2,7 +2,7 @@
   <div class="oa-login">
     <div class="login_box">
       <div class="title_box">
-        <img src="../../assets/imgs/OA/title_bg.png" />
+        <img src="../../assets/imgs/RuiAn/logo_icon.png" />
         <span class="circle"></span>
         <span class="title">自然资源和规划局一体化系统</span>
       </div>
@@ -93,7 +93,7 @@ onMounted(() => {
 .oa-login {
   width: 100%;
   height: 100%;
-  background: url(@/assets/imgs/OA/loginBj.png) no-repeat;
+  background: url(@/assets/imgs/RuiAn/loginBj.png) no-repeat;
   background-size: 100% 100%;
   position: relative;
   > .login_box {
@@ -109,8 +109,10 @@ onMounted(() => {
       align-items: center;
       justify-content: center;
       margin-bottom: 15px;
+      border: 1p solid #f00;
       > img {
         margin-top: 5px;
+        height: 80px;
       }
       > .circle {
         display: block;