Browse Source

bug修复

iZaiZaiA 2 years ago
parent
commit
18505813ff

+ 2 - 2
src/global/components/hc-report-modal/index.vue

@@ -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()
     }
 })

+ 1 - 1
src/views/ledger/components/table-list.vue

@@ -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 {