dev-tmp1
tangjie 2026-08-11 11:55:15 +08:00
parent 9ac539967c
commit dd71d5c0c1
2 changed files with 4 additions and 4 deletions

View File

@ -558,7 +558,7 @@ function DepartmentPositionPage(props) {
label="岗位名称" label="岗位名称"
rules={[{ required: true, message: "请输入岗位名称" }]} rules={[{ required: true, message: "请输入岗位名称" }]}
> >
<Input placeholder="请输入岗位名称" /> <Input placeholder="请输入岗位名称" maxLength={40} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name="dutyDesc" name="dutyDesc"
@ -569,7 +569,7 @@ function DepartmentPositionPage(props) {
rows={3} rows={3}
placeholder="请输入岗位职责" placeholder="请输入岗位职责"
showCount showCount
maxLength={500} maxLength={400}
/> />
</Form.Item> </Form.Item>
<Form.Item name="remark" label="备注"> <Form.Item name="remark" label="备注">
@ -577,7 +577,7 @@ function DepartmentPositionPage(props) {
rows={2} rows={2}
placeholder="请输入备注" placeholder="请输入备注"
showCount showCount
maxLength={500} maxLength={400}
/> />
</Form.Item> </Form.Item>
</Form> </Form>

View File

@ -1369,7 +1369,7 @@ function StaffImportModal({ open, onCancel, onSuccess }) {
style={{ marginTop: 12 }} style={{ marginTop: 12 }}
type={result.failCount > 0 ? "warning" : "success"} type={result.failCount > 0 ? "warning" : "success"}
showIcon showIcon
message={`成功导入 ${result.successCount || 0} 条,失败 ${result.failCount || 0}`} message={`成功导入 ${result.successCount || 0} 条,失败 ${result?.errors?.length || 0}`}
/> />
)} )}
{errorList.length > 0 && ( {errorList.length > 0 && (