wenhongquan 3 年之前
父節點
當前提交
b6b12b34ee
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9 3
      src/views/task/list/index.vue

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

@@ -393,13 +393,19 @@ const exportexcel1 = (row) => {
 }
 }
 const exportexcel2 = (row) => {
 const exportexcel2 = (row) => {
   proxy.download("system/task/export2", {
   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>
 </script>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>