无人机管理后台前端(已迁走)
shuishen
2025-05-09 e759e9be9d1fc11a92839b74df315f0126da47dd
事件工单报错调整
1 files modified
6 ■■■■ changed files
src/views/tickets/ticket.vue 6 ●●●● patch | view | raw | blame | history
src/views/tickets/ticket.vue
@@ -692,6 +692,7 @@
    this.fetchDropdownData()
    console.log('permission.tickets_processing_btn', this.permission.tickets_processing_btn)
    console.log('permission', this.permission.tickets_tab_pending)
  },
  mounted () {
    const href = this.$route.href
@@ -708,7 +709,6 @@
        })
      }
    }
    this.fetchTabCounts() // 新增:初始化时获取 tab 数据
    this.fetchTableData()
@@ -986,13 +986,13 @@
        }))
        // 确保算法数据的映射一致
        this.algorithms = ai_type.map(item => ({
        this.algorithms = ai_type?.map(item => ({
          dict_key: item.dict_key,
          dict_value: item.dict_value,
          // 同时添加 label 和 value 以兼容两处使用
          label: item.dict_value,
          value: item.dict_key
        }))
        })) || []
        // 构建用户ID和名称的映射关系
        this.userNameToIdMap = {}