From e52521dc7a3e52cf53e2ab2b4e1c71cfe0b4a10d Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 15 Aug 2025 16:48:28 +0800
Subject: [PATCH] feat:更换接口
---
src/views/job/components/SearchBox.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/views/job/components/SearchBox.vue b/src/views/job/components/SearchBox.vue
index 09e7b3f..89ac36e 100644
--- a/src/views/job/components/SearchBox.vue
+++ b/src/views/job/components/SearchBox.vue
@@ -23,6 +23,7 @@
v-model="searchForm.device_sn"
placeholder="请选择"
clearable
+ @change="handleSearch"
>
<el-option
v-for="item in machineData"
@@ -100,6 +101,7 @@
multiple
collapse-tags
collapse-tags-tooltip
+ @change="handleSearch"
>
<el-option
v-for="item in statusOptions"
@@ -115,6 +117,7 @@
v-model="searchForm.is_circle_job"
placeholder="请选择"
clearable
+ @change="handleSearch"
>
<el-option label="周期任务" :value="1" />
<el-option label="临时任务" :value="0" />
@@ -182,6 +185,7 @@
const algorithmChange = val => {
searchForm.ai_types = val;
+ handleSearch()
};
const businessChange = val => {
@@ -228,6 +232,7 @@
searchForm.create_dept = '';
deptData.value = [];
getDeptsByAreaCode();
+ handleSearch();
};
// 日期 和周期
@@ -273,6 +278,7 @@
const handleDateChange = val => {
checked.value = null
searchForm.date_enum = undefined
+ handleSearch()
};
// 重置
@@ -343,8 +349,10 @@
const dateArray = [date, date];
dateRange.value = dateArray;
+ const find = store.state.tags.bsTagList.find(i => i.path === '/job/jobstatistics')
+ find && (find.query = {})
}
- // 查询一次
+ // 查询一次
handleSearch()
});
</script>
--
Gitblit v1.9.3