From 7af22ef4113483c5e8442762218199d84243b0dc Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 07 Aug 2025 09:33:05 +0800
Subject: [PATCH] feat:附件管理下拉查询
---
src/views/odm/task.vue | 52 +++++++++++++++++++++++++---------------------------
1 files changed, 25 insertions(+), 27 deletions(-)
diff --git a/src/views/odm/task.vue b/src/views/odm/task.vue
index aa0eaa0..31ab3a6 100644
--- a/src/views/odm/task.vue
+++ b/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}, () => {});
+ }
},
],
},
--
Gitblit v1.9.3