供应商后台
项目介绍
目录结构
LaiKeJavaSupplier
├── babel.config.js
├── build
├── mock
├── package-lock.json
├── package.json
├── postcss.config.js
├── public #公共文件
├── src
│ ├── App.vue
│ ├── api
│ │ ├── constant
│ │ ├── data
│ │ ├── export #导出
│ │ ├── finance #财务
│ │ ├── goods #商品
│ │ ├── http.js
│ │ ├── https.js
│ │ ├── layout #布局
│ │ ├── login #登录
│ │ ├── members
│ │ ├── order #订单
│ │ ├── plug_ins #
│ │ ├── product.js #
│ │ ├── publics #通用文件
│ │ ├── resources #资源
│ ├── assets
│ │ ├── 404_images
│ │ │ ├── 404.png
│ │ │ └── 404_cloud.png
│ │ ├── iconfont #字体 图标
│ │ ├── images
│ │ ├── imgs
│ │ ├── js
│ │ ├── sidebar #边上的图
│ │ └── svg #图形
│ ├── common #公共样式
│ │ ├── commonFunction
│ │ └── commonStyle
│ ├── components #项目组件
│ │ ├── Breadcrumb
│ │ ├── Hamburger
│ │ ├── SvgIcon
│ │ ├── goodsList
│ │ ├── mobileConfig
│ │ ├── mobileConfigRight
│ │ ├── mobilePage
│ │ ├── rightBtn
│ │ └── uploadPictures
│ ├── icons #图标
│ ├── lang #多语言
│ │ ├── en.js
│ │ ├── index.js
│ │ └── zh.js
│ ├── layout #布局组件
│ │ ├── components
│ │ ├── index.vue
│ │ └── mixin
│ ├── libs #第三方js
│ │ ├── iview-pro
│ │ ├── random_str.js
│ │ ├── socket.js
│ │ ├── system
│ │ ├── util.cookies.js
│ │ ├── util.db.js
│ │ ├── util.js
│ │ └── util.log.js
│ ├── main.js
│ ├── mixins
│ │ └── index.js
│ ├── packages
│ │ ├── Button
│ │ │ ├── index.js
│ │ │ └── src
│ │ ├── Pagination
│ │ │ ├── index.js
│ │ │ ├── index.vue
│ │ │ └── style
│ │ ├── Transfer
│ │ │ ├── index.js
│ │ │ ├── index.vue
│ │ │ └── style
│ │ ├── Upload
│ │ │ ├── components
│ │ │ ├── dialog.vue
│ │ │ ├── index.js
│ │ │ ├── index.vue
│ │ │ ├── style
│ │ │ └── uploadDialog.vue
│ │ ├── apis
│ │ │ ├── Base.js
│ │ │ ├── Config.js
│ │ │ └── Upload.js
│ │ ├── index.js
│ │ └── utils
│ │ └── utils.js
│ ├── permission.js
│ ├── router
│ │ └── index.js
│ ├── setting.js
│ ├── settings.js
│ ├── store
│ ├── styles #样式
│ ├── utils #帮助类js
│ ├── views
│ │ ├── 404.vue #404页面
│ │ ├── Data #报表
│ │ ├── Demo #demo
│ │ ├── Platform
│ │ │ ├── brandmanagement
│ │ │ ├── bulletin
│ │ │ ├── goodsSKU
│ │ │ ├── goodsclassify
│ │ │ ├── graphics
│ │ │ ├── logisticsCompanyManage
│ │ │ ├── merchants
│ │ │ ├── numerical
│ │ │ ├── parameter
│ │ │ ├── permissions
│ │ │ ├── pool
│ │ │ ├── reportManagement
│ │ │ ├── supplier
│ │ │ └── system
│ │ ├── authority
│ │ │ ├── adminLoggerManage
│ │ │ ├── adminUserManage
│ │ │ └── roleManagement
│ │ ├── bill
│ │ │ ├── accountList
│ │ │ ├── bankCard
│ │ │ └── withDraw
│ │ ├── dashboard
│ │ │ └── index.vue
│ │ ├── finance
│ │ │ ├── fundsSet
│ │ │ ├── pointSet
│ │ │ └── withdrawalManage
│ │ ├── goods
│ │ │ ├── InventoryWarnings
│ │ │ ├── auditList
│ │ │ ├── brandmanagement
│ │ │ ├── cargoDetails
│ │ │ ├── freight
│ │ │ ├── freightmanagement
│ │ │ ├── goodsclassify
│ │ │ ├── goodslist
│ │ │ ├── illegalGoods
│ │ │ ├── inventoryManagement
│ │ │ ├── inventorylist
│ │ │ ├── releaseCom
│ │ │ ├── relevancy
│ │ │ ├── shippingDetails
│ │ │ ├── tag
│ │ │ └── taobaoAssistant
│ │ ├── home
│ │ │ ├── homeReport.vue
│ │ │ └── set
│ │ ├── login
│ │ │ └── index.vue
│ │ ├── mall
│ │ │ ├── aftersaleAddress
│ │ │ ├── functionnavigation
│ │ │ ├── payManagement
│ │ │ ├── pcBanner
│ │ │ ├── search
│ │ │ ├── sms
│ │ │ ├── systemManagement
│ │ │ ├── systemNotice
│ │ │ └── terminalConfig
│ │ ├── order
│ │ │ ├── commentManage
│ │ │ ├── orderList
│ │ │ ├── orderSet
│ │ │ ├── orderSettlement
│ │ │ └── salesReturn
│ │ ├── print
│ │ │ └── index.vue
│ │ ├── repertory
│ │ │ ├── InventoryWarnings
│ │ │ ├── cargoDetails
│ │ │ ├── inventoryManagement
│ │ │ └── shippingDetails
│ │ ├── resources
│ │ │ └── imageList
│ │ └── systemMaintenance.vue
│ └── webManage
│ ├── css
│ └── js
├── tests
├── theme
│ ├── fonts
│ │ ├── element-icons.ttf
│ │ └── element-icons.woff
│ └── index.css
└── vue.config.js
项目工具
项 | 版本 | 说明 |
---|---|---|
nodejs | 14.20.0 | 下载安装 |
vscode | 最新 | 开发编辑器 |
项目部署
后端服务
laike-gateway
laike-admin-store
laike-admin-supplier
配置修改
1、线上部署修改.env.java_prod_production
NODE_ENV = production
# just a flag
ENV = 'java_prod_production'
VUE_APP_STORE = '1'
# java base api
VUE_APP_BASE_API = 'https://java.houjiemeishi.com/gw'
# You will need to set publicPath if you plan to deploy your site under a sub path,
# for example GitHub Pages. If you plan to deploy your site to https://foo.github.io/bar/,
# then publicPath should be set to "/bar/".
# In most cases please use '/' !!!
# Detail: https://cli.vuejs.org/config/#publicpath
# 访问上下文,不要改vue.config.js 里面的publicPath
PUBLIC_PATH = '/'
打包部署
使用以下命令打包
#安装环境
npm install
#打包
npm run java:prod
将打包好的文件上传到指定站点的目录并解压
访问站点