From 4ab0be7d4441f378add1f242b168d80fb27e65fe Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 22 五月 2026 17:57:44 +0800
Subject: [PATCH] OA部分查询条件变更
---
src/views/officeProcessAutomation/AttendManage/overtime-apply/index.vue | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/src/views/officeProcessAutomation/AttendManage/overtime-apply/index.vue b/src/views/officeProcessAutomation/AttendManage/overtime-apply/index.vue
index 17303aa..9b3d91e 100644
--- a/src/views/officeProcessAutomation/AttendManage/overtime-apply/index.vue
+++ b/src/views/officeProcessAutomation/AttendManage/overtime-apply/index.vue
@@ -3,7 +3,15 @@
<div class="app-container">
<div class="search_form mb20">
<div>
- <span class="search_title">鐢宠浜猴細</span>
+ <span class="search_title">瀹℃壒鍗曞彿锛�</span>
+ <el-input
+ v-model="searchForm.instanceNo"
+ style="width: 220px"
+ placeholder="璇疯緭鍏ュ鎵瑰崟鍙�"
+ clearable
+ @keyup.enter="onSearch"
+ />
+ <span class="search_title" style="margin-left: 12px">鐢宠浜猴細</span>
<el-input
v-model="searchForm.applicantKeyword"
style="width: 220px"
@@ -12,10 +20,6 @@
:prefix-icon="Search"
@keyup.enter="onSearch"
/>
- <span class="search_title" style="margin-left: 12px">鍔犵彮绫诲瀷锛�</span>
- <el-select v-model="searchForm.overtimeType" placeholder="鍏ㄩ儴" clearable style="width: 180px">
- <el-option v-for="opt in OVERTIME_TYPE_OPTIONS" :key="opt.value" :label="opt.label" :value="opt.value" />
- </el-select>
<el-button type="primary" style="margin-left: 10px" @click="onSearch">鎼滅储</el-button>
<el-button @click="resetSearch">閲嶇疆</el-button>
</div>
@@ -145,8 +149,8 @@
const { proxy } = getCurrentInstance();
const searchForm = reactive({
+ instanceNo: "",
applicantKeyword: "",
- overtimeType: "",
});
const mod = useApprovalInstanceModule({
@@ -192,15 +196,17 @@
}
}
-const tableColumn = buildInstanceTableColumns(tableData, buildTableActions);
+const tableColumn = buildInstanceTableColumns(tableData, buildTableActions, {
+ moduleKey: APPROVAL_MODULE_KEYS.OVERTIME,
+});
function onSearch() {
handleQuery(searchForm);
}
function resetSearch() {
+ searchForm.instanceNo = "";
searchForm.applicantKeyword = "";
- searchForm.overtimeType = "";
onSearch();
}
--
Gitblit v1.9.3