材料站系统
This commit is contained in:
parent
062a2c097b
commit
75c75aed92
|
|
@ -1,10 +1,10 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 智能机具管理系统
|
||||
VUE_APP_TITLE = 材料站材料库存管理系统
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 智能机具管理系统/开发环境
|
||||
# 材料站材料库存管理系统/开发环境
|
||||
VUE_APP_BASE_API = '/dev-api'
|
||||
|
||||
# 路由懒加载
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 智能机具管理系统
|
||||
VUE_APP_TITLE = 材料站材料库存管理系统
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 智能机具管理系统/生产环境-公司
|
||||
# 材料站材料库存管理系统/生产环境-公司
|
||||
# VUE_APP_BASE_API = '/prod-api'
|
||||
# 智能机具管理系统/宏源环境
|
||||
# 材料站材料库存管理系统/宏源环境
|
||||
VUE_APP_BASE_API = '/iws/jiju-api'
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 智能机具管理系统
|
||||
VUE_APP_TITLE = 材料站材料库存管理系统
|
||||
|
||||
NODE_ENV = production
|
||||
|
||||
# 测试环境配置
|
||||
ENV = 'staging'
|
||||
|
||||
# 智能机具管理系统/测试环境
|
||||
# 材料站材料库存管理系统/测试环境
|
||||
VUE_APP_BASE_API = '/stage-api'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "bonus",
|
||||
"version": "3.6.4",
|
||||
"description": "智能机具管理系统",
|
||||
"description": "材料站材料库存管理系统",
|
||||
"author": "博诺思",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -64,11 +64,11 @@ export const constantRoutes = [
|
|||
{
|
||||
path: '',
|
||||
component: Layout,
|
||||
redirect: 'home/equipment-supply',
|
||||
redirect: 'index',
|
||||
children: [
|
||||
{
|
||||
path: 'home/equipment-supply',
|
||||
component: () => import('@/views/home/equipment-supply/index.vue'),
|
||||
path: 'index',
|
||||
component: () => import('@/views/index.vue'),
|
||||
name: 'Index',
|
||||
meta: { title: '首页', icon: 'dashboard', affix: true },
|
||||
hidden: true
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
<div class="app-container home">
|
||||
<el-row :gutter="20">
|
||||
<el-col :sm="24" :lg="12" style="padding-left: 20px">
|
||||
<h2>博诺思后台管理框架</h2>
|
||||
<h2>材料站材料库存管理系统</h2>
|
||||
<p>
|
||||
<b>当前版本:</b> <span>v{{ version }}</span>
|
||||
<!-- <b>当前版本:</b> <span>v{{ version }}</span> -->
|
||||
</p>
|
||||
</el-col>
|
||||
<el-col :sm="24" :lg="12" style="padding-left: 50px">
|
||||
<!-- <el-col :sm="24" :lg="12" style="padding-left: 50px">
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<h2>技术选型</h2>
|
||||
|
|
@ -39,11 +39,11 @@
|
|||
</ul>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
</el-row>
|
||||
<el-divider />
|
||||
<el-row :gutter="20">
|
||||
<el-col :xs="24" :sm="24" :md="12" :lg="8">
|
||||
<!-- <el-col :xs="24" :sm="24" :md="12" :lg="8">
|
||||
<el-card class="update-log">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>联系信息</span>
|
||||
|
|
@ -58,8 +58,8 @@
|
|||
</p>
|
||||
</div>
|
||||
</el-card>
|
||||
</el-col>
|
||||
<el-col :xs="24" :sm="24" :md="12" :lg="8">
|
||||
</el-col> -->
|
||||
<!-- <el-col :xs="24" :sm="24" :md="12" :lg="8">
|
||||
<el-card class="update-log">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>更新日志</span>
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
</el-card>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
</el-row>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -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">材料站材料库存管理系统</h3>
|
||||
<el-form-item prop="username">
|
||||
<el-input
|
||||
v-model="loginForm.username"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<div class="login" v-if="!isIws">
|
||||
<div class="login-form">
|
||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
|
||||
<h3 class="title">智能机具管理系统</h3>
|
||||
<h3 class="title">材料站材料库存管理系统</h3>
|
||||
<template v-if="loginMethod === 'password'">
|
||||
<el-form-item prop="username">
|
||||
<el-input
|
||||
|
|
@ -274,7 +274,7 @@ export default {
|
|||
loading.close()
|
||||
// 跳转首页
|
||||
setTimeout(() => {
|
||||
this.$router.push({ path: '/home/equipment-supply' })
|
||||
this.$router.push({ path: '/home/index' })
|
||||
}, 300)
|
||||
} catch (error) {
|
||||
console.log('🚀 ~ created ~ error:', error)
|
||||
|
|
@ -342,7 +342,7 @@ export default {
|
|||
.confirm('账号已在其他地方登录是否继续登录!!!!')
|
||||
.then(function () {
|
||||
// return this.$router.push({ path: this.redirect || '/' })
|
||||
return this.$router.push({ path: '/home/equipment-supply' })
|
||||
return this.$router.push({ path: 'index' })
|
||||
})
|
||||
.then(() => {
|
||||
this.loading = false
|
||||
|
|
@ -352,7 +352,7 @@ export default {
|
|||
})
|
||||
} else {
|
||||
// this.$router.push({ path: this.redirect || '/' })
|
||||
this.$router.push({ path: '/home/equipment-supply' })
|
||||
this.$router.push({ path: 'index' })
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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">材料站材料库存管理系统</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" />
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<div class="container">
|
||||
<div class="register">
|
||||
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
|
||||
<h3 class="title">智能机具管理系统</h3>
|
||||
<h3 class="title">材料站材料库存管理系统</h3>
|
||||
|
||||
<el-form-item prop="nickName">
|
||||
<el-input v-model="registerForm.nickName" type="text" auto-complete="off" placeholder="请输入姓名">
|
||||
|
|
|
|||
|
|
@ -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 // 端口
|
||||
|
||||
|
|
@ -36,8 +36,8 @@ module.exports = {
|
|||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
// target: `http://36.33.26.201:19988/prod-api`,
|
||||
// target: `http://192.168.0.96:18080`,//马
|
||||
target: `http://192.168.0.244:18580`,//测试
|
||||
target: `http://192.168.0.96:18080`,//马
|
||||
// target: `http://192.168.0.244:18580`,//测试
|
||||
// target: `http://192.168.2.223:18080`,//山
|
||||
// target: `http://192.168.2.23:18080`,//洪
|
||||
// target: `http://192.168.0.234:18080`, //阮
|
||||
|
|
|
|||
Loading…
Reference in New Issue