您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
gtz 2c3e23b20a 'update_url 1年前
build 'update' 1年前
plop-templates 'update' 1年前
public 'update' 1年前
src 'update_url 1年前
tests/unit 'update' 1年前
.dockerignore 'update' 1年前
.drone.yml 'update' 1年前
.editorconfig 'update' 1年前
.env.production 'update' 1年前
.env.staging 'update' 1年前
.eslintignore 'update' 1年前
.eslintrc.js 'update' 1年前
.gitignore 'update' 1年前
.prettierrc 'update' 1年前
.travis.yml 'update' 1年前
Dockerfile 'update' 1年前
LICENSE 'update' 1年前
QR.png 'update' 1年前
README.md 'update' 1年前
babel.config.js 'update' 1年前
default.conf 'update' 1年前
jest.config.js 'update' 1年前
jsconfig.json 'update' 1年前
package.json 'update' 1年前
plopfile.js 'update' 1年前
postcss.config.js 'update' 1年前

README.md

Readme

页面原型地址: http://rp.picaiba.com/mes/2020-12-29

element 表单生成工具: https://mrhj.gitee.io/form-generator/#/


  • 顶栏右上角设置的配置在 @/layout/components/Navbar.vue 中
  • 富文本编辑器中 右上角上传图片的目标地址需要修改,在@/components/Tinymce/components/EditorImage.vue 中
echarts封装
  • 考虑使用mixin加入部分功能
  • option配置分离,再复用
  • 定义统一输入的数据格式(通过props?)
国际化注意事项
  • 所有methodbtn的tableBtn配置中的btnName写成下种形式,具体配置项在@/lang/i18n.js 中,若无想要的自行添加
  btnName: 'btn.edit'
  • 所有hidden不为true的路由的mate中的title,写成下种形式,位置同上
  meta: { title: routerTitle.dashboard.dashboard?.[language] || routerTitle.dashboard.dashboard.en, icon: 'dashboard', affix: true }
  • 所有table页引入国际化组件,表格配置项中label写成下种形式,具体配置需自行到@/lang/en.js 和@/lang/zh.js 中添加
  import i18n from '@/lang'
  const tableProps = [{
    ...
    label: i18n.t('userManage.userId'),
    ...
  }]
切换主题色
  • 主题样式文件应使用本地文件,不应使用element云上的(目前尝试使用本地可能因为缓存策略导致切换主题色仅第一次生效,目前仍保留使用element云上的样式文件)
备注
  • 废品报废添加时间隐藏,质量检测计划检测速率、检测内容隐藏