wenhongquan 3 жил өмнө
parent
commit
b6b12b34ee

+ 9 - 3
src/views/task/list/index.vue

@@ -393,13 +393,19 @@ const exportexcel1 = (row) => {
 }
 const exportexcel2 = (row) => {
   proxy.download("system/task/export2", {
-    ...{ "taskId": row.taskId},
-  }, `${row.taskCode}成本记录.xlsx`);
+    ...row,
+  }, `成本记录.xlsx`);
 
 }
 
 
-onMounted(() => {});
+onMounted(() => {
+  if (currentstatus.value == '2') {
+      queryparameters.value.status = 1;
+    } else {
+      queryparameters.value.status = currentstatus.value;
+    }
+});
 </script>
 
 <style lang="scss" scoped>