修改现场反馈问题

This commit is contained in:
GGJ
2025-01-03 16:11:31 +08:00
parent 3094ac94c0
commit 439a129589
14 changed files with 92 additions and 39 deletions

View File

@@ -484,9 +484,11 @@ const submit = () => {
if (popupType.value == 3 || popupType.value == 4) {
let subForm = JSON.parse(JSON.stringify(form1.value))
subForm.list = checkedIdList.value
console.log(title.value.includes('绑定测试项'));
updateRecord(subForm).then((res: any) => {
if (res.code == 'A0000') {
ElMessage.success('修改测试项成功')
ElMessage.success(title.value.includes('绑定测试项')?'绑定测试项成功':'修改测试项成功')
initForm()
emit('onSubmit')
close()