无人机管理后台前端(已迁走)
张含笑
2025-08-07 7af22ef4113483c5e8442762218199d84243b0dc
feat:附件管理下拉查询
2 files modified
55 ■■■■ changed files
src/views/odm/task.vue 52 ●●●● patch | view | raw | blame | history
src/views/resource/attach.vue 3 ●●●●● patch | view | raw | blame | history
src/views/odm/task.vue
@@ -143,7 +143,7 @@
              },
            ],
              change: (value) => {
    this.searchChange({ ...this.query,waylineType:value.value}, () => {});
               this.searchChange({ ...this.query,waylineType:value.value}, () => {});
  }
          },
          {
@@ -171,27 +171,27 @@
            width: 100,
            labelWidth: 130,
          },
{
  label: '任务状态',
  prop: 'status',
  type: 'select',
  search: true,
  searchSpan: 4,
  searchLabelWidth: 100,
  searchPlaceholder: "任务状态",
  width: 90,
  dicData: [
    { label: '待启动', value: 0 },
    { label: '待处理', value: 10 },
    { label: '处理中', value: 20 },
    { label: '失败', value: 30 },
    { label: '已完成', value: 40 },
    { label: '已取消', value: 50 },
  ],
  change: (value) => {
    this.searchChange({ ...this.query,status:value.value}, () => {});
  }
},
          {
            label: '任务状态',
            prop: 'status',
            type: 'select',
            search: true,
            searchSpan: 4,
            searchLabelWidth: 100,
            searchPlaceholder: "任务状态",
            width: 90,
            dicData: [
              { label: '待启动', value: 0 },
              { label: '待处理', value: 10 },
              { label: '处理中', value: 20 },
              { label: '失败', value: 30 },
              { label: '已完成', value: 40 },
              { label: '已取消', value: 50 },
            ],
            change: (value) => {
              this.searchChange({ ...this.query,status:value.value}, () => {});
            }
          },
          {
            label: '任务创建时间',
@@ -217,11 +217,9 @@
            searchLabelWidth: 100,
            //valueFormat: 'YYYY-MM-DD',
            width: 160,
                        change: (value) => {
                        console.log('value',value);
    this.searchChange({ ...this.query,completedTime:value.value}, () => {});
  }
            change: (value) => {
             this.searchChange({ ...this.query,completedTime:value.value}, () => {});
            }
          },
        ],
      },
src/views/resource/attach.vue
@@ -156,6 +156,9 @@
                trigger: 'blur',
              },
            ],
              change: (value) => {
               this.searchChange({ ...this.query,daterange:value.value}, () => {});
            }
          },
        ],
      },