| | |
| | | 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 |
| | |
| | | }) |
| | | } |
| | | } |
| | | |
| | | |
| | | this.fetchTabCounts() // 新增:初始化时获取 tab 数据 |
| | | this.fetchTableData() |
| | |
| | | })) |
| | | |
| | | // 确保算法数据的映射一致 |
| | | 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 = {} |