@@ -138,9 +138,9 @@ watch(() => [
taskContent: '', fixedFlowId: '', batch: 1, restrictDay: 1,
...addition
}
+ isTypes.value = type
typeDatas.value = typeData
- if (type !== isTypes.value) {
- isTypes.value = type
+ if (val) {
getProcessDatasApi()
})
@@ -213,7 +213,7 @@ const reportModalClick = async () => {
if (taskCheck) {
const row = getObjValue(rows[0])
reportIds.value = rowsToId(rows)
- reportTaskName.value = rows.length > 1 ? `${row.name}等${rows.length}个文件` : row.name
+ reportTaskName.value = rows.length > 1 ? `${row.fileName}等${rows.length}个文件` : row.fileName
showReportModal.value = true
} else {