# pc-uc-template **Repository Path**: chenjiawei110/pc-uc-template ## Basic Information - **Project Name**: pc-uc-template - **Description**: pc-uc-admin 后台管理系统 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-13 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 安装依赖 npm install # 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 npm install --registry=https://registry.npm.taobao.org # 引入v-charts 注意 npm install echarts@4.8.0 --save --registry=https://registry.npm.taobao.org # 启动服务 npm run dev ``` 浏览器访问 [http://localhost:9528](http://localhost:9528) ## 发布 ```bash # 构建测试环境 npm run build:test # 构建生产环境 npm run build ``` ## 其它 ```bash # 预览发布环境效果 npm run preview # 预览发布环境效果 + 静态资源分析 npm run preview -- --report # 代码格式检查 npm run lint # 代码格式检查并自动修复 npm run lint -- --fix # 生成目录树 tree -I node_modules > tree.text ``` ## 目录结构 ├── LICENSE ├── README.md ├── babel.config.js ├── build │   └── index.js ├── jest.config.js ├── jsconfig.json ├── mock ----------------------------------------------------------- 数据mock │   ├── index.js │   ├── mock-server.js │   ├── table.js │   ├── user.js │   └── utils.js ├── package-lock.json ├── package.json ├── postcss.config.js ├── public │   ├── favicon.png │   └── index.html ├── src │   ├── App.vue │   ├── api -------------------------------------------------------- 接口Api │   │   ├── activityManage.js │   │   ├── channelManage.js │   │   ├── commodityManage.js │   │   ├── contentManage.js │   │   ├── dataBoard.js │   │   ├── pubilcClass.js │   │   ├── rightsManage.js │   │   ├── ucenter.js │   │   ├── upgrading.js │   │   └── user.js │   ├── assets ----------------------------------------------------- 静态资源 4040页面 │   │   ├── 404_images │   │   │   ├── 404.png │   │   │   └── 404_cloud.png │   │   ├── code.png │   │   ├── images │   │   │   ├── add.png │   │   │   ├── del.png │   │   │   ├── nopermission.png │   │   │   └── welcome.png │   │   ├── login │   │   │   ├── bg-login.png │   │   │   ├── left-login.png │   │   │   └── logo.png │   │   ├── logo-black.png │   │   └── logo.png │   ├── components -------------------------------------------------- 公共组件 │   │   ├── Breadcrumb ----------------------------------------- 面包屑 │   │   │   └── index.vue │   │   ├── Editor ----------------------------------------- 富文本 │   │   │   └── index.vue │   │   ├── Hamburger ----------------------------------------- SVG IMG │   │   │   └── index.vue │   │   ├── SvgIcon ----------------------------------------- SVG ICON │   │   │   └── index.vue │   │   ├── detailModule ----------------------------------------- 数据组件 │   │   │   └── orderDetail.vue │   │   ├── dialog ----------------------------------------- 弹窗组件 │   │   │   └── importDialog.vue │   │   ├── filterTable ----------------------------------------- form-search │   │   │   └── index.vue │   │   ├── searchForm ----------------------------------------- form-search │   │   │   └── searchTable.vue │   │   └── statisModule ----------------------------------------- 基础组件 │   │   └── index.vue │   ├── icons │   │   ├── index.js │   │   ├── svg │   │   │   ├── be-sure.svg │   │   │   ├── cashierDesk.svg │   │   │   ├── dashboard.svg │   │   │   ├── delete.svg │   │   │   ├── edit.svg │   │   │   ├── example.svg │   │   │   ├── eye-open.svg │   │   │   ├── eye.svg │   │   │   ├── form.svg │   │   │   ├── kuguanzhongxin.svg │   │   │   ├── link.svg │   │   │   ├── nested.svg │   │   │   ├── organization.svg │   │   │   ├── password.svg │   │   │   ├── purchasing.svg │   │   │   ├── qiehuan.svg │   │   │   ├── table.svg │   │   │   ├── tree.svg │   │   │   ├── user.svg │   │   │   └── xiaoshouzhongxin.svg │   │   └── svgo.yml │   ├── layout ------------------------------------------------- 单页面路由跳转统一入口 │   │   ├── components │   │   │   ├── AppMain.vue │   │   │   ├── EditPass │   │   │   │   └── index.vue │   │   │   ├── Navbar.vue │   │   │   ├── Sidebar │   │   │   │   ├── FixiOSBug.js │   │   │   │   ├── Item.vue │   │   │   │   ├── Link.vue │   │   │   │   ├── Logo.vue │   │   │   │   ├── SidebarItem.vue │   │   │   │   └── index.vue │   │   │   ├── TagsView │   │   │   │   ├── ScrollPane.vue │   │   │   │   └── index.vue │   │   │   └── index.js │   │   ├── index.vue │   │   └── mixin │   │   └── ResizeHandler.js │   ├── main.js │   ├── permission.js │   ├── router -------------------------------------------------- base路由 动态路由 │   │   ├── index.js │   │   └── modules │   │   ├── activityManage.js │   │   ├── channelManage.js │   │   ├── commodityManage.js │   │   ├── contentManage.js │   │   ├── dataBoard.js │   │   ├── rightsManage.js │   │   ├── set.js │   │   └── userCenter.js │   ├── settings.js │   ├── store --------------------------------------------------- vuex状态管理 │   │   ├── getters.js │   │   ├── index.js │   │   └── modules │   │   ├── app.js │   │   ├── permission.js │   │   ├── settings.js │   │   ├── tagsView.js │   │   └── user.js │   ├── styles │   │   ├── element-ui.scss │   │   ├── index.scss │   │   ├── mixin.scss │   │   ├── sidebar.scss │   │   ├── transition.scss │   │   └── variables.scss │   ├── utils --------------------------------------------------- 公共类 │   │   ├── LodopFuncs.js │   │   ├── auth.js │   │   ├── dicts.js │   │   ├── get-page-title.js │   │   ├── index.js │   │   ├── number.js │   │   ├── oss.js │   │   ├── request.js │   │   ├── requestExportExcel.js │   │   ├── scroll-to.js │   │   └── validate.js │   └── views --------------------------------------------------- 页面 │   ├── 404.vue │   ├── activityManage ------------------------------------------------------------------- 活动管理 │   │   ├── activity │   │   │   ├── activityList.vue │   │   │   └── index.vue │   │   ├── channelManage │   │   │   ├── addActivity.vue │   │   │   ├── channelList.vue │   │   │   ├── components │   │   │   │   ├── SortForm.vue │   │   │   │   ├── SortFormItem.vue │   │   │   │   ├── originFormList.js │   │   │   │   └── updateChannel.vue │   │   │   └── index.vue │   │   └── userActivity │   │   ├── activityList.vue │   │   ├── components │   │   │   └── updateChannel.vue │   │   └── index.vue │   ├── channelManage ----------------------------------------------------------------- 渠道管理 │   │   ├── channelManage.vue │   │   ├── components │   │   │   └── updateDept.vue │   │   └── index.vue │   ├── commodityManage ----------------------------------------------------------------- 商品管理 │   │   ├── campManage ------------------------------------------------------------ 营地体验 │   │   │   ├── campList.vue │   │   │   ├── index.vue │   │   │   └── updateCamp.vue │   │   ├── goodsManage ------------------------------------------------------------ 轻课商品 │   │   │   ├── classGoods100.vue │   │   │   ├── classGoods110.vue │   │   │   ├── classGoods200.vue │   │   │   ├── classGoods210.vue │   │   │   ├── classGoods300.vue │   │   │   ├── classGoods310.vue │   │   │   ├── classGoods900.vue │   │   │   ├── classGoods910.vue │   │   │   ├── components │   │   │   │   ├── classDrawer.vue │   │   │   │   ├── goodsInfo.vue │   │   │   │   └── packageDrawer.vue │   │   │   ├── goodsList.vue │   │   │   └── index.vue │   │   └── studiesManage ------------------------------------------------------------ 研学商品 │   │   ├── components │   │   │   └── studiesDrawer.vue │   │   ├── index.vue │   │   ├── studiesList.vue │   │   └── updateStudies.vue │   ├── contentManage ----------------------------------------------------------------- 内容管理 │   │   ├── classManage ------------------------------------------------------------ 孩子课时 │   │   │   ├── classList.vue │   │   │   ├── components │   │   │   │   └── updateClass.vue │   │   │   └── index.vue │   │   ├── courseManage ------------------------------------------------------------ 孩子课程 │   │   │   ├── components │   │   │   │   ├── classDrawer.vue │   │   │   │   └── updateCourse.vue │   │   │   ├── courseList.vue │   │   │   └── index.vue │   │   ├── parentsClassManage ---------------------------------------------------------- 孩子课时 │   │   │   ├── classList.vue │   │   │   ├── components │   │   │   │   └── updateClass.vue │   │   │   └── index.vue │   │   ├── parentsCourseManage --------------------------------------------------------- 孩子课程 │   │   │   ├── components │   │   │   │   ├── classDrawer.vue │   │   │   │   └── updateCourse.vue │   │   │   ├── courseList.vue │   │   │   └── index.vue │   │   └── picbooksManage ---------------------------------------------------------- 绘本管理 │   │   ├── components │   │   │   └── updatePicture.vue │   │   ├── index.vue │   │   └── picbooksList.vue │   ├── dashboard │   │   └── index.vue │   ├── dataBoard │   │   ├── GoodsActivity │   │   │   ├── GoodsActivity.vue │   │   │   └── index.vue │   │   ├── allNew │   │   │   ├── allNewBoard.vue │   │   │   └── index.vue │   │   ├── dataCourseManage │   │   │   ├── courseList.vue │   │   │   └── index.vue │   │   └── growUpNew │   │   ├── growUpNewBoard.vue │   │   └── index.vue │   ├── login │   │   └── index.vue │   ├── rightsManage ----------------------------------------------------------------- 权限管理 │   │   ├── departManage │   │   │   ├── components │   │   │   │   └── updateDept.vue │   │   │   ├── departList.vue │   │   │   └── index.vue │   │   ├── menuManage │   │   │   ├── components │   │   │   │   └── updateMenu.vue │   │   │   ├── index.vue │   │   │   └── menuList.vue │   │   ├── roleManage │   │   │   ├── components │   │   │   │   └── updateRole.vue │   │   │   ├── index.vue │   │   │   └── roleList.vue │   │   └── staffManage │   │   ├── components │   │   │   ├── editPass.vue │   │   │   └── updateStaff.vue │   │   ├── index.vue │   │   └── staffList.vue │   └── userCenter ----------------------------------------------------------------- 用户中心 │   ├── index.vue │   ├── list.vue │   └── newList.vue ├── tests │   └── unit │   ├── components │   │   ├── Breadcrumb.spec.js │   │   ├── Hamburger.spec.js │   │   └── SvgIcon.spec.js │   └── utils │   ├── formatTime.spec.js │   ├── param2Obj.spec.js │   ├── parseTime.spec.js │   └── validate.spec.js └── vue.config.js