无人机管理后台前端(已迁走)
shuishen
2025-07-09 3fff0060fd2edce32696673f380527319c49d9c5
feat:定时任务、智飞工单内容显示调整
2 files modified
73 ■■■■ changed files
src/option/job/jobinfo.js 7 ●●●●● patch | view | raw | blame | history
src/views/tickets/orderLog.vue 66 ●●●● patch | view | raw | blame | history
src/option/job/jobinfo.js
@@ -145,6 +145,7 @@
      },
      search: true,
      display: false,
      showOverflowTooltip: true,
    },
    {
      label: '任务ID',
@@ -153,6 +154,7 @@
      search: true,
      width: 80,
      display: false,
      showOverflowTooltip: true,
    },
    {
      label: '任务名称',
@@ -161,6 +163,7 @@
      search: true,
      width: 200,
      display: false,
      showOverflowTooltip: true,
    },
    {
      label: '定时信息',
@@ -177,6 +180,7 @@
      ],
      width: 120,
      display: false,
      showOverflowTooltip: true,
    },
    {
      label: '执行类型',
@@ -193,6 +197,7 @@
      ],
      width: 110,
      display: false,
      showOverflowTooltip: true,
    },
    {
      label: '处理器类型',
@@ -209,6 +214,7 @@
      ],
      width: 180,
      display: false,
      showOverflowTooltip: true,
    },
    {
      label: '任务状态',
@@ -219,6 +225,7 @@
      slot: true,
      width: 100,
      display: false,
      showOverflowTooltip: true,
    },
  ],
  group: [
src/views/tickets/orderLog.vue
@@ -573,19 +573,55 @@
        calcHeight: 196,
        column: [
          { label: '工单编号', prop: 'job_info_num', width: 100, ellipsis: true, overHidden: true },
          { label: '工单名称', prop: 'name', width: 100, ellipsis: true, overHidden: true },
          { label: '工单状态', prop: 'status', width: 88 },
          { label: '所属单位', prop: 'dept_name', width: 100, ellipsis: true },
          { label: '发起时间', prop: 'create_time', width: 144, ellipsis: true },
          { label: '已执行次数', prop: 'job_num', width: 96, ellipsis: true },
          { label: '工单内容', prop: 'content', ellipsis: true, overHidden: true },
          { label: '关联航线', prop: 'wayline_name', width: 100, ellipsis: true, overHidden: true },
          { label: '关联算法', prop: 'ai_type_str', width: 100, ellipsis: true, overHidden: true },
          { label: '关联机巢', prop: 'device_names', width: 100, ellipsis: true, overHidden: true },
          {
            label: '工单编号', prop: 'job_info_num', width: 100, ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          {
            label: '工单名称', prop: 'name', width: 100, ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          {
            label: '工单状态', prop: 'status', width: 88,
            showOverflowTooltip: true,
          },
          {
            label: '所属单位', prop: 'dept_name', width: 100, ellipsis: true,
            showOverflowTooltip: true,
          },
          {
            label: '发起时间', prop: 'create_time', width: 144, ellipsis: true,
            showOverflowTooltip: true,
          },
          {
            label: '已执行次数', prop: 'job_num', width: 96, ellipsis: true,
            showOverflowTooltip: true,
          },
          {
            label: '工单内容', prop: 'content', ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          {
            label: '关联航线', prop: 'wayline_name', width: 100, ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          {
            label: '关联算法', prop: 'ai_type_str', width: 100, ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          {
            label: '关联机巢', prop: 'device_names', width: 100, ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          { label: '创建人', prop: 'creator_name', width: 96, ellipsis: true, overHidden: true },
          { label: '关联机巢', prop: 'device_names', width: 112, ellipsis: true, overHidden: true },
          {
            label: '创建人', prop: 'creator_name', width: 96, ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          {
            label: '关联机巢', prop: 'device_names', width: 112, ellipsis: true, overHidden: true,
            showOverflowTooltip: true,
          },
          {
            label: '工单周期频次',
            prop: '',
@@ -593,6 +629,7 @@
            formatter: row => this.formatCycleTime(row),
            html: true,
            ellipsis: true,
            showOverflowTooltip: true,
            // overHidden: true
          },
        ],
@@ -1336,12 +1373,9 @@
    &> ::v-deep(.el-button) {
      flex: 1;
      max-width: 44px;
      margin-left: 0;
      margin-right: 10px;
      &:nth-child(4n) {
        margin-left: 0;
      }
    }
  }
}