Explorar o código

打卡改造修复7807

zhonghuizhen hai 2 semanas
pai
achega
e42661eb0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/system/homepage/index.vue

+ 1 - 1
src/views/system/homepage/index.vue

@@ -830,7 +830,7 @@ export default {
     dakaSingle(selectedValue) {
     dakaSingle(selectedValue) {
       const selectedpaiban = this.ScheduleConfigItem.find(item => item.paiBanLeiXing === selectedValue)
       const selectedpaiban = this.ScheduleConfigItem.find(item => item.paiBanLeiXing === selectedValue)
       const { userId,userInfo } = this.$store.getters || {}
       const { userId,userInfo } = this.$store.getters || {}
-      const buMen = userInfo.mainPosition?.id || ''
+      const buMen = userInfo.mainPosition?.id || userInfo.positions[0]?.id || ''
       const params = {
       const params = {
           "yongHuId": userId,
           "yongHuId": userId,
           "paiBanMingChen": selectedpaiban.peiZhiMingChen,
           "paiBanMingChen": selectedpaiban.peiZhiMingChen,