This commit is contained in:
陈裕财
2025-04-13 03:20:02 +08:00
parent d891cf2139
commit 058a0185cc
2 changed files with 38 additions and 28 deletions

View File

@@ -16,7 +16,7 @@
style="max-width: 25em;"
:title="xmProduct.productName"
>
&nbsp; <el-avatar style="background-color:#409EFF;width:50px;min-width: 50px;border: 2px solid silver;">产品</el-avatar>&nbsp;<el-text size="large" truncated type="primary"><div style="font-weight: 600; font-size: 20px; color: #409EFF">{{ xmProduct.productName }}</div></el-text>
<el-avatar style="background-color:#409EFF;width:50px;min-width: 50px;border: 2px solid silver;">产品</el-avatar>&nbsp;<el-text size="large" truncated type="primary"><div style="font-weight: 600; font-size: 20px; color: #409EFF">{{ xmProduct.productName }}</div></el-text>
</div>
</template>
</el-menu-item>
@@ -174,9 +174,14 @@ export default {
<style rel="stylesheet/scss" lang="scss" scoped>
.menus {
.el-menu-item {
padding-left: 0px !important;
padding-right: 0px !important;
.el-menu-item {
padding-left: 10px !important;
padding-right: 10px !important;
}
}
.menus {
.el-sub-menu{
width:110px;
}
}
/* 超过宽度则用...代替 */

View File

@@ -83,7 +83,7 @@
</el-menu-item>
</el-sub-menu>
<el-sub-menu index="kpi">
<template #title><icon icon="fa:key"/>kpi</template>
<template #title><icon icon="fa:bar-chart"/>效能</template>
<el-menu-item :index="'/xm/pro/project/view/kpi/mng?projectId='+projectInfo.id">
<template #title><icon icon="fa:key"/>kpi管理</template>
</el-menu-item>
@@ -98,11 +98,11 @@
</el-menu-item>
<el-menu-item :index="'/xm/pro/project/view/kpi/his?projectId='+projectInfo.id">
<template #title><icon icon="fa:history"/>考核记录</template>
</el-menu-item>
<el-menu-item :index="'/xm/pro/project/view/rpt?projectId='+projectInfo.id">
<template #title><icon icon="fa:bar-chart"/>效能分析</template>
</el-menu-item>
</el-sub-menu>
<el-menu-item :index="'/xm/pro/project/view/rpt?projectId='+projectInfo.id">
<template #title><icon icon="fa:bar-chart"/>效能</template>
</el-menu-item>
<el-sub-menu index="zhishi">
<template #title><icon icon="fa:book"/>知识</template>
<el-menu-item :index="'/xm/project/view/file?projectId='+projectInfo.id">
@@ -117,22 +117,6 @@
</el-menu-item>
</el-sub-menu>
<el-sub-menu index="shezhi">
<template #title><icon icon="ep:setting"/>设置</template>
<el-menu-item :index="'/xm/project/view/detail?projectId='+projectInfo.id">
<template #title><icon icon="ep:document"/>项目详情</template>
</el-menu-item>
<el-menu-item :index="'/xm/project/view/setting?projectId='+projectInfo.id">
<template #title><icon icon="ep:setting"/>项目配置</template>
</el-menu-item>
<el-menu-item :index="'/xm/project/view/product?projectId='+projectInfo.id">
<template #title><icon icon="fa:product-hunt"/>关联产品</template>
</el-menu-item>
<el-menu-item :index="'/xm/project/view/env?projectId='+projectInfo.id">
<template #title><icon icon="ep:setting"/>环境清单</template>
</el-menu-item>
</el-sub-menu>
<el-sub-menu index="flow">
<template #title><icon icon="fa-solid:random"/>审批 </template>
<el-menu-item :index="'/xm/project/view/setup?projectId='+projectInfo.id">
@@ -157,12 +141,28 @@
<template #title><icon icon="fa:calendar-check-o"/>历史审批</template>
</el-menu-item>
</el-sub-menu>
<el-sub-menu index="shezhi">
<template #title><icon icon="ep:setting"/>配置</template>
<el-menu-item :index="'/xm/project/view/detail?projectId='+projectInfo.id">
<template #title><icon icon="ep:document"/>项目详情</template>
</el-menu-item>
<el-menu-item :index="'/xm/project/view/setting?projectId='+projectInfo.id">
<template #title><icon icon="ep:setting"/>项目配置</template>
</el-menu-item>
<el-menu-item :index="'/xm/project/view/product?projectId='+projectInfo.id">
<template #title><icon icon="fa:product-hunt"/>关联产品</template>
</el-menu-item>
<el-menu-item :index="'/xm/project/view/env?projectId='+projectInfo.id">
<template #title><icon icon="ep:setting"/>环境清单</template>
</el-menu-item>
</el-sub-menu>
<el-menu-item :index="'/'">
<template #title><icon icon="fa:home"/></template>
</el-menu-item>
<el-menu-item>
<Screenfull class="custom-hover" color="var(--top-header-text-color)"/>
<Screenfull/>
</el-menu-item>
</el-menu>
@@ -213,9 +213,14 @@ export default {
<style rel="stylesheet/scss" lang="scss" scoped>
.menus {
.el-menu-item {
padding-left: 0px !important;
padding-right: 0px !important;
.el-menu-item {
padding-left: 10px !important;
padding-right: 10px !important;
}
}
.menus {
.el-sub-menu{
width:110px;
}
}
/* 超过宽度则用...代替 */