修改 冀北 现场问题
This commit is contained in:
@@ -219,9 +219,7 @@ const open = async (text: string, id: string, addFlag: boolean) => {
|
||||
}
|
||||
form.value.otherReport = []
|
||||
if (res.data.otherReport != null) {
|
||||
console.log("🚀 ~ awaitgetTestById ~ form.value:", form.value)
|
||||
|
||||
for (let i = 0; i < res.data.otherReport.split(',').length.length; i++) {
|
||||
for (let i = 0; i < res.data.otherReport.split(',').length - 1; i++) {
|
||||
form.value.otherReport.push({
|
||||
name: res.data.otherReport.split(',')[i]
|
||||
})
|
||||
@@ -265,7 +263,7 @@ const submitFn = (flag: boolean) => {
|
||||
if (form.value.otherReport.length > 0) {
|
||||
form.value.otherReport.forEach((item: any) => {
|
||||
// + '/supervision/'
|
||||
subForm.otherReport = subForm.otherReport + item.name + ','
|
||||
subForm.otherReport = subForm.otherReport + item.name + ','
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user