Commit 5d79b3d8 by pangchong

feat: 海技值班

parent 1c0686af
...@@ -77,12 +77,12 @@ const handleLogin = async () => { ...@@ -77,12 +77,12 @@ const handleLogin = async () => {
await login() await login()
if (userStore.token) { if (userStore.token) {
//加入席位权限 //加入席位权限
await getUserSeatList() // await getUserSeatList()
if (userStore.seatId) { // if (userStore.seatId) {
await Promise.all([getSeatPermission(), getConfigData()]) // await Promise.all([getSeatPermission(), getConfigData()])
} else { // } else {
userStore.setState('seatPermission', []) // userStore.setState('seatPermission', [])
} // }
//跳转工作台 //跳转工作台
uni.$mocpJump.redirectTo('/tab/index') uni.$mocpJump.redirectTo('/tab/index')
} }
......
...@@ -104,6 +104,16 @@ export const menuList = ref([ ...@@ -104,6 +104,16 @@ export const menuList = ref([
url: '/panel/windDamageManagement/list', url: '/panel/windDamageManagement/list',
apiPath: '/windDamageWorkInspection' apiPath: '/windDamageWorkInspection'
}, },
{
id: 'hjzb',
name: '海技值班',
icon: 'hjzb',
group: '维修控制',
default: false,
count: 0,
url: '/panel/dutyLog/list',
apiPath: '/dutyLog'
},
// 技术支援 // 技术支援
{ {
id: 'jdzt', id: 'jdzt',
...@@ -238,15 +248,5 @@ export const menuList = ref([ ...@@ -238,15 +248,5 @@ export const menuList = ref([
count: 0, count: 0,
url: '/panel/unplanApply/list', url: '/panel/unplanApply/list',
apiPath: '/noplan' 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