Commit 5169cc67 by pangchong

fix: 布置工作--多个领导人不能批示的修复

parent bdaaa7bc
......@@ -60,7 +60,10 @@ const useAssignWorkStore = defineStore('assignWork', {
//是否领导
isPresenterUser(state) {
const userStore = useUserStore()
return state.details.presenterId == userStore.userInfo.id
if (state.details.presenterId) {
return state.details.presenterId.split(',').includes(userStore.userInfo.id)
}
return false
},
//获取分解计划
getDecompose(state) {
......
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