wanger 5 months ago
parent
commit
c64a438ec1

+ 1 - 1
manager/.env.production

@@ -7,6 +7,6 @@ ENV = 'production'
 #启动端口
 port = '5002'
 # 国土空间规划“一张图”实施监督信息系统/生产环境
-VUE_APP_BASE_API = 'http://127.0.0.1:8080'
+VUE_APP_BASE_API = 'http://10.255.137.105:8080'
 #通辽部署环境
 #VUE_APP_BASE_API = 'http://10.255.133.174:8080'

BIN
manager/manager.rar


+ 1 - 0
manager/package.json

@@ -45,6 +45,7 @@
         "file-saver": "2.0.5",
         "fuse.js": "6.4.3",
         "highlight.js": "9.18.5",
+        "html-webpack-plugin": "^5.6.3",
         "js-beautify": "1.13.0",
         "js-cookie": "3.0.1",
         "jsencrypt": "3.0.0-rc.1",

+ 18 - 2
website/.env.production

@@ -9,12 +9,28 @@ port = '5000'
 #VITE_APP_BASE_API = 'http://192.168.60.40:8080'
 #VITE_ARC_SERVER_API = 'http://192.168.100.252:6080'
 #通辽部署环境 176
-VITE_APP_BASE_API = 'http://10.255.133.176:8080'
-VITE_ARC_SERVER_API = 'http://10.255.133.174:6080'
+#VITE_APP_BASE_API = 'http://10.255.133.176:8080'
+#VITE_ARC_SERVER_API = 'http://10.255.133.174:6080'
 
 #通辽部署环境 174
 #VITE_APP_BASE_API = 'http://10.255.133.174:8080'
 #VITE_ARC_SERVER_API = 'http://10.255.133.174:6080'
 
+#乌兰察布
+VITE_APP_BASE_API = 'http://10.255.137.105:8080'
+VITE_ARC_SERVER_API = 'http://10.255.137.105:6080'
+
+#乌拉特前旗
+#VITE_APP_BASE_API = 'http://10.254.131.101:8080'
+#VITE_ARC_SERVER_API = 'http://10.254.131.101:6080'
+
+#凉城
+#VITE_APP_BASE_API = 'http://10.254.150.98:8080'
+#VITE_ARC_SERVER_API = 'http://10.254.150.98:6080'
+
+#察哈尔右翼前旗
+#VITE_APP_BASE_API = 'http://10.254.151.54:8080'
+#VITE_ARC_SERVER_API = 'http://10.254.151.54:6080'
+
 # 是否在打包时开启压缩,支持 gzip 和 brotli
 #VITE_BUILD_COMPRESS = gzip

+ 1 - 1
website/public/js/config.js

@@ -39,7 +39,7 @@ let GzfwUrl = "/shfw/index";
 /**行政区代码 */
 let XZQ_DM = "150500";
 /**行政区名称 */
