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/HrManage/work-handover/index.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/views/officeProcessAutomation/HrManage/work-handover/index.vue b/src/views/officeProcessAutomation/HrManage/work-handover/index.vue
index 9078e97..a9b96ae 100644
--- a/src/views/officeProcessAutomation/HrManage/work-handover/index.vue
+++ b/src/views/officeProcessAutomation/HrManage/work-handover/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-select
v-model="searchForm.applicantId"
filterable
@@ -21,14 +29,6 @@
:label="userSelectLabel(u)"
:value="u.userId"
/>
- </el-select>
- <span class="search_title" style="margin-left: 12px">浜ゆ帴鐘舵�侊細</span>
- <el-select v-model="searchForm.handoverStatus" placeholder="鍏ㄩ儴" clearable style="width: 140px">
- <el-option v-for="o in handoverStatusOptions" :key="o.value" :label="o.label" :value="o.value" />
- </el-select>
- <span class="search_title" style="margin-left: 12px">浜ゆ帴绫诲瀷锛�</span>
- <el-select v-model="searchForm.handoverType" placeholder="鍏ㄩ儴" clearable style="width: 140px">
- <el-option v-for="o in handoverTypeOptions" :key="o.value" :label="o.label" :value="o.value" />
</el-select>
<el-button type="primary" style="margin-left: 10px" @click="onSearch">鎼滅储</el-button>
<el-button @click="resetSearch">閲嶇疆</el-button>
@@ -105,9 +105,8 @@
];
const searchForm = reactive({
+ instanceNo: "",
applicantId: "",
- handoverStatus: "",
- handoverType: "",
});
const mod = useApprovalInstanceModule({
@@ -200,16 +199,17 @@
}
}
-const tableColumn = buildInstanceTableColumns(tableData, buildTableActions);
+const tableColumn = buildInstanceTableColumns(tableData, buildTableActions, {
+ moduleKey: APPROVAL_MODULE_KEYS.WORK_HANDOVER,
+});
function onSearch() {
handleQuery(searchForm);
}
async function resetSearch() {
+ searchForm.instanceNo = "";
searchForm.applicantId = "";
- searchForm.handoverStatus = "";
- searchForm.handoverType = "";
onSearch();
await remoteSearchApplicant("");
}
--
Gitblit v1.9.3