无人机管理后台前端(已迁走)
shuishen
2025-05-10 bf8c8db50a4a5ba16c2406c25d318bc85bf566d4
事件工单待处理,详情中点击受理后确认派发参数错误处理
1 files modified
15 ■■■■ changed files
src/views/tickets/ticket.vue 15 ●●●● patch | view | raw | blame | history
src/views/tickets/ticket.vue
@@ -593,7 +593,15 @@
          { label: '所属单位', prop: 'department', overHidden: true, tooltip: true },
          { label: '发起时间', prop: 'startTime', width: 160 },
          { label: '关联算法', prop: 'aiType', width: 150, overHidden: true, tooltip: true },
          { label: '工单类型', prop: 'type', width: 130, overHidden: true, tooltip: true },
          {
            label: '工单类型',
            prop: 'type',
            width: 130,
            overHidden: true,
            tooltip: true,
            type: 'select',
            dicData: [],
          },
          {
            label: '工单内容',
            prop: 'content',
@@ -1047,6 +1055,9 @@
          value: key,
        }))
        const columnType = this.findObject(this.option.column, 'type')
        columnType.dicData = this.types
        // 确保算法数据的映射一致
        this.algorithms =
          ai_type?.map(item => ({
@@ -1128,7 +1139,7 @@
            startTime: item.create_time,
            aiType: item.ai_types,
            content: item.content, // 将后端返回的 content 映射为 content
            type: this.types.find(t => t.value === item.work_order_type_dict_key)?.label,
            type: item.work_order_type_dict_key,
            keyData:
              !isNaN(longitude) && !isNaN(latitude)
                ? `${longitude.toFixed(6)}, ${latitude.toFixed(6)}`