From cb3b4feddf9190a6664ba62a99db331c0ea13fe2 Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期二, 25 二月 2025 21:10:29 +0800 Subject: [PATCH] 三个身边职位管理及工单事项配置对接口 --- management/src/pages/setting/career/components/addAndEdit.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/management/src/pages/setting/career/components/addAndEdit.jsx b/management/src/pages/setting/career/components/addAndEdit.jsx index 606806c..25595f5 100644 --- a/management/src/pages/setting/career/components/addAndEdit.jsx +++ b/management/src/pages/setting/career/components/addAndEdit.jsx @@ -16,8 +16,8 @@ */ const okHandle = () => { form.validateFields().then((values) => { - if (editData.deptId) { - values.deptId = editData.deptId; + if (editData.id) { + values.id = editData.id; onUpdate(values); } else { onSave(values); @@ -57,7 +57,7 @@ > <Form layout="horizontal" {...formItemLayout} form={form} initialValues={{ isAuctioneer: 1 }}> <Form.Item - name="deptName" + name="name" required label="职位名称" rules={[{ required: true, message: '请输入职位名称' }]} -- Gitblit v1.7.1