chore: 批量更新前端静态资源与界面文案

1. 更新多个项目的index.html引入的资源hash文件名
2. 替换BOM页面标题为物料清单,同步路由菜单文案
3. 为多个select组件添加placeholder提示文案
4. 重构MES布局,移除侧边抽屉菜单,添加页面标题
5. 新增/替换部分静态资源文件,删除旧的冗余资源文件
This commit is contained in:
SunYF
2026-08-28 17:42:50 +08:00
parent dd078038e2
commit 047cdd9870
55 changed files with 389 additions and 174 deletions
@@ -11,7 +11,8 @@
</el-aside>
<el-container>
<el-header class="header">
<div @click="drawer=true" style="cursor:pointer"> 菜单</div>
<span class="page-title">{{ $route.meta.title || '' }}</span>
<div class="spacer"></div>
<div>
<span style="margin-right:16px">{{ userName }}</span>
<el-button size="small" @click="router.push('/change-password')">修改密码</el-button>
@@ -23,12 +24,6 @@
</el-main>
</el-container>
</el-container>
<el-drawer v-model="drawer" direction="ltr" size="200px">
<el-menu :default-active="$route.path" router>
<el-menu-item v-for="m in menus" :key="m.path" :index="m.path">{{ m.name }}</el-menu-item>
</el-menu>
</el-drawer>
</template>
<script setup>
@@ -38,7 +33,6 @@ import { getUser, logout } from '../utils/auth'
import request from '../utils/request'
const router = useRouter()
const drawer = ref(false)
const menus = computed(() => {
const me = getUser()
@@ -50,7 +44,7 @@ const menus = computed(() => {
const defaultMenus = [
{ code: 'produce.workorder', name: '工单管理', path: '/work-order' },
{ code: 'produce.bom', name: 'BOM', path: '/bom' },
{ code: 'produce.bom', name: '物料清单', path: '/bom' },
{ code: 'produce.material', name: '备料单', path: '/material-request' },
{ code: 'produce.plc', name: 'PLC工序下发', path: '/plc-send' },
{ code: 'produce.torque', name: '拧紧查询', path: '/torque' },
@@ -83,4 +77,6 @@ function doLogout() {
.aside { background: #001529; }
.logo { color: #fff; font-size: 17px; font-weight: 600; text-align: center; line-height: 60px; height: 60px; }
.header { display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #eee; }
.page-title { font-size: 16px; font-weight: 600; color: #303133; }
.spacer { flex: 1; }
</style>