系统名称修改
This commit is contained in:
parent
46820d7fc0
commit
fee00d4d9b
|
|
@ -1,11 +1,11 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 实名制管理系统
|
VUE_APP_TITLE = 安薪宝一体化平台
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
VUE_APP_ENV = 'development'
|
VUE_APP_ENV = 'development'
|
||||||
|
|
||||||
# 实名制管理系统/开发环境
|
# 安薪宝一体化平台/开发环境
|
||||||
VUE_APP_BASE_API = '/dev-api'
|
VUE_APP_BASE_API = '/dev-api'
|
||||||
|
|
||||||
# 路由懒加载
|
# 路由懒加载
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 实名制管理系统
|
VUE_APP_TITLE = 安薪宝一体化平台
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
VUE_APP_ENV = 'production'
|
VUE_APP_ENV = 'production'
|
||||||
|
|
||||||
# 实名制管理系统/生产环境
|
# 安薪宝一体化平台/生产环境
|
||||||
VUE_APP_BASE_API = '/hd-real-name'
|
VUE_APP_BASE_API = '/gs-real-name-prod-api
|
||||||
|
'
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = 实名制管理系统
|
VUE_APP_TITLE = 安薪宝一体化平台
|
||||||
|
|
||||||
NODE_ENV = production
|
NODE_ENV = production
|
||||||
|
|
||||||
|
|
@ -8,5 +8,5 @@ ENV = 'staging'
|
||||||
|
|
||||||
VUE_APP_ENV = 'staging'
|
VUE_APP_ENV = 'staging'
|
||||||
|
|
||||||
# 实名制管理系统/测试环境
|
# 安薪宝一体化平台/测试环境
|
||||||
VUE_APP_BASE_API = '/stage-api'
|
VUE_APP_BASE_API = '/stage-api'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "bonus",
|
"name": "bonus",
|
||||||
"version": "3.6.4",
|
"version": "3.6.4",
|
||||||
"description": "实名制管理系统",
|
"description": "安薪宝一体化平台",
|
||||||
"author": "博诺思",
|
"author": "博诺思",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
:rules="loginRules"
|
:rules="loginRules"
|
||||||
class="login-form"
|
class="login-form"
|
||||||
>
|
>
|
||||||
<h3 class="title">实名制管理系统</h3>
|
<h3 class="title">安薪宝一体化平台</h3>
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="loginForm.username"
|
v-model="loginForm.username"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
:rules="loginRules"
|
:rules="loginRules"
|
||||||
class="login-form"
|
class="login-form"
|
||||||
>
|
>
|
||||||
<h3 class="title">实名制管理系统---</h3>
|
<h3 class="title">安薪宝一体化平台---</h3>
|
||||||
<template v-if="loginMethod === 'password'">
|
<template v-if="loginMethod === 'password'">
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
<el-input
|
<el-input
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
<!-- 左侧背景图片区域 -->
|
<!-- 左侧背景图片区域 -->
|
||||||
<div class="login-card__image">
|
<div class="login-card__image">
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h2>实名制管理系统</h2>
|
<h2>安薪宝一体化平台</h2>
|
||||||
<p>规范管理 · 安全作业 · 高效协同</p>
|
<p>规范管理 · 安全作业 · 高效协同</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ module.exports = {
|
||||||
// 部署生产环境和开发环境下的URL。
|
// 部署生产环境和开发环境下的URL。
|
||||||
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
|
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
|
||||||
// 例如 https://www.bonus.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.bonus.vip/admin/,则设置 baseUrl 为 /admin/。
|
// 例如 https://www.bonus.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.bonus.vip/admin/,则设置 baseUrl 为 /admin/。
|
||||||
publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
|
publicPath: process.env.NODE_ENV === 'production' ? '/gs-real-name' : '/',
|
||||||
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
|
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
|
||||||
outputDir: 'dist',
|
outputDir: 'dist',
|
||||||
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
|
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
|
||||||
|
|
@ -36,8 +36,9 @@ module.exports = {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://192.168.2.209:38080`,
|
// target: `http://192.168.2.209:38080`,
|
||||||
target: `http://192.168.0.38:38080`,
|
// target: `http://192.168.0.38:38080`,
|
||||||
// target: `http://192.168.0.244:18877`,
|
// target: `http://192.168.0.244:18877`,
|
||||||
|
target: `http://192.168.0.14:1999/hd-real-name/`, // 测试环境
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: '',
|
['^' + process.env.VUE_APP_BASE_API]: '',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue