From 6cf70610b0d700c64b9753590283fdfa5cf43493 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 15 一月 2026 17:27:02 +0800
Subject: [PATCH] 新增入职,岗位根据系统设置选择,修改列表岗位显示
---
src/views/personnelManagement/dimission/components/formDia.vue | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/views/personnelManagement/dimission/components/formDia.vue b/src/views/personnelManagement/dimission/components/formDia.vue
index f75c22d..9880a67 100644
--- a/src/views/personnelManagement/dimission/components/formDia.vue
+++ b/src/views/personnelManagement/dimission/components/formDia.vue
@@ -44,7 +44,7 @@
<el-row :gutter="30">
<el-col :span="12">
<el-form-item label="宀椾綅锛�">
- {{ form.postJob || '-' }}
+ {{ form.postName || '-' }}
</el-form-item>
</el-col>
<el-col :span="12">
@@ -180,7 +180,8 @@
staffName: "",
sex: "",
nativePlace: "",
- postJob: "",
+ postName: "",
+ sysPostId: 0,
adress: "",
firstStudy: "",
profession: "",
@@ -233,6 +234,9 @@
if (form.value.dimissionReason !== 'other') {
form.value.dimissionRemark = ''
}
+ if (!form.value.sysPostId) {
+ form.value.sysPostId = 0;
+ }
proxy.$refs["formRef"].validate(valid => {
if (valid) {
if (operationType.value === "add") {
@@ -258,7 +262,8 @@
staffName: "",
sex: "",
nativePlace: "",
- postJob: "",
+ postName: "",
+ sysPostId: 0,
adress: "",
firstStudy: "",
profession: "",
@@ -300,7 +305,8 @@
phone,
staffNo,
nativePlace,
- postJob,
+ postName,
+ sysPostId,
adress,
firstStudy,
profession,
@@ -319,7 +325,8 @@
phone,
staffNo,
nativePlace,
- postJob,
+ postName,
+ sysPostId,
adress,
firstStudy,
profession,
--
Gitblit v1.9.3