Commit 5d79b3d8 by pangchong

feat: 海技值班

parent 1c0686af
......@@ -77,12 +77,12 @@ const handleLogin = async () => {
await login()
if (userStore.token) {
//加入席位权限
await getUserSeatList()
if (userStore.seatId) {
await Promise.all([getSeatPermission(), getConfigData()])
} else {
userStore.setState('seatPermission', [])
}
// await getUserSeatList()
// if (userStore.seatId) {
// await Promise.all([getSeatPermission(), getConfigData()])
// } else {
// userStore.setState('seatPermission', [])
// }
//跳转工作台
uni.$mocpJump.redirectTo('/tab/index')
}
......
......@@ -104,6 +104,16 @@ export const menuList = ref([
url: '/panel/windDamageManagement/list',
apiPath: '/windDamageWorkInspection'
},
{
id: 'hjzb',
name: '海技值班',
icon: 'hjzb',
group: '维修控制',
default: false,
count: 0,
url: '/panel/dutyLog/list',
apiPath: '/dutyLog'
},
// 技术支援
{
id: 'jdzt',
......@@ -238,15 +248,5 @@ export const menuList = ref([
count: 0,
url: '/panel/unplanApply/list',
apiPath: '/noplan'
},
{
id: 'hjzb',
name: '海技值班',
icon: 'hjzb',
group: '定检管理',
default: false,
count: 0,
url: '/panel/dutyLog/list',
apiPath: '/dutyLog'
}
])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment