更新
This commit is contained in:
parent
425c72eecc
commit
ff86a539b5
@ -9,6 +9,56 @@ t.brand = {}
|
|||||||
t.brand.lg = 'SPC'
|
t.brand.lg = 'SPC'
|
||||||
t.brand.mini = 'spc'
|
t.brand.mini = 'spc'
|
||||||
|
|
||||||
|
t.basicInfo = 'Basic Info'
|
||||||
|
t.productManage = 'Product Manage'
|
||||||
|
t.productList = 'Product List'
|
||||||
|
t.productType = 'Product Type'
|
||||||
|
t.processManage = 'Process Manage'
|
||||||
|
t.processDefine = 'Process Define'
|
||||||
|
t.processType = 'Process Type'
|
||||||
|
t.factoryManage = 'Factory Manage'
|
||||||
|
t.machineManage = 'Machine Manage'
|
||||||
|
t.siteManage = 'Site Manage'
|
||||||
|
t.toolManage = 'Tool Manage'
|
||||||
|
t.unitManage = 'Unit Manage'
|
||||||
|
|
||||||
|
t.qualityPlan = 'Quality Plan'
|
||||||
|
t.controlFactor = 'Control Factor'
|
||||||
|
t.determinePlan = 'Determine Plan'
|
||||||
|
t.controlChart = 'Control Chart'
|
||||||
|
|
||||||
|
t.processInspection = 'Process Inspection'
|
||||||
|
t.generalTask = 'General Task'
|
||||||
|
t.countingAnalysis = 'Counting Analysis'
|
||||||
|
t.meterAnalysis = 'Meter Analysis'
|
||||||
|
t.UChart = 'U Chart'
|
||||||
|
t.CChart = 'C Chart'
|
||||||
|
t.NPChart = 'NP Chart'
|
||||||
|
t.PChart = 'P Chart'
|
||||||
|
t.XbarR = 'X bar-R'
|
||||||
|
t.XbarS = 'X bar-S'
|
||||||
|
t.XMR = 'X-MR'
|
||||||
|
|
||||||
|
t.powerManage = 'Power Manage'
|
||||||
|
t.userManage = 'User Manage'
|
||||||
|
t.department = 'Department'
|
||||||
|
t.roleManage = 'Role Manage'
|
||||||
|
|
||||||
|
t.systemSettings = 'System Setting'
|
||||||
|
t.menuManage = 'Menu Manage'
|
||||||
|
t.paramsManage = 'Params Manage'
|
||||||
|
t.dictManage = 'Dictionary Manage'
|
||||||
|
t.scheduleTask = 'Schedule Task'
|
||||||
|
t.fileUpload = 'File Upload'
|
||||||
|
|
||||||
|
t.logManage = 'Log Manage'
|
||||||
|
t.loginLog = 'Login Log'
|
||||||
|
t.operationLog = 'Operation Log'
|
||||||
|
t.errorLog = 'Error Log'
|
||||||
|
|
||||||
|
t.systemMonitor = 'System Monitor'
|
||||||
|
t.SQLMonitor = 'SQL Monitor'
|
||||||
|
|
||||||
t.public = {}
|
t.public = {}
|
||||||
t.public.operation = 'operation'
|
t.public.operation = 'operation'
|
||||||
|
|
||||||
|
@ -9,6 +9,56 @@ t.brand = {}
|
|||||||
t.brand.lg = 'SPC'
|
t.brand.lg = 'SPC'
|
||||||
t.brand.mini = 'spc'
|
t.brand.mini = 'spc'
|
||||||
|
|
||||||
|
t.basicInfo = '基础信息'
|
||||||
|
t.productManage = '产品管理'
|
||||||
|
t.productList = '产品列表'
|
||||||
|
t.productType = '产品类型'
|
||||||
|
t.processManage = '过程管理'
|
||||||
|
t.processDefine = '工序定义'
|
||||||
|
t.processType = '工序类型'
|
||||||
|
t.factoryManage = '工厂管理'
|
||||||
|
t.machineManage = '机台管理'
|
||||||
|
t.siteManage = '站点管理'
|
||||||
|
t.toolManage = '量具管理'
|
||||||
|
t.unitManage = '计量单位管理'
|
||||||
|
|
||||||
|
t.qualityPlan = '质量规划'
|
||||||
|
t.controlFactor = '控制系数'
|
||||||
|
t.determinePlan = '判读方案'
|
||||||
|
t.controlChart = '控制图形'
|
||||||
|
|
||||||
|
t.processInspection = '过程检验'
|
||||||
|
t.generalTask = '通用作业'
|
||||||
|
t.countingAnalysis = '计数分析'
|
||||||
|
t.meterAnalysis = '计量分析'
|
||||||
|
t.UChart = 'U图'
|
||||||
|
t.CChart = 'C图'
|
||||||
|
t.NPChart = 'NP图'
|
||||||
|
t.PChart = 'P图'
|
||||||
|
t.XbarR = '均值极差控制图'
|
||||||
|
t.XbarS = '均值标准差控制图'
|
||||||
|
t.XMR = '单值移动极差控制图'
|
||||||
|
|
||||||
|
t.powerManage = '权限管理'
|
||||||
|
t.userManage = '用户管理'
|
||||||
|
t.department = '部门管理'
|
||||||
|
t.roleManage = '角色管理'
|
||||||
|
|
||||||
|
t.systemSettings = '系统设置'
|
||||||
|
t.menuManage = '菜单管理'
|
||||||
|
t.paramsManage = '参数管理'
|
||||||
|
t.dictManage = '字典管理'
|
||||||
|
t.scheduleTask = '定时任务'
|
||||||
|
t.fileUpload = '文件上传'
|
||||||
|
|
||||||
|
t.logManage = '日志管理'
|
||||||
|
t.loginLog = '登录日志'
|
||||||
|
t.operationLog = '操作日志'
|
||||||
|
t.errorLog = '异常日志'
|
||||||
|
|
||||||
|
t.systemMonitor = '系统监控'
|
||||||
|
t.SQLMonitor = 'SQL监控'
|
||||||
|
|
||||||
t.add = '新增'
|
t.add = '新增'
|
||||||
t.delete = '删除'
|
t.delete = '删除'
|
||||||
t.edit = '编辑'
|
t.edit = '编辑'
|
||||||
|
@ -2,26 +2,27 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2022-08-22 14:57:51
|
* @Date: 2022-08-22 14:57:51
|
||||||
* @LastEditors: zwq
|
* @LastEditors: zwq
|
||||||
* @LastEditTime: 2023-01-06 15:34:54
|
* @LastEditTime: 2023-06-28 14:49:58
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-submenu v-if="menu.children && menu.children.length >= 1" :index="menu.id" :popper-append-to-body="false">
|
<el-submenu v-if="menu.children && menu.children.length >= 1" :index="menu.id" :popper-append-to-body="false">
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true"><use :xlink:href="`#${menu.icon}`"></use></svg>
|
<svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true"><use :xlink:href="`#${menu.icon}`"></use></svg>
|
||||||
<span>{{ menu.name }}</span>
|
<span>{{ menu.name | i18nFilter }}</span>
|
||||||
</template>
|
</template>
|
||||||
<sub-menu v-for="item in menu.children" :key="item.id" :menu="item"></sub-menu>
|
<sub-menu v-for="item in menu.children" :key="item.id" :menu="item"></sub-menu>
|
||||||
</el-submenu>
|
</el-submenu>
|
||||||
<el-menu-item v-else :index="menu.id" @click="gotoRouteHandle(menu.id)">
|
<el-menu-item v-else :index="menu.id" @click="gotoRouteHandle(menu.id)">
|
||||||
<svg class="icon-svg aui-sidebar__menu-icon-son" aria-hidden="true"><use xlink:href="#椭圆形"></use></svg>
|
<svg class="icon-svg aui-sidebar__menu-icon-son" aria-hidden="true"><use xlink:href="#椭圆形"></use></svg>
|
||||||
<!-- <svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true"><use :xlink:href="`#${menu.icon}`"></use></svg> -->
|
<!-- <svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true"><use :xlink:href="`#${menu.icon}`"></use></svg> -->
|
||||||
<span>{{ menu.name }}</span>
|
<span>{{ menu.name | i18nFilter }}</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import SubMenu from './main-sidebar-sub-menu'
|
import SubMenu from './main-sidebar-sub-menu'
|
||||||
|
import i18n from "@/i18n";
|
||||||
export default {
|
export default {
|
||||||
name: 'sub-menu',
|
name: 'sub-menu',
|
||||||
props: {
|
props: {
|
||||||
@ -30,6 +31,11 @@ export default {
|
|||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
filters: {
|
||||||
|
i18nFilter (val) {
|
||||||
|
return i18n.t(val)
|
||||||
|
}
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
SubMenu
|
SubMenu
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user