瀏覽代碼

修改网页标题
登录页区分

彭宇 2 年之前
父節點
當前提交
eb2c5c1fda
共有 7 個文件被更改,包括 28 次插入27 次删除
  1. 1 1
      .env.development
  2. 1 1
      .env.production
  3. 1 1
      .env.staging
  4. 18 18
      src/router/index.js
  5. 2 2
      src/views/bigdata/bigdata.vue
  6. 1 0
      src/views/system/login.vue
  7. 4 4
      vue.config.js

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 监管平台
+VUE_APP_TITLE = 通榆县乡村振兴监管平台
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 监管平台
+VUE_APP_TITLE = 通榆县乡村振兴监管平台
 
 # 生产环境配置
 ENV = 'production'

+ 1 - 1
.env.staging

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 监管平台
+VUE_APP_TITLE = 通榆县乡村振兴监管平台
 
 NODE_ENV = production
 

+ 18 - 18
src/router/index.js

@@ -39,17 +39,17 @@ export const constantRoutes = [{
 		name: 'forest',
 		component: () => import('@/views/forest'),
 		meta: {
-			title: '振兴乡村'
+			title: '通榆云图'
 		}
 	},
-  {
-    path: '/bigdata',
-    name: 'bigdata',
-    component: () => import('@/views/bigdata/bigdata'),
-    meta: {
-      title: '统计分析'
-    }
-  },
+  // {
+  //   path: '/bigdata',
+  //   name: 'bigdata',
+  //   component: () => import('@/views/bigdata/bigdata'),
+  //   meta: {
+  //     title: '统计分析'
+  //   }
+  // },
 ]
 
 
@@ -65,17 +65,17 @@ export const constantRoutesNew = [{
 		name: 'forest',
 		component: () => import('@/views/forest'),
 		meta: {
-			title: '振兴乡村'
+			title: '通榆云图'
 		}
 	},
-  {
-    path: '/bigdata',
-    name: 'bigdata',
-    component: () => import('@/views/bigdata/bigdata'),
-    meta: {
-      title: '统计分析'
-    }
-  },
+  // {
+  //   path: '/bigdata',
+  //   name: 'bigdata',
+  //   component: () => import('@/views/bigdata/bigdata'),
+  //   meta: {
+  //     title: '统计分析'
+  //   }
+  // },
 	{
 		path: '/login',
 		component: () => import('@/views/system/login'),

+ 2 - 2
src/views/bigdata/bigdata.vue

@@ -5,7 +5,7 @@
     <div class="header">
       <!-- title -->
       <div class="header-left"><img class="logo" src="@/assets/images/integrated/logo-small.png"/>
-        <h3 class="title">通榆县乡村振兴监管平台-数字林业-统计分析</h3>
+        <h3 class="title">通榆县乡村振兴监管平台-乡村振兴-统计分析</h3>
       </div>
       <div class="bignav">
         <img src="@/assets/images/integrated/bigdata-header-nav-left.png"/>
@@ -183,7 +183,7 @@ export default {
         {
           //林业中心
           path: '/forest',
-          name: '振兴乡村'
+          name: '通榆云图'
         },
         // {
         //   //数据中心

+ 1 - 0
src/views/system/login.vue

@@ -3,6 +3,7 @@
 		  <StarBackground />
 		<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
 			<h3 class="title"> 通榆县乡村振兴综合监管平台</h3>
+			<h3 class="title">数字通榆</h3>
 			<div class="login-container">
 				<h4>请登录</h4>
 				<el-form-item prop="username">

+ 4 - 4
vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require('compression-webpack-plugin')
 
-const name = process.env.VUE_APP_TITLE || '监管平台' // 网页标题
+const name = process.env.VUE_APP_TITLE || '通榆县乡村振兴监管平台' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
 
@@ -52,9 +52,9 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        // target: `https://www.sunyishi.com:3031`,
-        // target: `https://117.78.49.164:3031`,
-        target: `http://www.py.com:3031`,
+        // target: `http://192.168.1.113:3031`,
+        target: `http://117.78.49.164:3031`,
+        // target: `http://192.168.31.98:3031`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''