Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
朱文强 77fbbb630b Merge pull request '仓库翻译' (#62) from zwq into develop il y a 2 ans
build init il y a 3 ans
mock init il y a 3 ans
plop-templates init il y a 3 ans
public init il y a 3 ans
src 仓库翻译 il y a 2 ans
tests/unit init il y a 3 ans
.dockerignore init il y a 3 ans
.drone.yml fix: 🐛 修正构建脚本 il y a 2 ans
.editorconfig init il y a 3 ans
.env.production 更新 il y a 2 ans
.env.staging init il y a 3 ans
.eslintignore init il y a 3 ans
.eslintrc.js init il y a 3 ans
.gitignore '不动vue.config.js' il y a 2 ans
.travis.yml init il y a 3 ans
Dockerfile fix: 🐛 修正构建包安装顺序 il y a 2 ans
LICENSE init il y a 3 ans
QR.png init il y a 3 ans
README.md init il y a 3 ans
babel.config.js init il y a 3 ans
default.conf init il y a 3 ans
jest.config.js init il y a 3 ans
jsconfig.json init il y a 3 ans
package.json update il y a 2 ans
plopfile.js init il y a 3 ans
postcss.config.js init il y a 3 ans
vue.config.js update dashboard il y a 2 ans

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云上的样式文件)
备注
  • 废品报废添加时间隐藏,质量检测计划检测速率、检测内容隐藏 test