Merge remote-tracking branch 'origin/ljj' into lt

This commit is contained in:
2025-08-19 20:15:20 +08:00
10 changed files with 373 additions and 301 deletions

View File

@ -510,6 +510,10 @@ const submitForm = async () => {
try {
// 1. 基础表单验证
await leaveFormRef.value.validate();
<<<<<<< HEAD
=======
>>>>>>> origin/ljj
// 2. 提交前二次校验:「专业+人员」组合唯一性
let hasDuplicate = false;
const allKeys: string[] = [];
@ -567,6 +571,10 @@ const submitForm = async () => {
)
]
};
<<<<<<< HEAD
=======
>>>>>>> origin/ljj
// 4. 数据处理(保持原有逻辑不变)
const arr = [];
userList.value.forEach((item) => {