|
|
|
@ -1630,9 +1630,11 @@ watch(negative, () => { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
async function getFormData() { |
|
|
|
async function getFormData() { |
|
|
|
|
|
|
|
const row = negative.value?.currentRow ?? {} |
|
|
|
form.value = { |
|
|
|
form.value = { |
|
|
|
...negative.value.currentRow, |
|
|
|
...row, |
|
|
|
complaintId: negative.value?.currentRow?.id, |
|
|
|
complaintId: row?.id, |
|
|
|
|
|
|
|
involveProblem:row.involveProblem ? String(row.involveProblem).split(/[,,]/).filter(Boolean) : [], |
|
|
|
involveDepartId: negative.value.involveDepartId, |
|
|
|
involveDepartId: negative.value.involveDepartId, |
|
|
|
caseNumber: negative.value.caseNumber, |
|
|
|
caseNumber: negative.value.caseNumber, |
|
|
|
checkStatus: negative.value.checkStatus, |
|
|
|
checkStatus: negative.value.checkStatus, |
|
|
|
@ -1680,6 +1682,7 @@ async function getFormData() { |
|
|
|
if (negative.value.problemSourcesCode === ProblemSources.JWDC) { |
|
|
|
if (negative.value.problemSourcesCode === ProblemSources.JWDC) { |
|
|
|
form.value.accountabilityTarget = AccountabilityTarget.PERSONAL; |
|
|
|
form.value.accountabilityTarget = AccountabilityTarget.PERSONAL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
console.log("传入之后解析的form的数据=======================") |
|
|
|
console.log(form.value); |
|
|
|
console.log(form.value); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|