1730532197@qq.com

lwj

1 # 开发环境配置 1 # 开发环境配置
2 ENV = 'development' 2 ENV = 'development'
3 3
4 -# 若依管理系统/开发环境 4 +# FedEx管理系统/开发环境
5 VUE_APP_BASE_API = '/dev-api' 5 VUE_APP_BASE_API = '/dev-api'
6 6
7 # 路由懒加载 7 # 路由懒加载
......
1 # 生产环境配置 1 # 生产环境配置
2 ENV = 'production' 2 ENV = 'production'
3 3
4 -# 若依管理系统/生产环境 4 +# FedEx管理系统/生产环境
5 VUE_APP_BASE_API = '/prod-api' 5 VUE_APP_BASE_API = '/prod-api'
......
...@@ -3,5 +3,5 @@ NODE_ENV = production ...@@ -3,5 +3,5 @@ NODE_ENV = production
3 # 测试环境配置 3 # 测试环境配置
4 ENV = 'staging' 4 ENV = 'staging'
5 5
6 -# 若依管理系统/测试环境 6 +# FedEx管理系统/测试环境
7 VUE_APP_BASE_API = '/stage-api' 7 VUE_APP_BASE_API = '/stage-api'
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 git clone https://gitee.com/y_project/RuoYi-Vue 5 git clone https://gitee.com/y_project/RuoYi-Vue
6 6
7 # 进入项目目录 7 # 进入项目目录
8 -cd ruoyi-ui 8 +cd FedEx-ui
9 9
10 # 安装依赖 10 # 安装依赖
11 npm install 11 npm install
......
1 { 1 {
2 - "name": "ruoyi", 2 + "name": "FedEx",
3 "version": "3.5.0", 3 "version": "3.5.0",
4 - "description": "若依管理系统", 4 + "description": "FedEx管理系统",
5 - "author": "若依", 5 + "author": "FedEx",
6 "license": "MIT", 6 "license": "MIT",
7 "scripts": { 7 "scripts": {
8 "dev": "vue-cli-service serve", 8 "dev": "vue-cli-service serve",
......
1 { 1 {
2 - "name": "ruoyi", 2 + "name": "FedEx",
3 "version": "3.5.0", 3 "version": "3.5.0",
4 - "description": "若依管理系统", 4 + "description": "FedEx管理系统",
5 - "author": "若依", 5 + "author": "FedEx",
6 "license": "MIT", 6 "license": "MIT",
7 "scripts": { 7 "scripts": {
8 "dev": "vue-cli-service serve", 8 "dev": "vue-cli-service serve",
......
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 -import { praseStrEmpty } from "@/utils/ruoyi"; 2 +import { praseStrEmpty } from "@/utils/FedEx";
3 3
4 // 查询用户列表 4 // 查询用户列表
5 export function listUser(query) { 5 export function listUser(query) {
......
1 /** 1 /**
2 * 通用css样式布局处理 2 * 通用css样式布局处理
3 - * Copyright (c) 2019 ruoyi 3 + * Copyright (c) 2019 FedEx
4 */ 4 */
5 5
6 /** 基础通用 **/ 6 /** 基础通用 **/
......
1 /** 1 /**
2 * 操作权限处理 2 * 操作权限处理
3 - * Copyright (c) 2019 ruoyi 3 + * Copyright (c) 2019 FedEx
4 */ 4 */
5 5
6 import store from '@/store' 6 import store from '@/store'
......
1 /** 1 /**
2 * 角色权限处理 2 * 角色权限处理
3 - * Copyright (c) 2019 ruoyi 3 + * Copyright (c) 2019 FedEx
4 */ 4 */
5 5
6 import store from '@/store' 6 import store from '@/store'
......
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
35 }, 35 },
36 data() { 36 data() {
37 return { 37 return {
38 - title: '若依管理系统', 38 + title: 'FedEx管理系统',
39 logo: logoImg 39 logo: logoImg
40 } 40 }
41 } 41 }
......
...@@ -6,7 +6,7 @@ import Element from 'element-ui' ...@@ -6,7 +6,7 @@ import Element from 'element-ui'
6 import './assets/styles/element-variables.scss' 6 import './assets/styles/element-variables.scss'
7 7
8 import '@/assets/styles/index.scss' // global css 8 import '@/assets/styles/index.scss' // global css
9 -import '@/assets/styles/ruoyi.scss' // ruoyi css 9 +import '@/assets/styles/FedEx.scss' // FedEx css
10 import App from './App' 10 import App from './App'
11 import store from './store' 11 import store from './store'
12 import router from './router' 12 import router from './router'
...@@ -16,7 +16,7 @@ import './assets/icons' // icon ...@@ -16,7 +16,7 @@ import './assets/icons' // icon
16 import './permission' // permission control 16 import './permission' // permission control
17 //import { getDicts } from "@/api/system/dict/data"; 17 //import { getDicts } from "@/api/system/dict/data";
18 //import { getConfigKey } from "@/api/system/config"; 18 //import { getConfigKey } from "@/api/system/config";
19 -import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi"; 19 +import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/FedEx";
20 import Pagination from "@/components/Pagination"; 20 import Pagination from "@/components/Pagination";
21 // 自定义表格工具扩展 21 // 自定义表格工具扩展
22 import RightToolbar from "@/components/RightToolbar" 22 import RightToolbar from "@/components/RightToolbar"
......
1 module.exports = { 1 module.exports = {
2 - title: '若依管理系统', 2 + title: 'FedEx管理系统',
3 3
4 /** 4 /**
5 * 侧边栏主题 深色主题theme-dark,浅色主题theme-light 5 * 侧边栏主题 深色主题theme-dark,浅色主题theme-light
......
1 -/** 1 +/**
2 * 通用js方法封装处理 2 * 通用js方法封装处理
3 - * Copyright (c) 2019 ruoyi 3 + * Copyright (c) 2019 FedEx
4 */ 4 */
5 5
6 const baseURL = process.env.VUE_APP_BASE_API 6 const baseURL = process.env.VUE_APP_BASE_API
......
1 -import { parseTime } from './ruoyi' 1 +import { parseTime } from './FedEx'
2 2
3 /** 3 /**
4 * 表格时间格式化 4 * 表格时间格式化
......
...@@ -9,7 +9,7 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' ...@@ -9,7 +9,7 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
9 const service = axios.create({ 9 const service = axios.create({
10 // axios中请求配置有baseURL选项,表示请求URL公共部分 10 // axios中请求配置有baseURL选项,表示请求URL公共部分
11 //baseURL: process.env.VUE_APP_BASE_API, 11 //baseURL: process.env.VUE_APP_BASE_API,
12 - //baseURL: 'http://192.168.1.45:18080', 12 + //baseURL: 'http://192.168.1.45:8080',
13 baseURL: 'http://192.168.1.134:18080', 13 baseURL: 'http://192.168.1.134:18080',
14 14
15 // 超时 15 // 超时
......
1 <template> 1 <template>
2 <div class="login"> 2 <div class="login">
3 <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> 3 <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
4 - <h3 class="title">若依后台管理系统</h3> 4 + <h3 class="title">FedEx后台管理系统</h3>
5 <el-form-item prop="username"> 5 <el-form-item prop="username">
6 <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号"> 6 <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
7 <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> 7 <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
35 </el-form> 35 </el-form>
36 <!-- 底部 --> 36 <!-- 底部 -->
37 <div class="el-login-footer"> 37 <div class="el-login-footer">
38 - <span>Copyright © 2018-2021 ruoyi.vip All Rights Reserved.</span> 38 + <span>Copyright © 2018-2021 FedEx.vip All Rights Reserved.</span>
39 </div> 39 </div>
40 </div> 40 </div>
41 </template> 41 </template>
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
53 cookiePassword: "", 53 cookiePassword: "",
54 loginForm: { 54 loginForm: {
55 username: "root", 55 username: "root",
56 - password: "123456", 56 + password: "123",
57 rememberMe: false 57 rememberMe: false
58 }, 58 },
59 loginRules: { 59 loginRules: {
......
...@@ -6,7 +6,7 @@ function resolve(dir) { ...@@ -6,7 +6,7 @@ function resolve(dir) {
6 return path.join(__dirname, dir) 6 return path.join(__dirname, dir)
7 } 7 }
8 8
9 -const name = defaultSettings.title || '若依管理系统' // 标题 9 +const name = defaultSettings.title || 'FedEx管理系统' // 标题
10 10
11 const port = process.env.port || process.env.npm_config_port || 80 // 端口 11 const port = process.env.port || process.env.npm_config_port || 80 // 端口
12 12
...@@ -16,7 +16,7 @@ const port = process.env.port || process.env.npm_config_port || 80 // 端口 ...@@ -16,7 +16,7 @@ const port = process.env.port || process.env.npm_config_port || 80 // 端口
16 module.exports = { 16 module.exports = {
17 // 部署生产环境和开发环境下的URL。 17 // 部署生产环境和开发环境下的URL。
18 // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上 18 // 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
19 - // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 19 + // 例如 https://www.FedEx.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.FedEx.vip/admin/,则设置 baseUrl 为 /admin/。
20 publicPath: process.env.NODE_ENV === "production" ? "/" : "/", 20 publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
21 // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist) 21 // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
22 outputDir: 'dist', 22 outputDir: 'dist',
...@@ -35,8 +35,8 @@ module.exports = { ...@@ -35,8 +35,8 @@ module.exports = {
35 // detail: https://cli.vuejs.org/config/#devserver-proxy 35 // detail: https://cli.vuejs.org/config/#devserver-proxy
36 [process.env.VUE_APP_BASE_API]: { 36 [process.env.VUE_APP_BASE_API]: {
37 //target: `http://localhost:8080`, 37 //target: `http://localhost:8080`,
38 - // target: `http://192.168.1.45:18080`, 38 + //target: `http://192.168.1.45:8080`,
39 - target: `http://192.168.1.134:18080`, 39 + target: `http://192.168.1.134:18080`,
40 changeOrigin: true, 40 changeOrigin: true,
41 pathRewrite: { 41 pathRewrite: {
42 ['^' + process.env.VUE_APP_BASE_API]: '' 42 ['^' + process.env.VUE_APP_BASE_API]: ''
......