|
@@ -566,9 +566,7 @@ const toSave = async (formEl) => {
|
|
callback: async () => {
|
|
callback: async () => {
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|
|
await toProcessSave()
|
|
await toProcessSave()
|
|
- form.value = { time: [], rules: {} }
|
|
|
|
- processList.value = []
|
|
|
|
- activeName.value = 'first'
|
|
|
|
|
|
+ await toClose()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -602,9 +600,7 @@ const toDraftSave = async (formEl) => {
|
|
callback: async () => {
|
|
callback: async () => {
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|
|
if (res.data && res.data.id) match_id.value = res.data.id
|
|
await toProcessSave()
|
|
await toProcessSave()
|
|
- form.value = { time: [], rules: {} }
|
|
|
|
- processList.value = []
|
|
|
|
- activeName.value = 'first'
|
|
|
|
|
|
+ await toClose()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -638,7 +634,7 @@ const toMatchSave = async (row) => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const toClose = async () => {
|
|
const toClose = async () => {
|
|
- form.value = { time: [], rules: {} }
|
|
|
|
|
|
+ form.value = { time: [], video: [], rules: {} }
|
|
dialog.value = { show: false }
|
|
dialog.value = { show: false }
|
|
investigateList.value = []
|
|
investigateList.value = []
|
|
finalsList.value = []
|
|
finalsList.value = []
|