learshaw 2 dienas atpakaļ
vecāks
revīzija
ec095e0624

+ 1 - 1
ems-ui-cloud/.env.74

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 常泰大桥服务区能源管理
+VUE_APP_TITLE = 服务区能源管理系统
 
 # 开发环境配置
 ENV = 'development'

+ 2 - 2
ems-ui-cloud/.env.78

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 常泰大桥服务区能源管理
+VUE_APP_TITLE = 服务区能源管理系统
 
 # 开发环境配置
 ENV = 'development'
@@ -8,7 +8,7 @@ ENV = 'development'
 VUE_APP_BASE_API = '/dev-api'
 
 # 网关路由
-EMS_REWRITE_URL = '124/ems'
+EMS_REWRITE_URL = 'dev/ems'
 
 # 路由懒加载
 VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 1 - 1
ems-ui-cloud/.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 常泰大桥服务区能源管理
+VUE_APP_TITLE = 服务区能源管理系统
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
ems-ui-cloud/.env.staging

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 常泰大桥服务区能源管理
+VUE_APP_TITLE = 能源管理系统
 
 NODE_ENV = production
 

+ 1 - 1
ems-ui-cloud/package.json

@@ -1,7 +1,7 @@
 {
   "name": "ruoyi",
   "version": "3.6.4",
-  "description": "常泰大桥服务区能源管理",
+  "description": "能源管理",
   "author": "若依",
   "license": "MIT",
   "scripts": {

+ 1 - 1
ems-ui-cloud/src/views/construction.vue

@@ -2,7 +2,7 @@
   <div class="app-container home">
     <el-row :gutter="20">
       <el-col :sm="24" :lg="12" style="padding-left: 20px">
-        <h2>常泰大桥服务区能源管理系统</h2>
+        <h2>能源管理系统</h2>
         <p>
           功能建设中,敬请期待.....
         </p>

+ 1 - 1
ems-ui-cloud/src/views/largeScreen/pv-road/index.vue

@@ -83,7 +83,7 @@ export default {
     this.timer = setInterval(() => {
       this.getDate();
     }, 1000);
-    this.getConfigKey("sys.info.pv-road-title").then(response => {
+    this.getConfigKey("sys.info.title").then(response => {
       this.sysTitle = response.msg;
     });
   },

+ 2 - 1
ems-ui-cloud/src/views/login.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="login">
     <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
-      <h3 class="title">常泰大桥服务区能源管理系统</h3>
+      <h3 class="title">{{ title }}</h3>
       <el-form-item prop="username">
         <el-input
           v-model="loginForm.username"
@@ -70,6 +70,7 @@ export default {
   name: "Login",
   data() {
     return {
+      title: process.env.VUE_APP_TITLE,
       codeUrl: "",
       loginForm: {
         username: "",

+ 2 - 1
ems-ui-cloud/src/views/register.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="register">
     <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
-      <h3 class="title">常泰大桥服务区能源管理系统</h3>
+      <h3 class="title">{{ title }}</h3>
       <el-form-item prop="username">
         <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
           <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
@@ -80,6 +80,7 @@ export default {
       }
     };
     return {
+      title: process.env.VUE_APP_TITLE,
       codeUrl: "",
       registerForm: {
         username: "",