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