菜单调整

This commit is contained in:
bb_pan 2026-01-26 19:41:32 +08:00
parent c8de8e973d
commit b7597e8f8a
26 changed files with 115 additions and 3124 deletions

View File

@ -60,7 +60,7 @@ export default {
props: { props: {
columns: { columns: {
type: Array, type: Array,
required: true, default: () => [],
}, },
gutter: { gutter: {
type: Number, type: Number,
@ -94,9 +94,10 @@ export default {
immediate: true, immediate: true,
deep: true, deep: true,
handler(val) { handler(val) {
// transfer const safeCols = Array.isArray(val) ? val : []
this.innerColumns = val.map((c) => ({ ...c }))
this.backupColumns = val.map((c) => ({ ...c })) this.innerColumns = safeCols.map((c) => ({ ...c }))
this.backupColumns = safeCols.map((c) => ({ ...c }))
}, },
}, },
}, },

View File

@ -2,7 +2,12 @@
<div> <div>
<div class="navbar"> <div class="navbar">
<div class="app-title"> <div class="app-title">
<img src="@/assets/images/logo-home.png" style="width: 135px; height: 27px" alt="" /> <img
src="@/assets/images/logo-home.png"
style="width: 135px; height: 27px; cursor: pointer"
alt=""
@click="goHome"
/>
</div> </div>
<div class="menus" @mouseleave="handleMenuLeave"> <div class="menus" @mouseleave="handleMenuLeave">
@ -47,7 +52,7 @@
/> />
</div> </div>
<div class="right-menu-item hover-effect bar-item" @click="goCollection"> <div class="right-menu-item hover-effect bar-item">
<span class="bar-text">收藏</span> <span class="bar-text">收藏</span>
</div> </div>
@ -182,54 +187,49 @@
<!-- 列表区域 --> <!-- 列表区域 -->
<div class="user-list"> <div class="user-list">
<div class="user-item"> <div class="user-item">
<!-- <i class="el-icon-mobile-phone" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-mobile-phone" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/phone.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>手机号</span> <span>手机号</span>
<span class="right">138****8251</span> <span class="right">138****8251</span>
</div> </div>
<div class="user-item"> <div class="user-item">
<!-- <i class="el-icon-lock" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-lock" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/changePwd.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>修改密码</span> <span>修改密码</span>
</div> </div>
<div class="user-item"> <div class="user-item">
<!-- <i class="el-icon-house" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-house" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/setHome.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>设置默认首页</span> <span>设置默认首页</span>
</div> </div>
<div class="user-item" @click="downloadUserManual"> <div class="user-item" @click="downloadUserManual">
<!-- <i class="el-icon-download" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-download" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/download.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>操作手册下载</span> <span>操作手册下载</span>
</div> </div>
<div class="user-item"> <div class="user-item">
<!-- <i class="el-icon-t-shirt" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-t-shirt" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/changeSkin.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>一键换肤</span> <span>一键换肤</span>
</div> </div>
<div class="user-item" @click="clearCacheSimple"> <div class="user-item" @click="clearCacheSimple">
<!-- <i class="el-icon-delete" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-delete" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/claer.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>清除缓存</span> <span>清除缓存</span>
</div> </div>
<div class="user-item"> <div class="user-item">
<!-- <i class="el-icon-data-analysis" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-data-analysis" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/testSpeed.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>测试网络速度</span> <span>测试网络速度</span>
</div> </div>
<div class="user-item" @click="gotoFeedback"> <div class="user-item" @click="gotoFeedback">
<!-- <i class="el-icon-edit-outline" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-edit-outline" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/feedback.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>意见反馈/闭环</span> <span>意见反馈/闭环</span>
</div> </div>
<div class="user-item" @click="showContactDialog"> <div class="user-item" @click="showContactDialog">
<!-- <i class="el-icon-phone-outline" style="font-size: 19px; color: #000"></i> --> <i class="el-icon-phone-outline" style="font-size: 19px; color: #000"></i>
<img src="../../assets/images/sysIcon/contact.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/>
<span>联系我们</span> <span>联系我们</span>
</div> </div>
<div class="user-item logout" @click="logout"> <div class="user-item logout" @click="logout">
<!-- <i class="el-icon-refresh-left" style="font-size: 19px; color: #000;"></i> --> <!-- <i class="el-icon-refresh-left" style="font-size: 19px; color: #000;"></i> -->
<img src="../../assets/images/sysIcon/loginOutIcon.png" style="width: 23px; height: 23px; margin-right: 4px;" alt=""/> <img
src="../../assets/images/loginOutIcon.png"
style="width: 16px; height: 16px; margin-right: 10px"
alt=""
/>
<span>退出</span> <span>退出</span>
</div> </div>
</div> </div>
@ -254,13 +254,14 @@
<div class="menu-box" v-show="showMenuBox" @mouseenter="handleBoxEnter"> <div class="menu-box" v-show="showMenuBox" @mouseenter="handleBoxEnter">
<div class="menu-warp" @mouseleave="handleBoxLeave"> <div class="menu-warp" @mouseleave="handleBoxLeave">
<div class="menu-list"> <div class="menu-list">
<div class="list-box"> <div class="list-box" v-for="(item, i) in currentMenu.children || []" :key="i" v-if="!item.hidden">
<div class="menu-title-top" v-if="currentMenu && currentMenu.meta"> <div class="menu-title-top" v-if="currentMenu && currentMenu.meta">
<div class="title-tip"></div> <div class="title-tip"></div>
<span class="title-text">{{ currentMenu.meta.title }}</span> <span class="title-text">{{ item.meta.title }}</span>
</div> </div>
<div v-for="(child, i) in currentMenu.children || []" :key="i" class="sub-menu-item" v-if="!child.hidden"> <!-- <div v-for="(child, i) in currentMenu.children || []" :key="i" class="sub-menu-item" v-if="!child.hidden"> -->
<div class="sub-menu-item" v-for="(child, i) in item.children" :key="i" v-if="!child.hidden">
<div v-if="child.children && child.children.length"> <div v-if="child.children && child.children.length">
<div class="menu-title" @click="toggleLevel1(child)"> <div class="menu-title" @click="toggleLevel1(child)">
<div class="children-title-tip"></div> <div class="children-title-tip"></div>
@ -273,7 +274,7 @@
/> />
<img v-else src="@/assets/images/down.png" style="width: 14px; height: 14px" /> <img v-else src="@/assets/images/down.png" style="width: 14px; height: 14px" />
</span> </span>
<span class="menu-star"> <span class="menu-star" v-if="!child.children.length">
<img src="@/assets/images/star.png" style="width: 10px; height: 9px" /> <img src="@/assets/images/star.png" style="width: 10px; height: 9px" />
</span> </span>
</div> </div>
@ -330,47 +331,6 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 收藏菜单 -->
<el-drawer :withHeader="false" size="20%" :show-close="false" :visible.sync="drawerShow" :direction="rtl" class="custom-drawer">
<div class="myCollect-box">
<div class="myCollect-box-title">
<div style="font-size: 20px;color: #333943;font-weight: 600;">我的收藏</div>
<div style="color: #666;cursor: pointer;font-size: 16px;" v-if="!isEdit" @click="isEdit=true">编辑</div>
<div style="color: #33c2ac;cursor: pointer;font-size: 16px;font-weight: 600;" v-if="isEdit" @click="isEdit=false">确定</div>
</div>
<div class="myCollect-box-zhineng">
<div class="myCollect-box-zhineng-title">职能菜单</div>
<div style="width: 100%;overflow-y: auto;max-height: 340px;">
<div v-for="(item,index) in zhinengList" :key="index" class="myCollect-box-zhineng-item" :class="{ itemActive: isHover==index }" @mouseover="isHover=index" @mouseleave="isHover = -1">
<div style="display: flex;align-items: center;" @click="gotoPage(item)"><img src="../../assets/images/catchIcon.png" style="width: 16px;height: 16px;margin-right: 5px;" alt=""> <span>{{ item.name }}</span> </div>
<div style="color: #33c2ac;" v-show="isEdit==true">取消</div>
</div>
<div style="width: 100%;display: flex;align-items: center;justify-content: center;" v-if="zhinengList.length==0">
<div>
<img src="../../assets/images/noData.png" style="width: 170px;height: 170px;" alt="">
<div style="width: 100%;text-align: center;font-size: 18px;color: #999;">暂无数据</div>
</div>
</div>
</div>
</div>
<div class="myCollect-box-zhineng">
<div class="myCollect-box-zhineng-title">项目菜单</div>
<div style="width: 100%;overflow-y: auto;max-height: 340px;">
<div v-for="(item,index) in xiangmuList" :key="index" class="myCollect-box-zhineng-item" :class="{ itemActive: isHover2==index }" @mouseover="isHover2=index" @mouseleave="isHover2 = -1">
<div style="display: flex;align-items: center;"><img src="../../assets/images/catchIcon.png" style="width: 16px;height: 16px;margin-right: 5px;" alt=""> <span>{{ item.name }}</span> </div>
<div style="color: #33c2ac;" v-show="isEdit==true">取消</div>
</div>
<div style="width: 100%;display: flex;align-items: center;justify-content: center;" v-if="xiangmuList.length==0">
<div>
<img src="../../assets/images/noData.png" style="width: 170px;height: 170px;" alt="">
<div style="width: 100%;text-align: center;font-size: 18px;color: #999;">暂无数据</div>
</div>
</div>
</div>
</div>
</div>
</el-drawer>
<el-dialog <el-dialog
:visible.sync="contactDialogVisible" :visible.sync="contactDialogVisible"
@ -404,7 +364,6 @@
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import Search from '@/components/HeaderSearch' import Search from '@/components/HeaderSearch'
import { getUserProfile } from '@/api/system/user' import { getUserProfile } from '@/api/system/user'
import { color } from 'echarts';
export default { export default {
components: { Search }, components: { Search },
@ -457,14 +416,8 @@ export default {
desc: '您有5条待办事项未处理预计截止时间2026-01-30', desc: '您有5条待办事项未处理预计截止时间2026-01-30',
}, },
], ],
contactDialogVisible: false, // contactDialogVisible: false, //
contactPhone: '田经理15212781264刘经理19855530627', // contactPhone: '田经理15212781264刘经理19855530627', //
drawerShow:false,
isEdit:false,
isHover:-1,
isHover2:-1,
zhinengList:[],//{name:"",url:'/all/stockManagement/entryApply'},{name:"",url:'/all/business/outbound/addApply'}
xiangmuList:[],
} }
}, },
computed: { computed: {
@ -488,6 +441,9 @@ export default {
console.log('🚀 ~ this.menuList:', this.menuList) console.log('🚀 ~ this.menuList:', this.menuList)
}, },
methods: { methods: {
goHome() {
this.$router.push({ path: '/' })
},
goWarningDetail(item) { goWarningDetail(item) {
this.$refs.warningPopover.doClose() // this.$refs.warningPopover.doClose() //
// this.$router.push({ path: '/warning/detail', query: { id: item.id } }); // this.$router.push({ path: '/warning/detail', query: { id: item.id } });
@ -501,15 +457,6 @@ export default {
goTodo() { goTodo() {
// this.$router.push({ path: '/todo' }) // // this.$router.push({ path: '/todo' }) //
}, },
goCollection(){
this.isEdit=false
this.drawerShow=true
},
gotoPage(item){
this.drawerShow=false
this.isEdit=false
this.$router.push({ path: item.url })
},
goMessageDetail(item) { goMessageDetail(item) {
this.$refs.messagePopover.doClose() // this.$refs.messagePopover.doClose() //
// this.$router.push({ path: '/message/detail', query: { id: item.id } }); // // this.$router.push({ path: '/message/detail', query: { id: item.id } }); //
@ -596,12 +543,19 @@ export default {
const level1 = [] const level1 = []
const level2 = [] const level2 = []
children.forEach((l1) => { children.forEach((item) => {
if (l1.children && l1.children.length) { if (item.children && item.children.length) {
level1.push(l1.path) // 👉 child openLevel1
l1.children.forEach((l2) => { item.children.forEach((child) => {
if (l2.children && l2.children.length) { if (child.children && child.children.length) {
level2.push(l2.path) level1.push(child.path)
// 👉 c2 openLevel2
child.children.forEach((c2) => {
if (c2.children && c2.children.length) {
level2.push(c2.path)
}
})
} }
}) })
} }
@ -638,47 +592,6 @@ export default {
}, },
} }
</script> </script>
<style lang="scss" scoped>
.custom-drawer{
::v-deep.el-drawer.rtl{
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
}
.myCollect-box{
width: 100%;height: 100%;background: #FAFAFA;overflow-y: auto;
}
.myCollect-box-title{
width: 100%;height: 66px;display: flex;align-items: center;padding:0 20px;justify-content: space-between;background: #FFF;margin-bottom: 10px;
}
.myCollect-box-zhineng{
padding: 16px;
margin-bottom: 10px;
background-color: #fff;
}
.myCollect-box-zhineng-title{
font-size: 18px;
color: #333;
font-weight: 600;
text-align: left;
margin-bottom: 10px;
}
.myCollect-box-zhineng-item{
padding: 8px 5px;
cursor: pointer;
display: flex;
border-radius: 5px;
justify-content: space-between;
color: #000;
font-size: 12px;
}
.itemActive{
background-color: #e8f8f6;
color: #33c2ac;
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.navbar { .navbar {
@ -849,21 +762,29 @@ export default {
min-height: 287px; min-height: 287px;
background: #f8fdfc; background: #f8fdfc;
border-radius: 16px; border-radius: 16px;
// font-family: Microsoft YaHei, Microsoft YaHei;
font-weight: 400; display: grid;
font-size: 16px;
color: #095a4d; /* 关键:一行 6 等分,自动沾满容器 */
line-height: 30px; grid-template-columns: repeat(6, 1fr);
/* 横向 & 纵向间距完全一致 */
column-gap: 16px;
row-gap: 16px;
.list-box { .list-box {
/* Grid 下不需要再算宽度 */
width: 100%;
min-width: 0;
padding: 16px; padding: 16px;
width: 290px;
height: 100%; height: 100%;
// background: linear-gradient(0deg, rgba(44, 186, 178, 0) 0%, rgba(44, 186, 178, 0.1) 100%);
background: linear-gradient(180deg, #e6ffff, rgba(233, 255, 255, 0) 90px); background: linear-gradient(180deg, #e6ffff, rgba(233, 255, 255, 0) 90px);
border-radius: 12px; border-radius: 12px;
} }
} }
.menu-title-top { .menu-title-top {
width: 100%; width: 100%;
display: flex; display: flex;

View File

@ -474,14 +474,14 @@ export default {
if (approvalRes && approvalRes.data) { if (approvalRes && approvalRes.data) {
this.$modal.msgSuccess('申请已提交,请等待审批') this.$modal.msgSuccess('申请已提交,请等待审批')
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger' path: '/equipment/manage/equipment-ledger'
}) })
} }
} catch (error) { } catch (error) {
console.error('查询审批实例失败:', error) console.error('查询审批实例失败:', error)
this.$modal.msgSuccess('申请已提交,请等待审批') this.$modal.msgSuccess('申请已提交,请等待审批')
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger' path: '/equipment/manage/equipment-ledger'
}) })
} }
} else { } else {

View File

@ -301,7 +301,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/business/EquipmentRetireApply/EquipmentRetireApply' }) this.$router.push({ path: '/all/business/EquipmentRetireApply/EquipmentRetireApply' })
}, },
async getAuditDetail() { async getAuditDetail() {
const id = this.$route.query.id const id = this.$route.query.id

View File

@ -175,7 +175,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/business/EquipmentRetireApply/equipment/retire-apply' }) this.$router.push({ path: '/all/business/EquipmentRetireApply/equipment/retire-apply' })
}, },
async getInfo() { async getInfo() {
try { try {

View File

@ -444,7 +444,7 @@ export default {
}, },
handleBack() { handleBack() {
this.$router.push({ path: '/business/outbound/index' }) this.$router.push({ path: '/all/business/outbound/index' })
}, },
handleOutAll() { handleOutAll() {

View File

@ -476,7 +476,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/business/outbound/applyList' }) this.$router.push({ path: '/all/business/outbound/addApply' })
}, },
// 使 // 使
async getUseProjectList() { async getUseProjectList() {

View File

@ -369,7 +369,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/business/outbound/auditList' }) this.$router.push({ path: '/all/business/outbound/auditList' })
}, },
// 使 // 使
async getUseProjectList() { async getUseProjectList() {

View File

@ -284,7 +284,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/business/outbound/index' }) this.$router.push({ path: '/all/business/outbound/index' })
}, },
// //
handleOutNumInput(row) { handleOutNumInput(row) {
@ -439,7 +439,7 @@ export default {
}, },
handleBack() { handleBack() {
this.$router.push({ path: '/business/outbound/index' }) this.$router.push({ path: '/all/business/outbound/index' })
}, },
handleOutAll() { handleOutAll() {

View File

@ -375,7 +375,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/business/warehouse/auditList' }) this.$router.push({ path: '/all/business/warehouse/auditList' })
}, },
// 使 // 使
async getUseProjectList() { async getUseProjectList() {
@ -520,7 +520,7 @@ export default {
}, },
handleBack() { handleBack() {
this.$router.push({ path: '/business/warehouse/auditList' }) this.$router.push({ path: '/all/business/warehouse/auditList' })
}, },
handleCancel() { handleCancel() {

View File

@ -317,7 +317,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/business/warehouse/index' }) this.$router.push({ path: '/all/business/warehouse/index' })
}, },
getDeptTreeSelect() { getDeptTreeSelect() {
deptTreeSelect().then((res) => { deptTreeSelect().then((res) => {

View File

@ -290,7 +290,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/equipmentRepair/repairList' }) this.$router.push({ path: '/all/equipmentRepair/repairList' })
}, },
// 退 // 退
// 退 // 退

View File

@ -264,7 +264,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/equipmentRepair/repairAuditList' }) this.$router.push({ path: '/all/equipmentRepair/repairAuditList' })
}, },
async loadApprovalInfo() { async loadApprovalInfo() {
try { try {

View File

@ -248,7 +248,7 @@ export default {
equipTotal: rowData.maNum equipTotal: rowData.maNum
}); });
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger', path: '/equipment/manage/equipment-ledger',
// query: { company: rowData.companyName, total: rowData.maNum }, // query: { company: rowData.companyName, total: rowData.maNum },
query: { parentId: rowData.parentId, deptId: rowData.companyId } query: { parentId: rowData.parentId, deptId: rowData.companyId }
}); });
@ -257,12 +257,12 @@ export default {
toolTotal: rowData.toolNum toolTotal: rowData.toolNum
}); });
this.$router.push({ this.$router.push({
path: '/equipment/codeToolsLedger', path: '/equipment/manage/tools/codeToolsLedger',
query: { parentId: rowData.parentId, deptId: rowData.companyId } query: { parentId: rowData.parentId, deptId: rowData.companyId }
}); });
} else if (type === 'toolNum') { } else if (type === 'toolNum') {
this.$router.push({ this.$router.push({
path: '/equipment/toolsLedger', path: '/equipment/manage/tools/toolsLedger',
query: { parentId: rowData.parentId, deptId: rowData.companyId } query: { parentId: rowData.parentId, deptId: rowData.companyId }
}); });
} }

View File

@ -366,7 +366,7 @@ export default {
console.log('🚀 ~ initChart ~ params.data-->>:', params.data) console.log('🚀 ~ initChart ~ params.data-->>:', params.data)
if (!params.data) return if (!params.data) return
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger', path: '/equipment/manage/equipment-ledger',
query: { query: {
parentId: params.data.parentId, parentId: params.data.parentId,
deptId: params.data.deptId, deptId: params.data.deptId,

File diff suppressed because one or more lines are too long

View File

@ -2655,83 +2655,79 @@ export default {
// 线线 // 线线
if (nodeId === 'equipmentLedger') { if (nodeId === 'equipmentLedger') {
// //
this.$router.push({ path: '/equipment/equipment-ledger' }) this.$router.push({ path: '/equipment/manage/equipment-ledger' })
} else if (nodeId === 'equipmentShelf') {
this.$router.push({ path: '/equipment/equipment-ledger' })
} else if (nodeId === 'equipmentRepair') { } else if (nodeId === 'equipmentRepair') {
// //
this.$router.push({ path: '/equipmentRepair/repairList' }) this.$router.push({ path: '/all/equipmentRepair/repairList' })
} else if (nodeId === 'equipmentEntry') { } else if (nodeId === 'equipmentEntry') {
// //
this.$router.push({ path: '/equipment/equipment-entry-apply' }) this.$router.push({ path: '/equipment/equipment-entry-apply' })
} else if (nodeId === 'entryAudit') { } else if (nodeId === 'entryAudit') {
// //
this.$router.push({ path: '/equipment/equipment-entry-approval' }) this.$router.push({ path: '/equipment/equipment-entry-approval' })
} else if (nodeId === 'equipmentOffShelf') {
this.$router.push({ path: '/equipment/equipment-ledger' })
} else if (nodeId === 'selfUseOut') { } else if (nodeId === 'selfUseOut') {
this.$router.push({ path: '/equipment/euq-out' }) this.$router.push({ path: '/equipment/euq-out' })
} else if (nodeId === 'retire-apply') { } else if (nodeId === 'retire-apply') {
// 退 // 退
this.$router.push({ path: '/business/EquipmentRetireApply/equipment/retire-apply' }) this.$router.push({ path: '/all/business/EquipmentRetireApply/equipment/retire-apply' })
} else if (nodeId === 'equipmentReturn' || nodeId === 'shareReturn') { } else if (nodeId === 'equipmentReturn' || nodeId === 'shareReturn') {
this.$router.push({ path: '/equipment/equ-repair' }) this.$router.push({ path: '/equipment/equ-repair' })
} else if (nodeId === 'rentalHall') { } else if (nodeId === 'rentalHall') {
// //
this.$router.push({ path: '/equipmentShared/MallIframe' }) this.$router.push({ path: '/equipmentShared/app/MallIframe' })
} else if (nodeId === 'shareOut') { } else if (nodeId === 'shareOut') {
// //
this.$router.push({ path: '/equipmentShared/order/equipment-shared-lessor' }) this.$router.push({ path: '/equipmentShared/app/order/equipment-shared-lessor' })
} else if (nodeId === 'equStore') { } else if (nodeId === 'equStore') {
this.$router.push({ path: '/equipment/equStore' }) this.$router.push({ path: '/equipment/equStore' })
} else if (nodeId === 'sharedLessor') { } else if (nodeId === 'sharedLessor') {
// //
this.$router.push({ path: '/equipmentShared/order/equipment-shared-order' }) this.$router.push({ path: '/equipmentShared/app/order/equipment-shared-order' })
} else if (nodeId === 'warehouse') { } else if (nodeId === 'warehouse') {
// 退 // 退
this.$router.push({ path: '/business/warehouse/index' }) this.$router.push({ path: '/all/business/warehouse/index' })
} else if (nodeId === 'outbound') { } else if (nodeId === 'outbound') {
// //
this.$router.push({ path: '/business/outbound/index' }) this.$router.push({ path: '/all/business/outbound/index' })
} else if (nodeId === 'toolsLedger') { } else if (nodeId === 'toolsLedger') {
// //
this.$router.push({ path: '/equipment/toolsLedger' }) this.$router.push({ path: '/equipment/manage/tools/toolsLedger' })
} else if (nodeId === 'equipmen') { } else if (nodeId === 'equipmen') {
// //
this.$router.push({ path: '/equipmentShared/euqipmentUpOrDown/equipmen' }) this.$router.push({ path: '/equipmentShared/shareManage/euqipmentUpOrDown/equipmen' })
} else if (nodeId === 'tool') { } else if (nodeId === 'tool') {
// //
this.$router.push({ path: '/equipmentShared/euqipmentUpOrDown/tool' }) this.$router.push({ path: '/equipmentShared/shareManage/euqipmentUpOrDown/tool' })
} else if (nodeId === 'auditList') { } else if (nodeId === 'auditList') {
// //
this.$router.push({ path: '/business/outbound/auditList' }) this.$router.push({ path: '/all/business/outbound/auditList' })
} else if (nodeId === 'applyList') { } else if (nodeId === 'applyList') {
// //
this.$router.push({ path: '/business/outbound/applyList' }) this.$router.push({ path: '/all/business/outbound/addApply' })
} else if (nodeId === 'approveList') { } else if (nodeId === 'approveList') {
// //
this.$router.push({ path: '/toolsManage/approveList' }) this.$router.push({ path: '/toolsManage/approveList' })
} else if (nodeId === 'EquipmentRetireApply') { } else if (nodeId === 'EquipmentRetireApply') {
// 退 // 退
this.$router.push({ path: '/business/EquipmentRetireApply/EquipmentRetireApply' }) this.$router.push({ path: '/all/business/EquipmentRetireApply/EquipmentRetireApply' })
} else if (nodeId === 'repairAuditList') { } else if (nodeId === 'repairAuditList') {
// //
this.$router.push({ path: '/equipmentRepair/repairAuditList' }) this.$router.push({ path: '/all/equipmentRepair/repairAuditList' })
} else if (nodeId === 'warehouse-auditList') { } else if (nodeId === 'warehouse-auditList') {
// 退 // 退
this.$router.push({ path: '/business/warehouse/auditList' }) this.$router.push({ path: '/all/business/warehouse/auditList' })
} else if (nodeId === 'applicantList') { } else if (nodeId === 'applicantList') {
// //
this.$router.push({ path: '/toolsManage/applicantList' }) this.$router.push({ path: '/toolsManage/applicantList' })
} else if (nodeId === 'codeToolsLedger') { } else if (nodeId === 'codeToolsLedger') {
// //
this.$router.push({ path: '/equipment/codeToolsLedger'}) this.$router.push({ path: '/equipment/manage/tools/codeToolsLedger'})
} else if (nodeId === 'inventoryAudit') { } else if (nodeId === 'inventoryAudit') {
// //
this.$router.push({ path: '/stockManagement/inventoryAudit' }) this.$router.push({ path: '/all/stockManagement/inventoryAudit' })
} else if (nodeId == 'entryApply') { } else if (nodeId == 'entryApply') {
// //
this.$router.push({ path: '/stockManagement/entryApply'}) this.$router.push({ path: '/all/stockManagement/entryApply'})
} }
}, },
}, },

View File

@ -416,7 +416,7 @@ export default {
console.log('🚀 ~ initChart ~ params.data-->>:', params.data) console.log('🚀 ~ initChart ~ params.data-->>:', params.data)
if (!params.data) return if (!params.data) return
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger', path: '/equipment/manage/equipment-ledger',
query: { query: {
parentId: params.data.parentId, parentId: params.data.parentId,
deptId: params.data.deptId, deptId: params.data.deptId,

View File

@ -423,7 +423,7 @@ export default {
console.log('🚀 ~ initChart ~ params.data-->>:', params.data) console.log('🚀 ~ initChart ~ params.data-->>:', params.data)
if (!params.data) return if (!params.data) return
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger', path: '/equipment/manage/equipment-ledger',
query: { query: {
parentId: params.data.parentId, parentId: params.data.parentId,
deptId: params.data.deptId, deptId: params.data.deptId,

View File

@ -416,7 +416,7 @@ export default {
console.log('🚀 ~ initChart ~ params.data-->>:', params.data) console.log('🚀 ~ initChart ~ params.data-->>:', params.data)
if (!params.data) return if (!params.data) return
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger', path: '/equipment/manage/equipment-ledger',
query: { query: {
parentId: params.data.parentId, parentId: params.data.parentId,
deptId: params.data.deptId, deptId: params.data.deptId,

View File

@ -423,7 +423,7 @@ export default {
console.log('🚀 ~ initChart ~ params.data-->>:', params.data) console.log('🚀 ~ initChart ~ params.data-->>:', params.data)
if (!params.data) return if (!params.data) return
this.$router.push({ this.$router.push({
path: '/equipment/equipment-ledger', path: '/equipment/manage/equipment-ledger',
query: { query: {
parentId: params.data.parentId, parentId: params.data.parentId,
deptId: params.data.deptId, deptId: params.data.deptId,

View File

@ -48,7 +48,7 @@ export default {
}, },
methods: { methods: {
goBack() { goBack() {
this.$router.push({ path: '/stockManagement/entryApply' }).then(() => { this.$router.push({ path: '/all/stockManagement/entryApply' }).then(() => {
this.$tab.closePage({ path: '/stockManagement/entryApply/apply' }) this.$tab.closePage({ path: '/stockManagement/entryApply/apply' })
}) })
}, },

View File

@ -1051,7 +1051,7 @@ export default {
// //
goBack() { goBack() {
// this.$router.go(-1) // this.$router.go(-1)
this.$router.push({ path: '/stockManagement/entryApply' }) this.$router.push({ path: '/all/stockManagement/entryApply' })
}, },
async approval(row, status) { async approval(row, status) {
equipmentPassAndRejectApiNew({ devIds: row.maId, status: status, id: this.orderId }).then((res) => { equipmentPassAndRejectApiNew({ devIds: row.maId, status: status, id: this.orderId }).then((res) => {

View File

@ -223,7 +223,7 @@ export default {
query: { isAddVisible: false, isApprovalVisible: false } query: { isAddVisible: false, isApprovalVisible: false }
}) })
.then(() => { .then(() => {
this.$tab.closePage({ path: '/stockManagement/entryApply' }) this.$tab.closePage({ path: '/all/stockManagement/entryApply' })
}) })
}, },
// //
@ -241,7 +241,7 @@ export default {
} }
}) })
.then(() => { .then(() => {
this.$tab.closePage({ path: '/stockManagement/entryApply' }) this.$tab.closePage({ path: '/all/stockManagement/entryApply' })
}) })
}, },
// //

View File

@ -217,7 +217,7 @@ export default {
}, },
}) })
.then(() => { .then(() => {
this.$tab.closePage({ path: '/stockManagement/entryApply' }) this.$tab.closePage({ path: '/all/stockManagement/entryApply' })
}) })
}, },
// //

View File

@ -33,7 +33,7 @@
<el-row :gutter="10" class="mb8" style="padding: 10px 20px;margin-bottom: 15px;border-bottom: 1px solid #F0F0F0;"> <el-row :gutter="10" class="mb8" style="padding: 10px 20px;margin-bottom: 15px;border-bottom: 1px solid #F0F0F0;">
<el-col :span="6" style="display: flex;align-items: center;"> <el-col :span="6" style="display: flex;align-items: center;">
<span style="font-size: 20px; font-weight: 800;margin-right: 48px;">菜单管理列表</span> <span style="font-size: 20px; font-weight: 800;margin-right: 48px;">菜单管理列表</span>
<span style="font-size: 16px;color: #808080;">{{total}}条记录</span> <!-- <span style="font-size: 16px;color: #808080;">{{total}}条记录</span> -->
</el-col> </el-col>
<el-col :span="18" style="display: flex; justify-content: flex-end"> <el-col :span="18" style="display: flex; justify-content: flex-end">
<div class="action-bar"> <div class="action-bar">