修改配置文件

This commit is contained in:
MerCry 2026-02-10 02:20:09 +08:00
parent f22c0d1b2e
commit 5f66bf5627
20 changed files with 133 additions and 479 deletions

View File

@ -4,6 +4,8 @@ import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.ruoyi.common.annotation.Excel;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
import java.util.Date;
@ -13,6 +15,8 @@ import java.util.Date;
* 用于EasyExcel导出客户统计数据
*/
@Getter
@Setter
public class CustomerStatisticsDataVO implements Serializable {
private static final long serialVersionUID = 1L;
@ -30,37 +34,37 @@ public class CustomerStatisticsDataVO implements Serializable {
@ExcelProperty("N组")
@Excel(name ="N组(投放)")
@ColumnWidth(15)
private String nGroup;
private String ntfGroup;
@ExcelProperty("O组(公司孵化)")
@Excel(name ="O组(公司孵化)")
@ColumnWidth(20)
private String oGroup;
private String ofhGroup;
@ExcelProperty("P组(商务)")
@Excel(name ="P组(商务)")
@ColumnWidth(15)
private String pGroup;
private String pswGroup;
@ExcelProperty("W组(A1组)")
@Excel(name ="W组(A1组)")
@ColumnWidth(15)
private String wGroup;
private String wa1Group;
@ExcelProperty("X组(B1组)")
@Excel(name ="X组(B1组)")
@ColumnWidth(15)
private String xGroup;
private String xb1Group;
@ExcelProperty("Y组(C1组)")
@Excel(name ="Y组(C1组)")
@ColumnWidth(15)
private String yGroup;
private String yc1Group;
@ExcelProperty("Z组(D1组)")
@Excel(name ="Z组(D1组)")
@ColumnWidth(15)
private String zGroup;
private String zd1Group;
@ExcelProperty("AA组(E1组)")
@Excel(name ="AA组(E1组)")
@ -81,108 +85,4 @@ public class CustomerStatisticsDataVO implements Serializable {
@Excel(name ="AE组(G1组)")
@ColumnWidth(15)
private String aeGroup;
public Date getCurDate() {
return curDate;
}
public void setCurDate(Date curDate) {
this.curDate = curDate;
}
public String getIndicatorName() {
return indicatorName;
}
public void setIndicatorName(String indicatorName) {
this.indicatorName = indicatorName;
}
public String getnGroup() {
return nGroup;
}
public void setnGroup(String nGroup) {
this.nGroup = nGroup;
}
public String getoGroup() {
return oGroup;
}
public void setoGroup(String oGroup) {
this.oGroup = oGroup;
}
public String getpGroup() {
return pGroup;
}
public void setpGroup(String pGroup) {
this.pGroup = pGroup;
}
public String getwGroup() {
return wGroup;
}
public void setwGroup(String wGroup) {
this.wGroup = wGroup;
}
public String getxGroup() {
return xGroup;
}
public void setxGroup(String xGroup) {
this.xGroup = xGroup;
}
public String getyGroup() {
return yGroup;
}
public void setyGroup(String yGroup) {
this.yGroup = yGroup;
}
public String getzGroup() {
return zGroup;
}
public void setzGroup(String zGroup) {
this.zGroup = zGroup;
}
public String getAaGroup() {
return aaGroup;
}
public void setAaGroup(String aaGroup) {
this.aaGroup = aaGroup;
}
public String getAcGroup() {
return acGroup;
}
public void setAcGroup(String acGroup) {
this.acGroup = acGroup;
}
public String getAdGroup() {
return adGroup;
}
public void setAdGroup(String adGroup) {
this.adGroup = adGroup;
}
public String getAeGroup() {
return aeGroup;
}
public void setAeGroup(String aeGroup) {
this.aeGroup = aeGroup;
}
}

63
frontend/nginx.conf Normal file
View File

@ -0,0 +1,63 @@
server {
listen 80;
server_name localhost;
charset utf-8;
client_max_body_size 20M;
# 前端静态资源
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
index index.html index.htm;
}
# 后端 API 代理
location /prod-api/ {
proxy_pass http://backend:8888/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 600;
proxy_read_timeout 600;
proxy_send_timeout 600;
proxy_buffering off;
proxy_request_buffering off;
}
# 开发环境 API 代理
location /dev-api/ {
proxy_pass http://backend:8888/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 600;
proxy_read_timeout 600;
proxy_send_timeout 600;
proxy_buffering off;
proxy_request_buffering off;
}
# 文件上传路径代理
location /profile/ {
proxy_pass http://backend:8888/profile/;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
# 错误页面
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
# 禁止访问隐藏文件
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
}

View File

@ -10,7 +10,7 @@
<name>ruoyi</name>
<url>http://www.ruoyi.vip</url>
<description>超脑智子测试系统</description>
<description>苏州曼普后台系统</description>
<properties>
<ruoyi.version>3.9.1</ruoyi.version>

View File

@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=renderer content=webkit><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/favicon.ico><title>超脑智子测试系统</title><!--[if lt IE 11]><script>window.location.href='/html/ash.html';</script><![endif]--><style>html,
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1"><meta name=renderer content=webkit><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/favicon.ico><title>苏州曼普后台系统</title><!--[if lt IE 11]><script>window.location.href='/html/ash.html';</script><![endif]--><style>html,
body,
#app {
height: 100%;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1cd9431a"],{7803:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"register"},[r("el-form",{ref:"registerForm",staticClass:"register-form",attrs:{model:e.registerForm,rules:e.registerRules}},[r("h3",{staticClass:"title"},[e._v(e._s(e.title))]),r("el-form-item",{attrs:{prop:"username"}},[r("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.registerForm.username,callback:function(t){e.$set(e.registerForm,"username",t)},expression:"registerForm.username"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleRegister(t)}},model:{value:e.registerForm.password,callback:function(t){e.$set(e.registerForm,"password",t)},expression:"registerForm.password"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),r("el-form-item",{attrs:{prop:"confirmPassword"}},[r("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"确认密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleRegister(t)}},model:{value:e.registerForm.confirmPassword,callback:function(t){e.$set(e.registerForm,"confirmPassword",t)},expression:"registerForm.confirmPassword"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),e.captchaEnabled?r("el-form-item",{attrs:{prop:"code"}},[r("el-input",{staticStyle:{width:"63%"},attrs:{"auto-complete":"off",placeholder:"验证码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleRegister(t)}},model:{value:e.registerForm.code,callback:function(t){e.$set(e.registerForm,"code",t)},expression:"registerForm.code"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"validCode"},slot:"prefix"})],1),r("div",{staticClass:"register-code"},[r("img",{staticClass:"register-code-img",attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1):e._e(),r("el-form-item",{staticStyle:{width:"100%"}},[r("el-button",{staticStyle:{width:"100%"},attrs:{loading:e.loading,size:"medium",type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleRegister(t)}}},[e.loading?r("span",[e._v("注 册 中...")]):r("span",[e._v("注 册")])]),r("div",{staticStyle:{float:"right"}},[r("router-link",{staticClass:"link-type",attrs:{to:"/login"}},[e._v("使用已有账户登录")])],1)],1)],1),r("div",{staticClass:"el-register-footer"},[r("span",[e._v(e._s(e.footerContent))])])],1)},i=[],o=(r("d9e2"),r("14d9"),r("7ded")),a=r("83d6"),n=r.n(a),l={name:"Register",data:function(){var e=this,t=function(t,r,s){e.registerForm.password!==r?s(new Error("两次输入的密码不一致")):s()};return{title:"超脑智子测试系统",footerContent:n.a.footerContent,codeUrl:"",registerForm:{username:"",password:"",confirmPassword:"",code:"",uuid:""},registerRules:{username:[{required:!0,trigger:"blur",message:"请输入您的账号"},{min:2,max:20,message:"用户账号长度必须介于 2 和 20 之间",trigger:"blur"}],password:[{required:!0,trigger:"blur",message:"请输入您的密码"},{min:5,max:20,message:"用户密码长度必须介于 5 和 20 之间",trigger:"blur"},{pattern:/^[^<>"'|\\]+$/,message:"不能包含非法字符:< > \" ' \\ |",trigger:"blur"}],confirmPassword:[{required:!0,trigger:"blur",message:"请再次输入您的密码"},{required:!0,validator:t,trigger:"blur"}],code:[{required:!0,trigger:"change",message:"请输入验证码"}]},loading:!1,captchaEnabled:!0}},created:function(){this.getCode()},methods:{getCode:function(){var e=this;Object(o["a"])().then((function(t){e.captchaEnabled=void 0===t.captchaEnabled||t.captchaEnabled,e.captchaEnabled&&(e.codeUrl="data:image/gif;base64,"+t.img,e.registerForm.uuid=t.uuid)}))},handleRegister:function(){var e=this;this.$refs.registerForm.validate((function(t){t&&(e.loading=!0,Object(o["e"])(e.registerForm).then((function(){var t=e.registerForm.username;e.$alert("<font color='red'>恭喜你,您的账号 "+t+" 注册成功!</font>","系统提示",{dangerouslyUseHTMLString:!0,type:"success"}).then((function(){e.$router.push("/login")})).catch((function(){}))})).catch((function(){e.loading=!1,e.captchaEnabled&&e.getCode()})))}))}}},c=l,d=(r("d773"),r("2877")),u=Object(d["a"])(c,s,i,!1,null,"68eda314",null);t["default"]=u.exports},d773:function(e,t,r){"use strict";r("fc07")},fc07:function(e,t,r){}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1cd9431a"],{7803:function(e,t,r){"use strict";r.r(t);var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"register"},[r("el-form",{ref:"registerForm",staticClass:"register-form",attrs:{model:e.registerForm,rules:e.registerRules}},[r("h3",{staticClass:"title"},[e._v(e._s(e.title))]),r("el-form-item",{attrs:{prop:"username"}},[r("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.registerForm.username,callback:function(t){e.$set(e.registerForm,"username",t)},expression:"registerForm.username"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),r("el-form-item",{attrs:{prop:"password"}},[r("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleRegister(t)}},model:{value:e.registerForm.password,callback:function(t){e.$set(e.registerForm,"password",t)},expression:"registerForm.password"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),r("el-form-item",{attrs:{prop:"confirmPassword"}},[r("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"确认密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleRegister(t)}},model:{value:e.registerForm.confirmPassword,callback:function(t){e.$set(e.registerForm,"confirmPassword",t)},expression:"registerForm.confirmPassword"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),e.captchaEnabled?r("el-form-item",{attrs:{prop:"code"}},[r("el-input",{staticStyle:{width:"63%"},attrs:{"auto-complete":"off",placeholder:"验证码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleRegister(t)}},model:{value:e.registerForm.code,callback:function(t){e.$set(e.registerForm,"code",t)},expression:"registerForm.code"}},[r("svg-icon",{staticClass:"el-input__icon input-icon",attrs:{slot:"prefix","icon-class":"validCode"},slot:"prefix"})],1),r("div",{staticClass:"register-code"},[r("img",{staticClass:"register-code-img",attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1):e._e(),r("el-form-item",{staticStyle:{width:"100%"}},[r("el-button",{staticStyle:{width:"100%"},attrs:{loading:e.loading,size:"medium",type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleRegister(t)}}},[e.loading?r("span",[e._v("注 册 中...")]):r("span",[e._v("注 册")])]),r("div",{staticStyle:{float:"right"}},[r("router-link",{staticClass:"link-type",attrs:{to:"/login"}},[e._v("使用已有账户登录")])],1)],1)],1),r("div",{staticClass:"el-register-footer"},[r("span",[e._v(e._s(e.footerContent))])])],1)},i=[],o=(r("d9e2"),r("14d9"),r("7ded")),a=r("83d6"),n=r.n(a),l={name:"Register",data:function(){var e=this,t=function(t,r,s){e.registerForm.password!==r?s(new Error("两次输入的密码不一致")):s()};return{title:"苏州曼普后台系统",footerContent:n.a.footerContent,codeUrl:"",registerForm:{username:"",password:"",confirmPassword:"",code:"",uuid:""},registerRules:{username:[{required:!0,trigger:"blur",message:"请输入您的账号"},{min:2,max:20,message:"用户账号长度必须介于 2 和 20 之间",trigger:"blur"}],password:[{required:!0,trigger:"blur",message:"请输入您的密码"},{min:5,max:20,message:"用户密码长度必须介于 5 和 20 之间",trigger:"blur"},{pattern:/^[^<>"'|\\]+$/,message:"不能包含非法字符:< > \" ' \\ |",trigger:"blur"}],confirmPassword:[{required:!0,trigger:"blur",message:"请再次输入您的密码"},{required:!0,validator:t,trigger:"blur"}],code:[{required:!0,trigger:"change",message:"请输入验证码"}]},loading:!1,captchaEnabled:!0}},created:function(){this.getCode()},methods:{getCode:function(){var e=this;Object(o["a"])().then((function(t){e.captchaEnabled=void 0===t.captchaEnabled||t.captchaEnabled,e.captchaEnabled&&(e.codeUrl="data:image/gif;base64,"+t.img,e.registerForm.uuid=t.uuid)}))},handleRegister:function(){var e=this;this.$refs.registerForm.validate((function(t){t&&(e.loading=!0,Object(o["e"])(e.registerForm).then((function(){var t=e.registerForm.username;e.$alert("<font color='red'>恭喜你,您的账号 "+t+" 注册成功!</font>","系统提示",{dangerouslyUseHTMLString:!0,type:"success"}).then((function(){e.$router.push("/login")})).catch((function(){}))})).catch((function(){e.loading=!1,e.captchaEnabled&&e.getCode()})))}))}}},c=l,d=(r("d773"),r("2877")),u=Object(d["a"])(c,s,i,!1,null,"68eda314",null);t["default"]=u.exports},d773:function(e,t,r){"use strict";r("fc07")},fc07:function(e,t,r){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 超脑智子测试系统
VUE_APP_TITLE = 苏州曼普后台系统
# 开发环境配置
ENV = 'development'
# 超脑智子测试系统/开发环境
# 苏州曼普后台系统/开发环境
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载

View File

@ -1,8 +1,8 @@
# 页面标题
VUE_APP_TITLE = 超脑智子测试系统
VUE_APP_TITLE = 苏州曼普后台系统
# 生产环境配置
ENV = 'production'
# 超脑智子测试系统/生产环境
# 苏州曼普后台系统/生产环境
VUE_APP_BASE_API = '/prod-api'

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 超脑智子测试系统
VUE_APP_TITLE = 苏州曼普后台系统
BABEL_ENV = production
@ -8,5 +8,5 @@ NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 超脑智子测试系统/测试环境
# 苏州曼普后台系统/测试环境
VUE_APP_BASE_API = '/stage-api'

View File

@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.9.1",
"description": "超脑智子测试系统",
"description": "苏州曼普后台系统",
"author": "超脑智子",
"license": "MIT",
"scripts": {

View File

@ -45,10 +45,7 @@ export default {
} else {
matched = router.matched.filter(item => item.meta && item.meta.title)
}
//
if (!this.isDashboard(matched[0])) {
matched = [{ path: "/index", meta: { title: "首页" } }].concat(matched)
}
this.levelList = matched.filter(item => item.meta && item.meta.title && item.meta.breadcrumb !== false)
},
findPathNum(str, char = "/") {

View File

@ -61,19 +61,6 @@ export const constantRoutes = [
component: () => import('@/views/error/401'),
hidden: true
},
{
path: '',
component: Layout,
redirect: 'index',
children: [
{
path: 'index',
component: () => import('@/views/index'),
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
}
]
},
{
path: '/user',
component: Layout,
@ -87,6 +74,19 @@ export const constantRoutes = [
meta: { title: '个人中心', icon: 'user' }
}
]
},
{
path: '/',
component: Layout,
redirect: '/index',
children: [
{
path: 'index',
component: () => import('@/views/index'),
name: 'Index',
meta: { title: '首页', icon: 'dashboard', affix: true }
}
]
}
]

View File

@ -1,123 +1,11 @@
<template>
<div class="dashboard-container">
<!-- 欢迎区域 -->
<div class="welcome-section">
<el-card class="welcome-card" shadow="hover">
<div class="welcome-content">
<div class="welcome-text">
<h1 class="company-name">超脑智子测试版</h1>
<p class="company-slogan">用人工智能科技为各行业提供解决方案</p>
<p class="company-desc">集互联网零售人工智能和信息咨询于一体的互联网公司</p>
</div>
<div class="welcome-icon">
<i class="el-icon-s-platform"></i>
</div>
</div>
</el-card>
</div>
<!-- 核心业务卡片 -->
<el-row :gutter="20" class="business-section">
<el-col :xs="24" :sm="12" :md="8">
<el-card class="business-card retail" shadow="hover">
<div class="card-icon">
<i class="el-icon-shopping-cart-full"></i>
</div>
<div class="card-content">
<h3>互联网销售</h3>
<p>严选品牌甄选好物</p>
<el-tag size="small" type="success">零售业务</el-tag>
</div>
</el-card>
</el-col>
<el-col :xs="24" :sm="12" :md="8">
<el-card class="business-card ai" shadow="hover">
<div class="card-icon">
<i class="el-icon-cpu"></i>
</div>
<div class="card-content">
<h3>人工智能</h3>
<p>自研智能科技模型赋能增效</p>
<el-tag size="small" type="primary">核心技术</el-tag>
</div>
</el-card>
</el-col>
<el-col :xs="24" :sm="12" :md="8">
<el-card class="business-card consult" shadow="hover">
<div class="card-icon">
<i class="el-icon-data-analysis"></i>
</div>
<div class="card-content">
<h3>企业咨询</h3>
<p>AI与大数据融合提供专业解决方案</p>
<el-tag size="small" type="warning">咨询服务</el-tag>
</div>
</el-card>
</el-col>
</el-row>
<!-- 优势特色 -->
<el-row :gutter="20" class="feature-section">
<el-col :xs="24" :md="12">
<el-card class="feature-card" shadow="never">
<div slot="header" class="card-header">
<i class="el-icon-medal"></i>
<span>严选标准</span>
</div>
<div class="feature-list">
<div class="feature-item">
<i class="el-icon-check"></i>
<span>好商品 - 精选优质供应商</span>
</div>
<div class="feature-item">
<i class="el-icon-check"></i>
<span>好品质 - 严格质量把控</span>
</div>
<div class="feature-item">
<i class="el-icon-check"></i>
<span>好价格 - 极具竞争力价格</span>
</div>
<div class="feature-item">
<i class="el-icon-check"></i>
<span>好服务 - 完善售后体系</span>
</div>
</div>
</el-card>
</el-col>
<el-col :xs="24" :md="12">
<el-card class="feature-card" shadow="never">
<div slot="header" class="card-header">
<i class="el-icon-magic-stick"></i>
<span>科技赋能</span>
</div>
<div class="tech-content">
<div class="tech-highlight">
<div class="tech-number">AI+</div>
<div class="tech-desc">
<p>智能科技+大数据赋能增效</p>
<p class="sub-text">更高效更懂你</p>
</div>
</div>
</div>
</el-card>
</el-col>
</el-row>
<!-- 入驻流程 -->
<el-card class="process-card" shadow="never">
<div slot="header">
<i class="el-icon-s-operation"></i>
<span>供应链选及招商流程</span>
<el-card class="welcome-card">
<div class="welcome-content">
<i class="el-icon-s-home welcome-icon"></i>
<h1>欢迎使用系统</h1>
<p>您已成功登录</p>
</div>
<el-steps :active="4" align-center finish-status="success">
<el-step title="商家入驻" description="商家注册入驻,资质和商品提报"></el-step>
<el-step title="资质初审" description="审核资质及商品信息"></el-step>
<el-step title="结果反馈" description="3个工作日内反馈结果"></el-step>
<el-step title="洽谈推广" description="详细洽谈并安排推广"></el-step>
</el-steps>
</el-card>
</div>
</template>
@ -136,229 +24,36 @@ export default {
padding: 20px;
background-color: #f0f2f5;
min-height: calc(100vh - 84px);
display: flex;
align-items: center;
justify-content: center;
.welcome-section {
margin-bottom: 20px;
.welcome-card {
width: 100%;
max-width: 600px;
.welcome-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
border: none;
::v-deep .el-card__body {
padding: 30px;
}
.welcome-content {
display: flex;
justify-content: space-between;
align-items: center;
.welcome-text {
.company-name {
font-size: 36px;
font-weight: bold;
margin: 0 0 10px 0;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.company-slogan {
font-size: 18px;
margin: 0 0 10px 0;
opacity: 0.95;
}
.company-desc {
font-size: 14px;
margin: 0;
opacity: 0.8;
}
}
.welcome-icon {
font-size: 80px;
opacity: 0.3;
}
}
}
}
.business-section {
margin-bottom: 20px;
.business-card {
height: 160px;
display: flex;
align-items: center;
transition: all 0.3s;
margin-bottom: 20px;
&:hover {
transform: translateY(-5px);
}
.card-icon {
width: 80px;
height: 80px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
margin-right: 20px;
color: #fff;
}
.card-content {
flex: 1;
h3 {
margin: 0 0 10px 0;
font-size: 18px;
color: #303133;
}
p {
margin: 0 0 10px 0;
font-size: 14px;
color: #606266;
}
}
&.retail .card-icon {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
&.ai .card-icon {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
&.consult .card-icon {
background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
}
}
.feature-section {
margin-bottom: 20px;
.feature-card {
height: 100%;
.card-header {
font-weight: bold;
font-size: 16px;
i {
margin-right: 8px;
color: #409EFF;
}
}
.feature-list {
.feature-item {
display: flex;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid #ebeef5;
&:last-child {
border-bottom: none;
}
i {
color: #67C23A;
margin-right: 10px;
font-size: 16px;
}
span {
color: #606266;
font-size: 14px;
}
}
}
.tech-content {
display: flex;
align-items: center;
justify-content: center;
height: calc(100% - 60px);
.tech-highlight {
display: flex;
align-items: center;
gap: 20px;
.tech-number {
font-size: 48px;
font-weight: bold;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.tech-desc {
p {
margin: 0;
font-size: 16px;
color: #303133;
font-weight: 500;
&.sub-text {
font-size: 14px;
color: #909399;
margin-top: 5px;
}
}
}
}
}
}
}
.process-card {
::v-deep .el-card__header {
font-weight: bold;
font-size: 16px;
i {
margin-right: 8px;
color: #409EFF;
}
}
::v-deep .el-step__title {
font-size: 14px;
}
::v-deep .el-step__description {
font-size: 12px;
}
}
}
//
@media (max-width: 768px) {
.dashboard-container {
.welcome-section .welcome-card .welcome-content {
flex-direction: column;
.welcome-content {
text-align: center;
padding: 60px 20px;
.welcome-icon {
display: none;
font-size: 80px;
color: #409EFF;
margin-bottom: 30px;
display: block;
}
}
.business-section .business-card {
flex-direction: column;
height: auto;
text-align: center;
padding: 20px;
h1 {
font-size: 32px;
color: #303133;
margin: 0 0 20px 0;
font-weight: 500;
}
.card-icon {
margin-right: 0;
margin-bottom: 15px;
p {
font-size: 16px;
color: #909399;
margin: 0;
}
}
}

View File

@ -144,7 +144,7 @@ export default {
Cookies.remove('rememberMe')
}
this.$store.dispatch("Login", this.loginForm).then(() => {
this.$router.push({ path: this.redirect || "/" }).catch(()=>{})
this.$router.push({ path: "/" }).catch(()=>{})
}).catch(() => {
this.loading = false
if (this.captchaEnabled) {

View File

@ -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 baseUrl = 'http://localhost:8888' // 后端接口

View File

@ -1,7 +1,7 @@
drop table if exists sys_license;
create table sys_license (
licenseKey varchar(200) comment '许可认证'
license_key varchar(200) comment '许可认证'
) engine=innodb auto_increment=200 comment = '许可认证表';
@ -169,7 +169,6 @@ create table sys_menu (
insert into sys_menu values('1', '系统管理', '0', '1', 'system', null, '', '', 1, 0, 'M', '0', '0', '', 'system', 'admin', sysdate(), '', null, '系统管理目录');
insert into sys_menu values('2', '系统监控', '0', '2', 'monitor', null, '', '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', sysdate(), '', null, '系统监控目录');
insert into sys_menu values('3', '系统工具', '0', '3', 'tool', null, '', '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', sysdate(), '', null, '系统工具目录');
insert into sys_menu values('4', '超脑智子官网', '0', '4', 'http://ruoyi.vip', null, '', '', 0, 0, 'M', '0', '0', '', 'guide', 'admin', sysdate(), '', null, '超脑智子官网地址');
-- 二级菜单
insert into sys_menu values('100', '用户管理', '1', '1', 'user', 'system/user/index', '', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', sysdate(), '', null, '用户管理菜单');
insert into sys_menu values('101', '角色管理', '1', '2', 'role', 'system/role/index', '', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', sysdate(), '', null, '角色管理菜单');