From a29cb267e67d4cc4d29438e5e3a4bbbb403a1f8b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期二, 07 七月 2026 14:32:18 +0800
Subject: [PATCH] 转正申请,调岗申请,工作交接申请,申请人可以根据配置得选项来源,选择数据
---
src/views/officeProcessAutomation/HrManage/regular-apply/index.vue | 31 +++++++++++++++----------------
1 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/src/views/officeProcessAutomation/HrManage/regular-apply/index.vue b/src/views/officeProcessAutomation/HrManage/regular-apply/index.vue
index ef4a1e8..df70f4f 100644
--- a/src/views/officeProcessAutomation/HrManage/regular-apply/index.vue
+++ b/src/views/officeProcessAutomation/HrManage/regular-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.applicantName"
style="width: 220px"
@@ -11,18 +19,6 @@
clearable
:prefix-icon="Search"
@keyup.enter="onSearch"
- />
- <span class="search_title" style="margin-left: 12px">鐢宠鏃ユ湡锛�</span>
- <el-date-picker
- v-model="searchForm.applyDateRange"
- type="daterange"
- range-separator="鑷�"
- start-placeholder="寮�濮�"
- end-placeholder="缁撴潫"
- format="YYYY-MM-DD"
- value-format="YYYY-MM-DD"
- style="width: 260px"
- clearable
/>
<el-button type="primary" style="margin-left: 10px" @click="onSearch">鎼滅储</el-button>
<el-button @click="resetSearch">閲嶇疆</el-button>
@@ -52,6 +48,7 @@
:fields="submitFormFields"
:active-template="activeTemplate"
:user-options="flowUserOptions"
+ :module-key="APPROVAL_MODULE_KEYS.REGULAR"
:is-edit="isSubmitEdit"
:saving="submitSaving"
:form-ref="submitFormRef"
@@ -88,8 +85,8 @@
import { useFlowUserOptions } from "../../ApproveManage/approve-shared/useFlowUserOptions.js";
const searchForm = reactive({
+ instanceNo: "",
applicantName: "",
- applyDateRange: null,
});
const mod = useApprovalInstanceModule({
@@ -131,15 +128,17 @@
const { flowUserOptions, loadFlowUsers } = useFlowUserOptions();
-const tableColumn = buildInstanceTableColumns(tableData, buildTableActions);
+const tableColumn = buildInstanceTableColumns(tableData, buildTableActions, {
+ moduleKey: APPROVAL_MODULE_KEYS.REGULAR,
+});
function onSearch() {
handleQuery(searchForm);
}
function resetSearch() {
+ searchForm.instanceNo = "";
searchForm.applicantName = "";
- searchForm.applyDateRange = null;
onSearch();
}
--
Gitblit v1.9.3