材料站系统

This commit is contained in:
bb_pan 2025-05-12 10:07:38 +08:00
parent 062a2c097b
commit 75c75aed92
11 changed files with 29 additions and 29 deletions

View File

@ -1,10 +1,10 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 智能机具管理系统 VUE_APP_TITLE = 材料站材料库存管理系统
# 开发环境配置 # 开发环境配置
ENV = 'development' ENV = 'development'
# 智能机具管理系统/开发环境 # 材料站材料库存管理系统/开发环境
VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = '/dev-api'
# 路由懒加载 # 路由懒加载

View File

@ -1,10 +1,10 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 智能机具管理系统 VUE_APP_TITLE = 材料站材料库存管理系统
# 生产环境配置 # 生产环境配置
ENV = 'production' ENV = 'production'
# 智能机具管理系统/生产环境-公司 # 材料站材料库存管理系统/生产环境-公司
# VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_API = '/prod-api'
# 智能机具管理系统/宏源环境 # 材料站材料库存管理系统/宏源环境
VUE_APP_BASE_API = '/iws/jiju-api' VUE_APP_BASE_API = '/iws/jiju-api'

View File

@ -1,10 +1,10 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 智能机具管理系统 VUE_APP_TITLE = 材料站材料库存管理系统
NODE_ENV = production NODE_ENV = production
# 测试环境配置 # 测试环境配置
ENV = 'staging' ENV = 'staging'
# 智能机具管理系统/测试环境 # 材料站材料库存管理系统/测试环境
VUE_APP_BASE_API = '/stage-api' VUE_APP_BASE_API = '/stage-api'

View File

@ -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": {

View File

@ -64,11 +64,11 @@ export const constantRoutes = [
{ {
path: '', path: '',
component: Layout, component: Layout,
redirect: 'home/equipment-supply', redirect: 'index',
children: [ children: [
{ {
path: 'home/equipment-supply', path: 'index',
component: () => import('@/views/home/equipment-supply/index.vue'), component: () => import('@/views/index.vue'),
name: 'Index', name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }, meta: { title: '首页', icon: 'dashboard', affix: true },
hidden: true hidden: true

View File

@ -2,12 +2,12 @@
<div class="app-container home"> <div class="app-container home">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :sm="24" :lg="12" style="padding-left: 20px"> <el-col :sm="24" :lg="12" style="padding-left: 20px">
<h2>博诺思后台管理框架</h2> <h2>材料站材料库存管理系统</h2>
<p> <p>
<b>当前版本:</b> <span>v{{ version }}</span> <!-- <b>当前版本:</b> <span>v{{ version }}</span> -->
</p> </p>
</el-col> </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-row>
<el-col :span="12"> <el-col :span="12">
<h2>技术选型</h2> <h2>技术选型</h2>
@ -39,11 +39,11 @@
</ul> </ul>
</el-col> </el-col>
</el-row> </el-row>
</el-col> </el-col> -->
</el-row> </el-row>
<el-divider /> <el-divider />
<el-row :gutter="20"> <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"> <el-card class="update-log">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>联系信息</span> <span>联系信息</span>
@ -58,8 +58,8 @@
</p> </p>
</div> </div>
</el-card> </el-card>
</el-col> </el-col> -->
<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"> <el-card class="update-log">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>更新日志</span> <span>更新日志</span>
@ -84,7 +84,7 @@
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</el-card> </el-card>
</el-col> </el-col> -->
</el-row> </el-row>
</div> </div>
</template> </template>

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="login"> <div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <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-form-item prop="username">
<el-input <el-input
v-model="loginForm.username" v-model="loginForm.username"

View File

@ -3,7 +3,7 @@
<div class="login" v-if="!isIws"> <div class="login" v-if="!isIws">
<div class="login-form"> <div class="login-form">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" 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'"> <template v-if="loginMethod === 'password'">
<el-form-item prop="username"> <el-form-item prop="username">
<el-input <el-input
@ -274,7 +274,7 @@ export default {
loading.close() loading.close()
// //
setTimeout(() => { setTimeout(() => {
this.$router.push({ path: '/home/equipment-supply' }) this.$router.push({ path: '/home/index' })
}, 300) }, 300)
} catch (error) { } catch (error) {
console.log('🚀 ~ created ~ error:', error) console.log('🚀 ~ created ~ error:', error)
@ -342,7 +342,7 @@ export default {
.confirm('账号已在其他地方登录是否继续登录!!!!') .confirm('账号已在其他地方登录是否继续登录!!!!')
.then(function () { .then(function () {
// return this.$router.push({ path: this.redirect || '/' }) // return this.$router.push({ path: this.redirect || '/' })
return this.$router.push({ path: '/home/equipment-supply' }) return this.$router.push({ path: 'index' })
}) })
.then(() => { .then(() => {
this.loading = false this.loading = false
@ -352,7 +352,7 @@ export default {
}) })
} else { } else {
// this.$router.push({ path: this.redirect || '/' }) // this.$router.push({ path: this.redirect || '/' })
this.$router.push({ path: '/home/equipment-supply' }) this.$router.push({ path: 'index' })
} }
} }
}) })

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="register"> <div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> <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-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号"> <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" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

View File

@ -2,7 +2,7 @@
<div class="container"> <div class="container">
<div class="register"> <div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> <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-form-item prop="nickName">
<el-input v-model="registerForm.nickName" type="text" auto-complete="off" placeholder="请输入姓名"> <el-input v-model="registerForm.nickName" type="text" auto-complete="off" placeholder="请输入姓名">

View File

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin') 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 // 端口 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 // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
// target: `http://36.33.26.201:19988/prod-api`, // target: `http://36.33.26.201:19988/prod-api`,
// target: `http://192.168.0.96:18080`,//马 target: `http://192.168.0.96:18080`,//马
target: `http://192.168.0.244:18580`,//测试 // target: `http://192.168.0.244:18580`,//测试
// target: `http://192.168.2.223:18080`,//山 // target: `http://192.168.2.223:18080`,//山
// target: `http://192.168.2.23:18080`,//洪 // target: `http://192.168.2.23:18080`,//洪
// target: `http://192.168.0.234:18080`, //阮 // target: `http://192.168.0.234:18080`, //阮