-let XZQ_MC = "市";
+let XZQ_MC = "乌兰察布市";
 /**默认地图中心 */
 let MapCenter = {
     point: [121.662, 43.798],

BIN
website/src/assets/backimg/bg.png


+ 64 - 21
website/src/views/login.vue

@@ -3,31 +3,63 @@
     <div class="login_in">
       <!--  底部  -->
       <div class="el-login-header">
-        <div style="display: flex; align-items: center;">
-          <img src="@/assets/backimg/logo.png" class="logo" alt="">
-          <span>通辽市国土空间规划“一张图”实施监督信息系统</span>
+        <div style="display: flex; align-items: center">
+          <img src="@/assets/backimg/logo.png" class="logo" alt="" />
+          <span>{{ xzqmc }}国土空间规划“一张图”实施监督信息系统</span>
         </div>
       </div>
       <div class="login_center">
         <div class="login_cen_left"></div>
         <div>
-          <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
+          <el-form
+            ref="loginRef"
+            :model="loginForm"
+            :rules="loginRules"
+            class="login-form"
+          >
             <h3 class="title">用户登录</h3>
             <el-form-item prop="username">
-              <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
-                <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template>
+              <el-input
+                v-model="loginForm.username"
+                type="text"
+                auto-complete="off"
+                placeholder="账号"
+              >
+                <template #prefix
+                  ><svg-icon
+                    icon-class="user"
+                    class="el-input__icon input-icon"
+                /></template>
               </el-input>
             </el-form-item>
             <el-form-item prop="password">
-              <el-input v-model="loginForm.password" type="password" auto-complete="off" placeholder="密码"
-                @keyup.enter="handleLogin">
-                <template #prefix><svg-icon icon-class="password" class="el-input__icon input-icon" /></template>
+              <el-input
+                v-model="loginForm.password"
+                type="password"
+                auto-complete="off"
+                placeholder="密码"
+                @keyup.enter="handleLogin"
+              >
+                <template #prefix
+                  ><svg-icon
+                    icon-class="password"
+                    class="el-input__icon input-icon"
+                /></template>
               </el-input>
             </el-form-item>
             <el-form-item prop="code" v-if="captchaOnOff">
-              <el-input v-model="loginForm.code" auto-complete="off" placeholder="验证码" style="width: 63%"
-                @keyup.enter="handleLogin">
-                <template #prefix><svg-icon icon-class="validCode" class="el-input__icon input-icon" /></template>
+              <el-input
+                v-model="loginForm.code"
+                auto-complete="off"
+                placeholder="验证码"
+                style="width: 63%"
+                @keyup.enter="handleLogin"
+              >
+                <template #prefix
+                  ><svg-icon
+                    icon-class="validCode"
+                    class="el-input__icon input-icon"
+                /></template>
               </el-input>
               <div class="login-code">
                 <img :src="codeUrl" @click="getCode" class="login-code-img" />
@@ -35,14 +67,21 @@
             </el-form-item>
 
             <el-form-item>
-              <el-checkbox v-model="loginForm.rememberMe" >记住密码</el-checkbox>
+              <el-checkbox v-model="loginForm.rememberMe">记住密码</el-checkbox>
               <div class="register_txt" v-if="register">
-                <router-link class="link-type" :to="'/register'">立即注册</router-link>
+                <router-link class="link-type" :to="'/register'"
+                  >立即注册</router-link
+                >
               </div>
             </el-form-item>
 
             <el-form-item style="width: 100%">
-              <el-button :loading="loading" type="primary" style="width: 100%" @click.prevent="handleLogin">
+              <el-button
+                :loading="loading"
+                type="primary"
+                style="width: 100%"
+                @click.prevent="handleLogin"
+              >
                 <span v-if="!loading">登 录</span>
                 <span v-else>登 录 中...</span>
               </el-button>
@@ -53,7 +92,7 @@
 
       <!--  底部  -->
       <div class="el-login-footer">
-        <span>版权所有:通辽市自然资源局</span>
+        <span>版权所有:{{ xzqmc }}自然资源局</span>
       </div>
     </div>
     <div class="login_mask"></div>
@@ -68,13 +107,13 @@ import { encrypt, decrypt } from "@/utils/jsencrypt";
 const store = useStore();
 const router = useRouter();
 const { proxy } = getCurrentInstance();
-
+const xzqmc = XZQ_MC;
 const loginForm = ref({
   username: "",
   password: "",
   rememberMe: false,
   code: "",
-  uuid: ""
+  uuid: "",
 });
 
 const loginRules = {
@@ -164,7 +203,11 @@ getCookie();
   bottom: 0;
   left: 0;
   right: 0;
-  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 60%, rgba(64, 117, 164, 0.8) 80%);
+  background: linear-gradient(
+    to bottom,
+    rgba(255, 255, 255, 0.25) 60%,
+    rgba(64, 117, 164, 0.8) 80%
+  );
 }
 
 .login_center {
@@ -179,7 +222,7 @@ getCookie();
 .login_cen_left {
   flex: 1;
   height: 100%;
-  background-image: url("../assets/backimg/login_back.jpeg");
+  background-image: url("../assets/backimg/bg.png");
   background-size: cover;
 }
 
@@ -193,7 +236,7 @@ getCookie();
   justify-content: center;
   align-items: center;
   height: 100%;
-  background-image: url("../assets/backimg/login_back.jpeg");
+  background-image: url("../assets/backimg/bg.png");
   background-size: cover;
   z-index: 9;
 }

+ 2 - 1
website/src/views/page.vue

@@ -10,7 +10,7 @@
         > -->
     <div class="font-38 posi-abs top-80 font-bold head-title" @click="skipHome">
       <svg-icon style="margin-right: 10px" icon-class="guide" />
-      通辽市国土空间规划“一张图”实施监督信息系统
+      {{ xzqmc }}国土空间规划“一张图”实施监督信息系统
     </div>
     <div
       class="margin-top-60 flex-box wrap align-center width-1120"
@@ -44,6 +44,7 @@ export default {
     const store = useStore();
     const home = reactive({
       menu: [],
+      xzqmc: XZQ_MC,
       user: null,
       superUserInfo: {},
       skipHome() {

BIN
website/website.rar